@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --home-ink: #101828;
    --home-night: #0b1220;
    --home-muted: #667085;
    --home-line: #e4e7ec;
    --home-soft: #f5f6f8;
    --home-coral: #ff4957;
    --home-coral-dark: #e63e4b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--home-ink); background: #fff; font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(100% - 48px, 1240px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--home-ink); transform: translateY(-150%); box-shadow: var(--shadow-raised); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.92); border-color: rgba(228,231,236,.8); box-shadow: 0 2px 10px rgba(16,24,40,.04); backdrop-filter: blur(18px); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-frame { position: relative; display: block; width: 132px; height: 42px; overflow: hidden; }
.brand-frame img { position: absolute; width: 180px; height: 180px; max-width: none; left: -29px; top: -66px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a, .login-link { position: relative; color: #475467; font-size: 13px; font-weight: 600; }
.desktop-nav a::after { content: ''; position: absolute; inset: auto 0 -7px; height: 2px; background: var(--home-coral); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.button { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 10px; font-family: 'Instrument Sans', sans-serif; font-size: 14px; font-weight: 650; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(255,73,87,.28); outline-offset: 3px; }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 13px; }
.button-large { min-height: 54px; padding-inline: 28px; }
.button-dark { background: var(--home-night); color: #fff; box-shadow: 0 8px 20px rgba(16,24,40,.12); }
.button-dark:hover { background: #1d2939; box-shadow: 0 12px 24px rgba(16,24,40,.17); }
.button-brand { background: var(--home-coral); color: #fff; box-shadow: 0 12px 28px rgba(255,73,87,.2); }
.button-brand:hover { background: var(--home-coral-dark); box-shadow: 0 16px 34px rgba(255,73,87,.28); }
.button-ghost { color: #344054; border-color: var(--home-line); background: rgba(255,255,255,.72); }
.button-ghost:hover { background: #fff; border-color: #d0d5dd; }
.button-light { background: #fff; color: var(--home-night); }
.button-light:hover { background: #f4f5f7; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--home-line); border-radius: 9px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 18px; height: 1.5px; background: var(--home-ink); transition: transform .18s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 49; inset: 78px 0 0; padding: 32px 24px; background: rgba(255,255,255,.98); }
.mobile-menu a { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--home-line); font-family: 'Instrument Sans', sans-serif; font-size: 23px; font-weight: 650; }

.hero { position: relative; isolation: isolate; min-height: 900px; padding: 160px 0 82px; overflow: hidden; background: #fbfbfd; }
.hero-grid, .final-cta-grid { position: absolute; z-index: -3; inset: 0; opacity: .55; background-image: linear-gradient(rgba(16,24,40,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(16,24,40,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.hero-orb { position: absolute; z-index: -2; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-one { width: 620px; height: 620px; right: -360px; top: 40px; background: rgba(255,73,87,.1); filter: blur(70px); }
.hero-orb-two { width: 460px; height: 460px; left: -330px; top: 330px; background: rgba(87,69,255,.07); filter: blur(70px); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(600px, 1.12fr); align-items: center; gap: 60px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; width: 100%; padding-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: #667085; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; border-radius: 99px; background: var(--home-coral); }
.eyebrow.dark { color: #667085; }
.eyebrow.light { color: rgba(255,255,255,.58); }
.hero h1, .section h2, .final-cta h2 { margin: 0; font-family: 'Instrument Sans', sans-serif; font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.hero h1 { max-width: 690px; font-size: clamp(52px, 6vw, 84px); }
.hero h1 strong, .final-cta h2 strong { color: var(--home-coral); font-weight: inherit; }
.hero-lead { max-width: 565px; margin: 28px 0 0; color: #667085; font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: #667085; font-size: 12px; font-weight: 600; }
.hero-proof span { display: flex; align-items: center; gap: 8px; }
.hero-proof i { width: 6px; height: 6px; border-radius: 50%; background: var(--home-coral); box-shadow: 0 0 0 4px rgba(255,73,87,.1); }

.product-stage { position: relative; min-width: 0; transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); transform-origin: center; }
.product-window { overflow: hidden; border: 1px solid rgba(208,213,221,.9); border-radius: 16px; background: #fff; box-shadow: 0 36px 90px rgba(16,24,40,.16), 0 4px 12px rgba(16,24,40,.06); }
.window-bar { height: 54px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--home-line); }
.window-brand { color: var(--home-coral); font-family: 'Instrument Sans', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.04em; }
.window-search { flex: 1; max-width: 280px; margin-left: 8px; padding: 8px 12px; border: 1px solid var(--home-line); border-radius: 7px; background: #fbfbfd; color: #98a2b3; font-size: 8px; }
.window-action { margin-left: auto; padding: 8px 10px; border-radius: 7px; background: var(--home-night); color: #fff; font-size: 8px; font-weight: 700; }
.window-body { min-height: 510px; display: grid; grid-template-columns: 112px 1fr; }
.mini-sidebar { padding: 18px 9px; border-right: 1px solid var(--home-line); background: #fafbfc; }
.mini-nav { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; padding: 9px 8px; border-radius: 7px; color: #667085; font-size: 8px; font-weight: 600; }
.mini-nav b { width: 11px; height: 8px; border: 1.3px solid currentColor; border-radius: 2px; }
.mini-nav.active { position: relative; background: #fff; color: #101828; box-shadow: 0 1px 4px rgba(16,24,40,.06); }
.mini-nav.active::before { content: ''; position: absolute; left: -9px; width: 3px; height: 18px; border-radius: 0 3px 3px 0; background: var(--home-coral); }
.pipeline { min-width: 0; padding: 22px 18px; background: #f5f6f8; }
.pipeline-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 15px; }
.pipeline-head div { display: flex; flex-direction: column; gap: 3px; }
.pipeline-head small, .pipeline-head span { color: #667085; font-size: 8px; }
.pipeline-head strong { font-family: 'Instrument Sans', sans-serif; font-size: 17px; }
.kpi-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 15px; }
.kpi-strip > div { padding: 11px; border: 1px solid var(--home-line); border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(16,24,40,.035); }
.kpi-strip small { display: block; margin-bottom: 3px; color: #667085; font-size: 7px; text-transform: uppercase; }
.kpi-strip strong { font-size: 13px; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(136px, 1fr)); gap: 9px; }
.kanban-col { min-height: 330px; padding: 10px; border-radius: 12px; background: #fff; }
.col-title { display: flex; align-items: center; gap: 5px; padding: 1px 2px 10px; border-bottom: 1px dashed var(--home-line); font-size: 8px; font-weight: 700; }
.col-title small { margin-left: auto; color: #98a2b3; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot.indigo { background: #5745ff; }.dot.coral { background: #ff7a59; }.dot.pink { background: #ff5aa5; }
.deal-card { display: flex; flex-direction: column; gap: 7px; margin-top: 9px; padding: 10px; border: 1px solid var(--home-line); border-radius: 9px; background: #fff; box-shadow: 0 2px 5px rgba(16,24,40,.04); }
.deal-card b { font-size: 8px; }.deal-card strong { font-size: 10px; }.deal-card small { color: #667085; font-size: 7px; }.deal-card.compact { gap: 5px; }
.status { width: fit-content; padding: 3px 5px; border-radius: 4px; font-size: 6px; font-weight: 700; }
.status.today { background: #fffd9d; color: #a16207; }.status.idle { background: #fef9c3; color: #854d0e; }.status.overdue { background: #fee2e2; color: #b91c1c; }.status.stalled { background: #fff4a1; color: #8a6d00; }.status.open { background: #eef0ff; color: #2e2a8a; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(228,231,236,.9); border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 18px 34px rgba(16,24,40,.13); backdrop-filter: blur(12px); }
.floating-card-left { left: -45px; bottom: 40px; }.floating-card-right { right: -30px; top: 95px; }
.floating-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; font-size: 12px; font-weight: 800; }
.floating-icon.won { background: #dcfce7; color: #0f6b2f; }.floating-icon.message { background: #eef0ff; color: #5745ff; letter-spacing: -1px; }
.floating-card div { display: flex; flex-direction: column; gap: 2px; }.floating-card small { color: #667085; font-size: 8px; }.floating-card strong { font-size: 10px; }

.trackly-band { position: relative; isolation: isolate; overflow: hidden; padding: 92px 0; background: var(--home-night); color: #fff; }
.trackly-grid { position: absolute; z-index: -1; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 46px 46px; }
.trackly-layout { display: grid; grid-template-columns: minmax(330px, .7fr) minmax(620px, 1.3fr); align-items: center; gap: 74px; }
.trackly-copy h2 { max-width: 520px; margin: 0; font-family: 'Instrument Sans', sans-serif; font-size: clamp(42px, 4.6vw, 66px); font-weight: 600; letter-spacing: -.052em; line-height: 1.01; }
.trackly-copy h2 strong { color: var(--home-coral); font-weight: inherit; }
.trackly-copy > p:not(.eyebrow) { max-width: 500px; margin: 24px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.75; }
.trackly-captures { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.trackly-captures span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.11); border-radius: 6px; color: rgba(255,255,255,.58); background: rgba(255,255,255,.035); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 8px; font-weight: 600; letter-spacing: .08em; }
.trackly-demo { overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: #111c33; box-shadow: 0 24px 48px rgba(0,0,0,.28); }
.trackly-demo-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.trackly-demo-head > div { display: flex; align-items: center; gap: 9px; }
.trackly-demo-head strong { font-size: 11px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34,197,94,.12); animation: trackly-live 1.8s ease-in-out infinite; }
.trackly-status { padding: 5px 8px; border-radius: 5px; background: rgba(34,197,94,.12); color: #9dffbf; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.source-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); background: #0f172a; }
.source-chip { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.025); opacity: .44; animation: trackly-source 9s ease-in-out infinite; }
.source-chip:nth-child(2) { animation-delay: 3s; }.source-chip:nth-child(3) { animation-delay: 6s; }
.source-chip > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: #fff; font-family: 'Instrument Sans', sans-serif; font-size: 10px; font-weight: 700; }
.source-google > span { background: #3b82f6; }.source-meta > span { background: #5745ff; }.source-organic > span { background: #475467; }
.source-chip div { display: flex; flex-direction: column; gap: 1px; }.source-chip small { color: rgba(255,255,255,.36); font-size: 6px; text-transform: uppercase; letter-spacing: .08em; }.source-chip strong { font-size: 8px; }
.tracked-list { padding: 0 18px 18px; }
.tracked-list-head { display: grid; grid-template-columns: 1.2fr .72fr 1.05fr .64fr; gap: 10px; padding: 10px 12px; color: rgba(255,255,255,.3); font-size: 6px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-views { position: relative; height: 190px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: #0f172a; }
.contact-view { position: absolute; inset: 0; opacity: 0; animation: trackly-contact-view 9s ease-in-out infinite both; }
.contact-view-meta { animation-delay: 3s; }.contact-view-organic { animation-delay: 6s; }
.contact-row { min-height: 63px; display: grid; grid-template-columns: 1.2fr .72fr 1.05fr .64fr; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.065); }
.contact-row:last-child { border-bottom: 0; }
.contact-cell { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.contact-cell strong { overflow: hidden; color: rgba(255,255,255,.82); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.contact-cell small { overflow: hidden; color: rgba(255,255,255,.34); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.contact-person { flex-direction: row; align-items: center; gap: 8px; }
.contact-person > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.contact-avatar { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: #fff; font-size: 7px; font-weight: 700; }
.avatar-coral { background: #c72f3b; }.avatar-indigo { background: #5745ff; }.avatar-slate { background: #475467; }
.campaign-cell { padding: 6px 8px; border: 1px solid rgba(255,73,87,.14); border-radius: 7px; background: rgba(255,73,87,.045); }
.campaign-cell strong { color: #ffadb4; }
.qualification { width: fit-content; padding: 4px 6px; border-radius: 5px; font-size: 6px; font-weight: 700; white-space: nowrap; }
.qualification-good { background: rgba(34,197,94,.13); color: #9dffbf; }.qualification-new { background: rgba(87,69,255,.16); color: #c7c0ff; }.qualification-talk { background: rgba(245,158,11,.14); color: #fcd34d; }
.trackly-demo-foot { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-top: 1px solid rgba(255,255,255,.08); background: #0f172a; }
.trackly-demo-foot span { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.45); font-size: 7px; }.trackly-demo-foot i { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; }.trackly-demo-foot strong { color: var(--home-coral); font-size: 8px; }
@keyframes trackly-live { 50% { opacity: .45; } }
@keyframes trackly-source { 0%, 28% { opacity: 1; border-color: rgba(255,73,87,.38); background: rgba(255,73,87,.055); } 34%, 100% { opacity: .44; border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.025); } }
@keyframes trackly-contact-view { 0%, 28% { opacity: 1; transform: translateY(0); } 34%, 100% { opacity: 0; transform: translateY(7px); } }

.section { padding: 124px 0; }
.section-intro { background: #fff; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: end; gap: 90px; margin-bottom: 58px; }
.section h2 { font-size: clamp(44px, 5vw, 70px); }
.section-heading > p { margin: 0 0 6px; color: #667085; font-size: 16px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card { position: relative; min-height: 520px; overflow: hidden; padding: 34px; border: 1px solid var(--home-line); border-radius: 18px; background: #fbfbfd; box-shadow: 0 2px 10px rgba(16,24,40,.035); }
.feature-card-large { grid-column: 1 / -1; min-height: 560px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.feature-number { position: absolute; top: 26px; right: 28px; color: #d0d5dd; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.feature-tag { display: inline-flex; margin-bottom: 18px; padding: 5px 8px; border-radius: 5px; background: #ffe5e8; color: #c72f3b; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feature-card h3 { max-width: 580px; margin: 0; font-family: 'Instrument Sans', sans-serif; font-size: clamp(30px, 3vw, 46px); font-weight: 620; letter-spacing: -.045em; line-height: 1.06; }
.feature-card p { max-width: 540px; margin: 20px 0 0; color: #667085; font-size: 14px; line-height: 1.7; }
.feature-visual { align-self: stretch; }
.pipeline-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; padding: 25px; border: 1px solid var(--home-line); border-radius: 16px; background: #eef0f3; }
.visual-column { padding: 12px; border-radius: 12px; background: #fff; }
.visual-column.active { box-shadow: 0 12px 28px rgba(16,24,40,.09); transform: translateY(-8px); }
.visual-column > span { display: flex; justify-content: space-between; padding: 2px 2px 11px; color: #344054; font-size: 9px; font-weight: 700; }
.visual-column i { display: block; height: 74px; margin-top: 8px; border: 1px solid var(--home-line); border-left: 3px solid #5745ff; border-radius: 9px; background: #fbfbfd; }
.visual-column:nth-child(2) i { border-left-color: #ff7a59; }.visual-column i.green { border-left-color: #22c55e; background: #f2fff6; }
.chat-visual { min-height: 210px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; margin-top: 44px; padding: 26px; border: 1px solid var(--home-line); border-radius: 15px; background: #fff; }
.bubble { width: fit-content; max-width: 80%; padding: 12px 14px; border-radius: 12px 12px 12px 3px; background: #f4f5f7; color: #344054; font-size: 11px; }
.bubble-right { align-self: flex-end; border-radius: 12px 12px 3px 12px; background: #101828; color: #fff; }
.typing { display: flex; gap: 3px; padding: 8px 11px; width: fit-content; border-radius: 9px; background: #f4f5f7; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: #98a2b3; }
.dark-card { background: var(--home-night); color: #fff; border-color: var(--home-night); }
.dark-card .feature-number { color: rgba(255,255,255,.24); }.dark-card .feature-tag { background: rgba(255,73,87,.15); color: #ff7a89; }.dark-card p { color: rgba(255,255,255,.58); }
.chart-visual { height: 210px; display: flex; align-items: flex-end; gap: 12px; margin-top: 44px; padding: 28px 24px 0; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px); background-size: 100% 42px; }
.chart-visual span { flex: 1; border-radius: 6px 6px 0 0; background: rgba(255,255,255,.14); }.chart-visual span:nth-last-child(-n+2) { background: var(--home-coral); }

.workflow { background: #f5f6f8; }
.workflow-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; }
.workflow-sticky { align-self: start; position: sticky; top: 130px; }
.workflow-sticky > p:not(.eyebrow) { max-width: 470px; margin: 25px 0; color: #667085; font-size: 15px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid #d0d5dd; font-size: 13px; font-weight: 700; }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d0d5dd; }
.workflow-list li { display: grid; grid-template-columns: 72px 1fr; gap: 25px; padding: 40px 0; border-bottom: 1px solid #d0d5dd; }
.workflow-list li > span { color: var(--home-coral); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.workflow-list h3 { margin: 0; font-family: 'Instrument Sans', sans-serif; font-size: 30px; font-weight: 620; letter-spacing: -.035em; }
.workflow-list p { max-width: 500px; margin: 12px 0 0; color: #667085; font-size: 14px; line-height: 1.7; }

.platform-section { padding-top: 32px; background: #fff; }
.platform-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 78px; border-radius: 18px; background: var(--home-night); color: #fff; }
.platform-card::after { content: ''; position: absolute; width: 540px; height: 540px; right: -290px; top: -270px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012); }
.platform-copy { position: relative; z-index: 1; }
.platform-copy h2 { font-size: clamp(42px, 4vw, 62px); }
.platform-copy > p:not(.eyebrow) { max-width: 530px; margin: 25px 0 32px; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.75; }
.platform-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-content: center; }
.platform-metrics div { display: flex; flex-direction: column; min-height: 150px; padding: 26px; border: solid rgba(255,255,255,.1); border-width: 0 0 1px 1px; }
.platform-metrics div:nth-child(even) { border-right-width: 0; }.platform-metrics div:nth-last-child(-n+2) { border-bottom-width: 0; }
.platform-metrics span { margin-bottom: auto; color: var(--home-coral); font-family: 'JetBrains Mono', monospace; font-size: 9px; }
.platform-metrics strong { font-family: 'Instrument Sans', sans-serif; font-size: 20px; }.platform-metrics small { margin-top: 4px; color: rgba(255,255,255,.45); font-size: 10px; }

.final-cta { position: relative; isolation: isolate; overflow: hidden; padding: 148px 0; background: #101828; color: #fff; text-align: center; }
.final-cta-grid { opacity: .11; mask-image: radial-gradient(circle at center, black, transparent 70%); }
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { font-size: clamp(58px, 8vw, 102px); }
.final-cta p:not(.eyebrow) { margin: 24px 0 32px; color: rgba(255,255,255,.58); font-size: 16px; }

.site-footer { padding: 58px 0 24px; border-top: 1px solid var(--home-line); background: #fff; }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; padding-bottom: 42px; }
.footer-main p { color: #667085; font-size: 12px; }
.footer-main nav { display: flex; gap: 24px; color: #475467; font-size: 11px; font-weight: 600; }
.footer-main nav a:hover { color: var(--home-coral); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--home-line); color: #98a2b3; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
    .hero { min-height: auto; }
    .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 70px; }
    .hero-copy { max-width: 760px; }
    .product-stage { width: min(100%, 780px); margin-inline: auto; transform: none; }
    .section-heading { gap: 45px; }
    .feature-card-large { grid-template-columns: 1fr; }
    .workflow-layout { gap: 60px; }
    .platform-card { padding: 58px; gap: 50px; }
    .trackly-layout { grid-template-columns: 1fr; gap: 48px; }
    .trackly-copy h2, .trackly-copy > p:not(.eyebrow) { max-width: 720px; }
}

@media (max-width: 820px) {
    .container { width: min(100% - 32px, 1240px); }
    .desktop-nav, .login-link { display: none; }
    .header-actions .button { display: none; }
    .menu-toggle { display: flex; }
    .hero { padding-top: 130px; }
    .hero h1 { font-size: clamp(48px, 12vw, 72px); }
    .product-stage { width: 860px; transform: scale(.78); transform-origin: left top; margin-bottom: -130px; }
    .floating-card-left { left: 12px; }.floating-card-right { right: 12px; }
    .section { padding: 90px 0; }
    .section-heading { grid-template-columns: 1fr; gap: 26px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card-large { grid-column: auto; min-height: auto; }
    .workflow-layout { grid-template-columns: 1fr; }
    .workflow-sticky { position: static; }
    .platform-card { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 12px; }
    .footer-main nav { flex-wrap: wrap; margin-top: 14px; }
    .trackly-band { padding: 76px 0; }
}

@media (max-width: 600px) {
    .header-inner { height: 70px; }
    .mobile-menu { top: 70px; }
    .hero { padding: 112px 0 66px; }
    .hero-layout { width: min(100% - 32px, 1240px); }
    .hero-copy { max-width: 100%; }
    .hero h1 { max-width: 100%; font-size: clamp(40px, 12.5vw, 49px); overflow-wrap: normal; }
    .hero-lead { max-width: 100%; }
    .hero-lead { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-proof { gap: 12px 18px; }
    .product-stage { width: 760px; transform: scale(.47); margin-bottom: -285px; }
    .product-window { border-radius: 13px; }
    .floating-card { display: none; }
    .section h2 { font-size: 43px; }
    .feature-card { min-height: auto; padding: 27px 22px; }
    .feature-card h3 { font-size: 33px; }
    .pipeline-visual { min-height: 290px; padding: 14px; gap: 7px; }
    .visual-column { padding: 8px; }.visual-column > span { font-size: 7px; }.visual-column i { height: 64px; }
    .workflow-list li { grid-template-columns: 45px 1fr; gap: 12px; padding: 30px 0; }
    .platform-section { padding-inline: 0; }
    .platform-card { padding: 42px 24px; border-radius: 14px; }
    .platform-metrics { grid-template-columns: 1fr; }
    .platform-metrics div { min-height: 122px; border-width: 0 0 1px; padding-inline: 0; }
    .platform-metrics div:nth-last-child(-n+2) { border-bottom-width: 1px; }.platform-metrics div:last-child { border-bottom-width: 0; }
    .final-cta { padding: 105px 0; }.final-cta h2 { font-size: 57px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .trackly-copy h2 { font-size: 43px; }
    .source-row { gap: 5px; padding-inline: 10px; }.source-chip { gap: 6px; padding: 7px 5px; }.source-chip > span { width: 22px; height: 22px; }.source-chip small { display: none; }
    .tracked-list { padding: 12px 10px 14px; }
    .tracked-list-head { display: none; }
    .contact-views { height: 300px; }
    .contact-row { min-height: 100px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 7px 10px; padding: 11px; }
    .contact-row .contact-cell:nth-child(2) { display: none; }
    .contact-row .contact-cell:nth-child(4) { grid-column: 2; grid-row: 1; align-items: flex-end; }
    .campaign-cell { grid-column: 1 / -1; grid-row: 2; }
    .trackly-demo-foot { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
