:root {
  color-scheme: light;
  --ink: #181f37;
  --muted: #485471;
  --paper: #f5f6fc;
  --white: #fff;
  --dark: #10162c;
  --light: #f0f3ff;
  --dim: #bcc6e3;
  --mint: #a8bafa;
  --deep: #2d52ad;
  --border: #d7deef;
  --ease: cubic-bezier(.2,.8,.2,1);
  --measure: 74rem;
  font: 16px/1.5 "Inter", system-ui, sans-serif;
  scroll-padding-top: 6rem;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 760; letter-spacing: -.065em; line-height: .99; }
h1 { font-size: clamp(3.25rem, 5.6vw, 5.8rem); text-wrap: pretty; }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -.035em; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a, button, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2d52d2; outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible { outline-color: var(--mint); }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--measure), calc(100% - 4rem)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 9rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.dark { background: var(--dark); color: var(--light); }
.kicker { color: var(--deep); font-size: .75rem; line-height: 1.4; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.1rem; }
.dark .kicker { color: var(--mint); }
.lede { font-size: clamp(1rem, 1.65vw, 1.23rem); color: var(--muted); max-width: 42rem; margin-block: 1.25rem 2rem; }
.dark .lede { color: var(--dim); }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 20; transform: translateY(-200%); background: var(--mint); color: var(--dark); padding: .8rem; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; color: var(--light); background: #0b1227; border-bottom: 1px solid #ffffff20; }
.nav { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 3rem); align-items: center; min-height: 74px; position: relative; }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-size: 1.28rem; font-weight: 780; letter-spacing: -.04em; width: max-content; }
.brand img { margin-right: .55rem; border-radius: 8px; }
.brand span { color: var(--mint); }
.nav-links, .nav-actions, .actions, .choice-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.nav-links { justify-content: center; }
.nav-links a, .sign-in { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .875rem; color: #d6e4e3; padding-inline: .3rem; }
.nav-links a:hover, .sign-in:hover { color: var(--mint); }
.menu-button { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .35rem; text-decoration: none; text-align: center; font-weight: 710; background: white; color: var(--ink); }
.button:active:not(:disabled) { transform: scale(.98); }
.button:disabled { cursor: default; opacity: .6; }
.primary { background: #2d52d2; color: #fff; border-color: #5573e3; }
.primary:hover { background: #3e60dc; }
.ghost { color: var(--light); background: #121c36c9; border-color: #7381ae; }
.ghost:hover:not(:disabled) { background: #213055; }
.outline { background: transparent; border-color: #7b89b7; }
.outline:hover { background: #e7ecfc; }
.text-link { background: transparent; color: var(--deep); border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; padding: .35rem 0; }
button.text-link { min-height: 44px; }
.hero { position: relative; isolation: isolate; min-height: clamp(600px, 75vw, 770px); display: grid; overflow: hidden; background: #0a1124; }
.hero-picture, .hero-picture img, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture { z-index: -2; }
.hero-picture img { object-fit: cover; object-position: 62% center; }
.hero::before { content: ""; z-index: -1; background: linear-gradient(90deg, #080e11f5 0%, #080e11d1 28%, #080e1150 63%, transparent 100%), linear-gradient(0deg, #080e11e0, transparent 30%); }
.hero-inner { display: grid; align-content: space-between; gap: 3rem; padding-block: clamp(4.5rem, 9vw, 8rem) 2rem; }
.hero-copy { max-width: 42rem; }
.hero-copy > p:not(.kicker) { font-size: clamp(1.06rem, 1.9vw, 1.25rem); color: #d6dff7; margin-block: 1.5rem; max-width: 27rem; }
.hero-readout { display: flex; justify-content: end; align-items: end; gap: 2rem; flex-wrap: wrap; }
.hero-readout div { min-width: 11rem; border-top: 1px solid #8dc0b4; padding-top: .6rem; }
.hero-readout span, .demo-metrics span { display: block; font-size: .8rem; color: var(--dim); }
.hero-readout strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.feature-list { display: grid; gap: 0; margin-block: 1.7rem; }
.feature-list > div { padding: .8rem 0; border-top: 1px solid var(--border); }
.feature-list dt { font-weight: 760; }
.feature-list dd { margin-top: .22rem; color: var(--muted); }
.product-figure { display: grid; justify-items: center; align-content: center; min-width: 0; gap: 1rem; padding: clamp(1.25rem, 5vw, 3.5rem) 1rem; background: radial-gradient(ellipse at 45% 20%, #dbe3fa, #eeebf9 64%); min-height: 31rem; }
.phone-frame { width: min(100%, 240px); aspect-ratio: 9 / 17; overflow: hidden; border: 7px solid #171f37; border-radius: 1.8rem; background: #171f37; box-shadow: 0 16px 42px #1c302b44; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
figcaption { color: var(--muted); font-size: .825rem; text-align: center; }
.choice-row { gap: .4rem; }
.choice-row button { color: var(--ink); border: 1px solid var(--border); min-height: 44px; padding: .36rem .65rem; background: transparent; border-radius: .28rem; font-size: .84rem; }
.choice-row button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dark .choice-row button { color: var(--light); border-color: #576a70; }
.dark .choice-row button[aria-pressed="true"] { background: var(--mint); color: var(--dark); border-color: var(--mint); }
.calculator-section, .pricing { background: #e9edfa; }
.tool-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1rem, 4vw, 3rem); align-items: start; }
.calculator-form { background: var(--white); border: 1px solid var(--border); padding: clamp(1rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.calculator-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
legend { font-weight: 750; padding: 0; margin-bottom: .8rem; }
label { font-size: .86rem; font-weight: 650; }
input:not([type="range"]), select { display: block; background: #fafbff; color: var(--ink); border: 1px solid #7a88b1; border-radius: .25rem; min-height: 44px; width: 100%; margin-top: .25rem; padding: .4rem .55rem; font-variant-numeric: tabular-nums; font-size: 1rem; }
input:disabled { color: var(--muted); border-color: var(--border); }
input[type="range"] { display: block; width: 100%; min-height: 44px; accent-color: var(--deep); }
.dark input[type="range"] { accent-color: var(--mint); }
.cost-results, .instrument { padding: clamp(1.25rem, 3.5vw, 2.5rem); font-variant-numeric: tabular-nums; }
.metric { color: var(--mint); display: block; font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 760; letter-spacing: -.06em; overflow-wrap: anywhere; }
.metric-list > div { display: flex; justify-content: space-between; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid #41565d; }
.metric-list dt { color: var(--dim); }
.metric-list dd { text-align: right; }
.result-note { color: var(--dim); font-size: .85rem; margin-top: .85rem; }
.cost-bar { height: 8px; background: #4d5b83; margin-top: 1.3rem; display: flex; overflow: hidden; }
.cost-bar span { width: 73.24%; background: var(--mint); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: end; margin-bottom: 2rem; }
.section-head .lede { margin-bottom: .2rem; }
.workspace { border: 1px solid #aeb9da; background: white; box-shadow: 0 14px 36px #20312b0d; }
.workspace-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; background: #edf0fb; border-bottom: 1px solid var(--border); padding: .75rem 1rem; }
.workspace-body { padding: clamp(1rem, 4vw, 2rem); }
.period-label { max-width: 14rem; display: block; margin-bottom: 1.2rem; }
.demo-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.demo-metrics > div { border-top: 2px solid #6d3fd0; padding-top: .45rem; }
.demo-metrics span { color: var(--muted); }
.demo-metrics strong { font-size: clamp(1.05rem, 3vw, 1.8rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#demo-summary, .audience-panel p, .system-detail p { margin-block: .65rem 1rem; color: var(--muted); }
.system-detail { border-top: 1px solid #52676e; margin-top: 1.3rem; padding-top: 1rem; }
.system-detail p { color: var(--dim); }
.status { min-height: 1.55rem; margin-top: .6rem; color: var(--deep); }
.ledger, .comparison { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ledger :is(th, td), .comparison :is(th, td) { padding: .65rem .35rem; text-align: left; border-bottom: 1px solid var(--border); }
.ledger :is(th, td):last-child { text-align: right; font-variant-numeric: tabular-nums; }
.model { display: grid; gap: 1rem; }
.model canvas, .model-fallback { width: 100%; height: auto; aspect-ratio: 660 / 364; object-fit: cover; object-position: 60% 55%; }
.model-control { color: var(--dim); }
.audience-panel { border-top: 1px solid var(--border); margin-top: 1.3rem; padding-top: 1rem; }
.cockpit { background: #111a32; }
.instrument { background: #0b132a; border: 1px solid #546395; }
.speed { display: flex; align-items: baseline; gap: .5rem; line-height: 1.1; color: var(--mint); margin-bottom: 1.2rem; }
.speed strong { font-size: clamp(4rem, 9vw, 7rem); letter-spacing: -.075em; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; background: #aeb9da; }
.plans article { display: grid; align-content: start; justify-items: start; gap: 1rem; background: white; padding: clamp(1rem, 3.5vw, 2.5rem); }
.plans article p, .faq p { color: var(--muted); }
.comparison caption { text-align: left; font-weight: 760; padding-block: 1rem; }
.comparison th:first-child { width: 60%; }
.faq details { padding-block: .8rem; border-top: 1px solid var(--border); }
.faq summary { min-height: 44px; padding-block: .6rem; cursor: pointer; font-weight: 710; }
.faq p { padding: 0 .2rem .5rem; }
.final-section { text-align: center; }
.final-section p { margin: 1.2rem 0 1.5rem; color: var(--dim); }
.site-footer { border-top: 1px solid #44527c; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-inner nav a { padding-block: .65rem; font-size: .875rem; }
.footer-inner small { color: var(--dim); }
@media (max-width: 1000px) {
  .nav { grid-template-columns: auto 1fr auto; gap: .9rem; }
  .menu-button { display: block; justify-self: end; color: var(--light); border: 1px solid #546395; min-height: 44px; padding: .25rem .8rem; background: transparent; border-radius: .3rem; }
  .nav-links { display: none; position: absolute; top: 100%; right: 0; width: min(23rem, 100%); padding: .75rem; background: #131d38; border: 1px solid #546395; }
  .nav-links.is-open { display: grid; justify-content: stretch; }
  .nav-links a { padding-inline: .75rem; }
}
@media (max-width: 700px) {
  :root { scroll-padding-top: 4.75rem; }
  .wrap { width: calc(100% - 2rem); }
  .nav { grid-template-columns: auto 1fr auto; min-height: 64px; gap: .5rem; }
  .nav-actions .button { min-height: 44px; padding: .4rem .55rem; font-size: .75rem; }
  .nav-actions .sign-in { display: none; }
  .nav-links .mobile-sign-in { display: flex; }
  .brand { font-size: 1.12rem; }
  .brand img { width: 26px; height: 26px; margin-right: .35rem; }
  .menu-button { padding-inline: .55rem; font-size: .8rem; }
  .split, .tool-grid, .section-head { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hero { display: block; min-height: 0; }
  .hero-inner { padding-block: 3.2rem 1.5rem; gap: 0; }
  .hero-copy { max-width: 31rem; }
  .hero-picture { inset: auto 0 0; height: min(72vw, 400px); }
  .hero-picture img { object-position: center; }
  .hero::before { inset: auto 0 0; height: min(72vw, 400px); background: linear-gradient(180deg, #0a1124 0%, transparent 29%, transparent 60%, #0a1124 100%); }
  .hero-readout { padding-top: min(58vw, 335px); gap: .85rem; justify-content: start; }
  .hero-readout div { min-width: min(10rem, 100%); }
  .hero-readout strong { font-size: 1.3rem; }
  .product-figure { min-height: auto; }
  .section-head .lede { margin-block: .1rem .25rem; }
  .demo-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(2.65rem, 12vw, 3.7rem); }
  .hero-copy .button { font-size: .9rem; padding-inline: .7rem; }
  .workspace-body { padding-inline: .75rem; }
}
.tour { padding: 1rem; background: #e9edfa; margin-bottom: 1rem; }
.tour .actions { margin-top: .5rem; }
#plan-comparison details { margin-top: 1rem; }
#plan-comparison summary { display: list-item; min-height: 44px; padding: .65rem 0; cursor: pointer; font-weight: 710; }
@media (min-width: 701px) { .nav-links .mobile-sign-in { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
  .hero-copy { animation: enter 420ms var(--ease) both; }
  @keyframes enter { from { opacity: .5; transform: translateY(9px); } to { opacity: 1; transform: none; } }
}
