  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg:        #080b14;
    --bg2:       #0c1122;
    --surface:   rgba(255,255,255,0.035);
    --surface2:  rgba(255,255,255,0.055);
    --border:    rgba(255,255,255,0.09);
    --border-strong: rgba(255,255,255,0.16);
    --gold:      #c9a84c;
    --gold2:     #e8c97a;
    --gold-ink:  #17130a;
    --steel:     #8891a3;
    --text:      #f0ece4;
    /* text2/text3 raised from 0.58/0.32 alpha for WCAG AA+ contrast on --bg
       (was ~6:1 / ~2.6:1 — the latter failed AA outright; now ~8.8:1 / ~5.5:1). */
    --text2:     rgba(240,236,228,0.72);
    --text3:     rgba(240,236,228,0.55);
    --ok:        #4c9a72;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
  }

  html { scroll-behavior: smooth; }
  section[id], div[id].credibility { scroll-margin-top: 84px; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.6;
  }

  a { color: inherit; }
  img { max-width: 100%; display: block; }

  /* Grain overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.35;
  }

  :focus-visible {
    outline: 2px solid var(--gold2);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
  }

  .icon { display: inline-flex; flex-shrink: 0; }
  .icon svg { width: 100%; height: 100%; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: 18px 48px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(8,11,20,0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  }

  nav.nav-scrolled {
    background: rgba(6,8,14,0.92);
    border-bottom-color: var(--border);
    padding: 13px 48px;
  }

  .nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
  }

  .nav-logo-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 21px; font-weight: 500; letter-spacing: 0.3px;
    color: var(--text);
    white-space: nowrap;
  }

  .nav-links {
    display: flex; align-items: center; gap: 38px;
    list-style: none;
  }

  .nav-links a {
    color: var(--text2); text-decoration: none;
    font-size: 16px; letter-spacing: 0.3px;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .nav-signin {
    color: var(--text2);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
    white-space: nowrap;
    background: none; border: none; cursor: pointer; font-family: inherit;
  }
  .nav-signin:hover { color: var(--text); }

  .nav-cta {
    padding: 10px 22px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--gold-ink); font-size: 16px; font-weight: 600;
    text-decoration: none; letter-spacing: 0.2px;
    box-shadow: 0 6px 20px rgba(201,168,76,0.22);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none; cursor: pointer; white-space: nowrap;
    font-family: inherit;
  }
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(201,168,76,0.3);
  }

  .nav-burger {
    display: none;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: transparent; border: 1px solid var(--border);
    align-items: center; justify-content: center;
    cursor: pointer; color: var(--text);
    flex-shrink: 0;
  }

  /* MOBILE NAV DRAWER */
  .mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 950;
    background: rgba(4,5,9,0.6);
    backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }

  .mobile-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 951;
    width: min(320px, 84vw);
    background: #0a0d17;
    border-left: 1px solid var(--border);
    padding: 24px 28px 32px;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  }
  .mobile-nav.open { transform: translateX(0); }

  .mobile-nav-top { display: flex; justify-content: flex-end; margin-bottom: 28px; }
  .mobile-nav-close {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: transparent; border: 1px solid var(--border); color: var(--text);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
  }

  .mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .mobile-nav-links a {
    display: block; padding: 14px 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 22px; color: var(--text); text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .mobile-nav-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
  .mobile-nav-signin {
    text-align: center; padding: 13px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); color: var(--text2); text-decoration: none;
    background: none; font-family: inherit; font-size: 16px; cursor: pointer;
  }
  .mobile-nav-cta {
    text-align: center; padding: 14px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--gold-ink); font-weight: 600; text-decoration: none; font-size: 16px;
  }

  /* HERO */
  .hero {
    min-height: 96vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 140px 24px 64px;
    position: relative;
    overflow: hidden;
  }

  .hero-vignette {
    position: absolute;
    top: -10%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 560px;
    background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 68%);
    filter: blur(70px);
    pointer-events: none;
  }

  .hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 16px; font-weight: 400;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold2);
    margin-bottom: 26px;
    animation: fadeUp 0.8s ease both;
  }

  .hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(44px, 7.2vw, 84px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 22px;
    max-width: 16ch;
    animation: fadeUp 0.8s ease 0.08s both;
  }

  .hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text2);
    max-width: 620px;
    margin: 0 auto 14px;
    line-height: 1.7;
    font-weight: 300;
    animation: fadeUp 0.8s ease 0.16s both;
  }

  .hero-subtitle-secondary {
    font-size: 16px;
    color: var(--text3);
    max-width: 580px;
    margin: 0 auto 44px;
    line-height: 1.7;
    font-weight: 300;
    animation: fadeUp 0.8s ease 0.2s both;
  }

  .hero-actions {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap; justify-content: center;
    animation: fadeUp 0.8s ease 0.28s both;
  }

  .btn-primary {
    padding: 15px 32px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--gold-ink); font-size: 16px; font-weight: 600;
    text-decoration: none; letter-spacing: 0.2px;
    box-shadow: 0 10px 28px rgba(201,168,76,0.22);
    transition: transform 0.22s, box-shadow 0.22s;
    border: none; cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(201,168,76,0.3);
  }

  .btn-ghost {
    padding: 15px 32px; border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text2); font-size: 16px;
    text-decoration: none; letter-spacing: 0.2px;
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; font-family: inherit;
    cursor: pointer;
  }
  .btn-ghost:hover {
    border-color: rgba(201,168,76,0.4);
    color: var(--text);
    background: rgba(255,255,255,0.02);
  }

  /* CREDIBILITY STRIP */
  .credibility {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
  }
  .credibility-inner {
    max-width: 1000px; margin: 0 auto;
    display: flex; align-items: stretch; justify-content: center;
    gap: 0; flex-wrap: wrap;
  }
  .credibility-item {
    flex: 1 1 200px;
    text-align: center;
    padding: 8px 28px;
    border-left: 1px solid var(--border);
  }
  .credibility-item:first-child { border-left: none; }
  .credibility-value {
    font-family: 'DM Mono', monospace;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.2px;
    font-variant-numeric: tabular-nums;
  }
  .credibility-label {
    font-size: 16px; color: var(--text3);
    text-transform: uppercase; letter-spacing: 1.2px;
    margin-top: 6px;
  }

  /* SECTION SHARED */
  .section {
    padding: 108px 24px;
    max-width: 1120px;
    margin: 0 auto;
  }

  .section-narrow { max-width: 900px; }

  .section-label {
    font-family: 'DM Mono', monospace;
    font-size: 16px; font-weight: 400;
    color: var(--gold2);
    letter-spacing: 2.4px; text-transform: uppercase;
    margin-bottom: 18px;
  }

  .section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 300; line-height: 1.12;
    color: var(--text);
    margin-bottom: 18px;
  }

  .section-title em {
    font-style: italic; color: var(--gold2);
  }

  .section-sub {
    font-size: 16px; color: var(--text2);
    max-width: 540px; line-height: 1.75;
    font-weight: 300;
  }

  .section-header-center { text-align: center; }
  .section-header-center .section-sub { margin: 0 auto; }
  .section-header-center .section-label { text-align: center; }

  /* PRODUCT OVERVIEW / CAROUSEL */
  .preview-section {
    padding: 0 24px 60px;
    position: relative;
  }
  .preview-section .section { padding-top: 108px; padding-bottom: 56px; }

  .preview-wrap {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
  }

  .preview-frame {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg2);
    box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  }

  .preview-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 13px 18px;
    background: rgba(255,255,255,0.025);
    border-bottom: 1px solid var(--border);
  }

  .preview-dot { width: 9px; height: 9px; border-radius: 50%; opacity: 0.7; }

  /* Icon row under product overview */
  .icon-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    max-width: 1080px;
    margin: 44px auto 0;
    border-top: 1px solid var(--border);
    padding-top: 32px;
  }
  .icon-row-item {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-align: center; padding: 0 8px;
  }
  .icon-row-item .icon { width: 22px; height: 22px; color: var(--gold2); }
  .icon-row-item span { font-size: 16px; color: var(--text2); letter-spacing: 0.2px; }

  /* PRODUCT CAROUSEL (stage) */
  .carousel { position: relative; }
  .car-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #05070c;
    overflow: hidden;
  }
  .car-slide {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain; object-position: center;
    opacity: 0; transition: opacity 0.5s ease;
  }
  .car-slide.active { opacity: 1; }
  .car-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(8,10,16,0.75); backdrop-filter: blur(6px);
    border: 1px solid var(--border-strong);
    color: var(--text); font-size: 20px; line-height: 1;
    cursor: pointer; z-index: 3; transition: background 0.2s, border-color 0.2s;
    display: flex; align-items: center; justify-content: center;
  }
  .car-arrow:hover { background: rgba(201,168,76,0.18); border-color: rgba(201,168,76,0.5); }
  .car-arrow.prev { left: -20px; }
  .car-arrow.next { right: -20px; }
  .car-caption { text-align: center; margin-top: 26px; }
  .car-caption h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px; font-weight: 500; color: var(--text); margin: 0 0 6px;
  }
  .car-caption p { font-size: 16px; color: var(--text3); margin: 0; }
  .car-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
  .car-dot {
    width: 7px; height: 7px; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,0.18); border: none; padding: 0;
    transition: background 0.25s, width 0.25s;
  }
  .car-dot.active { background: var(--gold); width: 20px; border-radius: 4px; }
  @media (max-width: 860px) {
    .car-arrow.prev { left: 6px; }
    .car-arrow.next { right: 6px; }
  }

  /* COLLECTION MANAGEMENT GRID */
  .cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 56px;
  }

  .cap-cell {
    background: var(--bg);
    padding: 30px 28px;
    transition: background 0.25s;
  }
  .cap-cell:hover { background: var(--surface); }

  .cap-icon {
    width: 34px; height: 34px; border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold2);
    margin-bottom: 18px;
  }
  .cap-icon .icon { width: 17px; height: 17px; }

  .cap-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px; font-weight: 600;
    color: var(--text); margin-bottom: 8px;
    line-height: 1.25;
  }

  .cap-desc {
    font-size: 16px; color: var(--text2);
    line-height: 1.65; font-weight: 300;
  }

  /* AI / CAR INTELLIGENCE */
  .ai-section {
    padding: 108px 24px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(201,168,76,0.025), transparent 40%);
  }

  .ai-inner {
    max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px;
    align-items: center;
  }

  .ai-score-visual { position: relative; }

  .ai-score-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg); padding: 36px 36px 58px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    position: relative;
  }

  .ai-score-top {
    display: flex; align-items: center; gap: 26px;
    margin-bottom: 30px;
  }

  .score-ring { position: relative; width: 128px; height: 128px; flex-shrink: 0; }
  .score-ring svg { transform: rotate(-90deg); }
  .score-ring-num {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .score-ring-num strong {
    font-family: 'DM Sans', sans-serif;
    font-size: 38px; font-weight: 500; color: var(--text); line-height: 1;
  }
  .score-ring-num span {
    font-size: 16px; color: var(--text3); font-family: 'DM Mono', monospace; margin-top: 2px;
  }

  .ai-score-label {
    font-size: 16px; font-family: 'DM Mono', monospace;
    color: var(--text3); text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 8px;
  }
  .ai-score-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px; color: var(--text); margin-bottom: 4px;
  }
  .ai-score-rating {
    display: inline-block; font-size: 16px; font-family: 'DM Mono', monospace;
    color: var(--ok); background: rgba(76,154,114,0.12);
    border: 1px solid rgba(76,154,114,0.3);
    padding: 3px 10px; border-radius: 20px;
  }

  .ai-score-bars { display: flex; flex-direction: column; gap: 11px; }

  .ai-bar-row { display: flex; align-items: center; gap: 10px; }
  .ai-bar-label { font-size: 16px; line-height: 1.2; color: var(--text2); width: 132px; flex-shrink: 0; }
  .ai-bar-track {
    flex: 1; height: 4px; border-radius: 2px;
    background: rgba(255,255,255,0.07);
    overflow: hidden;
  }
  .ai-bar-fill {
    height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
  }
  .ai-bar-val { font-size: 16px; color: var(--text3); width: 34px; text-align: right; font-family: 'DM Mono', monospace; }

  .ai-floating-badge {
    position: absolute; bottom: -18px; right: 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    border-radius: var(--radius-sm); padding: 12px 18px;
    box-shadow: 0 16px 34px rgba(0,0,0,0.4);
  }
  .ai-floating-badge-val {
    font-family: 'DM Sans', sans-serif;
    font-size: 21px; font-weight: 600; color: var(--gold-ink);
    line-height: 1;
  }
  .ai-floating-badge-label {
    font-size: 16px; color: rgba(23,19,10,0.65);
    margin-top: 2px; font-family: 'DM Mono', monospace;
  }

  .ai-concepts {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 26px 0 30px;
  }
  .ai-concept-chip {
    font-size: 16px; color: var(--text2);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 6px 14px;
  }

  /* MARKET INTELLIGENCE */
  .market-section {
    padding: 108px 24px;
  }
  .market-inner {
    max-width: 1120px; margin: 0 auto;
  }
  .market-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: center;
    margin-top: 56px;
  }
  .market-shot {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    background: var(--bg2);
  }
  .market-shot img { width: 100%; height: auto; }
  .market-example-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 16px; font-family: 'DM Mono', monospace;
    letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--text3);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 4px 12px; margin-bottom: 20px;
  }
  .market-facts { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
  .market-facts li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 16px; color: var(--text2); line-height: 1.6;
  }
  .market-facts .icon { color: var(--gold2); width: 16px; height: 16px; margin-top: 3px; }

  /* HOW IT WORKS */
  .how-section {
    padding: 108px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .how-inner { max-width: 1120px; margin: 0 auto; }
  .how-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
    margin-top: 60px;
  }
  .how-step { position: relative; padding-left: 0; }
  .how-step-num {
    font-family: 'DM Sans', sans-serif;
    font-size: 44px; font-weight: 300;
    color: var(--gold2); opacity: 0.55;
    line-height: 1; margin-bottom: 18px;
  }
  .how-step-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px; font-weight: 600; color: var(--text);
    margin-bottom: 10px;
  }
  .how-step-desc { font-size: 16px; color: var(--text2); line-height: 1.65; }

  /* SECURITY */
  .security-section {
    padding: 108px 24px;
  }
  .security-inner {
    max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
    align-items: center;
  }
  .security-badge {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    border: 1px solid rgba(201,168,76,0.35);
    background: rgba(201,168,76,0.06);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold2);
    margin-bottom: 24px;
  }
  .security-badge .icon { width: 24px; height: 24px; }
  .security-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
  .security-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 16px; color: var(--text2); line-height: 1.6;
  }
  .security-list .icon { color: var(--gold2); width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
  .security-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 8px; font-size: 16px; color: var(--gold2);
    text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.3);
    padding-bottom: 2px;
  }
  .security-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
  }
  .security-panel-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .security-panel-row:last-child { border-bottom: none; }
  .security-panel-role { font-size: 16px; color: var(--text); }
  .security-panel-scope { font-size: 16px; color: var(--text3); font-family: 'DM Mono', monospace; }

  /* PRICING */
  .pricing-section {
    padding: 108px 24px;
    max-width: 1040px;
    margin: 0 auto;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    align-items: start;
  }

  .pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 34px;
    position: relative; overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
  }

  .pricing-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
  }

  .pricing-card.featured {
    background: linear-gradient(165deg, rgba(201,168,76,0.08), rgba(201,168,76,0.02));
    border: 1px solid rgba(201,168,76,0.4);
    box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  }

  .pricing-plan-badge {
    display: inline-block; font-size: 16px;
    font-family: 'DM Mono', monospace; letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px; border-radius: 20px;
    margin-bottom: 22px;
    background: rgba(255,255,255,0.05);
    color: var(--text2); border: 1px solid var(--border);
  }
  .pricing-plan-badge.featured-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--gold-ink); border: none; font-weight: 600;
  }

  .pricing-plan-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 26px; font-weight: 600;
    color: var(--text); margin-bottom: 6px;
  }

  .pricing-plan-desc {
    font-size: 16px; color: var(--text2);
    margin-bottom: 26px; line-height: 1.6;
    min-height: 40px;
  }

  .pricing-price {
    display: flex; align-items: baseline; gap: 4px;
    margin-bottom: 26px;
  }

  .pricing-currency {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px; font-weight: 500; color: var(--text2);
  }

  .pricing-amount {
    font-family: 'DM Sans', sans-serif;
    font-size: 42px; font-weight: 500;
    letter-spacing: -1.5px;
    color: var(--text); line-height: 1;
    font-variant-numeric: tabular-nums;
  }

  .pricing-period { font-size: 16px; color: var(--text3); }

  .pricing-features { list-style: none; margin-bottom: 30px; }
  .pricing-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 16px; color: var(--text2);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.045);
  }

  .pricing-features li::before {
    content: '';
    width: 12px; height: 12px; flex-shrink: 0;
    background: var(--gold2);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  }

  .pricing-btn {
    display: block; width: 100%; padding: 14px;
    border-radius: var(--radius-sm); text-align: center;
    font-size: 16px; font-weight: 500; letter-spacing: 0.2px;
    text-decoration: none; cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border);
    color: var(--text2); background: transparent;
    font-family: inherit;
  }

  .pricing-btn:hover {
    border-color: var(--border-strong);
    color: var(--text);
    background: rgba(255,255,255,0.03);
  }

  .pricing-btn.featured-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    border: none; color: var(--gold-ink); font-weight: 600;
    box-shadow: 0 8px 22px rgba(201,168,76,0.22);
  }
  .pricing-btn.featured-btn:hover { transform: translateY(-1px); }

  /* TESTIMONIAL */
  .testimonial-section {
    padding: 100px 24px;
    text-align: center;
    position: relative;
  }

  .testimonial-quote {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(22px, 3.6vw, 38px);
    font-weight: 300; font-style: italic;
    color: var(--text);
    max-width: 760px; margin: 0 auto 28px;
    line-height: 1.35;
    position: relative;
    quotes: none;
  }

  .testimonial-quote::before {
    content: '"';
    font-size: 100px; line-height: 0;
    color: var(--gold); opacity: 0.22;
    position: absolute; top: 26px; left: -14px;
    font-family: 'DM Sans', sans-serif;
  }

  .testimonial-author {
    font-size: 16px; color: var(--text3);
    font-family: 'DM Mono', monospace; letter-spacing: 0.4px;
  }

  /* CTA SECTION */
  .cta-section {
    padding: 90px 24px 108px;
    text-align: center;
    position: relative;
  }

  .cta-inner {
    max-width: 660px; margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 20px; padding: 68px 48px;
    position: relative; overflow: hidden;
  }

  .cta-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 300; line-height: 1.15;
    margin-bottom: 16px; color: var(--text);
  }

  .cta-sub {
    font-size: 16px; color: var(--text2);
    margin-bottom: 36px; line-height: 1.6; font-weight: 300;
    max-width: 460px; margin-left: auto; margin-right: auto;
  }

  .cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

  .cta-note {
    font-size: 16px; color: var(--text3);
    margin-top: 22px; font-family: 'DM Mono', monospace;
    letter-spacing: 0.3px;
  }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--border);
    padding: 64px 48px 32px;
  }
  .footer-inner {
    max-width: 1120px; margin: 0 auto;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.7fr repeat(6, 1fr);
    gap: 28px;
    padding-bottom: 48px;
  }
  .footer-brand-mark {
    display: flex; align-items: center; gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 19px; color: var(--text); margin-bottom: 14px;
    white-space: nowrap;
  }
  .footer-brand-mark svg { flex-shrink: 0; }
  .footer-brand-tag { font-size: 16px; color: var(--text3); max-width: 26ch; line-height: 1.6; }

  .footer-col-title {
    font-size: 16px; font-family: 'DM Mono', monospace;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text3); margin-bottom: 18px;
  }
  .footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-col-links a, .footer-col-links button {
    font-size: 16px; color: var(--text2);
    text-decoration: none; transition: color 0.2s;
    background: none; border: none; cursor: pointer; font-family: inherit;
    text-align: left; padding: 0;
  }
  .footer-col-links a:hover, .footer-col-links button:hover { color: var(--text); }

  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    padding-top: 28px; border-top: 1px solid var(--border);
  }
  .footer-copy { font-size: 16px; color: var(--text3); font-family: 'DM Mono', monospace; }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1; transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
  }

  /* RESPONSIVE */
  @media (max-width: 1080px) {
    .ai-inner { gap: 56px; }
    .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); row-gap: 36px; }
  }

  @media (max-width: 900px) {
    nav { padding: 15px 20px; }
    nav.nav-scrolled { padding: 12px 20px; }
    .nav-links { display: none; }
    .nav-actions .nav-signin { display: none; }
    .nav-actions .nav-cta { display: none; }
    .nav-burger { display: flex; }

    .cap-grid { grid-template-columns: 1fr; }
    .ai-inner { grid-template-columns: 1fr; gap: 48px; }
    .ai-score-visual { max-width: 420px; margin: 0 auto; }
    .market-grid { grid-template-columns: 1fr; gap: 40px; }
    .market-grid .market-copy { order: 2; }
    .security-inner { grid-template-columns: 1fr; gap: 40px; }
    .how-steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .icon-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
    .credibility-item { flex: 1 1 45%; border-left: none; border-top: 1px solid var(--border); padding: 18px 12px 6px; }
    .credibility-item:first-child { border-top: none; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }

  @media (max-width: 520px) {
    .hero { padding: 128px 20px 56px; }
    .section { padding: 76px 20px; }
    .ai-section, .how-section, .market-section, .security-section { padding: 76px 20px; }
    .cta-inner { padding: 48px 26px; }
    .how-steps { grid-template-columns: 1fr; }
    .icon-row { grid-template-columns: repeat(2, 1fr); }
    .ai-score-top { flex-direction: column; align-items: flex-start; gap: 18px; }
    .car-arrow { width: 34px; height: 34px; font-size: 17px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .page-hero { padding-top: 30px; }
    .breadcrumbs { padding-top: 78px; }
  }
  .auth-overlay{position:fixed;inset:0;z-index:2000;background:rgba(5,6,10,.82);
    backdrop-filter:blur(6px);display:none;align-items:center;justify-content:center;padding:20px;}
  .auth-overlay.open{display:flex;}
  .auth-card{width:100%;max-width:420px;background:#0d1019;border:1px solid rgba(201,168,76,.22);
    border-radius:var(--radius-lg);padding:34px 32px;position:relative;
    box-shadow:0 30px 80px rgba(0,0,0,.6);}
  .auth-close{position:absolute;top:14px;right:16px;background:none;border:none;color:var(--steel);
    font-size:22px;cursor:pointer;line-height:1;}
  .auth-close:hover{color:#c9a84c;}
  .auth-title{font-family:'DM Sans',sans-serif;font-size:29px;font-weight:500;
    color:#f4f4f5;margin:0 0 6px;letter-spacing:-.3px;}
  .auth-sub{font-size:16px;color:#9ca3af;margin:0 0 24px;line-height:1.5;}
  .auth-field{margin-bottom:14px;}
  .auth-label{display:block;font-size:16px;color:#9ca3af;margin-bottom:6px;
    letter-spacing:.4px;text-transform:uppercase;}
  .auth-input{width:100%;background:#0b0e14;border:1px solid rgba(255,255,255,.1);
    border-radius:var(--radius-sm);padding:12px 14px;color:#f4f4f5;font-size:16px;
    font-family:'DM Sans',sans-serif;outline:none;transition:border-color .2s;}
  .auth-input:focus{border-color:rgba(201,168,76,.55);}
  .auth-submit{width:100%;margin-top:8px;padding:13px;border:none;border-radius:var(--radius-sm);
    background:linear-gradient(135deg,#c9a84c,#e8c97a);color:#17130a;font-size:16px;
    font-weight:600;font-family:'DM Sans',sans-serif;cursor:pointer;transition:opacity .2s;}
  .auth-submit:hover:not(:disabled){opacity:.9;}
  .auth-submit:disabled{opacity:.55;cursor:not-allowed;}
  .auth-switch{text-align:center;margin-top:18px;font-size:16px;color:#9ca3af;}
  .auth-switch a{color:#c9a84c;cursor:pointer;text-decoration:none;}
  .auth-switch a:hover{text-decoration:underline;}
  .auth-msg{font-size:16px;margin-top:14px;padding:10px 12px;border-radius:8px;display:none;line-height:1.5;}
  .auth-msg.error{display:block;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.3);color:#fca5a5;}
  .auth-msg.ok{display:block;background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.3);color:#86efac;}
  .auth-forgot{background:none;border:none;color:var(--steel);font-size:16px;cursor:pointer;
    text-decoration:underline;padding:0;margin-top:12px;display:block;width:100%;text-align:center;}
  .auth-forgot:hover{color:#c9a84c;}
  .auth-google{width:100%;padding:12px;border:1px solid rgba(255,255,255,.14);border-radius:var(--radius-sm);
    background:#14171f;color:#f4f4f5;font-size:16px;font-weight:500;font-family:'DM Sans',sans-serif;
    cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:10px;}
  .auth-google:hover:not(:disabled){background:#1a1d27;border-color:rgba(255,255,255,.24);}
  .auth-google:disabled{opacity:.55;cursor:not-allowed;}
  .auth-google svg{flex-shrink:0;}
  .auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--steel);
    font-size:16px;letter-spacing:.6px;text-transform:uppercase;}
  .auth-divider::before,.auth-divider::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.1);}

/* ═══════════════════════════════════════════════════════════════════════
   PHASE 2 — shared primitives used across the multi-page site
   ═══════════════════════════════════════════════════════════════════════ */

/* Generic "Explore X →" link used throughout homepage + interior pages */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; color: var(--gold2);
  text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 2px; transition: border-color 0.2s, gap 0.2s;
}
.link-arrow:hover { border-color: rgba(201,168,76,0.7); gap: 9px; }

/* NAV DROPDOWN (Product / Resources) */
.nav-drop { position: relative; }
.nav-drop-trigger {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  color: var(--text2); font-size: 16px; letter-spacing: 0.3px;
  font-family: inherit; padding: 6px 0;
  transition: color 0.2s;
}
.nav-drop-trigger:hover, .nav-drop.open .nav-drop-trigger { color: var(--text); }
.nav-drop-trigger svg { width: 10px; height: 10px; transition: transform 0.2s; }
.nav-drop.open .nav-drop-trigger svg { transform: rotate(180deg); }

.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 240px;
  background: #0b0e18; border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  padding: 10px; z-index: 920;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-drop.open .nav-drop-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-drop-panel a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text);
  transition: background 0.15s;
}
.nav-drop-panel a:hover { background: rgba(255,255,255,0.045); }
.nav-drop-panel a strong { font-size: 16px; font-weight: 500; }
.nav-drop-panel a span { font-size: 16px; color: var(--text3); }

@media (hover: hover) {
  .nav-drop:hover .nav-drop-panel {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .nav-drop:hover .nav-drop-trigger svg { transform: rotate(180deg); }
}

.mobile-nav-group { margin-top: 6px; }
.mobile-nav-group-label {
  font-size: 16px; font-family: 'DM Mono', monospace; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text3);
  padding: 14px 4px 4px;
}
.mobile-nav-links a.mobile-nav-sublink {
  font-family: 'DM Sans', sans-serif; font-size: 16px; color: var(--text2);
  padding: 11px 4px 11px 14px;
}

/* BREADCRUMBS */
.breadcrumbs {
  /* Reset: this is a <nav> element for a11y, but the bare `nav {}` tag
     selector above (styling the fixed site header) would otherwise make
     this fixed/translucent/high-z-index too — it must render as a normal,
     statically-positioned block in the page flow. */
  position: static; z-index: auto; display: block;
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: none; transition: none;
  max-width: 1120px; margin: 0 auto; padding: 100px 24px 0;
}
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs a {
  font-size: 16px; color: var(--text3); text-decoration: none; transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--gold2); }
.breadcrumbs li[aria-current="page"] span { font-size: 16px; color: var(--text2); }
.breadcrumbs .bc-sep { color: var(--text3); font-size: 16px; opacity: 0.6; }

/* PAGE HERO (interior pages — lighter than the homepage hero) */
.page-hero {
  padding: 44px 24px 72px;
  max-width: 860px; margin: 0 auto;
}
.page-hero .hero-eyebrow { margin-bottom: 18px; text-align: left; }
.page-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 300; line-height: 1.08; letter-spacing: -0.4px;
  color: var(--text); margin-bottom: 20px; max-width: 18ch;
}
.page-hero h1 em { font-style: italic; color: var(--gold2); }
.page-hero p.lede {
  font-size: 16.5px; color: var(--text2); max-width: 620px; line-height: 1.75;
  font-weight: 300;
}
.page-hero .hero-actions { justify-content: flex-start; margin-top: 32px; }

/* DISCLAIMER BOX */
.disclaimer-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 22px; margin-top: 32px;
  max-width: 720px;
}
.disclaimer-box .icon { color: var(--gold2); width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.disclaimer-box p { font-size: 16px; color: var(--text3); line-height: 1.65; }

/* EXAMPLE / ILLUSTRATIVE BANNER (market pages with non-live data) */
.example-banner {
  display: flex; align-items: center; gap: 10px;
  max-width: 1120px; margin: 96px auto 0; padding: 14px 24px;
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  font-size: 16px; color: var(--text3);
}
.example-banner .icon { color: var(--gold2); width: 15px; height: 15px; flex-shrink: 0; }
.example-banner strong { color: var(--text2); font-weight: 500; }

/* FAQ ACCORDION */
.faq-section { padding: 100px 24px; max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 44px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 22px 4px; background: none; border: none; cursor: pointer;
  text-align: left; font-family: 'DM Sans', sans-serif;
  font-size: 18px; color: var(--text); font-weight: 500;
}
.faq-q-icon {
  flex-shrink: 0; width: 20px; height: 20px; position: relative;
}
.faq-q-icon::before, .faq-q-icon::after {
  content: ''; position: absolute; background: var(--gold2);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-q-icon::before { width: 12px; height: 1.4px; }
.faq-q-icon::after { width: 1.4px; height: 12px; transition: transform 0.25s ease; }
.faq-item.open .faq-q-icon::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-a p {
  font-size: 16px; color: var(--text2); line-height: 1.7; padding: 0 4px 22px;
  max-width: 62ch;
}

/* ARTICLE / INSIGHTS PROSE */
.article-hero { max-width: 760px; margin: 0 auto; padding: 44px 24px 40px; }
.article-meta { font-size: 16px; color: var(--text3); font-family: 'DM Mono', monospace; letter-spacing: 0.5px; margin-bottom: 18px; }
.article-prose { max-width: 700px; margin: 0 auto; padding: 0 24px 100px; }
.article-prose h2 {
  font-family: 'DM Sans', sans-serif; font-size: 30px; font-weight: 500;
  color: var(--text); margin: 52px 0 18px; line-height: 1.2;
}
.article-prose h3 {
  font-family: 'DM Sans', sans-serif; font-size: 21px; font-weight: 600;
  color: var(--text); margin: 34px 0 12px;
}
.article-prose p {
  font-size: 16px; color: var(--text2); line-height: 1.85; margin-bottom: 20px; font-weight: 300;
}
.article-prose ul, .article-prose ol { margin: 0 0 20px 22px; }
.article-prose li { font-size: 16px; color: var(--text2); line-height: 1.8; margin-bottom: 8px; }
.article-prose strong { color: var(--text); font-weight: 500; }
.article-prose a { color: var(--gold2); text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.3); }
.article-prose a:hover { border-color: rgba(201,168,76,0.7); }
.article-prose blockquote {
  border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; margin: 32px 0;
  font-family: 'DM Sans', sans-serif; font-size: 20px; font-style: italic; color: var(--text2);
}
.article-cta {
  max-width: 700px; margin: 12px auto 0; padding: 0 24px;
}

/* INSIGHTS INDEX GRID */
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 56px;
}
.insights-card {
  background: var(--bg); padding: 32px 28px; text-decoration: none;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.25s;
}
.insights-card:hover { background: var(--surface); }
.insights-card-cat {
  font-size: 16px; font-family: 'DM Mono', monospace; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--gold2);
}
.insights-card h3 {
  font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 600;
  color: var(--text); line-height: 1.3;
}
.insights-card p { font-size: 16px; color: var(--text2); line-height: 1.6; }
.insights-categories {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.insights-cat-chip {
  font-size: 16px; color: var(--text2); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 14px;
}

/* MARKET HUB / TAXONOMY */
.market-hub-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 40px;
}
.market-hub-cell {
  background: var(--bg); padding: 26px 22px; text-decoration: none;
  transition: background 0.25s;
}
.market-hub-cell:hover { background: var(--surface); }
.market-hub-cell strong { display: block; font-family: 'DM Sans', sans-serif; font-size: 18px; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.market-hub-cell span { font-size: 16px; color: var(--text3); font-family: 'DM Mono', monospace; }

.market-related {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px;
}
.market-related a {
  font-size: 16px; color: var(--text2); border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 15px; text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.market-related a:hover { border-color: rgba(201,168,76,0.4); color: var(--text); }

.market-overview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 40px 0;
}
.market-overview-stat {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 22px; background: var(--surface);
}
.market-overview-stat .val {
  font-family: 'DM Mono', monospace; font-size: 22px; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.market-overview-stat .lbl { font-size: 16px; color: var(--text3); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.8px; }

/* 404 PAGE */
.notfound-section {
  min-height: 78vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px 24px 80px;
}
.notfound-code {
  font-family: 'DM Mono', monospace; font-size: 16px; color: var(--gold2);
  letter-spacing: 3px; margin-bottom: 22px;
}
.notfound-title {
  font-family: 'DM Sans', sans-serif; font-size: clamp(32px, 5vw, 52px);
  font-weight: 300; color: var(--text); margin-bottom: 16px;
}
.notfound-sub { font-size: 16px; color: var(--text2); max-width: 440px; margin: 0 auto 36px; line-height: 1.7; }

/* PRICING COMPARISON TABLE (pricing.html) */
.compare-table-wrap {
  max-width: 1040px; margin: 48px auto 0; padding: 0 24px;
  overflow-x: auto;
}
.compare-scroll-hint { display: none; }
@media (max-width: 700px) {
  .compare-scroll-hint {
    display: block; text-align: center; font-size: 16px; color: var(--text3);
    font-family: 'DM Mono', monospace; letter-spacing: 0.4px; margin-top: 18px;
  }
}
.compare-table {
  width: 100%; min-width: 620px; border-collapse: collapse;
  font-size: 16px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table thead th {
  font-family: 'DM Mono', monospace; font-size: 16px; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--gold2); font-weight: 400;
  border-bottom: 1px solid var(--border-strong);
}
.compare-table thead th:first-child { text-align: left; }
.compare-table tbody th {
  text-align: left; font-weight: 400; color: var(--text2); font-size: 16px;
  white-space: normal;
}
.compare-table tbody td { color: var(--text2); }
.compare-table tbody tr:hover { background: var(--surface); }

/* COLLECTOR SCORE — eight-factor breakdown grid (collector-score.html) */
.score-dims-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 8px;
}
.score-dims-grid .cap-cell { background: var(--bg); }

/* RESPONSIVE additions for Phase 2 primitives */
@media (max-width: 900px) {
  .nav-drop { display: none; }
  .insights-grid { grid-template-columns: 1fr; }
  .market-hub-grid { grid-template-columns: 1fr 1fr; }
  .market-overview-grid { grid-template-columns: 1fr; }
  .breadcrumbs { padding-top: 84px; }
  .score-dims-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .market-hub-grid { grid-template-columns: 1fr; }
  .score-dims-grid { grid-template-columns: 1fr; }
}
