/* Interactive product preview and selected sections, styled to match the original homepage. */
.eyebrow{display:flex;align-items:center;gap:9px;color:#70c9f1;font-size:11px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;margin-bottom:22px}
.eyebrow::before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:45px;margin-bottom:50px}
.section-heading h2{max-width:650px}
.section-heading>p{max-width:340px;font-size:15px}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #26374a;border-radius:5px;padding:3px 7px;font-size:10px;color:#98aabd;white-space:nowrap}
.status-dot{width:5px;height:5px;border-radius:50%;background:#47c69c;display:inline-block;flex-shrink:0}
.success{color:#64d5ae!important}
.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:4px;background:#22b38712;color:#6ad8b4;font-size:10px;white-space:nowrap}
.badge.blue{background:#31a9e312;color:#78c9f4}
.badge.amber{background:#eaa93815;color:#e8c277}
.badge.purple{background:#a691ed15;color:#b5a1ed}
.muted{color:var(--muted)}
.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.hero-note{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:15px;font-size:10px;color:#7b8b9e}
.hero-note span{display:flex;align-items:center;gap:5px}
.hero-note .icon{width:12px;height:12px;color:#61b3d7}
.hero-platforms{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:26px;margin-top:34px;color:#8190a3;font-size:11px}
.platform-word{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500}
.platform-word svg,.platform-word img{width:19px;height:19px;object-fit:contain}
.hero-platforms .platform-word{color:#b0bbca}
.preview-container{position:relative;margin-top:57px;padding-bottom:25px}
.preview-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 3px;margin-bottom:13px;font-size:10px;color:#7d8ea1}
.preview-intro>span{display:flex;gap:7px;align-items:center}
.preview-intro .icon{width:13px;height:13px}
.preview-intro a{color:#a5c7dc}
.preview-caption{text-align:center;font-size:10px;color:#718197;margin-top:17px}
.preview-caption span{color:#b6c5d5}
.product-window{--app-bg:#101b2b;--app-surface:#142235;--app-card:#142235;--app-ink:#e7eff8;--app-muted:#8b9db2;--app-line:#293c52;--app-sidebar:#0e1928;--app-tint:#229ed914;position:relative;border:1px solid #32465c;border-radius:14px;background:var(--app-bg);color:var(--app-ink);box-shadow:0 35px 90px #0005,0 0 65px #229ed90a;overflow:hidden;isolation:isolate}
.product-window[data-theme="light"]{--app-bg:#f5f7fa;--app-surface:#fff;--app-card:#fff;--app-ink:#152638;--app-muted:#718399;--app-line:#e2e9f0;--app-sidebar:#fdfefe;--app-tint:#eaf5fc;color-scheme:light}
.product-titlebar{height:44px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 18px;background:var(--app-sidebar);border-bottom:1px solid var(--app-line);font-size:10px;color:var(--app-muted)}
.product-url,.product-titlebar>span{display:flex;align-items:center;gap:8px}
.product-url .icon{width:12px;height:12px}
.window-dots{display:flex;gap:5px}
.window-dots i{width:6px;height:6px;border-radius:50%;background:#547085}
.product-layout{display:grid;grid-template-columns:164px minmax(0,1fr);min-height:585px}
.app-sidebar{background:var(--app-sidebar);border-right:1px solid var(--app-line);padding:20px 12px;display:flex;flex-direction:column;gap:3px}
.app-brand{font-size:14px;gap:7px;margin:0 7px 22px}
.app-brand img{width:21px;height:21px}
.sidebar-label{color:var(--app-muted);font-size:8px;letter-spacing:.13em;margin:15px 9px 8px;text-transform:uppercase}
.sidebar-button{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:6px;font-size:10px;background:transparent;color:var(--app-muted);text-align:left}
.sidebar-button .icon{width:14px;height:14px}
.sidebar-button.is-active{background:var(--app-tint);color:#31a9e3}
.sidebar-button:hover{background:var(--app-tint)}
.sidebar-user{display:flex;align-items:center;gap:8px;margin-top:auto;padding:18px 6px 0;border-top:1px solid var(--app-line);font-size:9px}
.avatar{display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;background:#229ed920;border:1px solid #229ed930;color:#4eb8e9;border-radius:8px;font-size:10px;font-weight:600}
.sidebar-user small{display:block;font-size:8px;color:var(--app-muted)}
.app-main{padding:24px 25px;min-width:0}
.app-header{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:20px}
.app-header h2{font-family:var(--font);font-size:20px;letter-spacing:-.6px;font-weight:600}
.app-header p{font-size:10px;color:var(--app-muted);margin-top:5px}
.app-header-actions{display:flex;align-items:center;gap:7px}
.app-icon-button{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--app-line);border-radius:6px;background:var(--app-surface);color:var(--app-muted)}
.app-icon-button .icon{width:13px;height:13px}
.app-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:17px}
.app-select,.app-export{background:var(--app-surface);color:var(--app-ink);border:1px solid var(--app-line);border-radius:5px;padding:6px 9px;font-size:9px;line-height:1.5}
.app-export{display:flex;align-items:center;gap:6px;margin-left:auto}
.app-export .icon{width:11px;height:11px}
.app-tabs{display:flex;gap:19px;border-bottom:1px solid var(--app-line);margin-bottom:18px;overflow-x:auto;scrollbar-width:none}
.app-tab{white-space:nowrap;display:flex;align-items:center;gap:5px;background:transparent;padding:0 0 10px;color:var(--app-muted);font-size:9px;border-bottom:2px solid transparent}
.app-tab .icon{width:12px;height:12px}
.app-tab[aria-selected="true"]{color:#31a9e3;border-bottom-color:#31a9e3}
.app-panel[hidden]{display:none}
.app-widget{background:var(--app-card);border:1px solid var(--app-line);border-radius:9px;padding:16px;min-width:0}
.app-widget+.app-widget{margin-top:13px}
.app-widget-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.app-widget-heading h3{display:flex;align-items:center;gap:7px;font-family:var(--font);font-weight:600;font-size:11px;letter-spacing:-.2px}
.app-widget-heading h3::before{content:'';width:3px;height:12px;border-radius:2px;background:#229ed9}
.app-widget-heading>span{font-size:8px;color:var(--app-muted)}
.app-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.app-stat{position:relative;text-align:left;border:1px solid var(--app-line);border-radius:6px;padding:13px 10px 10px;background:var(--app-bg);min-width:0;overflow:hidden}
.app-stat::before{content:'';height:2px;position:absolute;top:0;left:0;right:0;background:var(--metric,#229ed9)}
.app-stat strong{display:block;font-size:22px;font-weight:600;letter-spacing:-1px;line-height:1.3}
.app-stat span{display:block;font-size:7px;letter-spacing:.045em;color:var(--app-muted);margin-top:5px;text-transform:uppercase;white-space:nowrap}
.app-stat[aria-pressed="true"]{border-color:#229ed9;box-shadow:inset 0 0 0 1px #229ed920}
.app-chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:25px}
.app-chart{position:relative;min-width:0}
.app-chart svg{width:100%;height:172px;overflow:visible}
.chart-grid line{stroke:var(--app-line);stroke-width:1}
.chart-grid text{fill:var(--app-muted);font-size:9px}
.chart-x-axis{display:flex;justify-content:space-between;padding-left:25px;margin-top:4px;color:var(--app-muted);font-size:8px}
.chart-key{display:flex;align-items:center;gap:6px;font-size:8px;color:var(--app-muted)}
.chart-key i{width:6px;height:6px;background:var(--blue);border-radius:50%}
.chart-summary{border-left:1px solid var(--app-line);padding-left:20px;display:flex;flex-direction:column;justify-content:center;gap:15px}
.chart-summary span{display:block;color:var(--app-muted);font-size:8px}
.chart-summary strong{font-size:19px;letter-spacing:-.6px;font-weight:500}
.chart-summary small{font-size:8px;color:#59cda7;display:block}
.app-bottom-row{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:13px}
.app-bottom-row .app-widget{margin:0;padding:12px 15px}
.mini-value{font-size:18px;font-weight:600;letter-spacing:-.5px}
.app-note{font-size:8px;color:var(--app-muted);margin-top:4px}
.app-mini-label{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:var(--app-muted);margin-bottom:6px}
.app-table-wrap{overflow-x:auto}
.app-table{width:100%;border-collapse:collapse;text-align:left;font-size:9px;white-space:nowrap}
.app-table th{font-size:8px;text-transform:uppercase;letter-spacing:.04em;font-weight:500;color:var(--app-muted);padding:9px 9px;background:var(--app-bg);border-bottom:1px solid var(--app-line)}
.app-table td{padding:12px 9px;border-bottom:1px solid var(--app-line);color:var(--app-ink)}
.app-table tr:last-child td{border-bottom:0}
.app-table td small{display:block;color:var(--app-muted);font-size:8px;margin-top:3px}
.app-table td strong{font-weight:500}
.app-table .row-button{display:inline-flex;gap:6px;align-items:center;font-size:9px;text-align:left;color:inherit;background:transparent;padding:0}
.app-table .row-button:hover{color:#31a9e3}
.app-table .row-button .icon{width:12px;height:12px}
.app-metric-row{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:13px}
.app-metric{padding:14px;border:1px solid var(--app-line);border-radius:7px;background:var(--app-card)}
.app-metric span{display:block;color:var(--app-muted);font-size:8px;margin-bottom:4px}
.app-metric strong{font-weight:500;font-size:22px;letter-spacing:-.8px}
.app-metric em{font-size:8px;font-style:normal;margin-left:5px;color:#63cda8}
.app-breadcrumb{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--app-muted);margin-bottom:12px}
.app-breadcrumb button{padding:0;background:transparent;color:#40afe4;font-size:9px}
.app-breadcrumb .icon{width:10px;height:10px}
.person-cell{display:flex;gap:8px;align-items:center}
.person-cell .avatar{width:25px;height:25px;font-size:8px}
.inline-bar{display:inline-block;width:75px;height:4px;background:var(--app-line);border-radius:4px;vertical-align:middle;margin-right:8px;overflow:hidden}
.inline-bar i{display:block;height:100%;background:#31a9e3;border-radius:4px}
.user-drawer{position:absolute;inset:44px 0 0 auto;z-index:5;width:340px;max-width:100%;background:var(--app-surface);border-left:1px solid var(--app-line);padding:24px;box-shadow:-30px 0 70px #0003}
.user-drawer[hidden]{display:none}
.drawer-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--app-muted);margin-bottom:24px}
.drawer-profile{display:flex;align-items:center;gap:12px}
.drawer-profile h3{font-size:18px}
.drawer-profile p{font-size:10px;color:var(--app-muted);margin-top:3px}
.journey-timeline{list-style:none;padding:0;margin:25px 0}
.journey-timeline li{position:relative;margin-left:6px;padding:0 0 23px 23px;border-left:1px solid var(--app-line);font-size:11px}
.journey-timeline li::before{content:'';position:absolute;left:-4px;top:4px;width:7px;height:7px;background:#31a9e3;border-radius:50%;box-shadow:0 0 0 4px var(--app-surface)}
.journey-timeline li:last-child{border-color:transparent}
.journey-timeline li:last-child::before{background:#52cba3}
.journey-timeline small{display:block;color:var(--app-muted);font-size:9px;margin-top:4px}
.journey-section .section-heading{margin-bottom:40px}
.journey-flow{display:grid;grid-template-columns:1.05fr 35px 1.1fr 35px 1.1fr 35px 1.2fr;align-items:center}
.flow-stage{border:1px solid #263746;padding:23px 19px;min-height:150px;border-radius:10px;background:#0e1722}
.flow-stage-number{font-size:9px;color:#597289;letter-spacing:.1em}
.flow-stage h3{font-size:15px;letter-spacing:-.3px;margin-top:15px}
.flow-stage p{font-size:11px;margin-top:7px}
.flow-stage .icon{color:#70bce2}
.flow-top{display:flex;justify-content:space-between;align-items:center}
.flow-stage:last-child{border-color:#326348;background:#10231c55}
.flow-stage:last-child .icon{color:#6bd8ad}
.flow-arrow{display:grid;place-items:center;color:#415e72}
.flow-arrow .icon{width:16px}
.journey-footnote{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:25px;padding:18px 20px;background:#0f1822;border:1px solid #223140;border-radius:7px;font-size:11px}
.journey-footnote p{max-width:650px}
.journey-footnote strong{color:#c2d4e5;font-weight:500}
.data-line{display:flex;gap:10px;color:#5d778c;font-size:10px;white-space:nowrap}
.data-line span{color:#7fb8d4}
.integration-section{padding-block:85px;background:#0c141f;border-block:1px solid #253240}
.integration-header{text-align:center;max-width:640px;margin-inline:auto}
.integration-header .eyebrow{justify-content:center}
.integration-header h2{font-size:42px}
.integration-header p{font-size:14px;margin-top:18px}
.integrations-grid{display:grid;grid-template-columns:repeat(5,1fr);margin-top:45px;border:1px solid #2c3b4c;border-radius:11px;overflow:hidden}
.integration-card{padding:25px 20px;min-width:0}
.integration-card+.integration-card{border-left:1px solid #2c3b4c}
.integration-card svg,.integration-card img{width:30px;height:30px;object-fit:contain;color:#b2c9dc;margin-bottom:20px}
.integration-card:first-child svg{color:#47aaf1}
.integration-card:nth-child(2) svg{color:#ffe45e}
.integration-card h3{font-family:var(--font);font-size:14px;letter-spacing:-.3px;display:flex;align-items:center;gap:7px}
.beta{font-size:7px;border:1px solid #3c4c60;padding:2px 4px;border-radius:3px;color:#9aadc0;font-weight:400;letter-spacing:0;text-transform:uppercase}
.integration-card p{font-size:10px;margin-top:8px}
.integration-footnote{text-align:center;font-size:10px;color:#71869c;margin-top:22px}
.app-toast{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);padding:8px 14px;background:var(--app-surface);color:var(--app-ink);border:1px solid var(--app-line);border-radius:7px;font-size:10px;box-shadow:0 5px 20px #0003;z-index:8;white-space:nowrap}
.app-toast[hidden]{display:none}
@media(min-width:1600px){
.product-layout{grid-template-columns:180px minmax(0,1fr)}
.app-main{padding:28px 30px}
.app-chart svg{height:190px}
.app-stat strong{font-size:25px}
.app-stats{gap:11px}
.app-stat span{font-size:8px}
.app-table{font-size:10px}
.product-layout{min-height:620px}
}
@media(max-width:1050px){
.product-layout{grid-template-columns:135px minmax(0,1fr)}
.app-main{padding:20px 18px}
.app-stats{grid-template-columns:repeat(3,1fr)}
.app-stat{padding:9px 10px}
.app-stat strong{font-size:20px}
.app-tabs{gap:13px}
.app-chart-layout{grid-template-columns:minmax(0,1fr) 100px;gap:15px}
.chart-summary{padding-left:15px}
.app-chart svg{height:155px}
.section-heading{gap:30px}
.integration-card{padding:22px 16px}
}
@media(max-width:800px){
.preview-container{margin-top:42px}
.product-layout{grid-template-columns:1fr;min-height:0}
.app-sidebar{display:none}
.app-main{padding:22px}
.app-header h2{font-size:21px}
.app-tabs{gap:20px}
.app-tab{font-size:10px}
.app-chart-layout{grid-template-columns:minmax(0,1fr) 140px}
.app-chart svg{height:165px}
.app-stats{grid-template-columns:repeat(6,1fr)}
.app-stat strong{font-size:18px}
.app-stat span{font-size:6px}
.section-heading{display:block;margin-bottom:35px}
.section-heading>p{margin-top:22px;max-width:500px;font-size:14px}
.journey-flow{grid-template-columns:1fr 25px 1fr;gap:15px 0}
.flow-arrow:nth-child(4){display:none}
.flow-stage{min-height:140px}
.journey-footnote{display:block}
.data-line{margin-top:12px}
.integrations-grid{grid-template-columns:repeat(3,1fr)}
.integration-card:nth-child(4){border-left:0;border-top:1px solid #2c3b4c}
.integration-card:nth-child(5){border-top:1px solid #2c3b4c}
.integration-card{padding:22px}
.integration-header h2{font-size:38px}
}
@media(max-width:540px){
.hero-note{font-size:8px;gap:6px 10px}
.hero-platforms{gap:14px;margin-top:28px}
.platform-word{font-size:10px;gap:5px}
.platform-word svg,.platform-word img{width:15px;height:15px}
.preview-container{margin-top:34px;width:calc(100% - 20px)}
.preview-intro{font-size:8px;gap:8px;padding-inline:5px}
.preview-intro .icon{width:10px}
.preview-intro a{font-size:8px}
.product-titlebar{height:34px;font-size:8px;padding-inline:12px}
.window-dots{display:none}
.product-titlebar>span:last-child{font-size:7px;gap:4px}
.product-layout{min-height:585px}
.app-main{padding:17px 12px}
.app-header{margin-bottom:15px;gap:8px}
.app-header h2{font-size:17px;letter-spacing:-.6px}
.app-header p{font-size:8px;max-width:240px}
.app-header-actions .pill{display:none}
.app-icon-button{width:26px;height:26px}
.app-filters{gap:5px;margin-bottom:15px}
.app-select{padding:5px 6px;font-size:8px;max-width:130px}
.app-export{font-size:8px;padding:5px 6px}
.app-tabs{gap:16px;margin-bottom:15px}
.app-tab{font-size:9px;gap:4px;padding-bottom:9px}
.app-tab .icon{width:11px;height:11px}
.app-stats{grid-template-columns:repeat(3,1fr);gap:7px}
.app-stat{padding:10px 9px}
.app-stat strong{font-size:21px}
.app-stat span{font-size:7px;margin-top:3px}
.app-widget{padding:12px}
.app-widget-heading{margin-bottom:12px}
.app-widget-heading h3{font-size:10px}
.app-widget-heading>span{font-size:7px}
.app-chart-layout{grid-template-columns:1fr;gap:12px}
.app-chart svg{height:143px}
.chart-summary{flex-direction:row;justify-content:space-between;border-left:0;border-top:1px solid var(--app-line);padding:10px 0 0;gap:8px}
.chart-summary strong{font-size:16px}
.chart-summary span,.chart-summary small{font-size:7px}
.app-bottom-row{gap:8px}
.app-bottom-row .app-widget{padding:11px}
.mini-value{font-size:16px}
.app-mini-label{font-size:7px}
.app-note{font-size:7px}
.app-metric-row{grid-template-columns:repeat(2,1fr);gap:7px}
.app-metric{padding:11px}
.app-metric strong{font-size:20px}
.app-table{font-size:8px}
.app-table th{font-size:7px;padding:9px 6px}
.app-table td{padding:12px 6px}
.app-table .row-button{font-size:8px}
.app-table td small{font-size:7px}
.preview-caption{font-size:8px;padding-inline:15px}
.eyebrow{font-size:9px;margin-bottom:17px}
.section-heading h2{font-size:34px}
.section-heading>p{font-size:12px;margin-top:18px}
.journey-flow{gap:10px 0;grid-template-columns:1fr 22px 1fr}
.flow-stage{padding:17px 14px;min-height:145px}
.flow-stage h3{font-size:13px;line-height:1.3}
.flow-stage p{font-size:9px}
.flow-stage .icon{width:18px}
.flow-stage-number{font-size:8px}
.journey-footnote{padding:15px;font-size:10px}
.data-line{font-size:8px;gap:8px;white-space:normal}
.integrations-grid{grid-template-columns:1fr 1fr;margin-top:30px}
.integration-card{padding:21px 17px}
.integration-card:nth-child(3){border-left:0;border-top:1px solid #2c3b4c}
.integration-card:nth-child(4){border-left:1px solid #2c3b4c}
.integration-card:nth-child(5){grid-column:1/-1;display:grid;grid-template-columns:30px 1fr;gap:0 15px;border-left:0;align-items:center}
.integration-card:nth-child(5) img{margin:0;grid-row:1/3}
.integration-card svg,.integration-card img{width:25px;height:25px;margin-bottom:15px}
.integration-card h3{font-size:12px}
.integration-card p{font-size:9px}
.integration-header h2{font-size:34px}
.integration-header p{font-size:12px}
.user-drawer{inset:34px 0 0 auto;width:300px;padding:20px}
.integration-footnote{font-size:9px}
.app-toast{font-size:9px;max-width:90%;white-space:normal}
}

/* Blend the retained product visuals into the original Tracergram design. */
.homepage-legacy {
    --blue: #229ed9;
    --muted: #a3aac4;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.homepage-legacy .icon { flex-shrink: 0; }
.homepage-legacy .max-w-6xl { max-width: 1320px; }
.homepage-country-flag {
    display: inline-block;
    width: 22px;
    height: 15px;
    flex-shrink: 0;
    border: 1px solid #8b9bb52e;
    border-radius: 3px;
    object-fit: cover;
    vertical-align: middle;
}
.preview-country-cell {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    vertical-align: middle;
}
.product-window .homepage-country-flag { width: 18px; height: 13px; }
.drawer-profile p .preview-country-cell { margin-left: 3px; }
.hero-note { margin-top: 20px; font-size: 12px; color: #a3aac4; gap: 12px 22px; font-weight: 600; }
.hero-note .icon { width: 15px; height: 15px; color: #38bdf8; }
.hero-platforms { gap: 30px; margin-top: 28px; }
.platform-word { font-size: 15px; font-weight: 600; gap: 10px; }
.platform-word svg, .platform-word img { width: 24px; height: 24px; }
.hero-platforms .platform-word { color: #aeb9ce; }
.preview-container { margin-top: 64px; padding: 0 0 26px; }
.preview-intro { font-size: 11px; padding: 0 5px; margin-bottom: 17px; }
.preview-intro a { display: inline-flex; align-items: center; gap: 7px; }
.preview-caption { color: #8891ab; font-size: 11px; line-height: 1.8; padding-inline: 16px; }
.product-window {
    --app-bg: #131c2e;
    --app-surface: #1b263e;
    --app-card: #1b263e;
    --app-ink: #edf2fa;
    --app-muted: #8b9bb5;
    --app-line: #2c3952;
    --app-sidebar: #101a2a;
    border-radius: 18px;
    border-color: #31425d;
    font-family: var(--font);
    line-height: 1.6;
    box-shadow: 0 30px 80px -20px #0009, 0 0 0 1px #ffffff06;
}
.product-window .app-brand { display: flex; align-items: center; font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.6px; }
.product-window .app-header h2 { font-weight: 700; line-height: 1.3; }
.product-window .app-widget-heading h3 { line-height: 1.5; }
.product-window button { cursor: pointer; }
.product-window select { cursor: pointer; }
.product-window button:focus-visible,
.product-window select:focus-visible,
.preview-intro a:focus-visible,
.legacy-preview-link:focus-visible { outline: 2px solid #818cf8; outline-offset: 3px; }
.product-window .app-icon-button,
.product-window .app-select,
.product-window .app-export,
.product-window .sidebar-button { font-family: var(--font); }
.product-window .app-tab { font-family: var(--font); font-weight: 600; }
.app-table .row-button { font-family: var(--font); line-height: 1.5; }
.app-panel { min-width: 0; }
.app-chart { overflow: hidden; }
.app-metric-row, .app-stats, .app-bottom-row { min-width: 0; }
.user-drawer { overflow-y: auto; }
.app-toast { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); padding: 8px 14px; background: var(--app-surface); color: var(--app-ink); border: 1px solid var(--app-line); border-radius: 7px; font-size: 10px; box-shadow: 0 5px 20px #0003; z-index: 8; max-width: 90%; }
.app-toast[hidden] { display: none; }
.journey-section .eyebrow,
.integration-section .eyebrow { font-size: 12px; font-weight: 700; color: #818cf8; letter-spacing: .1em; }
.section-heading h2,
.integration-header h2 { font-family: 'Manrope', sans-serif; font-size: 48px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: #fff; }
.section-heading > p { font-size: 16px; color: #a3aac4; line-height: 1.8; }
.journey-flow { grid-template-columns: minmax(0,1fr) 26px minmax(0,1fr) 26px minmax(0,1fr) 26px minmax(0,1fr); align-items: stretch; }
.flow-stage { min-width: 0; min-height: 194px; padding: 25px 20px; border: 1px solid #40485d66; border-radius: 16px; background: linear-gradient(140deg,#141f38,#0f1628); }
.flow-stage h3 { color: #f8fafc; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -.025em; line-height: 1.4; }
.flow-stage p { font-size: 13px; color: #a3aac4; line-height: 1.8; }
.flow-stage-number { color: #8891ab; }
.flow-stage .icon { color: #a78bfa; }
.flow-stage:last-child { background: linear-gradient(140deg,#102429,#0f1628); border-color: #34d39940; }
.flow-stage:last-child .icon { color: #6ee7b7; }
.flow-arrow { align-self: center; }
.journey-footnote { font-size: 13px; line-height: 1.8; padding: 20px 23px; border: 1px solid #40485d55; border-radius: 12px; background: #0f1628; }
.journey-footnote strong { color: #dee5ff; font-weight: 700; }
.journey-footnote p { color: #a3aac4; }
.data-line { color: #6d758c; font-size: 11px; gap: 8px; flex-shrink: 0; }
.data-line span { color: #a5b4fc; }
.integration-section { background: #0d1322; border-color: #40485d40; }
.integration-header { max-width: 780px; }
.integration-header p { color: #a3aac4; font-size: 17px; line-height: 1.8; }
.integrations-grid { border-color: #40485d66; border-radius: 16px; background: linear-gradient(120deg,#141f3866,#0f1628); }
.integration-card { padding: 28px 23px; }
.integration-card + .integration-card { border-color: #40485d66; }
.integration-card h3 { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.5; gap: 8px; }
.integration-card p { font-size: 12px; line-height: 1.7; color: #a3aac4; }
.integration-card svg, .integration-card img { width: 32px; height: 32px; margin-bottom: 22px; }
.beta { color: #9ca8c2; border-color: #40485d; font-size: 8px; font-family: var(--font); }
.integration-footnote { font-size: 12px; color: #8891ab; line-height: 1.8; }
.legacy-revenue-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px; border: 1px solid #818cf826; border-radius: 12px; background: #0a0f1a80; }
.legacy-preview-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #8891ab; display: block; }
.legacy-revenue-preview strong { display: block; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 5px; line-height: 1.3; }
.legacy-revenue-preview strong span { color: #a3aac4; font-size: 14px; letter-spacing: 0; }
.legacy-preview-state { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; color: #6ee7b7; font-size: 11px; }
.legacy-preview-state .icon { width: 15px; height: 15px; }
.legacy-preview-link { display: inline-flex; align-items: center; gap: 8px; color: #a5b4fc; font-size: 13px; font-weight: 700; transition: color .2s; }
.legacy-preview-link:hover { color: #c4b5fd; }
.legacy-preview-link .icon { width: 16px; height: 16px; }
@media (max-width: 1050px) {
    .section-heading { align-items: start; gap: 32px; }
    .section-heading h2, .integration-header h2 { font-size: 42px; }
    .section-heading > p { max-width: 300px; font-size: 14px; }
    .flow-stage { padding: 21px 17px; }
    .flow-stage h3 { font-size: 15px; }
    .flow-stage p { font-size: 12px; }
    .integration-card { padding: 23px 18px; }
    .integration-card h3 { font-size: 14px; }
    .integration-card p { font-size: 11px; }
}
@media (max-width: 800px) {
    .journey-flow { grid-template-columns: minmax(0,1fr) 25px minmax(0,1fr); }
    .section-heading h2, .integration-header h2 { font-size: 38px; }
    .section-heading > p { max-width: 560px; font-size: 15px; }
    .flow-stage { min-height: 174px; padding: 23px; }
    .flow-stage h3 { font-size: 17px; }
    .flow-stage p { font-size: 13px; }
    .integration-card:nth-child(4), .integration-card:nth-child(5) { border-color: #40485d66; }
    .preview-container { margin-top: 48px; }
}
@media (max-width: 540px) {
    .hero-note { font-size: 10px; gap: 10px 14px; margin-top: 17px; }
    .hero-note .icon { width: 12px; height: 12px; }
    .hero-platforms { gap: 16px 20px; margin-top: 25px; }
    .platform-word { font-size: 12px; gap: 7px; }
    .platform-word svg, .platform-word img { width: 20px; height: 20px; }
    .preview-container { width: 100%; margin-top: 37px; }
    .preview-intro { font-size: 8px; gap: 12px; align-items: start; padding: 0 2px; }
    .preview-intro > span { max-width: 180px; align-items: start; }
    .preview-intro > span .status-dot { margin-top: 4px; }
    .preview-intro a { max-width: 116px; font-size: 8px; text-align: right; align-items: start; }
    .preview-caption { font-size: 9px; padding-inline: 4px; }
    .product-window { border-radius: 12px; }
    .product-layout { min-height: 585px; }
    .journey-section .eyebrow, .integration-section .eyebrow { font-size: 10px; }
    .section-heading h2, .integration-header h2 { font-size: 31px; line-height: 1.2; }
    .section-heading > p { font-size: 14px; }
    .journey-flow { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .flow-stage { min-height: 0; padding: 21px; }
    .flow-stage h3 { font-size: 17px; margin-top: 12px; }
    .flow-stage p { font-size: 13px; }
    .flow-arrow, .flow-arrow:nth-child(4) { display: grid; transform: rotate(90deg); height: 17px; }
    .journey-footnote { padding: 18px; font-size: 12px; }
    .data-line { font-size: 10px; margin-top: 15px; }
    .integration-header p { font-size: 14px; }
    .integration-card { padding: 22px 18px; }
    .integration-card h3 { font-size: 14px; flex-wrap: wrap; gap: 5px; }
    .integration-card p { font-size: 11px; }
    .integration-card:nth-child(3), .integration-card:nth-child(4), .integration-card:nth-child(5) { border-color: #40485d66; }
    .integration-footnote { font-size: 11px; }
    .legacy-revenue-preview { gap: 16px; padding: 18px; }
    .legacy-revenue-preview strong { font-size: 25px; }
    .legacy-preview-label { font-size: 8px; }
    .legacy-preview-link { font-size: 12px; }
}
/* External postbacks: retained payload illustration in the original visual style. */
.postback-story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 64px;
    align-items: center;
}
.postback-story .eyebrow {
    color: #818cf8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}
.postback-story h2 {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.postback-story-copy > p {
    margin-top: 24px;
    color: #a3aac4;
    font-size: 16px;
    line-height: 1.85;
}
.postback-story-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    list-style: none;
    margin: 28px 0 30px;
    padding: 0;
    color: #aeb9ce;
    font-size: 12px;
}
.postback-story-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.postback-story-checks .icon { width: 15px; height: 15px; color: #6ee7b7; }
.postback-payload {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #40485d80;
    border-radius: 16px;
    background: linear-gradient(145deg, #141f38, #0f1628);
    box-shadow: 0 24px 65px -45px #818cf855;
}
.postback-payload-header,
.postback-payload-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 17px 22px;
    color: #8d9bb5;
    font-size: 11px;
}
.postback-payload-header { border-bottom: 1px solid #40485d66; }
.postback-payload-header > span:first-child { display: flex; align-items: center; gap: 9px; }
.postback-payload-header .icon { width: 16px; height: 16px; }
.postback-payload pre {
    margin: 0;
    padding: 26px 24px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    color: #a3b5c9;
    font: 12px/2 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.payload-key { color: #a5b4fc; }
.payload-string { color: #8cd3b2; }
.payload-number { color: #e5c878; }
.postback-payload-footer { border-top: 1px solid #40485d66; font-size: 10px; flex-wrap: wrap; }
.payload-delivered {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #34d39912;
    color: #6ee7b7;
    white-space: nowrap;
}
@media (max-width: 1050px) {
    .postback-story-layout { gap: 38px; }
    .postback-story h2 { font-size: 38px; }
    .postback-story-copy > p { font-size: 14px; }
    .postback-story-checks { font-size: 11px; gap: 12px 15px; }
    .postback-payload pre { font-size: 11px; padding: 23px 20px; }
}
@media (max-width: 800px) {
    .postback-story-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
    .postback-story-copy { max-width: 640px; }
    .postback-story h2 { font-size: 38px; }
    .postback-story-copy > p { font-size: 15px; }
    .postback-payload pre { font-size: 12px; padding: 25px; }
}
@media (max-width: 540px) {
    .postback-story .eyebrow { font-size: 10px; }
    .postback-story h2 { font-size: 31px; }
    .postback-story-copy > p { margin-top: 20px; font-size: 14px; }
    .postback-story-checks { margin: 24px 0; font-size: 11px; }
    .postback-payload-header,
    .postback-payload-footer { padding: 15px 17px; gap: 12px; font-size: 9px; }
    .postback-payload-header .icon { width: 14px; height: 14px; }
    .postback-payload pre { font-size: 10px; padding: 22px 17px; }
    .postback-payload { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.reveal-left, .reveal.reveal-right { opacity: 1; transform: none; transition: none; }
}
