  :root {
    --radius: 0.625rem;
    --background: oklch(1 0 0);
    --foreground: oklch(0.28 0.062 264);
    --card: oklch(1 0 0);
    --primary: oklch(0.38 0.148 262);
    --primary-foreground: oklch(1 0 0);
    --secondary: oklch(0.955 0.008 258);
    --muted-foreground: oklch(0.52 0.035 262);
    --accent: oklch(0.93 0.024 260);
    --border: oklch(0.916 0.008 258);
    --mist: oklch(1 0 0);
    --teal: oklch(0.62 0.093 182);
    --ink: oklch(0.28 0.062 264);
    --shadow-card: 0 18px 44px -34px rgb(22 41 74 / 0.35);
    --shadow-float: 0 24px 56px -30px rgb(22 41 74 / 0.4);
    --font-display: "Fraunces", Georgia, serif;
    --font-sans: "Inter", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", monospace;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; border-color: var(--border); }
  html { scroll-behavior: smooth; }
  body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
  }
  body.modal-open { overflow: hidden; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  ol, ul { list-style: none; }

  .wrap { margin-left: auto; margin-right: auto; max-width: 1200px; padding-left: clamp(22px, 4vw, 48px); padding-right: clamp(22px, 4vw, 48px); }
  .wrap-1200 { max-width: 1200px; }

  .eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 11px;
  }
  .eyebrow-rule::before {
    content: "";
    width: 20px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
    display: block;
    flex: none;
  }
  .mb-5 { margin-bottom: 20px; }

  .display-h {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: pretty;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  .rise { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  /* Header */
  header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background-color: color-mix(in oklab, var(--background) 90%, transparent);
    backdrop-filter: blur(12px);
  }
  .header-inner {
    margin: 0 auto;
    max-width: 1200px;
    height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding-left: clamp(22px, 4vw, 48px);
    padding-right: clamp(22px, 4vw, 48px);
  }
  .brand { display: flex; min-width: 0; flex-shrink: 0; align-items: center; }
  .brand img { height: 44px; width: auto; }
  .nav-links { display: none; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
  .nav-links a {
    border-bottom: 1px solid transparent;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color 0.2s, border-color 0.2s;
  }
  .nav-links a:hover { border-color: var(--primary); color: var(--primary); }
  .btn-cta {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    border-radius: 9999px;
    background: var(--primary);
    padding: 11px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-foreground);
    transition: transform 0.2s, background-color 0.2s;
  }
  .btn-cta:hover { transform: translateY(-1px); background: var(--ink); }

  @media (min-width: 768px) {
    .header-inner { display: flex; justify-content: space-between; gap: 32px; }
    .nav-links { display: flex; }
  }

  /* Sections */
  section { border-top: 1px solid var(--border); }
  section#hero { border-top: none; }

  #hero { position: relative; overflow: hidden; padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: clamp(64px, 8vw, 100px); }
  .hero-glow {
    pointer-events: none;
    position: absolute;
    top: -160px;
    right: -10%;
    height: 520px;
    width: 520px;
    border-radius: 9999px;
    opacity: 0.6;
    filter: blur(64px);
    background: radial-gradient(circle, rgba(0, 57, 140, .13), transparent 65%);
  }
  .hero-grid {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    display: grid;
    align-items: center;
    gap: clamp(36px, 5vw, 64px);
    padding-left: clamp(22px, 4vw, 48px);
    padding-right: clamp(22px, 4vw, 48px);
  }
  @media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
  .hero-copy { max-width: 640px; }
  .badge {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    background: var(--accent);
    padding: 8px 18px;
  }
  .badge-dot { display: block; height: 7px; width: 7px; flex-shrink: 0; border-radius: 9999px; background: var(--teal); }
  .badge-text { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--primary); text-transform: uppercase; }
  h1.hero-title { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.05; }
  h1.hero-title em { font-style: italic; font-weight: 400; color: var(--primary); }
  .hero-lede { margin-top: 24px; max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--muted-foreground); }
  .hero-lede b { font-weight: 600; color: var(--ink); }
  .hero-actions { margin-top: 32px; display: flex; max-width: 460px; flex-wrap: wrap; gap: 14px; }
  .btn { flex: 1 1 0%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 14px 20px; font-size: 14.5px; font-weight: 600; transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
  .btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
  .btn-primary { border: none; background: var(--primary); color: var(--primary-foreground); }
  .btn-primary:hover { transform: translateY(-1px); background: var(--ink); }
  .btn-secondary { border: 1px solid var(--border); background: var(--card); color: var(--ink); }
  .btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
  .stats {
    margin-top: 32px;
    display: grid;
    max-width: 460px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-card);
  }
  .stat { padding: 24px 20px; }
  .stat.rule { border-right: 1px solid var(--border); }
  .stat dt { font-family: var(--font-display); font-size: 30px; line-height: 1; font-weight: 400; color: var(--primary); }
  .stat dd { margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted-foreground); text-transform: uppercase; }
  .hero-art { overflow: hidden; border-radius: 20px; border: 1px solid var(--border); background: var(--background); box-shadow: var(--shadow-float); }
  .hero-art svg { display: block; width: 100%; height: 100%; }

  .split { padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(64px, 7vw, 96px); }
  .split-grid { margin: 0 auto; max-width: 1200px; display: grid; align-items: center; gap: clamp(32px, 5vw, 64px); padding-left: clamp(22px, 4vw, 48px); padding-right: clamp(22px, 4vw, 48px); }
  @media (min-width: 1024px) { .split-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1024px) { .split-grid.approach { grid-template-columns: 1.1fr 1fr; } }
  .split-media { overflow: hidden; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
  .split-media img { height: 100%; width: 100%; object-fit: cover; }
  .split-media.bg-card { background: var(--card); }
  @media (min-width: 1024px) { .why-media { order: 1; } .why-text { order: 2; } }
  h2.section-title { font-size: clamp(27px, 3.4vw, 42px); }
  h2.section-title em { font-style: italic; color: var(--primary); }
  .section-lede { margin-top: 24px; max-width: 60ch; font-size: 16.5px; line-height: 1.7; color: var(--muted-foreground); }

  #platform { background: var(--mist); padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
  .platform-intro { margin-bottom: clamp(34px, 4vw, 52px); max-width: 760px; }
  .platform-intro p { margin-top: 24px; font-size: 16px; line-height: 1.7; color: var(--muted-foreground); }
  .agents-grid {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--border);
    grid-template-columns: 1fr;
  }
  @media (min-width: 640px) { .agents-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .agents-grid { grid-template-columns: repeat(3, 1fr); } }
  .agent-card { background: var(--card); padding: 34px 30px; transition: background-color .2s; }
  .agent-card:hover { background: var(--secondary); }
  .agent-card:hover .agent-rule { width: 48px; }
  .agent-num { margin-bottom: 16px; display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--primary); }
  .agent-title { margin-bottom: 12px; font-family: var(--font-display); font-size: 18.5px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
  .agent-desc { font-size: 14px; line-height: 1.65; color: var(--muted-foreground); }
  .agent-rule { margin-top: 20px; display: block; height: 1px; width: 0; background: var(--primary); transition: width .5s; }

  .band { position: relative; isolation: isolate; overflow: hidden; }
  .band-img { position: absolute; inset: 0; z-index: -10; height: 100%; width: 100%; object-fit: cover; }
  .band-overlay { position: absolute; inset: 0; z-index: -10; background: color-mix(in oklab, var(--ink) 75%, transparent); }
  .band-inner { margin: 0 auto; max-width: 1200px; padding: clamp(72px, 9vw, 132px) clamp(22px, 4vw, 48px); text-align: center; }
  .band-copy { margin: 0 auto; max-width: 760px; }
  .band-copy .eyebrow { justify-content: center; color: color-mix(in oklab, var(--primary-foreground) 80%, transparent); }
  .band-copy h2 { color: var(--primary-foreground); }
  .band-copy p { margin: 24px auto 0; max-width: 60ch; font-size: 16.5px; line-height: 1.7; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }

  .compare-intro { margin-bottom: clamp(32px, 4vw, 52px); max-width: 640px; }
  .compare-card { overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--card); padding: clamp(16px, 2vw, 30px) clamp(16px, 2vw, 30px) clamp(6px, 1vw, 12px); box-shadow: var(--shadow-card); }
  .compare-grid { display: grid; grid-template-columns: minmax(84px, 0.7fr) minmax(120px, 1.15fr) minmax(120px, 1.15fr); }
  .compare-head-a, .compare-head-b { padding: 12px 20px 12px 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
  .compare-head-a { align-self: end; color: var(--muted-foreground); }
  .compare-head-b { display: flex; align-items: end; border-top: 3px solid var(--primary); background: var(--secondary); padding: 12px 20px; color: var(--primary); }
  .compare-key { display: flex; align-items: center; border-top: 1px solid var(--border); padding: 16px 16px 16px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); }
  .compare-a { border-top: 1px solid var(--border); padding: 16px 20px 16px 0; font-family: var(--font-display); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.35; color: var(--muted-foreground); }
  .compare-b { border-top: 1px solid var(--border); background: var(--secondary); padding: 16px 20px; font-family: var(--font-display); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.35; font-weight: 500; color: var(--ink); }

  #roadmap { background: var(--mist); padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
  .roadmap-intro { margin-bottom: clamp(34px, 4.5vw, 56px); max-width: 640px; }
  .roadmap-list { display: grid; gap: 32px 0; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .roadmap-list { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .roadmap-list { grid-template-columns: repeat(5, 1fr); } }
  .roadmap-item { padding-right: clamp(16px, 1.8vw, 26px); padding-bottom: 4px; }
  .roadmap-top { display: flex; align-items: baseline; gap: 10px; }
  .roadmap-n { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--muted-foreground); }
  .roadmap-n.done { color: var(--primary); }
  .roadmap-y { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--muted-foreground); }
  .roadmap-y.done { color: var(--ink); }
  .roadmap-rule { position: relative; margin: 18px 0 22px; border-top: 1px solid var(--border); }
  .roadmap-rule.done { border-color: var(--primary); }
  .roadmap-dot { position: absolute; top: -5px; left: 0; box-sizing: border-box; display: block; height: 11px; width: 11px; border-radius: 9999px; border: 2px solid var(--border); background: var(--mist); box-shadow: 0 0 0 4px var(--mist); }
  .roadmap-dot.done { border-color: var(--primary); background: var(--primary); }
  .roadmap-title { margin-bottom: 10px; font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.01em; color: color-mix(in oklab, var(--primary) 70%, transparent); }
  .roadmap-title.done { color: var(--ink); }
  .roadmap-desc { font-size: 13px; line-height: 1.7; color: var(--muted-foreground); }

  #contact { background: var(--primary); padding-top: clamp(76px, 9vw, 116px); padding-bottom: clamp(76px, 9vw, 116px); text-align: center; }
  #contact .wrap { max-width: 1200px; }
  #contact .eyebrow { justify-content: center; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }
  #contact h2 { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.06; color: var(--primary-foreground); }
  #contact h2 em { font-style: italic; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }
  #contact p { margin: 24px auto 0; max-width: 46ch; font-size: 16.5px; line-height: 1.65; color: color-mix(in oklab, var(--primary-foreground) 80%, transparent); }

  .contact-actions { margin-top: 32px; display: flex; justify-content: center; }
  .contact-actions .btn { flex: none; padding-left: 28px; padding-right: 28px; }

  dialog.contact-modal {
    margin: auto;
    width: calc(100% - 32px);
    max-width: 460px;
    max-height: 92vh;
    overflow: visible;
    border: none;
    border-radius: 18px;
    padding: 0;
    background: transparent;
    box-shadow: var(--shadow-float);
  }
  dialog.contact-modal::backdrop { background: color-mix(in oklab, var(--ink) 65%, transparent); backdrop-filter: blur(5px); }
  dialog.contact-modal[open] { animation: rise 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .contact-modal-inner {
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-radius: 18px;
    text-align: left;
  }
  .contact-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid color-mix(in oklab, var(--primary-foreground) 30%, transparent);
    border-radius: 9999px;
    background: color-mix(in oklab, var(--ink) 20%, transparent);
    color: var(--primary-foreground);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
  }
  .contact-modal-close:hover { background: color-mix(in oklab, var(--ink) 35%, transparent); transform: rotate(90deg); }

  .contact-modal-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    padding: 26px 30px 20px;
    background: linear-gradient(135deg, var(--primary), var(--ink) 130%);
  }
  .contact-modal-glow {
    position: absolute;
    top: -60px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 9999px;
    background: radial-gradient(circle, color-mix(in oklab, var(--teal) 70%, transparent), transparent 70%);
    filter: blur(10px);
    z-index: -1;
  }
  .contact-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 9999px;
    background: color-mix(in oklab, var(--primary-foreground) 16%, transparent);
    padding: 5px 12px 5px 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-foreground);
  }
  .contact-modal-badge .badge-dot { background: var(--teal); }
  .contact-modal-title { margin-top: 12px; padding-right: 30px; font-size: clamp(19px, 2.6vw, 23px); line-height: 1.22; color: var(--primary-foreground); }
  .contact-modal-title em { font-style: italic; font-weight: 400; color: color-mix(in oklab, var(--primary-foreground) 88%, var(--teal)); }
  .contact-modal-lede { margin-top: 8px; max-width: 40ch; font-size: 12.5px; line-height: 1.55; color: color-mix(in oklab, var(--primary-foreground) 78%, transparent); }

  .contact-form-card { padding: 20px 30px 24px; text-align: left; }
  .form-row { display: grid; gap: 12px; margin-bottom: 12px; }
  @media (min-width: 640px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }
  .form-field label { display: block; margin-bottom: 5px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--muted-foreground); }
  .required-asterisk { margin-left: 2px; color: #d14343; }
  .form-field-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 5px; gap: 8px; }
  .form-field-header label { margin-bottom: 0; }
  .char-counter { flex-shrink: 0; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-foreground); }
  .char-counter.is-near-limit { color: #d14343; }
  .form-field input, .form-field textarea {
    width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px;
    font-family: var(--font-sans); font-size: 13.5px; color: var(--foreground); background: var(--background);
    transition: border-color .2s, box-shadow .2s;
  }
  .form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 14%, transparent); }
  .form-field textarea { resize: none; min-height: 56px; }
  .field-error { display: block; font-size: 11px; line-height: 1.3; color: #d14343; margin-top: 4px; }
  .field-error:empty { margin-top: 0; }
  .form-field.has-error input, .form-field.has-error textarea { border-color: #d14343; }
  .form-field.has-error input:focus, .form-field.has-error textarea:focus { box-shadow: 0 0 0 3px color-mix(in oklab, #d14343 14%, transparent); }
  .contact-form-card .btn { width: 100%; padding: 12px 20px; font-size: 14px; }

  .toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 100;
    display: none;
    align-items: center;
    gap: 10px;
    max-width: min(420px, calc(100vw - 40px));
    transform: translate(-50%, 12px);
    opacity: 0;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-float);
    padding: 14px 18px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--ink);
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
  }
  .toast::before {
    content: "";
    flex-shrink: 0;
    height: 8px;
    width: 8px;
    border-radius: 9999px;
    background: currentColor;
  }
  .toast.is-visible { display: flex; transform: translate(-50%, 0); opacity: 1; }
  .toast[data-state="success"] { color: var(--teal); }
  .toast[data-state="error"] { color: #d14343; }
  .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

  footer.site { background: var(--mist); padding: 56px 0; }
  footer.site .wrap { max-width: 1200px; }
  .footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
  .footer-brand { max-width: 380px; }
  .footer-brand img { height: 40px; width: auto; }
  .footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--muted-foreground); }
  .footer-col h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-foreground); }
  .footer-col-links { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
  .footer-col-links a { font-size: 14px; color: var(--ink); transition: color .2s; }
  .footer-col-links a:hover { color: var(--primary); }
  .footer-bottom { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); padding-top: 24px; }
  .footer-bottom p, .footer-bottom a { font-size: 13px; color: var(--muted-foreground); }
  .footer-bottom a { transition: color .2s; }
  .footer-bottom a:hover { color: var(--primary); }
