:root {
      color-scheme: light;
      --background: #eaf4fb;
      --foreground: #102d4f;
      --card: #f8fcff;
      --card-strong: #dcecf8;
      --muted: #51708f;
      --muted-2: #7892aa;
      --border: #bfd4e7;
      --ring: #1f7fb2;
      --ring-soft: rgba(31, 127, 178, 0.18);
      --blue: #145da0;
      --glass: rgba(248, 252, 255, 0.72);
      --shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
      --radius: 8px;
      --section-width: 1120px;
      --header-height: 88px;
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme]) {
        color-scheme: dark;
        --background: #04192f;
        --foreground: #c7dcf0;
        --card: #08213b;
        --card-strong: #0c3157;
        --muted: #86a4bf;
        --muted-2: #607d96;
        --border: #1c5177;
        --ring: #40a9df;
        --ring-soft: rgba(64, 169, 223, 0.22);
        --blue: #7fc8f3;
        --glass: rgba(8, 33, 59, 0.72);
        --shadow: 0 30px 86px rgba(0, 9, 20, 0.42);
      }
    }

    :root[data-theme="dark"] {
      color-scheme: dark;
      --background: #04192f;
      --foreground: #c7dcf0;
      --card: #08213b;
      --card-strong: #0c3157;
      --muted: #86a4bf;
      --muted-2: #607d96;
      --border: #1c5177;
      --ring: #40a9df;
      --ring-soft: rgba(64, 169, 223, 0.22);
      --blue: #7fc8f3;
      --glass: rgba(8, 33, 59, 0.72);
      --shadow: 0 30px 86px rgba(0, 9, 20, 0.42);
    }

    :root[data-theme="light"] {
      color-scheme: light;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--header-height) + 18px);
    }

    body {
      margin: 0;
      background:
        radial-gradient(circle at 50% -12%, var(--ring-soft), transparent 38rem),
        radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 44rem),
        linear-gradient(135deg, color-mix(in srgb, var(--blue) 8%, transparent), transparent 24rem),
        linear-gradient(180deg, color-mix(in srgb, var(--card) 34%, transparent), transparent 62%),
        var(--background);
      color: var(--foreground);
      font-weight: 400;
      line-height: 1.5;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    a {
      -webkit-tap-highlight-color: transparent;
    }

    .shell {
      min-height: 100svh;
      overflow-x: clip;
    }

    .site-header {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      z-index: 40;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: var(--header-height);
      isolation: isolate;
      pointer-events: none;
      background: transparent;
      padding: 0 clamp(18px, 3vw, 34px);
    }

    .site-header::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      /* Symmetric single strip. Edge strength ≈ original dual strips + ~5% more opaque.
         Mid stops use card mix (not transparent) so edges stay readable over the hero logo. */
      background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--background) 100%, var(--card)) 0%,
        color-mix(in srgb, var(--background) 97%, var(--card)) 20%,
        color-mix(in srgb, var(--background) 75%, var(--card)) 32%,
        transparent 44%,
        transparent 56%,
        color-mix(in srgb, var(--background) 75%, var(--card)) 68%,
        color-mix(in srgb, var(--background) 97%, var(--card)) 80%,
        color-mix(in srgb, var(--background) 100%, var(--card)) 100%
      );
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      -webkit-mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 24%,
        transparent 44%,
        transparent 56%,
        #000 76%,
        #000 100%
      );
      mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 24%,
        transparent 44%,
        transparent 56%,
        #000 76%,
        #000 100%
      );
    }

    .site-header::after {
      content: none;
    }

    .header-logo {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      width: min(138px, 28vw);
      opacity: 0.74;
      filter: saturate(0.92);
      pointer-events: auto;
      transition: opacity 160ms ease, transform 160ms ease;
    }

    .header-logo:hover,
    .header-logo:focus-visible {
      opacity: 0.96;
      outline: none;
      transform: translateY(-1px);
    }

    .header-logo img {
      display: block;
      width: 100%;
      height: auto;
    }
    .logo-tagline {
      display: block;
      width: 100%;
      color: var(--muted);
      font-size: 11px;
      font-weight: 560;
      letter-spacing: 0.01em;
      line-height: 1.25;
      text-align: center;
      white-space: nowrap;
    }

    .site-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 14px;
      pointer-events: auto;
    }

    .site-nav {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .site-nav a {
      border-radius: 999px;
      padding: 9px 11px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 560;
      transition: color 160ms ease, background 160ms ease;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
      background: color-mix(in srgb, var(--card-strong) 56%, transparent);
      color: var(--foreground);
      outline: none;
    }

    .theme-switch {
      position: static;
      display: inline-flex;
      gap: 4px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: var(--glass);
      padding: 4px;
      opacity: 0.72;
      box-shadow: none;
      transition: opacity 160ms ease, background 160ms ease;
    }

    .theme-switch:hover,
    .theme-switch:focus-within {
      opacity: 1;
      background: color-mix(in srgb, var(--card) 88%, transparent);
    }

    .theme-option {
      min-width: 72px;
      min-height: 34px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font: inherit;
      font-size: 13px;
      font-weight: 560;
    }

    .theme-option[aria-pressed="true"] {
      background: var(--foreground);
      color: var(--background);
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    }

    .hero {
      position: relative;
      display: grid;
      min-height: 100svh;
      place-items: center;
      padding: 118px 40px 122px;
      text-align: center;
    }

    .hero-inner {
      display: grid;
      justify-items: center;
      width: min(980px, 100%);
      margin: 0 auto;
      transform: translateY(-12px);
    }

    .hero-logo {
      display: flex;
      justify-content: center;
      width: 100%;
      margin: 0 auto 18px;
    }

    .hero-logo img {
      display: block;
      width: min(946px, calc(100vw - 120px));
      height: auto;
      margin: 0 auto;
    }

    .logo-light {
      display: none;
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme]) .logo-dark {
        display: none;
      }

      :root:not([data-theme]) .logo-light {
        display: block;
      }
    }

    :root[data-theme="dark"] .logo-dark {
      display: none;
    }

    :root[data-theme="dark"] .logo-light {
      display: block;
    }

    :root[data-theme="light"] .logo-dark {
      display: block;
    }

    :root[data-theme="light"] .logo-light {
      display: none;
    }

    .statement {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.42em;
      width: min(960px, 100%);
      margin: 0 auto;
      color: color-mix(in srgb, var(--foreground) 90%, var(--blue));
      font-size: 26px;
      font-weight: 420;
      line-height: 1.35;
      text-wrap: pretty;
    }

    .statement-beat {
      display: block;
      max-width: 100%;
    }

    .supporting {
      width: min(620px, 100%);
      margin: 26px auto 0;
      color: color-mix(in srgb, var(--muted) 88%, var(--foreground));
      font-size: 16.5px;
      font-weight: 380;
      line-height: 1.64;
      text-wrap: pretty;
    }

    .hero-standards {
      width: min(500px, 100%);
      margin: 22px auto 0;
      color: var(--muted-2);
      font-size: 13.75px;
      font-weight: 390;
      line-height: 1.52;
      text-wrap: balance;
    }

    .no-break {
      white-space: nowrap;
    }

    .scroll-cue {
      position: absolute;
      left: 50%;
      bottom: clamp(18px, 4vw, 42px);
      display: grid;
      justify-items: center;
      gap: 10px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 520;
      transform: translateX(-50%);
      transition: color 160ms ease;
    }

    .scroll-cue:hover,
    .scroll-cue:focus-visible {
      color: var(--foreground);
      outline: none;
    }

    .scroll-cue::after {
      content: "";
      width: 1px;
      height: 42px;
      background: linear-gradient(180deg, var(--ring), transparent);
      animation: scroll-line 1.8s ease-in-out infinite;
      transform-origin: top;
    }

    @keyframes scroll-line {
      0% {
        opacity: 0;
        transform: scaleY(0.2);
      }

      40% {
        opacity: 1;
      }

      100% {
        opacity: 0;
        transform: scaleY(1);
      }
    }

    .support-grid-section {
      border-top: 1px solid var(--border);
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--card) 68%, transparent), color-mix(in srgb, var(--background) 86%, var(--card))),
        var(--background);
      min-height: calc(100svh - var(--header-height));
      padding: clamp(66px, 8vw, 104px) 24px;
    }

    .section-inner {
      width: min(var(--section-width), 100%);
      margin: 0 auto;
    }

    .section-heading {
      text-align: center;
    }

    .eyebrow {
      margin-bottom: 12px;
      color: var(--ring);
      font-size: 12px;
      font-weight: 620;
      text-transform: uppercase;
    }

    h2 {
      margin: 0;
      color: var(--foreground);
      font-size: clamp(34px, 4.4vw, 52px);
      font-weight: 560;
      line-height: 1.04;
      text-wrap: balance;
    }

    .section-heading p {
      width: min(720px, 100%);
      margin: 18px auto 0;
      color: var(--muted);
      font-size: clamp(16px, 1.45vw, 18px);
      line-height: 1.55;
    }
    .section-heading .section-kicker {
      margin-top: 12px;
      color: var(--foreground);
      font-size: clamp(20px, 2.2vw, 26px);
      font-weight: 540;
      line-height: 1.25;
    }

    .decision-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: clamp(34px, 4.8vw, 52px);
    }
    .decision-grid + .decision-grid {
      margin-top: 14px;
    }

    .decision-card {
      position: relative;
      min-height: 172px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--card) 94%, var(--blue)), var(--card));
      padding: 22px;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.035);
      overflow: hidden;
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .decision-card::after {
      content: "";
      position: absolute;
      right: 18px;
      bottom: 18px;
      width: 22px;
      height: 22px;
      border-right: 1px solid color-mix(in srgb, var(--ring) 46%, transparent);
      border-bottom: 1px solid color-mix(in srgb, var(--ring) 46%, transparent);
      opacity: 0.28;
      transform: translate(5px, 5px);
      transition: opacity 180ms ease, transform 180ms ease;
    }

    .decision-card:hover,
    .decision-card:focus-visible {
      transform: translateY(-3px);
      border-color: color-mix(in srgb, var(--ring) 55%, var(--border));
      box-shadow: var(--shadow);
      outline: none;
    }

    .decision-card:hover::after,
    .decision-card:focus-visible::after {
      opacity: 0.9;
      transform: translate(2px, 2px);
    }

    .card-index {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border: 1px solid color-mix(in srgb, var(--ring) 38%, var(--border));
      border-radius: 999px;
      background: var(--ring-soft);
      color: color-mix(in srgb, var(--ring) 86%, var(--foreground));
      font-size: 12px;
      font-weight: 560;
    }

    .decision-card h3 {
      margin: 28px 0 0;
      color: var(--foreground);
      font-size: 20px;
      font-weight: 540;
      line-height: 1.15;
    }

    .decision-card p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .section-scroll-cue {
      display: grid;
      justify-items: center;
      width: max-content;
      margin: clamp(30px, 5vw, 54px) auto 0;
      color: var(--muted);
      font-size: 13px;
      font-weight: 520;
      transition: color 160ms ease;
    }

    .section-scroll-cue:hover,
    .section-scroll-cue:focus-visible {
      color: var(--foreground);
      outline: none;
    }

    .section-scroll-cue::after {
      content: "";
      display: block;
      width: 1px;
      height: 36px;
      margin-top: 10px;
      background: linear-gradient(180deg, var(--ring), transparent);
      animation: scroll-line 1.8s ease-in-out infinite;
      transform-origin: top;
    }

    .scroll-story {
      position: relative;
      background:
        linear-gradient(180deg, var(--background), color-mix(in srgb, var(--card) 22%, var(--background)) 50%, var(--background));
    }

    .story-progress {
      position: sticky;
      top: var(--header-height);
      z-index: 5;
      height: 3px;
      background: transparent;
    }

    .story-progress::before {
      content: "";
      display: block;
      width: calc(var(--story-progress, 0) * 100%);
      height: 100%;
      background: linear-gradient(90deg, var(--ring), var(--blue));
      transition: width 80ms linear;
    }

    .story-step {
      min-height: 112svh;
    }

    .story-frame {
      position: sticky;
      top: var(--header-height);
      display: grid;
      min-height: calc(100svh - var(--header-height));
      grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
      gap: clamp(28px, 5vw, 68px);
      align-items: center;
      width: min(1040px, calc(100% - 48px));
      margin: 0 auto;
      padding: 64px 0;
    }

    .story-copy,
    .dashboard-card {
      opacity: 0;
      transform: translateY(36px);
      transition: opacity 740ms ease, transform 740ms ease;
    }

    .story-step.is-visible .story-copy,
    .story-step.is-visible .dashboard-card {
      opacity: 1;
      transform: translateY(0);
    }

    .story-copy h2 {
      font-size: clamp(34px, 4.8vw, 56px);
      font-weight: 560;
    }

    .story-copy p {
      width: min(610px, 100%);
      margin: 22px 0 0;
      color: var(--muted);
      font-size: clamp(17px, 1.55vw, 19px);
      line-height: 1.6;
    }

    .window,
    .doc-card,
    .limit-list {
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--glass);
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
    }

    .window-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 16px 18px;
      border-bottom: 1px solid var(--border);
      background: color-mix(in srgb, var(--card-strong) 54%, transparent);
    }

    .window-title {
      color: var(--foreground);
      font-size: 14px;
      font-weight: 560;
    }

    .status-pill {
      border: 1px solid color-mix(in srgb, var(--ring) 48%, var(--border));
      border-radius: 999px;
      padding: 5px 9px;
      color: var(--ring);
      font-size: 11px;
      font-weight: 560;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .window-body {
      display: grid;
      gap: 12px;
      padding: 18px;
    }

    .record-row {
      display: grid;
      grid-template-columns: 92px minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      min-height: 62px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: color-mix(in srgb, var(--card-strong) 28%, transparent);
      padding: 14px;
    }

    .row-type {
      color: var(--muted);
      font-size: 12px;
      font-weight: 560;
      text-transform: uppercase;
    }

    .record-row strong {
      display: block;
      color: var(--foreground);
      font-size: 15px;
      font-weight: 540;
      line-height: 1.2;
    }

    .record-row span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.38;
    }

    .row-state {
      justify-self: end;
      border-radius: 999px;
      background: var(--ring-soft);
      color: var(--ring);
      padding: 5px 8px;
      font-size: 11px;
      font-weight: 560;
      white-space: nowrap;
    }

    .report-pair {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .doc-card {
      min-height: 158px;
      padding: 22px;
    }

    .doc-card b {
      display: block;
      color: var(--foreground);
      font-size: 20px;
      font-weight: 540;
      line-height: 1.2;
    }

    .doc-card span {
      display: block;
      margin-top: 12px;
      color: var(--muted);
      font-size: 15px;
    }

    .limit-item {
      display: grid;
      grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
      gap: 22px;
      padding: 20px 22px;
      border-bottom: 1px solid var(--border);
    }

    .limit-item:last-child {
      border-bottom: 0;
    }

    .limit-item b {
      color: var(--foreground);
      font-weight: 540;
    }

    .limit-item span {
      color: var(--muted);
    }

    .final-cta {
      border-top: 1px solid var(--border);
      background:
        radial-gradient(circle at 50% 0%, var(--ring-soft), transparent 32rem),
        var(--card);
      padding: clamp(66px, 9vw, 112px) 24px;
      text-align: center;
    }

    .final-cta h2 {
      width: min(820px, 100%);
      margin: 0 auto;
    }

    .final-cta p {
      width: min(680px, 100%);
      margin: 20px auto 0;
      color: var(--muted);
      font-size: 18px;
    }

    .final-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-top: 30px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 18px;
      border: 1px solid var(--foreground);
      border-radius: var(--radius);
      background: var(--foreground);
      color: var(--background);
      font-size: 14px;
      font-weight: 560;
    }

    .button.secondary {
      border-color: var(--border);
      background: color-mix(in srgb, var(--card) 70%, transparent);
      color: var(--foreground);
    }

    .fine-print {
      width: min(760px, 100%);
      margin: 42px auto 0;
      color: var(--muted-2);
      font-size: 13px;
    }

    .concierge-page,
    .contact-page {
      border-top: 1px solid var(--border);
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--card) 58%, transparent), var(--background)),
        var(--background);
      padding: clamp(68px, 9vw, 118px) 24px;
    }

    .service-grid,
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: clamp(32px, 5vw, 54px);
    }

    .service-card,
    .contact-card {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: color-mix(in srgb, var(--card) 88%, transparent);
      padding: 22px;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.035);
    }

    .service-card b,
    .contact-card b {
      display: block;
      color: var(--foreground);
      font-size: 19px;
      font-weight: 540;
      line-height: 1.2;
    }

    .service-card span,
    .contact-card span {
      display: block;
      margin-top: 10px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .price-line {
      margin-top: 22px;
      color: var(--ring);
      font-size: 14px;
      font-weight: 560;
    }

    /* Thin red border = present for planning, not ship-ready yet.
       Use border (not outline): .shell { overflow-x: clip } clips outlines. */
    .not-ship-ready {
      border: 1px solid #c62828;
      border-radius: calc(var(--radius) + 2px);
    }

    .not-ship-ready-label {
      display: inline-block;
      margin: 0 0 14px;
      color: #c62828;
      font-size: 12px;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .service-card .card-kicker {
      display: block;
      margin-bottom: 8px;
      color: var(--muted-2);
      font-size: 12px;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }


    .hero {
      scroll-snap-align: start;
    }
    .gap-section {
      border-top: 1px solid var(--border);
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--card) 58%, transparent), var(--background)),
        var(--background);
      padding: clamp(68px, 9vw, 118px) 24px;
    }

    .hero,
    .gap-section.page-section {
      scroll-margin-top: calc(0px - var(--header-height) - 18px);
    }

    .gap-section.page-section {
      position: relative;
      display: grid;
      place-items: center;
      box-sizing: border-box;
      min-height: 100svh;
      height: 100svh;
      overflow: hidden;
      padding: 96px 40px 88px;
    }

    .page-section > .section-inner {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: min(var(--section-width), 100%);
      margin: 0 auto;
      overflow: hidden;
      transform: translateY(-8px);
      padding: 0;
      border: 0;
      background: transparent;
    }

    .page-section > .scroll-cue {
      position: absolute;
      left: 50%;
      bottom: clamp(18px, 4vw, 42px);
      z-index: 6;
      transform: translateX(-50%);
      margin: 0;
    }

    .page-section h2 {
      font-size: clamp(28px, 3.2vw, 40px);
    }

    .page-section .section-heading p {
      width: min(920px, 100%);
      margin-top: 10px;
      font-size: 15px;
      line-height: 1.45;
    }

    .page-section .section-heading .section-kicker {
      margin-top: 8px;
      font-size: clamp(15px, 1.5vw, 18px);
    }

    .page-section .decision-grid {
      margin-top: 16px;
      gap: 10px;
    }

    .page-section .decision-card {
      min-height: 0;
      padding: 12px 14px;
    }

    .page-section .decision-card h3 {
      margin-top: 8px;
      font-size: 16px;
    }

    .page-section .decision-card p {
      margin-top: 6px;
      font-size: 13px;
    }

    .page-section .card-index {
      width: 26px;
      height: 26px;
      font-size: 11px;
    }

    .page-section .decision-grid.report-heads {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .page-section .decision-grid.report-heads ul {
      margin-top: 8px;
      font-size: 13px;
      line-height: 1.35;
    }

    .page-section .decision-grid.report-heads li {
      margin-bottom: 2px;
    }

    .gap-section .section-inner.not-ship-ready {
      padding: clamp(28px, 4vw, 40px);
      background: color-mix(in srgb, var(--card) 72%, transparent);
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
      }

      .story-copy,
      .dashboard-card {
        opacity: 1;
        transform: none;
      }
    }

    @media (max-width: 900px) {
      .decision-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .service-grid,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .story-step {
        min-height: auto;
      }

      .story-frame {
        position: relative;
        min-height: auto;
        grid-template-columns: 1fr;
        width: min(720px, calc(100% - 40px));
        padding: 82px 0;
      }

      .story-copy,
      .dashboard-card {
        opacity: 1;
        transform: none;
      }
    }

    @media (max-width: 620px) {
      :root {
        --header-height: 64px;
      }

      .site-header {
        padding: 0 12px;
      }

      .header-logo {
        width: 94px;
      }

      .site-actions {
        gap: 6px;
      }

      .site-nav a {
        padding: 7px 7px;
        font-size: 12px;
      }

      .theme-option {
        min-width: 44px;
        min-height: 30px;
        font-size: 12px;
      }

      .hero {
        padding: 92px 18px 78px;
      }

      .hero-inner {
        transform: translateY(-4px);
      }

      .hero-logo {
        margin-bottom: 13px;
      }

      .hero-logo img {
        width: min(727px, 88vw);
      }

      .statement {
        width: min(960px, 100%);
        font-size: 23px;
        line-height: 1.35;
      }

      .supporting {
        margin-top: 22px;
        font-size: 16.5px;
        line-height: 1.58;
      }

      .hero-standards {
        width: min(440px, 100%);
        margin-top: 18px;
        font-size: 13.2px;
      }

      .decision-grid,
      .report-pair {
        grid-template-columns: 1fr;
      }

      .decision-card {
        min-height: 0;
      }

      .record-row,
      .limit-item {
        grid-template-columns: 1fr;
      }

      .row-state {
        justify-self: start;
      }
    }

    @media (max-width: 420px) {
      .header-logo {
        width: 78px;
      }

      .site-nav a {
        padding: 6px 5px;
        font-size: 11px;
      }

      .site-nav a[href="#concierge"] {
        font-size: 0;
      }

      .site-nav a[href="#concierge"]::after {
        content: "Service";
        font-size: 11px;
      }

      .theme-option {
        min-width: 36px;
        padding: 0 4px;
      }
    }

    /* V2 marketing sections. Light and dark via existing variables. */

    .compare-footnote,
    .finding-footnote,
    .packet-exclude {
      width: min(760px, 100%);
      margin: 28px auto 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.55;
      text-align: center;
      text-wrap: pretty;
    }

    .decision-card.is-featured {
      border-color: color-mix(in srgb, var(--ring) 64%, var(--border));
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--ring-soft) 80%, var(--card)), var(--card));
      box-shadow: var(--shadow);
    }

    .decision-card .card-kicker {
      display: block;
      margin: 14px 0 -18px;
      color: var(--muted-2);
      font-size: 12px;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .decision-card.is-featured .card-kicker {
      color: var(--ring);
    }

    .decision-card .price-line {
      margin-top: 16px;
    }



    .compare-docs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 28px;
      margin-top: clamp(34px, 4.8vw, 52px);
      align-items: start;
    }

    .doc-col-label {
      display: block;
      margin: 0 0 12px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .doc-page {
      background: #fff;
      color: #111;
      border: 1px solid #ddd;
      box-shadow: var(--shadow);
      padding: 1.25rem 1.35rem 1.5rem;
      font-family: system-ui, sans-serif;
      line-height: 1.5;
    }

    :root[data-theme="dark"] .doc-page {
      background: #f7fafc;
      color: #111;
    }

    .doc-page .meta {
      color: #444;
      font-size: 0.95rem;
    }

    .doc-page h1,
    .doc-page h2 {
      margin-top: 1.15rem;
      margin-bottom: 0.35rem;
      color: #111;
      font-size: 1.15rem;
      font-weight: 640;
      line-height: 1.25;
    }

    .doc-page h1 { font-size: 1.25rem; margin-top: 0.4rem; }

    .doc-page dl.finding-meta { margin: 0.4rem 0 0; }
    .doc-page dt { font-weight: 650; margin-top: 0.45rem; color: #111; font-size: 0.92rem; }
    .doc-page dd { margin: 0.1rem 0 0.35rem; color: #222; font-size: 0.92rem; }
    .doc-page pre,
    .doc-page code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 0.82rem;
    }
    .doc-page pre {
      background: #111;
      color: #d7ffd7;
      padding: 0.7rem 0.8rem;
      overflow-x: auto;
    }
    .doc-page ol.steps { margin: 0.3rem 0 0 1.2rem; color: #222; font-size: 0.92rem; }
    .doc-page img.evidence-shot {
      display: block;
      width: 100%;
      max-width: min(100%, 960px);
      height: auto;
      margin-top: 0.75rem;
      border: 1px solid #30363d;
      background: #000;
      padding: 0;
    }

    .anno {
      display: grid;
      justify-items: start;
      margin: 0 0 14px;
    }

    .red-frame {
      width: 100%;
      border: 1px solid #c62828;
      border-radius: 2px;
      padding: 8px;
      box-sizing: border-box;
    }

    .ghost-slot {
      width: 100%;
      min-height: 64px;
      border: 1px dashed #c62828;
      background:
        repeating-linear-gradient(
          -45deg,
          rgba(198, 40, 40, 0.07),
          rgba(198, 40, 40, 0.07) 8px,
          rgba(198, 40, 40, 0.02) 8px,
          rgba(198, 40, 40, 0.02) 16px
        );
      padding: 10px 12px;
      box-sizing: border-box;
    }

    .ghost-slot .ghost-field {
      display: block;
      color: #c62828;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .ghost-slot .ghost-empty {
      display: block;
      margin-top: 6px;
      color: #8a1111;
      font-size: 13px;
    }

    .leader {
      width: 1px;
      height: 16px;
      margin-left: 18px;
      background: #c62828;
    }

    .callout {
      width: min(100%, 340px);
      border: 1px solid #c62828;
      background: #fff8f8;
      color: #5a1010;
      padding: 8px 10px;
      font-size: 12.5px;
      font-weight: 540;
      line-height: 1.4;
    }

    .callout strong {
      display: block;
      margin-bottom: 2px;
      color: #c62828;
      font-size: 11px;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }


    .finding-report .red-frame,
    .doc-col-ours .red-frame {
      border-color: #2e7d32;
    }

    .finding-report .leader,
    .doc-col-ours .leader {
      background: #2e7d32;
    }

    .finding-report .callout,
    .doc-col-ours .callout {
      border-color: #2e7d32;
      background: #f1faf2;
      color: #1b4332;
    }

    .finding-report .callout strong,
    .doc-col-ours .callout strong {
      color: #2e7d32;
    }

    .scan-raw {
      margin: 0;
      white-space: pre;
      background: #111;
      color: #d7ffd7;
      padding: 12px 14px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 13px;
      line-height: 1.55;
    }

    .compare-score {
      display: grid;
      gap: 10px;
      margin-top: 22px;
    }

    .score-row {
      display: grid;
      grid-template-columns: 148px minmax(0, 1fr) minmax(0, 1fr);
      gap: 10px;
      align-items: stretch;
    }

    .score-axis {
      display: flex;
      align-items: center;
      color: var(--foreground);
      font-size: 13px;
      font-weight: 620;
      line-height: 1.25;
    }

    .score-cell {
      border-radius: calc(var(--radius) + 2px);
      padding: 12px 14px;
    }

    .score-cell.miss {
      border: 1px solid #c62828;
      background: color-mix(in srgb, #c62828 8%, var(--card));
    }

    .score-cell.have {
      border: 1px solid color-mix(in srgb, var(--ring) 70%, #2e7d32);
      background: color-mix(in srgb, var(--ring) 12%, var(--card));
    }

    .score-cell b {
      display: block;
      color: var(--foreground);
      font-size: 14px;
      font-weight: 620;
    }

    .score-cell.miss b {
      color: #c62828;
    }

    .mark-comment {
      display: block;
      margin-top: 8px;
      padding: 6px 8px;
      border-radius: 4px;
      background: #fff3a3;
      color: #3d3200;
      font-size: 12.5px;
      font-weight: 540;
      line-height: 1.4;
    }

    :root[data-theme="dark"] .mark-comment,
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme]) .mark-comment {
        background: #7a6a12;
        color: #fff6c2;
      }
    }

    :root[data-theme="dark"] .mark-comment {
      background: #7a6a12;
      color: #fff6c2;
    }

    .inline-miss,
    .inline-have {
      display: inline-block;
      margin: 4px 6px 0 0;
      border-radius: 4px;
      padding: 2px 7px;
      font-size: 11px;
      font-weight: 650;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .inline-miss {
      border: 1px solid #c62828;
      color: #c62828;
    }

    .inline-have {
      border: 1px solid color-mix(in srgb, var(--ring) 70%, #2e7d32);
      color: color-mix(in srgb, var(--ring) 80%, #1b5e20);
    }

    .finding-pair {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: clamp(34px, 4.8vw, 52px);
      align-items: start;
    }

    .finding-pane {
      min-height: 100%;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: color-mix(in srgb, var(--card) 90%, transparent);
      padding: 20px;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.035);
    }

    .finding-pane.scanner {
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--card-strong) 72%, var(--card)), var(--card-strong));
      color: var(--foreground);
    }

    .finding-label {
      display: inline-block;
      margin: 0 0 14px;
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 5px 10px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 620;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .finding-pane.packet-side {
      border-color: color-mix(in srgb, var(--ring) 48%, var(--border));
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--card) 86%, var(--blue)), var(--card));
    }

    .finding-pane.packet-side .finding-label {
      border-color: color-mix(in srgb, var(--ring) 48%, var(--border));
      color: var(--ring);
    }

    .scan-dump {
      margin: 0;
      padding: 16px 18px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: color-mix(in srgb, var(--card-strong) 58%, var(--background));
      color: var(--foreground);
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
      font-size: 13px;
      line-height: 1.6;
      white-space: pre;
      overflow-x: auto;
    }

    .scan-ai {
      margin: 14px 0 0;
      color: var(--muted);
      font-size: 14.5px;
      font-style: italic;
      line-height: 1.55;
    }


    .scan-step {
      display: block;
      margin: 18px 0 8px;
      color: var(--muted-2);
      font-size: 11px;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .scan-step:first-of-type {
      margin-top: 0;
    }

    .chatgpt-card {
      margin-top: 8px;
      border: 1px solid color-mix(in srgb, var(--ring) 28%, var(--border));
      border-radius: var(--radius);
      background: color-mix(in srgb, var(--card) 88%, var(--blue));
      padding: 14px 16px;
    }

    .chatgpt-card q,
    .chatgpt-card p {
      margin: 0;
      color: var(--foreground);
      font-size: 15px;
      font-style: italic;
      line-height: 1.5;
    }

    .fail-list {
      margin: 10px 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 8px;
    }

    .fail-list li {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .fail-list li::before {
      content: "No. ";
      color: #c62828;
      font-weight: 650;
    }

    .scan-notes {
      margin: 16px 0 0;
      color: var(--muted-2);
      font-size: 13.5px;
      line-height: 1.5;
    }

    .report-stack {
      display: grid;
      gap: 14px;
    }

    .inner-card {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: color-mix(in srgb, var(--card-strong) 28%, transparent);
      padding: 18px;
    }

    .inner-card h3 {
      margin: 0;
      color: var(--foreground);
      font-size: 17px;
      font-weight: 560;
      line-height: 1.25;
    }

    .inner-card p,
    .inner-card li {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .inner-card p {
      margin: 10px 0 0;
    }

    .cut-list {
      margin: 12px 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }

    .cut-list li strong {
      display: block;
      color: var(--foreground);
      font-size: 13.5px;
      font-weight: 560;
    }

    .rating-list {
      display: grid;
      gap: 8px;
      margin: 12px 0 0;
      padding: 0;
      list-style: none;
    }

    .rating-list li {
      display: grid;
      grid-template-columns: 148px minmax(0, 1fr);
      gap: 10px;
      font-size: 13.5px;
    }

    .rating-list b {
      color: var(--muted);
      font-weight: 560;
    }

    .rating-list span {
      color: var(--foreground);
    }

    .evidence-chrome {
      margin-top: 12px;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--glass);
    }

    .chrome-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-bottom: 1px solid var(--border);
      background: color-mix(in srgb, var(--card-strong) 54%, transparent);
    }

    .chrome-dots {
      width: 42px;
      height: 10px;
      border-radius: 999px;
      background:
        radial-gradient(circle at 5px 5px, color-mix(in srgb, var(--muted-2) 70%, transparent) 3px, transparent 4px),
        radial-gradient(circle at 18px 5px, color-mix(in srgb, var(--muted-2) 70%, transparent) 3px, transparent 4px),
        radial-gradient(circle at 31px 5px, color-mix(in srgb, var(--muted-2) 70%, transparent) 3px, transparent 4px);
      flex: 0 0 auto;
    }

    .chrome-meta {
      color: var(--muted);
      font-size: 11px;
      font-weight: 540;
      letter-spacing: 0.01em;
    }

    .chrome-body {
      margin: 0;
      padding: 14px 14px 16px;
      color: var(--foreground);
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
      font-size: 13px;
      line-height: 1.6;
      white-space: pre-wrap;
    }

    .pong {
      display: inline-block;
      padding: 0 6px;
      border-radius: 4px;
      background: color-mix(in srgb, var(--ring) 30%, transparent);
      color: var(--foreground);
      font-weight: 650;
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ring) 40%, transparent);
    }

    .ref-url {
      display: block;
      margin-top: 6px;
      color: var(--ring);
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
      font-size: 12.5px;
      line-height: 1.45;
      word-break: break-all;
    }

    .packet-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: clamp(34px, 4.8vw, 52px);
    }

    .packet-card {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--card) 94%, var(--blue)), var(--card));
      padding: 22px;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.035);
    }

    .packet-card h3 {
      margin: 14px 0 0;
      color: var(--foreground);
      font-size: 20px;
      font-weight: 540;
      line-height: 1.2;
    }

    .packet-card p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .qa-list {
      display: grid;
      gap: 12px;
      width: min(820px, 100%);
      margin: clamp(34px, 4.8vw, 52px) auto 0;
    }

    .qa-item {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: color-mix(in srgb, var(--card) 88%, transparent);
      padding: 22px 24px;
    }

    .qa-item h3 {
      margin: 0;
      color: var(--foreground);
      font-size: 18px;
      font-weight: 540;
      line-height: 1.3;
    }

    .qa-item p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.55;
    }

    .service-card.is-primary {
      border-color: color-mix(in srgb, var(--ring) 64%, var(--border));
      box-shadow: var(--shadow);
    }

    .doc-cut {
      display: grid;
      gap: 8px;
      margin-top: 12px;
    }

    .doc-cut span {
      margin-top: 0;
      font-size: 14px;
    }

    .doc-card .kept,
    .doc-card .cut {
      display: block;
      color: var(--muted);
    }

    .doc-card .kept b,
    .doc-card .cut b {
      display: inline;
      font-size: inherit;
      font-weight: 560;
    }

    .canada-note {
      width: min(760px, 100%);
      margin: 18px auto 0;
      color: var(--muted-2);
      font-size: 13px;
      line-height: 1.5;
    }

    @media (max-width: 900px) {
      .decision-grid,
      .finding-pair,
      .compare-docs,
      .packet-grid,
      .service-grid,
      .contact-grid,
      .report-pair,
      .score-row {
        grid-template-columns: 1fr;
      }

      .rating-list li {
        grid-template-columns: 1fr;
        gap: 2px;
      }

      .site-nav a {
        padding: 8px 8px;
        font-size: 12px;
      }
    }

    @media (max-width: 640px) {
      .site-nav a {
        padding: 7px 6px;
        font-size: 11px;
      }

      .finding-pane,
      .packet-card,
      .qa-item {
        padding: 18px;
      }
    }

    @media (max-width: 420px) {
      .site-nav a[href="#concierge"] {
        font-size: 0;
      }

      .site-nav a[href="#concierge"]::after {
        content: "Service";
        font-size: 11px;
      }
    }

    .compare-docs {
      grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1fr) minmax(0, 1fr);
      gap: 18px;
    }

    #same-finding .section-inner {
      width: min(1240px, 100%);
    }

    .doc-page.report-live {
      max-height: 74vh;
      overflow: auto;
    }

    .report-live .brand-meta-line {
      margin: 0 0 10px;
      color: #444;
      font-size: 12.5px;
    }

    .finding-report .finding {
      border: 1px solid #d8dee6;
      border-left: 4px solid #8a6d1d;
      border-radius: 8px;
      padding: 1.1rem 1.15rem;
      margin: 0;
      background: #fff;
    }

    .finding-report h5 {
      margin: 0 0 0.75rem;
      color: #111;
      font-size: 1.02rem;
      font-weight: 640;
      line-height: 1.35;
    }

    .finding-report h6 {
      margin: 1rem 0 0.4rem;
      font-size: 0.92rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #5c6570;
    }

    .finding-report .risk-pill {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 650;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      padding: 0.12rem 0.5rem;
      border-radius: 999px;
      vertical-align: middle;
    }

    .finding-report .risk-pill.medium {
      color: #8a6d1d;
      border: 1px solid #e6d59a;
      background: #fffbeb;
    }

    .finding-report dl.finding-meta {
      display: grid;
      grid-template-columns: minmax(7rem, 10rem) 1fr;
      gap: 0.28rem 0.8rem;
      margin: 0.4rem 0 0;
    }

    .finding-report .finding-meta dt,
    .finding-report dl dt {
      font-weight: 650;
      margin-top: 0;
      color: #111;
      font-size: 0.86rem;
    }

    .finding-report .finding-meta dd,
    .finding-report dl dd {
      margin: 0;
      color: #222;
      font-size: 0.86rem;
    }

    .finding-report img.evidence-shot {
      display: block;
      width: 100%;
      max-width: 100%;
      height: auto;
      max-height: 152px;
      object-fit: cover;
      object-position: top left;
      margin-top: 0.5rem;
      border: 1px solid #30363d;
      background: #000;
      padding: 0;
      cursor: zoom-in;
    }

    .shot-zoom {
      display: block;
      text-decoration: none;
    }

    .shot-hint {
      display: block;
      margin-top: 6px;
      color: #5c6570;
      font-size: 12px;
    }

    .time-strip {
      margin-top: 10px;
      border: 1px solid #c62828;
      background: #fff8f8;
      color: #5a1010;
      padding: 10px 12px;
      font-size: 13px;
      line-height: 1.45;
    }

    .time-strip strong {
      display: block;
      margin-bottom: 4px;
      color: #c62828;
      font-size: 11px;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .shot-lightbox {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: none;
      place-items: center;
      padding: 28px;
      background: rgba(8, 16, 28, 0.78);
    }

    .shot-lightbox.is-open {
      display: grid;
    }

    .shot-lightbox img {
      max-width: min(1267px, 96vw);
      max-height: 90vh;
      width: auto;
      height: auto;
      border: 1px solid #30363d;
      background: #000;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    }

    .shot-lightbox-close {
      position: absolute;
      top: 16px;
      right: 16px;
      min-height: 36px;
      padding: 0 12px;
      border: 0;
      border-radius: 6px;
      background: #fff;
      color: #111;
      font: inherit;
      font-size: 13px;
      font-weight: 560;
      cursor: pointer;
    }

    @media (max-width: 1100px) {
      .compare-docs {
        grid-template-columns: 1fr;
      }

      .doc-page.report-live {
        max-height: none;
      }
    }

    .finding-report .risk-pill.high {
      color: #b54708;
      border: 1px solid #f0c9a8;
      background: #fff6ee;
    }

    .finding-report .finding.sev-high {
      border-left-color: #b54708;
    }

    .sanitize-crop {
      margin: 0 0 12px;
    }

    .sanitize-crop a {
      display: block;
    }

    .sanitize-crop img {
      display: block;
      width: 100%;
      height: auto;
      border: 2px solid #2e7d32;
      background: #000;
      cursor: zoom-in;
    }

    .doc-col-ours .sanitize-crop.full img {
      border-color: #c62828;
    }

    .sanitize-note {
      margin: 6px 0 0;
      color: #1b4332;
      font-size: 12.5px;
      line-height: 1.4;
    }

    .doc-col-ours .sanitize-crop.full + .sanitize-note,
    .sanitize-note.is-full {
      color: #5a1010;
    }


/* same-finding teaser: card that opens the comparison page */
.compare-lead {
  display: block;
  margin-top: clamp(22px, 3.2vw, 36px);
  text-decoration: none;
  color: inherit;
}
.compare-lead-card {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 22px;
  align-items: center;
}
.compare-lead-card h3 {
  margin: 0;
}
.compare-lead-card p {
  margin: 8px 0 0;
}
.compare-lead-go {
  align-self: start;
  margin-top: 2px;
  border: 1px solid color-mix(in srgb, var(--ring) 48%, var(--border));
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--ring-soft);
  color: var(--ring);
  font-size: 13px;
  font-weight: 560;
  white-space: nowrap;
}
.compare-lead:hover .compare-lead-card,
.compare-lead:focus-visible .compare-lead-card {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ring) 55%, var(--border));
  box-shadow: var(--shadow);
  outline: none;
}
@media (max-width: 720px) {
  .compare-lead-card {
    grid-template-columns: auto 1fr;
  }
  .compare-lead-go { grid-column: 1 / -1; }
}

/* comparison page title uses the same h2 scale */
.compare-page-heading h1 {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 560;
  line-height: 1.04;
  text-wrap: balance;
}
.compare-page-heading p {
  width: min(720px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.55;
}
.compare-stage-section .section-inner {
  width: min(1320px, 100%);
}


/* expand / collapse comparison on the main page */
.compare-expand {
  margin-top: clamp(28px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--ring) 42%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 88%, var(--background));
  box-shadow: var(--shadow);
}
.compare-expand > summary {
  list-style: none;
  cursor: pointer;
}
.compare-expand > summary::-webkit-details-marker { display: none; }
.compare-expand > summary::marker { content: ""; }
.compare-expand .compare-lead { margin-top: 0; }
.compare-lead-go .when-open { display: none; }
.compare-expand[open] .compare-lead-go .when-closed { display: none; }
.compare-expand[open] .compare-lead-go .when-open { display: inline; }
.compare-lead-go .when-closed::before { content: "↓ "; }
.compare-lead-go .when-open::before { content: "↑ "; }
.compare-expand[open] {
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--ring) 42%, var(--border));
  border-radius: var(--radius);
  background: var(--card);
}
.compare-expand[open] > summary .compare-lead-card {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.compare-expand[open] .compare-lead:hover .compare-lead-card,
.compare-expand[open] .compare-lead:focus-visible .compare-lead-card {
  transform: none;
  box-shadow: none;
}
.compare-panel {
  margin-top: 0;
}
.compare-panel .compare-stage {
  padding: 12px 10px 8px;
}
.compare-fold-end {
  display: block;
  width: max-content;
  margin: 8px 8px 12px auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ring);
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  cursor: pointer;
  text-align: right;
}
.compare-fold-end::before {
  content: "↑ ";
}

/* thumbnail + foreground swipe */
.wipe-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(720px, 100%);
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.wipe-thumb:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 6px;
  border-radius: var(--radius);
}
.wipe-thumb-plate {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 34vh;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.035);
}
.wipe-thumb-report {
  position: absolute;
  inset: 8px 8px 8px 42%;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid #d8dee6;
  border-left: 1px solid #d8dee6;
  border-radius: 6px;
  background: #fff;
  text-align: left;
}
.wipe-thumb-finding {
  display: block;
  color: #001032;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}
.wipe-thumb-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 0.08rem 0.45rem;
  border: 1px solid #f0c9a8;
  border-radius: 999px;
  background: #fff6ee;
  color: #b54708;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}
.wipe-thumb-report img {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d8dee6;
  background: #0b0d10;
}
.wipe-thumb-scan-side {
  position: absolute;
  inset: 8px 58% 8px 8px;
  overflow: hidden;
  padding: 10px 12px;
  border-radius: 6px;
  background: #0b0d10;
  text-align: left;
}
.wipe-thumb-scan {
  color: color-mix(in srgb, var(--ring) 72%, white);
  font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}
.wipe-thumb-rule {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 42%;
  width: 2px;
  margin-left: -1px;
  background: var(--foreground);
  box-shadow: 0 0 0 1px var(--card);
}
.wipe-thumb-go {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
  background: transparent;
  padding: 0;
}
.wipe-thumb:hover .wipe-thumb-go,
.wipe-thumb:focus-visible .wipe-thumb-go {
  color: var(--foreground);
}
.wipe-thumb-go::after {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--ring), transparent);
}

.sample-report-placeholder {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  width: min(720px, 100%);
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
}
.sample-report-placeholder a {
  color: var(--ring);
  font-weight: 620;
  text-underline-offset: 3px;
}
.sample-report-placeholder a:hover,
.sample-report-placeholder a:focus-visible {
  color: var(--blue);
}

.wipe-layer {
  width: min(1280px, calc(100vw - 28px));
  height: min(92svh, 980px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 28px 90px rgba(4, 12, 24, 0.42);
}
.wipe-layer::backdrop {
  background: rgba(6, 14, 26, 0.62);
}
.wipe-layer-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.wipe-layer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  padding: 14px 18px 10px;
  background: transparent;
}
.wipe-layer-bar h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 560;
}
.wipe-layer-close {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 520;
  cursor: pointer;
}
.wipe-layer-close:hover,
.wipe-layer-close:focus-visible {
  color: var(--foreground);
  outline: none;
}
.wipe-layer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 8px 6px 28px;
}

#twin-wipe .twin-wipe-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 154px 8px 18px;
  color: var(--foreground);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#twin-wipe .twin-wipe-legend span:last-child {
  text-align: right;
}
#twin-wipe .twin-excerpt-report {
  min-height: 100%;
}
#twin-wipe .report-excerpt {
  min-width: 0;
}
#twin-wipe .report-excerpt h6 {
  margin-top: 0;
}
#twin-wipe .report-excerpt-command {
  min-height: 116px;
}
#twin-wipe .report-excerpt-output {
  min-height: 102px;
}
#twin-wipe .report-excerpt-terminal {
  min-height: 154px;
}
#twin-wipe .report-excerpt pre {
  margin: 0;
}
#twin-wipe .report-cut {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
  margin: 4px 0;
  padding-left: 0;
  border-top: 1px dashed #cbd3dc;
  border-bottom: 1px dashed #cbd3dc;
  color: #5c6570;
  font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
}
#twin-wipe .redaction-placeholder {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed #9aa3ad;
  border-radius: 6px;
  background: #f3f5f7;
  color: #3f4852;
  font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.compare-inline {
  margin-top: 22px;
  overflow: visible;
  background: transparent;
}
.compare-inline .compare-stage {
  padding: 10px 8px 12px;
}

.compare-same {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.compare-stage-lede {
  margin: 0 18px 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.compare-fold {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
#same-finding .section-inner {
  width: min(1320px, 100%);
}

    .section-heading.after-compare {
      margin-top: clamp(48px, 6vw, 72px);
    }

    .decision-grid.five {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    @media (max-width: 1100px) {
      .decision-grid.five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }
    @media (max-width: 720px) {
      .decision-grid.five {
        grid-template-columns: 1fr;
      }
    }
    .section-heading.in-flow {
      margin-top: clamp(40px, 5vw, 64px);
    }
    .section-heading.in-flow h2 {
      font-size: clamp(26px, 3.2vw, 36px);
    }

    .decision-grid.report-heads .decision-card {
      min-height: 0;
    }
    .decision-grid.report-heads h3 {
      margin: 0;
    }
    .decision-grid.report-heads ul {
      margin: 12px 0 0;
      padding: 0 0 0 1.1rem;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }
    .decision-grid.report-heads li {
      margin: 0 0 4px;
    }

    .site-footer {
      display: flex;
      justify-content: center;
      padding: 36px 20px 48px;
      border-top: 1px solid var(--border);
      background: color-mix(in srgb, var(--card) 55%, transparent);
    }
    .footer-brand {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      width: min(138px, 28vw);
      text-decoration: none;
      color: inherit;
      opacity: 0.74;
      filter: saturate(0.92);
      transition: opacity 160ms ease, transform 160ms ease;
    }
    .footer-brand:hover,
    .footer-brand:focus-visible {
      opacity: 0.96;
      outline: none;
      transform: translateY(-1px);
    }
    .footer-brand img {
      display: block;
      width: 100%;
      height: auto;
    }
    .footer-tagline {
      display: block;
      width: max-content;
      max-width: min(280px, 80vw);
      color: var(--muted);
      font-size: 13px;
      font-weight: 560;
      letter-spacing: 0.01em;
      line-height: 1.35;
      text-align: center;
    }


.page-back {
  display: inline-block;
  margin: 8px 0 18px;
  color: var(--ring);
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
}
.page-back::before {
  content: "< ";
}
.page-back:hover,
.page-back:focus-visible {
  color: var(--blue);
}

@view-transition {
  navigation: none;
}

@keyframes il-out-left {
  to { transform: translateX(-24%); opacity: 0.35; }
}
@keyframes il-in-right {
  from { transform: translateX(100%); }
}
@keyframes il-out-right {
  to { transform: translateX(24%); opacity: 0.35; }
}
@keyframes il-in-left {
  from { transform: translateX(-100%); }
}

::view-transition-old(root) {
  animation: 380ms cubic-bezier(0.32, 0.72, 0, 1) both il-out-left;
}
::view-transition-new(root) {
  animation: 380ms cubic-bezier(0.32, 0.72, 0, 1) both il-in-right;
}

html:active-view-transition-type(from-twin)::view-transition-old(root) {
  animation-name: il-out-right;
}
html:active-view-transition-type(from-twin)::view-transition-new(root) {
  animation-name: il-in-left;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

html:has(.wipe-layer[open]) .site-header {
  opacity: 0;
  pointer-events: none;
}
.wipe-layer {
  z-index: 80;
}

.wipe-thumb-plate.is-twin .wipe-thumb-report {
  inset: 8px 50% 8px 8px;
}
.wipe-thumb-plate.is-twin .wipe-thumb-report-b {
  inset: 8px 8px 8px 50%;
  left: auto;
}
.wipe-thumb-plate.is-twin .wipe-thumb-rule {
  left: 50%;
}

.compare-page .wipe.docwipe.wipe-from-right .layer {
  left: auto;
  right: 0;
}
.compare-page .wipe.docwipe.wipe-from-right .layer .doc {
  position: absolute;
  top: 0;
  right: 0;
}
.compare-page .wipe.docwipe .doc.as-published,
.compare-page .wipe.docwipe .doc.finding {
  border-left: 1px solid #d8dee6;
}

#redacted-twin > .section-inner,
#scanner-compare > .section-inner,
#report-contents > .section-inner,
#same-finding > .section-inner {
  justify-content: center;
}

.compare-page .wipe.docwipe .doc.as-published,
.compare-page .wipe.docwipe .doc.finding,
.compare-page .wipe.docwipe .doc.finding.sev-high {
  border-left: 1px solid #d8dee6;
}
.compare-page .draw-labels-left {
  grid-template-columns: 136px minmax(0, 1fr);
}
.compare-page .draw-labels-left .wipe {
  grid-column: 2;
  grid-row: 1;
}
.compare-page .draw-labels-left .outs {
  grid-column: 1;
  grid-row: 1;
}
.compare-page .draw-labels-left .outs.left .box {
  border-color: color-mix(in srgb, #1f7a4d 40%, var(--border));
  color: #145c38;
}
.compare-page .draw-labels-left .outs.left .bal {
  border-color: color-mix(in srgb, #1f7a4d 60%, var(--border));
  color: #1f7a4d;
}
.compare-page .draw-labels-left .outs.left .arm {
  background: color-mix(in srgb, #1f7a4d 55%, var(--border));
}

.compare-page .doc.dump .meta {
  color: color-mix(in srgb, var(--ring) 70%, white);
}
.compare-page .doc.dump .scan-out {
  color: color-mix(in srgb, var(--ring) 72%, white);
  border-color: color-mix(in srgb, var(--ring) 40%, #0b0d10);
}

#scanner-wipe.wipe-layer {
  height: min(92svh, 980px);
}
#scanner-wipe .wipe-layer-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
#scanner-wipe .wipe-layer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
#scanner-wipe .compare-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  height: auto;
}
#scanner-wipe .compare-stage-lede {
  grid-column: 1;
  margin: 0 0 12px 18px;
}
#scanner-wipe .drawing {
  grid-column: 1 / -1;
  height: auto;
}
#scanner-wipe .draw-annotated {
  overflow: visible;
}
#scanner-wipe .doc.as-published ul li:nth-child(n+4),
#scanner-wipe .doc.as-published ol li:nth-child(n+4) {
  display: none;
}

@media (max-width: 900px) {
  #twin-wipe .twin-wipe-legend {
    margin-right: 18px;
  }
}

/* Keep every primary control and page-section card reachable on narrow screens. */
@media (max-width: 720px) {
  .gap-section.page-section {
    height: auto;
    min-height: 100svh;
    place-items: start center;
    overflow: visible;
    padding: calc(var(--header-height) + 28px) 18px 84px;
  }

  .page-section > .section-inner {
    justify-content: flex-start;
    overflow: visible;
    transform: none;
  }

  .page-section .decision-grid.report-heads {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .sample-report-placeholder {
    display: grid;
  }

  #twin-wipe .compare-stage-lede {
    margin-right: 10px;
    margin-left: 10px;
  }

  #twin-wipe .twin-wipe-legend {
    margin-right: 10px;
    margin-left: 10px;
  }

  #twin-wipe .report-excerpt-command {
    min-height: 128px;
  }

  #twin-wipe .report-excerpt-output {
    min-height: 112px;
  }

  #twin-wipe .report-excerpt-terminal {
    min-height: 174px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 96px;
  }

  .site-header {
    align-items: flex-start;
    min-height: var(--header-height);
    padding: 8px 12px;
  }

  .site-actions {
    position: static;
  }

  .site-nav {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    justify-content: space-between;
    gap: 0;
  }

  .site-nav a {
    padding: 6px 5px;
    font-size: 11px;
  }

  .theme-switch {
    position: absolute;
    top: 8px;
    right: 12px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 28px);
  }
}

@media (max-width: 420px) {
  .header-logo {
    width: 78px;
  }

  .site-nav a {
    padding: 5px 3px;
    font-size: 10px;
  }

  .site-nav a[href="#same-finding"],
  .site-nav a[href="#packet"],
  .site-nav a[href="#concierge"] {
    font-size: 0;
  }

  .site-nav a[href="#same-finding"]::after {
    content: "Difference";
    font-size: 10px;
  }

  .site-nav a[href="#packet"]::after {
    content: "Package";
    font-size: 10px;
  }

  .site-nav a[href="#concierge"]::after {
    content: "Service";
    font-size: 10px;
  }
}
