:root {
    --bg: #ffffff;
    --bg-2: #f6f6f7;
    --line: rgba(10, 10, 10, 0.08);
    --text: #0a0a0a;
    --muted: #52525b;
    --cyan: #0a0a0a;
    --cyan-2: #0a0a0a;
    --pink: #ff4d8d;
    --rgb-cyan: 10, 10, 10;
    --display: "Inter Tight", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --wrap: 1180px;
    --grad: linear-gradient(90deg, var(--cyan), var(--cyan-2), var(--cyan));
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
  h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
  h1 { font-weight: 700; font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1.02; letter-spacing: -0.035em; }
  h2 { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.08; letter-spacing: -0.03em; }
  h3 { font-weight: 700; font-size: 1.02rem; letter-spacing: 0; }
  p { margin: 0; }
  .muted { color: var(--muted); }
  .eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
  .eyebrow::after { content: ""; display: block; width: 4.5rem; height: 2px; margin: 0.8rem 0 1.2rem; border-radius: 2px; background: linear-gradient(90deg, rgba(var(--rgb-cyan), 0.7), transparent); }
  .center .eyebrow::after, .eyebrow.center::after { margin-left: auto; margin-right: auto; }
  .grad { color: inherit; }
  .skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
  .skip:focus { left: 8px; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 0.96rem var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease; }
  .btn-primary { background: var(--cyan); color: #fff; box-shadow: none; }
  .btn-primary:hover { transform: translateY(-1px); background: #2a2a2e; }
  .btn-ghost { color: var(--text); background: rgba(11, 21, 48, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
  .btn-ghost:hover { background: rgba(11, 21, 48, 0.07); }
  .btn .arr { transition: transform .2s var(--ease); }
  .btn:hover .arr { transform: translateX(3px); }

  /* header */
  header.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
  header.top.scrolled { border-bottom-color: var(--line); }
  header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.15rem var(--display); letter-spacing: -0.03em; }
  .logo svg { display: block; }

  /* hero */
  .hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 112px); }
  .aurora { position: absolute; inset: -20% -10% -10%; pointer-events: none; z-index: 0; mix-blend-mode: screen; opacity: 0.9;
    background:
      radial-gradient(ellipse 55% 45% at 20% 25%, rgba(var(--rgb-cyan), 0.09), transparent 70%),
      radial-gradient(ellipse 50% 40% at 80% 30%, rgba(124, 240, 255, 0.05), transparent 70%); filter: blur(10px); }
  .grid-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(11, 21, 48, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 21, 48, 0.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
  .hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  @media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }
  .lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 34rem; margin-top: 22px; }
  .lede b { color: var(--text); font-weight: 600; }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .partner { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.86rem; color: var(--muted); }
  .partner i { width: 7px; height: 7px; border-radius: 50%; background: #2448ff; }
  .ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.88rem; color: var(--muted); }
  .ticks li { display: inline-flex; align-items: center; gap: 8px; }
  .ticks li::before { content: ""; width: 14px; height: 14px; background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

  /* live demo frame */
  .demo { position: relative; }
  .demo-frame { position: relative; border-radius: 24px; padding: 12px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(11, 21, 48, 0.35); max-width: 460px; margin: 0 auto; }
  
  .demo-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px 12px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
  .demo-bar .live { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
  .demo-bar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2448ff; box-shadow: 0 0 0 0 rgba(var(--rgb-cyan), 0.6); }
  .demo-bar span:last-child { letter-spacing: 0.08em; text-transform: none; font-weight: 500; color: var(--muted); }
  #hfx-chat { position: relative; min-height: 560px; display: flex; justify-content: center; }
  #hfx-chat > div { max-width: 100% !important; border-radius: 16px !important; box-shadow: none !important; }
  .noscript { position: relative; padding: 24px; color: var(--muted); }
  .prompts { position: relative; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px auto 0; max-width: 470px; }
  .prompts button { font: 500 0.8rem var(--body); color: var(--text); background: rgba(11, 21, 48, 0.04); border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; cursor: pointer; }
  .prompts button:hover { border-color: rgba(var(--rgb-cyan), 0.5); }
  .prompts button.ok { border-color: var(--cyan); color: var(--cyan); }
  .demo-note { position: relative; text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

  /* sections */
  section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
  .sec-head { max-width: 46rem; }
  .sec-head .lede { margin-top: 16px; }
  .rule-top { border-top: 1px solid var(--line); }

  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
  @media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
  .panel { border-radius: 20px; padding: clamp(24px, 3vw, 36px); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
  .panel.ours { box-shadow: inset 0 0 0 1px rgba(var(--rgb-cyan), 0.35); }
  .panel .tag { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
  .panel.ours .tag { color: var(--cyan); }
  .panel h3 { font-size: 1.25rem; margin-top: 10px; }
  .panel ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
  .panel li { position: relative; padding-left: 28px; color: var(--muted); }
  .panel.ours li { color: var(--text); }
  .panel li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

  .steps { list-style: none; counter-reset: s; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
  .steps li { counter-increment: s; padding-top: 18px; border-top: 1px solid var(--line); }
  .steps li::before { content: "0" counter(s); display: block; font: 800 0.8rem var(--display); color: var(--cyan); margin-bottom: 12px; letter-spacing: 0.08em; }
  .steps p { color: var(--muted); font-size: 0.94rem; margin-top: 6px; }

  .market.one { display: block; } .market.one > div { max-width: 44rem; }
  .market { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  @media (max-width: 860px) { .market { grid-template-columns: 1fr; } }
  .big { font: 700 clamp(3.4rem, 8vw, 6.2rem)/1 var(--display); letter-spacing: -0.05em; }
  .market small { display: block; margin-top: 18px; font-size: 0.8rem; color: var(--muted); max-width: 32rem; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .chips span { font-size: 0.86rem; padding: 7px 14px; border-radius: 999px; background: rgba(11, 21, 48, 0.04); box-shadow: inset 0 0 0 1px var(--line); }

  .maps { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 44px; }
  @media (max-width: 980px) { .maps { grid-template-columns: 1fr; gap: 36px; } }
  .map { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
  .map caption { text-align: left; font: 600 1rem var(--display); letter-spacing: -0.01em; padding-bottom: 12px; }
  .map th, .map td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-top: 1px solid var(--line); }
  .map thead th { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0; border-top: 0; }
  .map tbody th { font-weight: 500; width: 46%; }
  .map td { color: var(--muted); }
  .map-close { margin-top: 36px; font-weight: 600; }
  @media (max-width: 560px) {
    .map thead { display: none; }
    .map caption { display: block; width: auto; }
    .map, .map tbody, .map tr, .map th, .map td { display: block; width: auto; }
    .map tr { border-top: 1px solid var(--line); padding: 12px 0; }
    .map th, .map td, .map tbody th { border-top: 0; padding: 0; width: auto; }
    .map td { margin-top: 3px; }
  }
  .sectors { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .sector { padding: 28px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .sector p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }
  @media (max-width: 900px) { .sectors { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } .sector { padding: 22px 20px; } }
  .faq { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  @media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; position: relative; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font-size: 1.4rem; color: var(--cyan); font-weight: 400; }
  .faq details[open] summary::after { content: "\2212"; }
  .faq details p { color: var(--muted); padding: 0 32px 20px 0; }

  .cta { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: clamp(56px, 8vw, 96px) 24px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
  .cta .aurora { inset: -30%; opacity: 1; }
  .cta > * { position: relative; }
  .cta .lede { margin: 18px auto 0; }
  .cta .actions { justify-content: center; }
  .cta .alt { margin-top: 18px; font-size: 0.86rem; color: var(--muted); }
  .cta .alt a { color: var(--text); }

  .cta { background: var(--text); box-shadow: none; color: #fff; }
  .cta .lede, .cta .alt { color: #a1a1aa; }
  .cta .alt a { color: #fff; }
  .cta .grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; }
  .cta .btn-primary { background: #fff; color: #0a0a0a; }
  .cta .btn-primary:hover { background: #e4e4e7; }
  footer { padding: 40px 0 56px; color: var(--muted); font-size: 0.86rem; }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: none; }
  .sticky-cta .btn { width: 100%; }
  @media (max-width: 760px) { .sticky-cta.on { display: block; } }

  @media (min-width: 981px) { .hero .btn-ghost { display: none; } }
  /* motion */
  @media (prefers-reduced-motion: no-preference) {
    
    @keyframes drift { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(3%, -2%) rotate(2deg); } }
    
    @keyframes sheen { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
    .rise { animation: rise 1s var(--ease) both; }
    .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .28s; } .rise.d4 { animation-delay: .38s; } .rise.d5 { animation-delay: .5s; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    .demo-bar .live::before { animation: pulse 2s infinite; }
    @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--rgb-cyan), 0.6); } 70% { box-shadow: 0 0 0 9px rgba(var(--rgb-cyan), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--rgb-cyan), 0); } }
    .reveal-on [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
    .reveal-on [data-reveal].in { opacity: 1; transform: none; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- site-wide additions (multi-page) ---------- */

.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.page-hero .kicker-txt { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 18ch; }
.page-hero .lede { max-width: 40rem; }
.page-hero .actions { margin-top: 28px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { border-radius: 16px; padding: 28px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.card.soft { background: var(--bg-2); box-shadow: none; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); margin-top: 10px; font-size: 0.96rem; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.card li { margin-bottom: 6px; }
a.card { text-decoration: none; color: inherit; display: block; transition: box-shadow .2s ease; }
a.card:hover { box-shadow: inset 0 0 0 1px var(--text); }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.92rem; }

.split-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .split-row { grid-template-columns: 1fr; gap: 20px; } }
.split-row h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.split-row p + p { margin-top: 14px; }
.split-row p { color: var(--muted); }

.numbered { list-style: none; counter-reset: n; padding: 0; margin: 40px 0 0; }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.numbered > li::before { content: counter(n, decimal-leading-zero); font: 600 0.9rem var(--display); color: var(--muted); padding-top: 3px; }
.numbered h3 { font-size: 1.15rem; }
.numbered p { color: var(--muted); margin-top: 6px; max-width: 46rem; }
@media (max-width: 560px) { .numbered > li { grid-template-columns: 40px 1fr; } }

.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 44px; }
.prose h3 { font-size: 1.08rem; margin-top: 28px; }
.prose p, .prose li { color: #27272a; }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.93rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.prose thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-top: 0; }
.prose .note { margin-top: 20px; padding: 16px 18px; background: var(--bg-2); border-radius: 12px; font-size: 0.93rem; color: var(--muted); }
.placeholder { background: #fff4c2; padding: 0 4px; border-radius: 4px; color: #3f3f00; }
.meta { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 560px) {
  .prose table.stack thead { display: none; }
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td, .prose table.stack th { display: block; width: auto; }
  .prose table.stack tr { border-top: 1px solid var(--line); padding: 10px 0; }
  .prose table.stack td, .prose table.stack th { border-top: 0; padding: 2px 0; }
}

.stat-line { display: flex; flex-wrap: wrap; gap: 24px 56px; margin-top: 32px; }
.stat-line div { min-width: 140px; }
.stat-line b { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--display); letter-spacing: -0.03em; }
.stat-line span { color: var(--muted); font-size: 0.9rem; }

.faq-page details { border-bottom: 1px solid var(--line); }
.faq-page summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; position: relative; }
.faq-page summary::-webkit-details-marker { display: none; }
.faq-page summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font-size: 1.4rem; font-weight: 400; }
.faq-page details[open] summary::after { content: "\2212"; }
.faq-page details p { color: var(--muted); padding: 0 32px 20px 0; max-width: 46rem; }
.faq-page h2 { font-size: 1.3rem; margin-top: 48px; margin-bottom: 8px; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; color: var(--muted); font-size: 0.9rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 { margin: 0 0 12px; font: 600 0.85rem var(--body); color: var(--text); }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site .brand p { margin-top: 12px; max-width: 18rem; }
footer.site .legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.link-arrow { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link-arrow::after { content: " \2192"; }

/* pricing */
.price-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.price-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 22ch; }
.currency { display: inline-flex; border-radius: 999px; padding: 4px; background: var(--bg-2); }
.currency button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: 600 0.88rem var(--body); color: var(--muted); cursor: pointer; }
.currency button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.price-table { font-size: 1rem; }
.price-table tbody th { font-weight: 600; width: 40%; }
.price-table tbody th small { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.price-table td { font: 600 1.25rem var(--display); letter-spacing: -0.01em; color: var(--text); }
.price-table td.keep { color: var(--text); }
.price-table .pct { font: 500 0.8rem var(--body); color: var(--muted); margin-left: 6px; }
.price-table .lbl { display: none; }
@media (max-width: 560px) {
  .price-table tbody th { width: auto; padding-bottom: 6px; }
  .price-table td { font-size: 1.05rem; padding: 2px 0; }
  .price-table .lbl { display: inline; font: 400 0.85rem var(--body); color: var(--muted); }
}
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; margin-top: 36px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-in { display: grid; gap: 14px; }
.calc-in label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 500; }
.calc-in input { font: 500 1rem var(--body); padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(10, 10, 10, 0.15); background: #fff; color: var(--text); width: 100%; }
.calc-in input:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.calc-out { border-radius: 16px; background: var(--text); color: #fff; padding: 28px; display: grid; gap: 18px; align-content: start; }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 14px; }
.calc-out span { color: #a1a1aa; font-size: 0.92rem; }
.calc-out b { font: 600 1.3rem var(--display); }
.calc-out .big-out { border-bottom: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
.calc-out .big-out b { font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.calc-out .meta { color: #a1a1aa; margin: 0; }
.calc { align-items: start; }
@media (max-width: 560px) { .price-table td.empty { display: none; } }

/* consent bar */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(10, 10, 10, 0.25); padding: 14px 0; }
.consent[hidden] { display: none; }
.consent .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.consent p { font-size: 0.9rem; color: var(--text); max-width: 46rem; }
.consent p a { color: var(--muted); }
.consent-btns { display: flex; gap: 10px; }
.consent-btns .btn { min-width: 112px; padding: 10px 18px; font-size: 0.92rem; }
@media (max-width: 560px) {
  .consent { padding: 12px 0; }
  .consent p { font-size: 0.84rem; }
  .consent-btns { width: 100%; }
  .consent-btns .btn { flex: 1; }
}
body.consent-open .sticky-cta { bottom: var(--consent-h, 0px); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-align: left; }
.linkish:hover { color: var(--text); }
.seg { display: inline-flex; border-radius: 999px; padding: 4px; background: var(--bg-2); flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: 600 0.88rem var(--body); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.price-head { align-items: center; }
.panel-h { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 26ch; }
.steer { color: var(--muted); margin: 10px 0 18px; max-width: 40rem; }
.model-panel[hidden], .calc-group[hidden] { display: none; }
.calc-group { display: grid; gap: 14px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out div[hidden] { display: none; }
#calculator .model { margin-top: 28px; }
.plans { margin-top: 8px; }
.plan .amt { font: 600 clamp(2rem, 3.4vw, 2.6rem) var(--display); letter-spacing: -0.03em; color: var(--text); margin-top: 14px; }
.plan .amt small { font: 400 0.95rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan .inc { color: var(--text); font-weight: 600; margin-top: 6px; }
.plan-more { margin: 20px 0 12px; }
.plan-more a { font-weight: 600; }
.retail-table tbody th { width: 60%; }
.calc-out .note { margin: 0; color: #fff; font-size: 0.92rem; }
.calc-out .note[hidden] { display: none; }

/* ---- Developer docs ---------------------------------------------------- */
.docs-main { border-top: 1px solid var(--line); }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr) 200px; gap: 48px; padding-top: 40px; padding-bottom: 88px; align-items: start; }
.docs-side, .docs-toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; }
.docs-menu summary { list-style: none; font: 600 0.78rem var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; pointer-events: none; }
.docs-menu summary::-webkit-details-marker { display: none; }
.docs-menu summary .cur { display: none; }
.docs-menu ul, .docs-toc ul { list-style: none; margin: 0; padding: 0; }
.docs-menu li a { display: block; padding: 7px 12px; margin-left: -12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.docs-menu li a:hover { color: var(--text); background: var(--bg-2); }
.docs-menu li a[aria-current="page"] { color: var(--text); background: var(--bg-2); font-weight: 600; }
.docs-toc h4 { font: 600 0.78rem var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 12px; }
.docs-toc li a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: 0.86rem; line-height: 1.4; }
.docs-toc li a:hover, .docs-toc li a.on { color: var(--text); border-left-color: var(--text); }
.doc { max-width: 46rem; min-width: 0; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.1; }
.doc .lede { margin-top: 16px; max-width: 40rem; }
.doc h2, .doc h3 { scroll-margin-top: 90px; position: relative; }
.doc .hash { margin-left: 8px; color: var(--muted); text-decoration: none; opacity: 0; font-weight: 500; }
.doc h2:hover .hash, .doc h3:hover .hash, .doc .hash:focus { opacity: 1; }
.doc :not(pre) > code { font: 500 0.86em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.code { margin-top: 18px; border-radius: 12px; background: #0b0b0c; color: #e4e4e7; overflow: hidden; }
.code-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font: 600 0.7rem var(--body); letter-spacing: 0.08em; color: #a1a1aa; }
.code-bar .copy { border: 0; background: rgba(255, 255, 255, 0.08); color: #e4e4e7; font: 600 0.75rem var(--body); padding: 5px 10px; border-radius: 6px; cursor: pointer; letter-spacing: 0; }
.code-bar .copy:hover { background: rgba(255, 255, 255, 0.16); }
.code pre { margin: 0; padding: 16px; overflow-x: auto; font: 0.84rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.code .t-com { color: #71717a; font-style: italic; }
.code .t-str { color: #ffffff; }
.code .t-tag, .code .t-kw { color: #ffffff; font-weight: 600; }
.code .t-attr { color: #a1a1aa; }
.tbl { overflow-x: auto; margin-top: 18px; }
.tbl table { margin-top: 0; min-width: 34rem; }
.tbl td code, .tbl th code { white-space: nowrap; }
.doc .note { color: #3f3f46; }
.doc .note b { color: var(--text); }
.doc ol.steps { counter-reset: s; list-style: none; padding-left: 0; }
.doc ol.steps > li { counter-increment: s; position: relative; padding-left: 40px; margin-top: 18px; }
.doc ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: #fff; font: 600 0.8rem/26px var(--body); text-align: center; }
.doc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.doc-cards a { display: block; padding: 18px 20px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--text); }
.doc-cards a:hover { box-shadow: inset 0 0 0 1px var(--text); }
.doc-cards b { display: block; font-weight: 600; }
.doc-cards span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.doc-pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-pn a { text-decoration: none; color: var(--text); font-weight: 600; }
.doc-pn a small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.doc-pn .next { text-align: right; margin-left: auto; }
@media (max-width: 1180px) { .docs { grid-template-columns: 200px minmax(0, 1fr); } .docs-toc { display: none; } }
@media (max-width: 960px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 16px; }
  .docs-side { position: static; max-height: none; overflow: visible; }
  .docs-menu { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 4px 16px; }
  .docs-menu summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 10px 0; }
  .docs-menu summary .cur { display: inline; text-transform: none; letter-spacing: 0; color: var(--text); font-size: 0.92rem; }
  .docs-menu summary::after { content: "+"; font-size: 1.1rem; color: var(--text); }
  .docs-menu[open] summary::after { content: "\2212"; }
  .docs-menu ul { padding-bottom: 10px; }
  .doc-cards { grid-template-columns: 1fr; }
}

/* ---- Header navigation ------------------------------------------------- */
header.top .wrap { gap: 32px; }
.logo { flex-shrink: 0; white-space: nowrap; }
header.top nav { display: flex; align-items: center; gap: 30px; flex-wrap: nowrap; }
header.top .nav-link { color: var(--muted); text-decoration: none; font: 500 0.92rem var(--body); white-space: nowrap; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
header.top .nav-link:hover, header.top .nav-link[aria-current="page"], header.top .nav-link.is-current, .nav-dd-btn[aria-expanded="true"] { color: var(--text); }
header.top nav .btn { padding: 10px 18px; font-size: 0.9rem; white-space: nowrap; flex-shrink: 0; }
.nav-dd { position: relative; }
.nav-dd-btn svg { transition: transform .2s ease; }
.nav-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dd-menu { display: none; position: absolute; top: calc(100% + 14px); left: -14px; min-width: 200px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(10, 10, 10, 0.25); }
.nav-dd-btn[aria-expanded="true"] + .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 0.92rem; white-space: nowrap; }
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible { background: var(--bg-2); }
.nav-dd-menu a[aria-current="page"] { font-weight: 600; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); font: 600 0.92rem var(--body); margin-left: auto; white-space: nowrap; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  header.top nav { display: none; }
  body.menu-open header.top nav { display: flex; position: fixed; inset: 68px 0 auto 0; max-height: calc(100vh - 68px); overflow: auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); z-index: 25; }
  body.menu-open header.top .nav-link { display: flex; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--text); width: 100%; }
  body.menu-open .nav-dd-btn { pointer-events: none; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 0; padding-bottom: 4px; }
  body.menu-open .nav-dd-btn svg { display: none; }
  body.menu-open .nav-dd-menu { display: block; position: static; box-shadow: none; border-radius: 0; padding: 0 0 8px; min-width: 0; border-bottom: 1px solid var(--line); }
  body.menu-open .nav-dd-menu a { padding: 12px 4px; font-size: 1rem; }
  body.menu-open header.top nav .btn { display: inline-flex; margin-top: 16px; }
}
/* Same as the narrow layout, applied by site.js when the full nav would not fit (large text or zoom). */
html.nav-compact .menu-btn { display: inline-flex; }
html.nav-compact header.top nav { display: none; }
html.nav-compact body.menu-open header.top nav { display: flex; position: fixed; inset: 68px 0 auto 0; max-height: calc(100vh - 68px); overflow: auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); z-index: 25; }
html.nav-compact body.menu-open header.top .nav-link { display: flex; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--text); width: 100%; }
html.nav-compact body.menu-open .nav-dd-btn { pointer-events: none; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 0; padding-bottom: 4px; }
html.nav-compact body.menu-open .nav-dd-btn svg { display: none; }
html.nav-compact body.menu-open .nav-dd-menu { display: block; position: static; box-shadow: none; border-radius: 0; padding: 0 0 8px; min-width: 0; border-bottom: 1px solid var(--line); }
html.nav-compact body.menu-open .nav-dd-menu a { padding: 12px 4px; font-size: 1rem; }
html.nav-compact body.menu-open header.top nav .btn { display: inline-flex; margin-top: 16px; }

/* ---- Simple pricing ---------------------------------------------------- */
.simple-price tbody th { width: 34%; }
.simple-price tr.custom td { font: 500 1rem var(--body); color: var(--muted); vertical-align: middle; }
.simple-price td.talk .btn { padding: 9px 16px; font-size: 0.88rem; color: #fff; text-decoration: none; }
.simple-calc .calc-out .v { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: #fff; font-size: inherit; }
.simple-calc .calc-out small, .simple-calc .big-out small { color: #a1a1aa; font-size: 0.85rem; }
.price-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 48rem; }
.price-lines li { position: relative; padding-left: 22px; color: #27272a; }
.price-lines li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue, #2448ff); }
.price-volume { margin-top: 28px; font-size: 1.05rem; }
.price-volume a { font-weight: 600; }
@media (max-width: 560px) {
  .simple-price tr.custom td { padding: 2px 0; }
  .simple-price td.talk { padding-top: 10px !important; }
}

/* ---- Calculator steppers (all widths) ---------------------------------- */
.calc-step { display: grid; gap: 6px; }
.calc-step .lt { font-size: 0.9rem; font-weight: 500; }
.stepper { display: flex; align-items: stretch; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.15); background: #fff; overflow: hidden; }
.stepper input { border: 0 !important; border-radius: 0 !important; text-align: center; font: 600 1.1rem var(--body) !important; min-width: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none !important; }
.stepper:focus-within { box-shadow: inset 0 0 0 2px var(--text); }
.stepper .step { flex: 0 0 48px; border: 0; background: var(--bg-2); color: var(--text); font: 500 1.3rem var(--body); cursor: pointer; }
.stepper .step:hover { background: #ececee; }
.stepper .step:active { background: #e2e2e5; }

/* ---- Mobile polish ------------------------------------------------------ */
@media (max-width: 560px) {
  section { padding: 56px 0; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero h1 { font-size: 2.1rem; line-height: 1.08; }
  .page-hero .kicker-txt { font-size: 0.8rem; margin-bottom: 10px; }
  .page-hero .lede { font-size: 1rem; margin-top: 14px; }
  .split-row h2, .sec-head h2 { font-size: 1.65rem; line-height: 1.15; }
  .price-head { margin-bottom: 18px; }
  .price-head h2 { font-size: 1.4rem; }

  /* Price table: one card per size, three figures side by side. */
  .prose table.simple-price, .prose table.simple-price tbody { display: block; }
  .prose table.simple-price tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px; margin-top: 10px; border: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
  .prose table.simple-price tbody th { grid-column: 1 / -1; padding: 0 0 6px; font-size: 0.95rem; }
  .prose table.simple-price tbody td { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 10px 10px 9px !important; border-radius: 10px; background: var(--bg-2); font-size: 1.3rem; line-height: 1.1; }
  .prose table.simple-price .lbl { display: block; font: 500 0.72rem var(--body); color: var(--muted); letter-spacing: 0; }
  .prose table.simple-price td.keep { background: var(--text); color: #fff; }
  .prose table.simple-price td.keep .lbl { color: #a1a1aa; }
  .prose table.simple-price tr.custom td { font: 600 1rem var(--body); color: var(--text); }
  .prose table.simple-price tr.custom td.talk { background: none; padding: 0 !important; justify-content: center; }
  .prose table.simple-price tr.custom td.talk .btn { width: 100%; height: 100%; padding: 10px 6px; border-radius: 10px; }
  .simple-price + .meta { margin-top: 12px; }

  /* Calculator: label beside a thumb-sized stepper. */
  .simple-calc { margin-top: 20px; gap: 16px; }
  .simple-calc .calc-in { gap: 10px; }
  .calc-step { grid-template-columns: 1fr 148px; align-items: center; gap: 12px; }
  .calc-step .lt { font-size: 0.92rem; line-height: 1.3; }
  .stepper .step { flex-basis: 44px; }
  .stepper input { padding: 12px 4px !important; }
  .simple-calc .calc-out { padding: 22px; gap: 14px; }
  .simple-calc .calc-out .big-out b { font-size: 2.6rem; }

  .price-lines { gap: 12px; }
  .price-lines li { font-size: 0.97rem; }
  .price-volume { font-size: 1rem; }
  .faq-page summary { padding: 16px 32px 16px 0; }
}
@media (max-width: 560px) {
  main .actions { flex-direction: column; align-items: stretch; gap: 10px; }
  main .actions .btn { width: 100%; }
  .cta .actions { align-items: center; }
  .cta .actions .btn { width: auto; }

  /* Sectors: a swipeable row that shows the edge of the next card. */
  .sectors { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border: 0; margin: 28px -16px 0; padding: 0 16px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sectors::-webkit-scrollbar { display: none; }
  .sector { flex: 0 0 78%; scroll-snap-align: start; scroll-margin-left: 16px; border: 0; border-radius: 16px; background: var(--bg-2); padding: 22px 20px 24px; }
}
@media (min-width: 561px) {
  .calc-step { grid-template-columns: 1fr 180px; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .calc-step:last-child { border-bottom: 0; }
  .simple-calc .calc-in { gap: 0; align-content: start; }
}

/* ---- Products ---------------------------------------------------------- */
.group-h { font: 600 0.8rem var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 40px; }
.group-h + .prods { margin-top: 14px; }
.prods .card.prod { position: relative; padding-top: 24px; }
.pill { display: inline-block; font: 600 0.72rem var(--body); letter-spacing: 0.02em; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--muted); margin-bottom: 14px; }
.pill.live { background: var(--text); color: #fff; }
.pill.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue, #2448ff); margin-right: 6px; vertical-align: 1px; }
