@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/fraunces-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/fraunces-latin-italic.woff2') format('woff2'); }

  /* Halia — tokens lifted from consultorios/docs/DESIGN.md (light theme). */
  :root {
    --background: oklch(0.985 0.012 80);    /* #faf7f1 cream */
    --foreground: oklch(0.22 0.018 70);     /* #1f1c17 warm near-black */
    --card: #ffffff;
    --muted: oklch(0.95 0.014 80);          /* #f1ece2 */
    --muted-foreground: oklch(0.48 0.022 75); /* #7a6f5e */
    --border: oklch(0.88 0.018 80);         /* #e0d7c5 warm-tan */
    --primary: oklch(0.52 0.08 145);        /* #7d9a78 sage 600 */
    --primary-soft: oklch(0.55 0.08 145 / 0.10);
    --primary-foreground: oklch(0.99 0.005 80);
    --accent: oklch(0.72 0.13 35);          /* #e39077 coral */
    --accent-soft: oklch(0.72 0.13 35 / 0.12);
    --success: oklch(0.56 0.10 155);
    --warning: oklch(0.78 0.15 70);
    --secondary: oklch(0.93 0.025 80);      /* #ece4d3 */
    --shadow-sm: 0 1px 2px 0 oklch(0.22 0.018 70 / 0.04);
    --shadow-md: 0 4px 6px -1px oklch(0.22 0.018 70 / 0.06),
                 0 2px 4px -2px oklch(0.22 0.018 70 / 0.04);
    --shadow-lg: 0 10px 15px -3px oklch(0.22 0.018 70 / 0.08),
                 0 4px 6px -4px oklch(0.22 0.018 70 / 0.05);
    --shadow-xl: 0 24px 48px -12px oklch(0.22 0.018 70 / 0.18),
                 0 8px 16px -8px oklch(0.22 0.018 70 / 0.10);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --max: 1200px;
  }

  *,*::before,*::after { box-sizing: border-box; }
  figure { margin: 0; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-feature-settings: 'cv11','ss01','ss03';
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.55;
  }
  ::selection { background: var(--primary-soft); color: var(--foreground); }

  /* ----- Decorative grain background ----- */
  body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    background-image:
      radial-gradient(1100px 600px at 85% -10%, oklch(0.72 0.13 35 / 0.08), transparent 60%),
      radial-gradient(900px 700px at -10% 30%, oklch(0.55 0.08 145 / 0.07), transparent 60%);
    z-index: 0;
  }

  .container { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
  @media (min-width: 768px) { .container { padding: 0 40px; } }

  /* ----- Nav ----- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
    background: oklch(0.985 0.012 80 / 0.78);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
  }
  .nav.scrolled { border-bottom-color: var(--border); }
  .nav-inner {
    max-width: var(--max); margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
  }
  @media (min-width: 768px) { .nav-inner { padding: 16px 40px; } }

  .brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--foreground); }
  /* Sized by height: the wave's ink spans the wordmark's cap height. */
  .brand-mark {
    width: auto; height: 17px;
    display: block;
    flex-shrink: 0;
  }
  .brand-name {
    font-family: 'Fraunces', serif;
    font-weight: 500; font-size: 22px;
    letter-spacing: -0.02em;
  }

  .nav-links { display: none; gap: 28px; align-items: center; }
  @media (min-width: 900px) { .nav-links { display: flex; } }
  .nav-links a {
    display: inline-flex; align-items: center;
    min-height: 44px; padding: 0 2px;
    color: var(--muted-foreground); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: color .15s;
  }
  .nav-links a:hover { color: var(--foreground); }

  .nav-cta { display: flex; align-items: center; gap: 12px; }
  /* Narrow screens: the drawer carries both CTAs, and the hero repeats them right below. */
  @media (max-width: 699px) { .nav-cta .btn-ghost { display: none; } }
  @media (max-width: 479px) { .nav-cta .btn-primary { display: none; } }

  /* ----- Mobile drawer (P0-9) ----- */
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--foreground);
    cursor: pointer;
    padding: 0;
    transition: background .15s ease;
  }
  .nav-toggle:hover { background: var(--muted); }
  @media (min-width: 900px) { .nav-toggle { display: none; } }

  .nav-drawer {
    position: fixed; inset: 0;
    width: 100%; max-width: none; height: 100dvh; max-height: none;
    margin: 0; padding: 0; border: 0; color: var(--foreground);
    background: transparent;
    backdrop-filter: blur(4px);
    z-index: 60;
    display: flex; justify-content: flex-end;
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .nav-drawer:not([open]) { display: none; }
  .nav-drawer::backdrop { background: oklch(0.22 0.018 70 / 0.4); }
  .nav-drawer[data-open="true"] { opacity: 1; visibility: visible; }
  .nav-drawer-panel {
    background: var(--background);
    width: min(320px, 82vw);
    height: 100%;
    padding: 20px 20px 32px;
    display: flex; flex-direction: column;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .nav-drawer[data-open="true"] .nav-drawer-panel { transform: translateX(0); }
  .nav-drawer-panel a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--foreground);
    text-decoration: none;
    font-size: 16px; font-weight: 500;
    transition: background .15s ease;
  }
  .nav-drawer-panel a:hover { background: var(--muted); }
  .nav-drawer-close {
    align-self: flex-end;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--foreground);
    cursor: pointer;
    margin-bottom: 8px;
  }
  .nav-drawer-close:hover { background: var(--muted); }
  .nav-drawer-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
    border: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-drawer, .nav-drawer-panel { transition: none; }
  }
  @media (min-width: 900px) { .nav-drawer { display: none; } }
  body.is-locked { overflow: hidden; }

  /* ----- Buttons ----- */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; height: 44px;
    border-radius: var(--radius-md);
    font-size: 14px; font-weight: 500;
    text-decoration: none; cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-sm), inset 0 -1px 0 oklch(0.42 0.08 145 / 0.4);
  }
  .btn-primary:hover { background: oklch(0.50 0.08 145); box-shadow: var(--shadow-md), inset 0 -1px 0 oklch(0.42 0.08 145 / 0.4); }
  .nav-drawer-panel .btn-primary { color: var(--primary-foreground); }
  .nav-drawer-panel .btn-primary:hover { background: oklch(0.50 0.08 145); }
  .btn-ghost { color: var(--foreground); background: transparent; }
  .btn-ghost:hover { background: var(--muted); }
  .btn-outline {
    background: var(--card); color: var(--foreground);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
  }
  .btn-outline:hover { border-color: oklch(0.78 0.022 75); }
  .btn-lg { height: 48px; padding: 12px 24px; font-size: 15px; border-radius: 8px; }

  .btn .ico { width: 16px; height: 16px; flex-shrink: 0; }

  /* ----- Hero ----- */
  .hero {
    padding: 48px 0 16px;
    position: relative;
  }
  @media (min-width: 768px) { .hero { padding: 64px 0 24px; } }

  /* Title left, pitch + CTAs right: keeps the copy short enough that the
     product composition below still lands above the fold on a laptop. */
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  @media (min-width: 960px) {
    .hero-copy { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
  }

  h1.hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0;
    max-width: 18ch;
    text-wrap: balance;
  }

  .hero-sub {
    max-width: 46ch;
    margin: 0 0 24px;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.55;
    color: var(--muted-foreground);
    text-wrap: pretty;
  }

  .hero-ctas {
    display: flex; gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .hero-meta {
    display: flex; gap: 8px 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted-foreground);
  }
  .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
  .hero-meta svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

  /* ----- Hero product composition -----
     Three real demo captures layered by depth. Geometry is in percentages
     and the stage reserves its own aspect ratio, so the composition scales
     as one piece and never shifts layout while the images load. */
  .hero-stage {
    position: relative;
    margin-top: 40px;
  }
  .hero-stage::before {
    content: '';
    position: absolute;
    inset: 8% 6% -4%;
    background: radial-gradient(60% 55% at 50% 40%, oklch(0.55 0.08 145 / 0.14), transparent 70%);
    pointer-events: none;
    z-index: -1;
  }
  .stage-window {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
  }
  .stage-bar {
    display: flex; gap: 6px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border);
    background: oklch(0.97 0.014 80);
  }
  .stage-bar span { width: 8px; height: 8px; border-radius: 999px; background: oklch(0.88 0.014 75); }
  /* Crops are done by the trigger box, in source pixels: the captures are
     1440 × 1000 and their right 16px are the capture browser's scrollbar. */
  .stage-window .feature-shot-trigger { overflow: hidden; background: var(--muted); }
  .stage-window .feature-shot-trigger img {
    display: block;
    width: calc(100% * 1440 / 1424); max-width: none;
    height: auto;
    aspect-ratio: 1440 / 1000;
  }
  /* The front desk stops above the waiting-room timers; the full capture is
     one click away in the lightbox. */
  .stage-front .feature-shot-trigger { aspect-ratio: 1424 / 810; }
  .stage-back { display: none; }

  @media (min-width: 768px) {
    .hero-stage { margin-top: 48px; aspect-ratio: 100 / 52; }
    .stage-window { position: absolute; }
    .stage-back { display: block; width: 47%; box-shadow: var(--shadow-lg); }
    /* Back windows drop the 52px demo banner; the front window keeps it. */
    .stage-back .feature-shot-trigger { aspect-ratio: 1424 / 948; }
    .stage-back .feature-shot-trigger img { margin-top: calc(-100% * 52 / 1424); }
    .stage-left { left: 0; top: 0; }
    .stage-right { right: 0; top: 3%; }
    .stage-front { left: 18%; bottom: 0; width: 64%; z-index: 1; }
    /* A keyboard user tabbing onto a back window sees all of it. */
    .stage-back:focus-within { z-index: 2; }
  }

  /* ----- Sections ----- */
  section { padding: 64px 0; position: relative; }
  @media (max-width: 768px) { section { padding: 48px 0; } }

  .section-eyebrow {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }
  .section-title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
    max-width: 22ch;
    text-wrap: balance;
  }
  .section-lead {
    max-width: 56ch;
    color: var(--muted-foreground);
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
    text-wrap: pretty;
  }
  .section-head { margin-bottom: 32px; }
  .section-head.center { text-align: center; }
  .section-head.center .section-title,
  .section-head.center .section-lead { margin-left: auto; margin-right: auto; }

  /* ----- Features grid (with screenshots) ----- */
  .capture-note { margin: 16px 0 0; color: var(--muted-foreground); font-size: 14px; }
  .features { display: grid; gap: 80px; }
  .feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (min-width: 900px) {
    .feature { grid-template-columns: 1fr 1.25fr; gap: 64px; }
    .feature.reverse { grid-template-columns: 1.25fr 1fr; }
    .feature.reverse .feature-text { order: 2; }
  }

  .feature-text { max-width: 460px; }
  .feature-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .feature-eyebrow.coral { background: var(--accent-soft); color: oklch(0.55 0.13 35); }
  .feature-title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    text-wrap: balance;
  }
  .feature-desc {
    color: var(--muted-foreground);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px;
    text-wrap: pretty;
  }
  .feature-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .feature-bullets li {
    display: flex; gap: 10px;
    font-size: 14.5px;
    color: var(--foreground);
  }
  .feature-bullets svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 1px;
  }

  .feature-shot {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-lg);
  }
  .feature-shot::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.5);
  }
  .feature-shot-bar {
    display: flex; gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: oklch(0.97 0.014 80);
  }
  .feature-shot-bar span { width: 9px; height: 9px; border-radius: 999px; background: oklch(0.88 0.014 75); }
  .feature-shot img, .feature-shot-trigger img { display: block; width: 100%; height: auto; }

  /* ----- Image lightbox (clickable feature screenshots) ----- */
  .feature-shot-trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    appearance: none;
    color: inherit;
    font: inherit;
  }
  .feature-shot-trigger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -3px;
    border-radius: 4px;
  }
  #img-zoom {
    border: 0;
    padding: 0;
    background: transparent;
    width: auto;
    max-width: min(95vw, 1600px);
    max-height: 90vh;
    margin: auto;
    color: inherit;
    overflow: visible;
  }
  #img-zoom::backdrop {
    background: oklch(0 0 0 / 0.72);
    backdrop-filter: blur(4px);
    animation: zoom-fade-in 180ms ease-out;
  }
  #img-zoom[open] {
    animation: zoom-scale-in 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes zoom-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes zoom-scale-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
  }
  @media (prefers-reduced-motion: reduce) {
    #img-zoom::backdrop,
    #img-zoom[open] { animation: none; }
  }
  .img-zoom-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--card);
  }
  .img-zoom-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    background: var(--card);
  }
  .img-zoom-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: oklch(1 0 0 / 0.92);
    color: oklch(0.2 0 0);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 3px oklch(0 0 0 / 0.25);
  }
  .img-zoom-close:hover { background: oklch(1 0 0); }
  .img-zoom-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }

  /* ----- Demo video (poster + modal) ----- */
  #demo { padding: 64px 0; position: relative; z-index: 1; }
  .demo-video-poster {
    display: block;
    position: relative;
    width: 100%;
    max-width: 880px;
    margin: 32px auto 0;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    border-radius: var(--radius-xl);
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .demo-video-poster:hover,
  .demo-video-poster:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    outline: none;
  }
  .demo-video-poster:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
  }
  .demo-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .demo-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: var(--accent);
    color: oklch(1 0 0);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px oklch(0 0 0 / 0.28);
    transition: transform .2s ease;
  }
  .demo-video-play svg { margin-left: 4px; } /* nudge play triangle to optical center */
  .demo-video-poster:hover .demo-video-play { transform: translate(-50%, -50%) scale(1.06); }
  .demo-video-meta {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font: 600 12px/1 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .04em;
    color: oklch(1 0 0);
    background: oklch(0 0 0 / 0.6);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
  }
  @media (prefers-reduced-motion: reduce) {
    .demo-video-poster,
    .demo-video-play { transition: none; }
    .demo-video-poster:hover { transform: none; }
    .demo-video-poster:hover .demo-video-play { transform: translate(-50%, -50%); }
  }

  #video-zoom {
    border: 0;
    padding: 0;
    background: transparent;
    width: 100%;
    max-width: min(96vw, 1200px);
    margin: auto;
    color: inherit;
    overflow: visible;
  }
  #video-zoom::backdrop {
    background: oklch(0 0 0 / 0.78);
    backdrop-filter: blur(4px);
    animation: zoom-fade-in 180ms ease-out;
  }
  #video-zoom[open] {
    animation: zoom-scale-in 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @media (prefers-reduced-motion: reduce) {
    #video-zoom::backdrop,
    #video-zoom[open] { animation: none; }
  }
  .video-zoom-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: oklch(0 0 0);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
  }
  .video-zoom-slot { width: 100%; height: 100%; }
  .video-zoom-slot iframe { width: 100%; height: 100%; border: 0; display: block; }
  .video-zoom-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: oklch(1 0 0 / 0.92);
    color: oklch(0.2 0 0);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 3px oklch(0 0 0 / 0.25);
    z-index: 2;
  }
  .video-zoom-close:hover { background: oklch(1 0 0); }
  .video-zoom-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }

  /* ----- Trust ----- */
  .trust {
    background: oklch(0.97 0.016 78);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  @media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

  .trust-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .trust-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--primary-soft);
    display: grid; place-items: center;
    color: var(--primary);
  }
  .trust-icon svg { width: 22px; height: 22px; }
  .trust-card h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.015em;
    margin: 0;
    line-height: 1.2;
  }
  .trust-card .law {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: -6px;
  }
  .trust-card p {
    color: var(--muted-foreground);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
  }
  .trust-card .ref {
    font-size: 13px;
    color: var(--muted-foreground);
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid var(--border);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  }

  /* ----- Differentiators (small cards) ----- */
  .diff-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  @media (min-width: 700px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .diff-grid { grid-template-columns: repeat(4, 1fr); } }

  .diff {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
  }
  .diff-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--muted);
    display: grid; place-items: center;
    color: var(--foreground);
    margin-bottom: 14px;
  }
  .diff-icon svg { width: 18px; height: 18px; }
  .diff h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
  }
  .diff p {
    font-size: 13.5px;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
  }

  /* ----- Contact / CTA ----- */
  .cta {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 64px 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
  }
  .cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(800px 400px at 30% 0%, oklch(0.55 0.08 145 / 0.07), transparent 60%),
      radial-gradient(600px 400px at 80% 100%, oklch(0.72 0.13 35 / 0.06), transparent 60%);
    pointer-events: none;
  }
  .cta > * { position: relative; }
  .cta h2 {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 20ch;
    margin-left: auto; margin-right: auto;
    text-wrap: balance;
  }
  .cta h2 em { font-style: italic; color: var(--primary); font-weight: 400; }
  .cta p {
    color: var(--muted-foreground);
    font-size: 17px;
    max-width: 50ch;
    margin: 0 auto 32px;
    text-wrap: pretty;
  }
  .cta-form {
    display: grid;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
    text-align: left;
  }
  @media (min-width: 600px) { .cta-form { grid-template-columns: 1fr auto; } }

  .input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 15px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
  }
  .input::placeholder { color: var(--muted-foreground); }
  .input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
  }

  .cta-foot {
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted-foreground);
  }

  /* ----- Footer ----- */
  footer {
    padding: 56px 0 40px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
  }
  .foot {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  @media (min-width: 700px) {
    .foot { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  }
  .foot-tag {
    color: var(--muted-foreground);
    font-size: 13.5px;
    max-width: 36ch;
    margin-top: 8px;
    line-height: 1.5;
  }
  .foot-meta {
    color: var(--muted-foreground);
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    display: flex; flex-direction: column; gap: 6px;
  }
  @media (min-width: 700px) { .foot-meta { text-align: right; } }
  .foot-meta a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
  .foot-meta a:hover { text-decoration-color: var(--primary); }
  .foot-credit { font-family: 'Inter', system-ui, sans-serif; }

  /* ----- A11y: focus-visible ring (P0-7) ----- */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  summary:focus-visible,
  [tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-md);
  }

  /* ----- A11y: skip-link (P0-6) ----- */
  .skip-link {
    position: absolute;
    left: 0; top: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 18px;
    border-radius: 0 0 var(--radius-md) 0;
    font-size: 14px; font-weight: 500;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform .15s ease;
    z-index: 100;
  }
  .skip-link:focus-visible { transform: translateY(0); }

  /* ----- CLS prevention: image aspect-ratio (P0-8) ----- */
  .feature-shot img {
    aspect-ratio: auto 1440 / 1000;
    width: 100%; height: auto;
    background: var(--muted);
  }

  /* ----- Footer contrast lift (P0-12) ----- */
  .foot-tag { color: oklch(0.42 0.022 75); }
  footer address { font-style: normal; }

/* Shared commercial-page structure. */
html { scroll-padding-top: 100px; }
img { max-width: 100%; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.nav-links a[aria-current="page"], .nav-drawer-panel a[aria-current="page"] { color: var(--foreground); text-decoration: underline; text-underline-offset: 6px; }
.audience-section { padding-top: 40px; }
.audience-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.audience-grid article { border-top: 2px solid var(--primary); padding: 24px 0 0; }
.audience-grid h3, .product-gallery h3, .setup-grid h3 { font-family: 'Fraunces',serif; font-size: 25px; line-height: 1.2; font-weight: 400; margin: 0 0 12px; text-wrap: balance; }
.audience-grid p, .product-gallery p, .setup-grid p { color: var(--muted-foreground); font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.product-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 32px; margin-top: 64px; }
.product-gallery article { min-width: 0; }
.product-gallery p { min-height: 3.2em; }
.product-gallery .feature-shot { margin-top: 20px; }
.setup-section { background: var(--muted); }
.setup-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; counter-reset: setup; list-style: none; padding: 0; margin: 0; }
.setup-grid li { counter-increment: setup; border-top: 1px solid var(--border); padding-top: 20px; }
.setup-grid li::before { content: counter(setup); display: block; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 16px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { cursor: pointer; padding: 20px 28px 20px 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.faq-list summary::marker { color: var(--primary); }
.faq-list details p { margin: 0 0 24px; color: var(--muted-foreground); line-height: 1.6; max-width: 68ch; }
.cta-form label { grid-column: 1 / -1; font-size: 14px; font-weight: 500; }
.cta .cta-foot { font-size: 14px; }
@media (max-width: 899px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } .setup-grid { gap: 24px; } }
@media (max-width: 699px) { .audience-grid, .setup-grid { grid-template-columns: 1fr; } .product-gallery { gap: 32px; } }
@media (max-width: 599px) { .product-gallery { grid-template-columns: 1fr; } .product-gallery p { min-height: 0; } .cta { padding: 40px 24px; } .trust-card { padding: 24px; } }
@media (max-width: 479px) { .hero-ctas { flex-direction: column; align-items: stretch; } .hero-ctas .btn { justify-content: center; } .hero-meta { flex-direction: column; } }
@media (max-width: 359px) { .container { padding-inline: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
