:root {
  color-scheme: light;
  --ink: #211d34;
  --muted: #625c73;
  --purple: #5639cf;
  --purple-deep: #4328b0;
  --line: #e8e5f0;
  --paper: #fff;
  --wash: #f7f6ff;
  --system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--system-font); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #8567ff; outline-offset: 4px; }
img, svg { display: block; }
[id] { scroll-margin-top: 1.5rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h2 { font-size: clamp(2.15rem, 4.25vw, 3.65rem); font-weight: 760; letter-spacing: -.055em; }
h3 { font-size: 1.23rem; letter-spacing: -.025em; }
p { color: var(--muted); }
.shell { width: min(100% - 5rem, 73.75rem); margin-inline: auto; }
.section { padding-block: 6.5rem; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 1.35em; height: 1.35em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; z-index: 10; inset: .6rem auto auto .6rem; padding: .5rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .63rem; color: var(--ink); font-size: 1.84rem; letter-spacing: -.065em; font-weight: 780; line-height: 1; }
.brand > svg { width: 2.15rem; height: 2.15rem; color: var(--purple); }
.brand-period { color: var(--purple); }
.topbar nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); color: var(--muted); font-size: .93rem; font-weight: 620; }
.topbar nav a:hover, .footer a:hover { color: var(--purple); }
.button { display: inline-flex; gap: .55rem; justify-content: center; align-items: center; min-height: 3.25rem; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 690; line-height: 1.2; transition: color .18s, background .18s, border .18s, box-shadow .18s; }
.button-small { min-height: 2.6rem; padding: .58rem .92rem; font-size: .9rem; }
.button-outline { border-color: #ddd5f8; color: var(--purple-deep); background: #fff; }
.button-outline:hover { background: #f1edff; border-color: #c6b6fb; }
.button-primary { color: white; background: var(--purple); box-shadow: 0 4px 10px #4b2ac321; }
.button-primary:hover { background: var(--purple-deep); }
.button-text { color: var(--ink); background: transparent; padding-inline: .55rem; }
.button-text:hover { color: var(--purple); }
.button-white { background: #fff; color: var(--purple-deep); }
.button-white:hover { background: #efebff; }

.hero { background: radial-gradient(ellipse at 76% 45%, #eae4ff 0, transparent 50%), var(--wash); overflow: hidden; }
.hero-layout { min-height: 593px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1rem, 4.7vw, 4.25rem); align-items: center; padding-block: 4.2rem 5.55rem; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin-bottom: .92rem; color: var(--purple-deep); text-transform: uppercase; font-size: .85rem; font-weight: 770; letter-spacing: .105em; }
.hero .eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.35rem; }
.signal { width: .52rem; height: .52rem; border-radius: 50%; background: #684bed; box-shadow: 0 0 0 4px #e8e0fe; flex-shrink: 0; margin-left: .25rem; }
.hero h1 { font-size: clamp(4.25rem, 7.1vw, 6.5rem); line-height: .94; letter-spacing: -.082em; font-weight: 790; }
.hero h1 > span { color: var(--purple); }
.hero-deck { max-width: 29rem; margin-top: 1.65rem; font-size: clamp(1.08rem, 1.6vw, 1.24rem); line-height: 1.53; }
.hero-buttons { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-top: 1.85rem; }
.hero-visual { position: relative; isolation: isolate; margin-right: .6rem; }
.orbit { position: absolute; z-index: -1; display: block; border: 1px solid #d4c7f4; border-radius: 50%; inset: -13% -8%; transform: rotate(-15deg); }
.orbit-two { inset: -20% -3%; border-style: dashed; transform: rotate(16deg); }
.dashboard { background: white; border: 1px solid #dcd5f2; border-radius: 1rem; box-shadow: 0 24px 70px #50388130, 0 3px 12px #3b26740f; overflow: hidden; }
.window-bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: .4rem; align-items: center; padding: .66rem .9rem; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .76rem; background: #fdfcff; }
.window-dots { display: flex; align-items: center; gap: .3rem; }
.window-dots i { width: .43rem; height: .43rem; border-radius: 50%; background: #dcd6ed; }
.window-dots i:first-child { background: #ad9de3; }
.demo-label { justify-self: end; border-radius: .29rem; padding: .1rem .34rem; background: #eee9ff; color: var(--purple-deep); font-size: .71rem; font-weight: 740; letter-spacing: .06em; }
.dashboard-body { display: grid; grid-template-columns: 8rem minmax(0, 1fr); min-height: 335px; }
.dashboard-sidebar { padding: .91rem .55rem; border-right: 1px solid var(--line); background: #fcfbff; }
.mini-brand { display: flex; align-items: center; gap: .4rem; padding: .05rem .27rem .9rem; font-size: .98rem; font-weight: 790; letter-spacing: -.04em; }
.mini-brand svg { width: 1.25rem; height: 1.25rem; color: var(--purple); }
.mini-link { display: flex; gap: .43rem; align-items: center; padding: .45rem .42rem; margin-bottom: .17rem; border-radius: .36rem; font-size: .76rem; color: var(--muted); }
.mini-link.is-active { color: var(--purple-deep); background: #efeaff; font-weight: 720; }
.dashboard-main { padding: 1rem 1.03rem 1.25rem; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .75rem; }
.dashboard-heading strong { font-size: 1.22rem; letter-spacing: -.04em; }
.dashboard-heading > span { font-size: .74rem; border: 1px solid var(--line); border-radius: .35rem; padding: .13rem .46rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-bottom: .75rem; }
.stats div { display: grid; gap: .07rem; border-radius: .47rem; padding: .5rem .57rem; background: #f8f6ff; }
.stats div:nth-child(2) { background: #f4efff; }
.stats div:nth-child(3) { background: #edf8f2; }
.stats span { white-space: nowrap; color: var(--muted); font-size: .72rem; }
.stats b { line-height: 1.15; font-size: 1.36rem; }
.order-list { width: 100%; border-collapse: collapse; font-size: .77rem; font-variant-numeric: tabular-nums; text-align: left; }
.order-list th, .order-list td { padding: .43rem .38rem; white-space: nowrap; }
.order-list thead { background: #faf9fd; color: var(--muted); }
.order-list th { font-size: .72rem; font-weight: 600; }
.order-list td { border-bottom: 1px solid #f2eff6; }
.order-list td:first-child { font-weight: 720; }
.order-list td:last-child { color: var(--muted); }
.status { display: inline-block; white-space: nowrap; padding: .19em .52em; border-radius: .35em; font-weight: 650; }
.status.purple { background: #eee8ff; color: #5435b0; }
.status.green { background: #e2f4e9; color: #266345; }
.status.amber { background: #ffefd7; color: #805216; }
.status.gray { background: #efedf3; color: #554e65; }
.delivery-note { position: absolute; right: -1.15rem; bottom: -1.65rem; display: flex; align-items: center; gap: .65rem; padding: .7rem .95rem .7rem .72rem; background: white; border: 1px solid var(--line); box-shadow: 0 10px 28px #3320601f; border-radius: .72rem; }
.note-icon { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: .51rem; background: #e2f4e9; color: #266345; }
.delivery-note div { display: grid; }
.delivery-note strong { font-size: .89rem; }
.delivery-note div span { font-size: .76rem; color: var(--muted); }

.workflow { border-block: 1px solid var(--line); }
.workflow-inner { min-height: 86px; display: grid; grid-template-columns: repeat(4, 1fr); }
.workflow-inner > span { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .75rem; color: #494259; font-size: .94rem; font-weight: 660; }
.workflow-inner > span + span { border-left: 1px solid var(--line); }
.workflow .icon { color: var(--purple); }

.section-heading { margin: 0 auto 2.6rem; text-align: center; }
.section-heading h2 { max-width: 50rem; margin-inline: auto; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 40rem; margin: 1.04rem auto 0; font-size: 1.07rem; }
.features, .integrations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature { padding: 1.55rem; border: 1px solid var(--line); border-radius: .95rem; background: white; }
.feature-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1.2rem; border-radius: .68rem; }
.feature-icon.lilac { --icon-bg: #eee9ff; color: #5e42c7; background: var(--icon-bg); }
.feature-icon.mint { --icon-bg: #e6f5ec; color: #2b684d; background: var(--icon-bg); }
.feature-icon.peach { --icon-bg: #fff0e4; color: #894b27; background: var(--icon-bg); }
.feature-icon.ice { --icon-bg: #eaf1ff; color: #365aad; background: var(--icon-bg); }
.feature p { margin-top: .69rem; }

.role-section { background: var(--wash); border-block: 1px solid var(--line); }
.role-box { max-width: 61rem; margin-inline: auto; border: 1px solid #dfd8f2; border-radius: 1.12rem; background: white; box-shadow: 0 10px 34px #3823600d; overflow: hidden; }
.role-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .25rem; padding: .55rem; background: #fbfaff; border-bottom: 1px solid var(--line); }
.role-tabs button { min-height: 2.68rem; border: 0; border-radius: .5rem; padding: .42rem .3rem; background: transparent; color: var(--muted); font-weight: 670; white-space: nowrap; }
.role-tabs button:hover { background: #f3efff; color: var(--purple-deep); }
.role-tabs [aria-selected="true"] { background: #ebe4ff; color: var(--purple-deep); }
.role-tabs button:focus-visible { outline-offset: -3px; }
.role-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: clamp(1.35rem, 5vw, 3.25rem); }
.role-copy h3 { margin-bottom: .63rem; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.role-copy p { max-width: 25rem; }
.sample { padding: 1.03rem 1.12rem; background: #faf8ff; border: 1px solid #eee8fb; border-radius: .8rem; }
.sample-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .56rem; }
.sample-heading small { color: var(--muted); font-size: .86rem; }
.sample-detail { min-height: 2.35rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .1rem .6rem; padding: .42rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.sample-detail > span { color: var(--muted); }
.sample-detail strong { font-weight: 680; }
.sample-action { width: 100%; min-height: 2.72rem; margin-top: .65rem; font-size: .92rem; }
.sample-action:disabled { background: #ede8f7; color: var(--muted); box-shadow: none; }

.zones-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.zones-section h2 + p { margin-top: 1.22rem; max-width: 28rem; font-size: 1.08rem; }
.zone-demo { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 8px 28px #2f22530c; background: white; }
.zone-map { width: 100%; height: auto; aspect-ratio: 560 / 300; }
.zone-shape { fill: #a38af9; fill-opacity: .15; stroke: #8468db; stroke-width: 1.5; }
.zone-shape.selected { fill: #7c5be8; fill-opacity: .43; stroke: #6746d3; stroke-width: 2.5; }
.zone-controls { display: flex; justify-content: space-between; align-items: center; gap: .85rem; padding: .82rem 1rem; }
.zone-controls > div { display: flex; flex-wrap: wrap; align-items: center; gap: .32rem .7rem; }
.zone-controls label { color: var(--muted); font-size: .86rem; }
.zone-controls select { min-height: 2.65rem; max-width: 100%; padding: .3rem 1.95rem .3rem .6rem; appearance: none; border: 1px solid #e1dbed; border-radius: .42rem; background: #faf8ff; color: var(--ink); font-weight: 620; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%235639cf' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5rem center; background-size: 1rem; }
.zone-controls output { color: var(--purple-deep); font-size: 1.3rem; white-space: nowrap; font-weight: 740; font-variant-numeric: tabular-nums; }

.audience-section { padding-block: 4rem; background: #f8f8fc; border-block: 1px solid var(--line); }
.audience { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.audience img { width: 100%; height: auto; border-radius: 1rem; object-fit: cover; }
.audience-type { margin-top: 1.23rem; padding-top: 1rem; border-top: 1px solid #e4e1ec; }
.audience-type p { margin-top: .43rem; }
.integrations-section { padding-bottom: 4rem; }
.integrations { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 61rem; margin-inline: auto; }
.integration { display: flex; align-items: flex-start; gap: .95rem; }
.integration .feature-icon { flex: 0 0 2.8rem; margin-bottom: 0; }
.integration h3 { margin-top: .1rem; }
.integration p { margin-top: .45rem; }
.end-section { padding-bottom: 4.25rem; }
.end-banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.6rem, 5vw, 3.6rem); border-radius: 1.15rem; color: #fff; background: radial-gradient(ellipse at top right, #6946e7, transparent 67%), #4226b0; }
.end-banner h2 { font-size: clamp(1.95rem, 4vw, 3.3rem); }
.end-banner p { margin-top: .66rem; color: #eee8ff; }
.end-banner .button { flex-shrink: 0; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 94px; padding-block: 1.2rem; }
.footer-inner > p, .footer-inner > a:last-child { font-size: .9rem; color: var(--muted); }
.footer .brand { font-size: 1.59rem; }
.footer .brand > svg { width: 1.8rem; height: 1.8rem; }
.missing h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 7vw, 4.5rem); }

@media (max-width: 1050px) {
  .shell { width: min(100% - 3.5rem, 73.75rem); }
  .hero-layout { gap: 2rem; min-height: 555px; }
  .dashboard-body { grid-template-columns: 6.8rem minmax(0, 1fr); }
  .dashboard-main { padding-inline: .8rem; }
  .feature { padding: 1.25rem; }
}
@media (max-width: 820px) {
  .hero-layout { grid-template-columns: 1fr; gap: 3.3rem; padding-block: 3.9rem 4.6rem; }
  .hero h1 { font-size: clamp(4rem, 10vw, 5.8rem); }
  .hero-visual { width: min(100%, 37rem); margin-right: 0; }
  .dashboard-body { grid-template-columns: 8rem minmax(0, 1fr); }
  .delivery-note { right: -.58rem; bottom: -1.1rem; }
  .section { padding-block: 4.25rem; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zones-section { gap: 1.5rem; }
  .zone-controls { padding: .7rem; }
  .audience-section { padding-block: 3rem; }
  .audience { gap: 2rem; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 2.25rem); }
  .topbar-inner { min-height: 64px; }
  .topbar nav { display: none; }
  .brand { font-size: 1.55rem; }
  .brand > svg { width: 1.85rem; height: 1.85rem; }
  .hero-layout { padding-block: 3.3rem 3.85rem; gap: 2.55rem; }
  .hero .eyebrow { margin-bottom: 1.05rem; }
  .hero h1 { font-size: clamp(3.55rem, 13vw, 4.65rem); }
  .hero-deck { margin-top: 1.13rem; }
  .hero-buttons { margin-top: 1.37rem; gap: .45rem .73rem; }
  .hero-buttons .button { padding-inline: .78rem; font-size: .93rem; }
  .hero-buttons .button-text { padding-inline: .13rem; }
  .dashboard-body { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .dashboard-sidebar { display: none; }
  .dashboard-main { padding: .75rem .65rem 1.3rem; }
  .stats div { padding: .4rem; }
  .window-bar { padding-inline: .55rem; }
  .delivery-note { padding: .5rem .7rem .5rem .52rem; right: -.25rem; }
  .note-icon { width: 1.9rem; height: 1.9rem; }
  .workflow-inner { grid-template-columns: repeat(2, 1fr); }
  .workflow-inner > span { min-height: 3.2rem; justify-content: start; padding: .55rem .25rem .55rem .65rem; font-size: .81rem; gap: .42rem; }
  .workflow-inner > span:nth-child(3) { border-left: 0; }
  .workflow-inner > span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-heading { margin-bottom: 1.7rem; text-align: left; }
  .section-heading h2, .section-heading > p:last-child:not(.eyebrow) { margin-inline: 0; }
  .features, .zones-section, .audience, .integrations, .role-panel { grid-template-columns: minmax(0, 1fr); }
  .features, .integrations { gap: .72rem; }
  .feature { padding: 1.15rem; }
  .feature-icon { margin-bottom: .85rem; }
  .section { padding-block: 3.35rem; }
  .role-tabs { display: flex; flex-wrap: wrap; gap: .27rem; padding: .45rem; }
  .role-tabs button { flex: 1 1 auto; min-height: 2.5rem; padding-inline: .55rem; font-size: .88rem; }
  .role-panel { gap: 1.25rem; padding: 1.05rem; }
  .sample { padding-inline: .8rem; }
  .audience img { order: 2; }
  .end-banner { align-items: flex-start; flex-direction: column; }
  .end-section { padding-bottom: 3rem; }
  .footer-inner { flex-wrap: wrap; min-height: 4rem; gap: .6rem .85rem; }
  .footer-inner > p { order: 2; width: 100%; }
}
@media (max-width: 355px) {
  .shell { width: calc(100% - 1.65rem); }
  .hero .eyebrow { font-size: .74rem; }
  .hero-buttons { gap: .25rem; }
  .hero-buttons .button { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
