/* ====================================================================
     NOVA LANDING — DARK THEME (factory.ai-influenced, layer colours preserved)
     ==================================================================== */

  :root{
    /* Base — charcoal / near-black, never pure black */
    --bg:        #0A0A0A;
    --bg-2:      #111111;
    --bg-3:      #161616;
    --surface:   #1A1A1A;
    --surface-2: #1E1E1E;
    --line:      #262626;
    --line-2:    #333333;

    /* Text — graduated white */
    --ink:       #FAFAFA;
    --ink-2:     #C8C8C5;
    --ink-3:     #8E8E8A;
    --ink-4:     #5A5A56;

    /* Accent — primary dark-mode action (neon green, matches hero illustration) */
    --accent:    #57FF86;          /* neon green from hero illustration */
    --accent-2:  #3FE670;          /* slightly darker for hover */
    --accent-soft: rgba(87,255,134,.10);
    --accent-ink: #0A0A0A;          /* dark text on neon green */

    /* Layer colours — slightly brightened for dark backgrounds */
    --human:      #F47C3C;          /* terracotta brightened */
    --human-soft: rgba(244,124,60,.12);
    --human-line: rgba(244,124,60,.30);
    --agent:      #8B7FF7;          /* indigo brightened */
    --agent-soft: rgba(139,127,247,.12);
    --agent-line: rgba(139,127,247,.30);
    --system:     #5DBFB5;          /* teal brightened */
    --system-soft: rgba(93,191,181,.12);
    --system-line: rgba(93,191,181,.30);

    /* Mode pills — keep recognisable but tuned for dark bg */
    --pill-assistive-bg: rgba(252,211,77,.12);  --pill-assistive-fg: #FCD34D;
    --pill-advisory-bg:  rgba(96,165,250,.12);  --pill-advisory-fg:  #60A5FA;
    --pill-autonomous-bg: rgba(74,222,128,.12); --pill-autonomous-fg: #4ADE80;
    --pill-highrisk-bg:  rgba(251,113,133,.14); --pill-highrisk-fg:  #FB7185;
    --pill-minimal-bg:   rgba(74,222,128,.12);  --pill-minimal-fg:   #4ADE80;

    /* Typography */
    --serif: 'Instrument Serif', Georgia, serif;
    --sans:  'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono:  'Geist Mono', ui-monospace, monospace;
  }

  *{box-sizing:border-box}
  html,body{margin:0; padding:0}
  html{ scroll-behavior: smooth }
  body{
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Subtle ambient grain — barely there */
    background-image:
      radial-gradient(ellipse at 20% 0%, rgba(244,124,60,.04) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 100%, rgba(93,191,181,.04) 0%, transparent 50%);
    background-attachment: fixed;
  }
  ::selection{ background: var(--accent); color: var(--accent-ink) }
  a{ color: var(--ink); text-decoration: none; transition: color .15s }
  a:hover{ color: var(--accent) }

  /* ============ LAYOUT ============ */
  .container{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .container-narrow{
    max-width: 920px;
    margin: 0 auto;
    padding: 0 32px;
  }
  section{ padding: 100px 0; position: relative }
  section + section{ border-top: 1px solid var(--line) }

  /* ============ EYEBROW + TITLES ============ */
  .eyebrow{
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  h2.section-title{
    font-family: var(--sans);
    font-size: clamp(40px, 5.2vw, 64px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
    color: var(--ink);
  }
  /* Emphasis uses the title font, semi-bold, in the accent colour */
  h2.section-title em{
    font-family: var(--sans);
    font-style: normal;
    font-weight: 600;
    color: #70E5FF;
  }
  .section-lede{
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-3);
    max-width: 680px;
    margin: 0 0 64px;
  }

  /* ============ NAV ============ */
  nav.site-nav{
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,10,10,.78);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner{
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 32px;
    max-width: 1480px;
    margin: 0 auto;
  }
  .brand-mark{
    display: inline-flex; align-items: center;
    color: var(--ink);
    line-height: 0;
  }
  .brand-mark svg{ display: block; height: auto }
  .nav-links{ display: flex; align-items: center; gap: 32px }
  .nav-links a{
    color: var(--ink-3); font-size: 13px; font-weight: 500;
    letter-spacing: -0.005em;
  }
  .nav-links a:hover{ color: var(--ink) }
  .nav-links a.nav-cta{
    background: var(--accent); color: var(--accent-ink);
    padding: 12px 20px; border-radius: 8px;
    font-family: var(--sans); font-size: 14px; font-weight: 600;
    border: none;
    display: inline-flex; align-items: center; gap: 9px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, transform .12s;
    letter-spacing: -0.005em;
  }
  .nav-links a.nav-cta:hover{
    background: var(--accent-2); color: var(--accent-ink);
    transform: translateY(-1px);
  }
  .nav-links a.nav-cta svg{ width: 14px; height: 14px; color: var(--accent-ink); }
  @media (max-width: 760px){
    .nav-links a:not(.nav-cta){ display: none }
  }

  /* ============ HERO ============ */
  .hero{
    padding: 120px 0 96px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid{
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: center;
  }
  @media (max-width: 940px){
    .hero-grid{ grid-template-columns: 1fr; gap: 56px }
  }

  .hero-text .eyebrow{ margin-bottom: 28px }
  h1.hero-title{
    font-family: var(--sans);
    font-size: clamp(48px, 6.8vw, 84px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin: 0 0 32px;
    color: var(--ink);
  }
  /* Emphasis for "human-agent-system" uses the title font, semi-bold, in the accent colour */
  h1.hero-title em{
    font-family: var(--sans);
    font-style: normal;
    font-weight: 600;
    color: #70E5FF;
    letter-spacing: -0.02em;
  }
  .hero-lede{
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0 0 40px;
    max-width: 560px;
  }

  /* CTAs */
  .hero-cta-row{
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap;
  }
  .btn-primary{
    background: var(--accent); color: var(--accent-ink);
    padding: 14px 22px;
    border-radius: 8px;
    font-family: var(--sans); font-size: 14px; font-weight: 600;
    letter-spacing: -0.005em;
    border: none;
    display: inline-flex; align-items: center; gap: 9px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, transform .12s;
  }
  .btn-primary:hover{
    background: var(--accent-2); color: var(--accent-ink);
    transform: translateY(-1px);
  }
  .btn-primary svg{ width: 14px; height: 14px }
  .btn-secondary{
    background: transparent; color: var(--ink);
    padding: 14px 20px;
    border-radius: 8px;
    font-family: var(--sans); font-size: 14px; font-weight: 500;
    border: 1px solid var(--line-2);
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, background .15s;
    letter-spacing: -0.005em;
  }
  .btn-secondary:hover{
    border-color: var(--ink-3);
    background: var(--surface);
    color: var(--ink); text-decoration: none;
  }

  .hero-meta{
    margin-top: 40px;
    display: flex; gap: 28px;
    font-size: 12px;
    font-family: var(--mono);
    color: var(--ink-3);
    flex-wrap: wrap;
    letter-spacing: -0.005em;
  }
  .hero-meta-item{
    display: inline-flex; align-items: center; gap: 6px;
  }
  .hero-meta-item svg{ width: 12px; height: 12px; color: var(--accent) }

  /* ============ HERO ISOMETRIC STACK ============ */
  .hero-visual{
    position: relative;
    min-height: 520px;
  }

  /* ============ HERO ILLUSTRATION (new) ============ */
  .hero-illustration{
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    /* Ambient glow backdrop in the illustration's cyan family for cohesion */
    background:
      radial-gradient(ellipse 55% 45% at 50% 45%, rgba(112, 229, 255, 0.08) 0%, transparent 65%),
      radial-gradient(ellipse 30% 30% at 30% 25%, rgba(87, 255, 134, 0.05) 0%, transparent 65%);
    padding: 20px 10px;
  }
  .hero-illustration-img{
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
    animation: hero-illo-float 8s ease-in-out infinite;
    transform-origin: 50% 50%;
  }
  /* Gentle, subtle drift — vertical + ~1deg tilt */
  @keyframes hero-illo-float {
    0%, 100% { transform: translateY(0) rotate(0deg) }
    50%      { transform: translateY(-10px) rotate(0.5deg) }
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce){
    .hero-illustration-img{ animation: none }
  }

  .iso-wrap{
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 540px;
    margin: 0 auto;
    /* Ambient glow behind the stack */
    background:
      radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,255,60,0.04) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 30% 30%, rgba(244,124,60,0.06) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 70% 70%, rgba(93,191,181,0.06) 0%, transparent 70%);
  }
  .iso-stack{
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    animation: iso-float 6s ease-in-out infinite;
  }
  @keyframes iso-float {
    0%, 100% { transform: translateY(0) }
    50%      { transform: translateY(-6px) }
  }

  /* Each layer group: starts invisible, fades in via staggered class trigger */
  .iso-layer{
    opacity: 0;
    transform: translateY(14px);
    transform-origin: center;
    transition:
      opacity  .8s cubic-bezier(.2,.7,.2,1),
      transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .iso-wrap.revealed .iso-system{
    opacity: 1; transform: translateY(0);
    transition-delay: 0s;
  }
  .iso-wrap.revealed .iso-agent{
    opacity: 1; transform: translateY(0);
    transition-delay: .35s;
  }
  .iso-wrap.revealed .iso-human{
    opacity: 1; transform: translateY(0);
    transition-delay: .7s;
  }

  /* Wireframe stroke treatment — neutral-white outlines with layer-accent highlighting */
  .iso-face{
    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 1.2;
    stroke-linejoin: round;
    transition: stroke .6s ease, stroke-width .6s ease;
  }
  /* Accent strokes along the top rhombus — slightly stronger, picks up layer colour during reveal */
  .iso-accent-stroke{
    stroke-width: 1.5;
    stroke-linejoin: round;
    stroke: rgba(255, 255, 255, 0.38);
    transition: stroke .8s ease, stroke-width .8s ease, filter .8s ease;
    filter: drop-shadow(0 0 0 transparent);
  }
  /* During reveal, each layer's accent stroke lights up in its colour, in sequence */
  .iso-wrap.revealed .iso-accent-system{
    stroke: rgba(93, 191, 181, 0.95);
    filter: drop-shadow(0 0 6px rgba(93, 191, 181, 0.55));
    transition-delay: 0s;
  }
  .iso-wrap.revealed .iso-accent-agent{
    stroke: rgba(139, 127, 247, 0.95);
    filter: drop-shadow(0 0 6px rgba(139, 127, 247, 0.55));
    transition-delay: .35s;
  }
  .iso-wrap.revealed .iso-accent-human{
    stroke: rgba(244, 124, 60, 0.95);
    filter: drop-shadow(0 0 6px rgba(244, 124, 60, 0.55));
    transition-delay: .7s;
  }

  /* Matrix dot pattern — subtle neutral accent on top slab */
  .iso-matrix-dot{
    fill: rgba(255, 255, 255, 0.18);
    animation: iso-matrix-pulse 3s ease-in-out infinite;
  }
  @keyframes iso-matrix-pulse {
    0%, 100% { opacity: .4 }
    50%      { opacity: .85 }
  }

  /* Label cards — positioned absolutely over the iso-wrap */
  .hero-label{
    position: absolute;
    background: rgba(20,20,20,.82);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    padding: 10px 14px 10px 30px;
    font-family: var(--sans);
    display: flex;
    flex-direction: column;
    gap: 3px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
  }
  .hero-label.visible{ opacity: 1; transform: translateY(0) }
  .hero-label-dot{
    position: absolute;
    top: 15px; left: 14px;
    width: 6px; height: 6px;
    border-radius: 50%;
  }
  .hero-label-text{
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  .hero-label-sub{
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .12em;
  }
  /* Positions aligned to new slab layout (520 viewBox: human at y~100, agent~190, system~280) */
  .hero-label-h{
    top: 24%;
    right: 0;
    border-color: var(--human-line);
  }
  .hero-label-h .hero-label-dot{ background: var(--human); box-shadow: 0 0 10px var(--human) }
  .hero-label-a{
    top: 44%;
    left: 0;
    border-color: var(--agent-line);
  }
  .hero-label-a .hero-label-dot{ background: var(--agent); box-shadow: 0 0 10px var(--agent) }
  .hero-label-s{
    top: 64%;
    right: 4%;
    border-color: var(--system-line);
  }
  .hero-label-s .hero-label-dot{ background: var(--system); box-shadow: 0 0 10px var(--system) }

  @media (max-width: 940px){
    .hero-label{ font-size: 11px }
    .hero-label-h, .hero-label-a, .hero-label-s{
      right: auto; left: 8px;
    }
    .hero-label-h{ top: 22% }
    .hero-label-a{ top: 42% }
    .hero-label-s{ top: 64% }
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce){
    .iso-stack, .iso-matrix-dot{ animation: none }
    .iso-layer{ transition: none; opacity: 1; transform: none }
  }

  /* ============ AUDIENCES ============ */
  .audiences{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
  }
  @media (max-width: 980px){ .audiences{ grid-template-columns: repeat(2, 1fr) } }
  @media (max-width: 600px){ .audiences{ grid-template-columns: 1fr } }
  .audience{
    padding: 32px 26px;
    border-right: 1px solid var(--line);
    transition: background .18s;
    background: var(--surface);
  }
  .audiences > .audience:last-child{ border-right: none }
  @media (max-width: 980px){
    .audience{ border-bottom: 1px solid var(--line) }
    .audience:nth-child(2n){ border-right: none }
  }
  @media (max-width: 600px){
    .audience{ border-right: none !important }
  }
  .audience:hover{ background: var(--surface-2) }
  .audience-icon{
    width: 28px; height: 28px;
    color: var(--accent);
    margin-bottom: 18px;
  }
  .audience h3{
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0 0 6px;
    color: var(--ink);
  }
  .audience-role{
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 14px;
  }
  .audience p{
    font-size: 13px;
    color: var(--ink-3);
    margin: 0;
    line-height: 1.55;
  }

  /* ============ FEATURES ============ */
  .features-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }
  @media (max-width: 980px){ .features-grid{ grid-template-columns: repeat(2, 1fr) } }
  @media (max-width: 600px){ .features-grid{ grid-template-columns: 1fr } }
  .feature{
    background: var(--surface);
    padding: 32px 28px 36px;
    transition: background .18s;
    position: relative;
  }
  .feature:hover{ background: var(--surface-2) }
  .feature-num{
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-4);
    margin-bottom: 16px;
    letter-spacing: .12em;
  }
  .feature h3{
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .feature p{
    font-size: 13.5px;
    color: var(--ink-3);
    margin: 0;
    line-height: 1.55;
  }
  .feature-icon{
    width: 22px; height: 22px;
    margin-bottom: 18px;
  }
  .feature-icon.h{ color: var(--human) }
  .feature-icon.a{ color: var(--agent) }
  .feature-icon.s{ color: var(--system) }
  .feature-icon.x{ color: var(--accent) }

  /* ============ THREE-LAYER FRAMEWORK ============ */
  .three-layer{
    background: var(--bg-2);
    border-radius: 16px;
    padding: 64px 56px;
    border: 1px solid var(--line);
  }
  @media (max-width: 700px){ .three-layer{ padding: 40px 24px } }
  .layers-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
  }
  @media (max-width: 880px){ .layers-grid{ grid-template-columns: 1fr } }

  .layer{
    position: relative;
    padding: 32px 28px 28px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .18s cubic-bezier(.2,.7,.2,1), border-color .18s;
  }
  .layer:hover{ transform: translateY(-3px) }
  .layer.h:hover{ border-color: var(--human-line) }
  .layer.a:hover{ border-color: var(--agent-line) }
  .layer.s:hover{ border-color: var(--system-line) }

  /* Corner glow in the layer colour */
  .layer::before{
    content: '';
    position: absolute;
    top: -60%; right: -40%;
    width: 80%; height: 100%;
    background: radial-gradient(ellipse at center, var(--layer-glow, transparent) 0%, transparent 70%);
    pointer-events: none;
    opacity: .55;
  }
  .layer.h{ --layer-glow: var(--human-soft) }
  .layer.a{ --layer-glow: var(--agent-soft) }
  .layer.s{ --layer-glow: var(--system-soft) }

  /* Card header row: numbered tag + layer glyph */
  .layer-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
    position: relative;
  }
  .layer-num{
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .14em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .layer-num::before{
    content: '';
    width: 28px; height: 1px;
    background: currentColor;
    opacity: .5;
  }
  .layer.h .layer-num{ color: var(--human) }
  .layer.a .layer-num{ color: var(--agent) }
  .layer.s .layer-num{ color: var(--system) }
  .layer-glyph{
    width: 72px; height: 72px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  .layer-glyph svg{ width: 100%; height: 100%; }
  /* Layer glyph icons imported from external SVG files — use object-fit: contain
     to preserve each icon's native aspect ratio (125×150, 150×151, 151×150). */
  .layer-glyph-img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
  }
  .layer.h .layer-glyph{ color: var(--human) }
  .layer.a .layer-glyph{ color: var(--agent) }
  .layer.s .layer-glyph{ color: var(--system) }

  .layer h3{
    font-family: var(--sans);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: var(--ink);
    position: relative;
  }
  .layer p{
    font-size: 13.5px;
    color: var(--ink-3);
    margin: 0 0 22px;
    line-height: 1.55;
    position: relative;
  }

  /* Fields list — dot-prefixed in the layer colour */
  .layer-fields{
    list-style: none;
    padding: 16px 0 0;
    margin: 0;
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column;
    gap: 2px;
    position: relative;
  }
  .layer-fields li{
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-2);
    padding: 5px 0 5px 14px;
    letter-spacing: -0.005em;
    position: relative;
  }
  .layer-fields li::before{
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 4px; height: 4px;
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .layer.h .layer-fields li::before{ background: var(--human) }
  .layer.a .layer-fields li::before{ background: var(--agent) }
  .layer.s .layer-fields li::before{ background: var(--system) }

  /* ============ MODE COMPARISON ============ */
  .modes-compare{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
  @media (max-width: 1080px){ .modes-compare{ grid-template-columns: 1fr } }

  .mode-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: transform .18s cubic-bezier(.2,.7,.2,1), border-color .18s;
  }
  .mode-card:hover{ transform: translateY(-3px) }
  .mode-card.user:hover{ border-color: var(--human-line) }
  .mode-card.customer:hover{ border-color: var(--system-line) }
  .mode-card.workflow:hover{ border-color: var(--agent-line) }

  /* Corner glow */
  .mode-card::before{
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 70%; height: 100%;
    background: radial-gradient(ellipse at center, var(--mode-glow, transparent) 0%, transparent 65%);
    pointer-events: none;
    opacity: .6;
  }
  .mode-card.user{ --mode-glow: var(--human-soft) }
  .mode-card.customer{ --mode-glow: var(--system-soft) }
  .mode-card.workflow{ --mode-glow: var(--agent-soft) }

  .mode-card > *{ position: relative }

  .mode-card-head{
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px;
  }
  .mode-tag{
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: 5px 11px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .mode-tag::before{
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
  }
  .mode-card.user .mode-tag{ background: var(--human-soft); color: var(--human); border: 1px solid var(--human-line) }
  .mode-card.customer .mode-tag{ background: var(--system-soft); color: var(--system); border: 1px solid var(--system-line) }
  .mode-card.workflow .mode-tag{ background: var(--agent-soft); color: var(--agent); border: 1px solid var(--agent-line) }
  .mode-num{
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-4);
    letter-spacing: .12em;
  }
  .mode-card h3{
    font-family: var(--sans);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.032em;
    margin: 20px 0 10px;
    color: var(--ink);
  }
  .mode-subtitle{
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .mode-subtitle::after{
    content: '';
    flex: 1; height: 1px; background: var(--line);
    margin-left: 4px;
    min-width: 40px;
  }
  .mode-desc{
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.6;
    margin-bottom: 28px;
  }

  /* Scale indicator ticks — visual metaphor for time scale */
  .mode-scale{
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--bg-3);
    border: 1px solid var(--line);
  }
  .mode-scale-label{
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .12em;
    flex-shrink: 0;
    padding-right: 14px;
    border-right: 1px solid var(--line);
    margin-right: 14px;
  }
  .mode-scale-track{
    flex: 1;
    position: relative;
    height: 14px;
    display: flex;
    align-items: center;
  }
  .mode-scale-fill{
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background: var(--line-2);
    transform: translateY(-.5px);
  }
  .mode-scale-dots{
    position: relative; z-index: 1;
    display: flex; justify-content: space-between;
    width: 100%;
  }
  .mode-scale-dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--line-2);
    flex-shrink: 0;
  }
  .mode-card.user .mode-scale-dot.active{ background: var(--human); box-shadow: 0 0 0 3px var(--human-soft) }
  .mode-card.customer .mode-scale-dot.active{ background: var(--system); box-shadow: 0 0 0 3px var(--system-soft) }
  .mode-card.workflow .mode-scale-dot.active{ background: var(--agent); box-shadow: 0 0 0 3px var(--agent-soft) }

  /* Stage chips with connected arrows */
  .mode-stages{
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    flex-wrap: wrap;
    row-gap: 8px;
    align-items: center;
  }
  .mode-stage{
    display: inline-flex;
    align-items: center;
    font-family: var(--mono);
    font-size: 9.5px;
    padding: 6px 9px;
    border-radius: 5px;
    letter-spacing: -0.01em;
    font-weight: 500;
    white-space: nowrap;
  }
  /* Arrow travels with the chip it precedes, so it never orphans at a line start */
  .mode-stage:not(:first-child){ margin-left: 22px; }
  .mode-stage:not(:first-child)::before{
    content: '→';
    color: var(--ink-4);
    font-size: 10px;
    opacity: .7;
    margin-left: -17px;
    margin-right: 7px;
    font-family: var(--mono);
  }
  .mode-card.user .mode-stage{ background: var(--human-soft); color: var(--human); border: 1px solid var(--human-line) }
  .mode-card.customer .mode-stage{ background: var(--system-soft); color: var(--system); border: 1px solid var(--system-line) }
  .mode-card.workflow .mode-stage{ background: var(--agent-soft); color: var(--agent); border: 1px solid var(--agent-line) }
  /* Standalone arrow spans replaced by ::before; hide any that remain in markup */
  .mode-stages .mode-arrow{ display: none; }
  .mode-arrow{
    color: var(--ink-4);
    font-size: 10px;
    margin: 0 5px;
    opacity: .7;
  }

  /* Meta row — now with labelled pills */
  .mode-meta-row{
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
  .mode-meta-item{
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: baseline;
  }
  .mode-meta-item dt{
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin: 0;
    padding: 0;
  }
  .mode-meta-item dd{
    margin: 0;
    padding: 0;
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.5;
    font-family: var(--sans);
  }

  /* ============ TEMPLATES ============ */
  .templates-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (max-width: 880px){ .templates-grid{ grid-template-columns: repeat(2, 1fr) } }
  @media (max-width: 600px){ .templates-grid{ grid-template-columns: 1fr } }
  .template-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .15s, border-color .15s, background .15s;
  }
  .template-card:hover{
    transform: translateY(-2px);
    background: var(--surface-2);
  }
  .template-card.user:hover{ border-color: var(--human-line) }
  .template-card.customer:hover{ border-color: var(--system-line) }
  .template-card.workflow:hover{ border-color: var(--agent-line) }
  .template-preview{
    height: 96px;
    padding: 14px;
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid var(--line);
    background: var(--bg-3);
  }
  .template-card.user .template-preview{ background: linear-gradient(135deg, rgba(244,124,60,.10) 0%, rgba(244,124,60,.04) 100%) }
  .template-card.customer .template-preview{ background: linear-gradient(135deg, rgba(93,191,181,.10) 0%, rgba(93,191,181,.04) 100%) }
  .template-card.workflow .template-preview{ background: linear-gradient(135deg, rgba(139,127,247,.10) 0%, rgba(139,127,247,.04) 100%) }
  .template-preview-bars{
    display: flex; gap: 5px; align-items: center;
  }
  .template-bar{
    width: 52px;
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 6px 4px 5px;
    font-family: var(--mono);
    font-size: 8px;
    text-align: center;
    background: var(--surface);
  }
  .template-card.user .template-bar{ color: var(--human) }
  .template-card.customer .template-bar{ color: var(--system) }
  .template-card.workflow .template-bar{ color: var(--agent) }
  .template-arrow{
    color: var(--ink-4);
    font-size: 11px;
    margin: 0 -1px;
  }
  .template-body{ padding: 16px 18px 20px }
  .template-tag{
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-4);
    margin-bottom: 8px;
  }
  .template-card.user .template-tag{ color: var(--human) }
  .template-card.customer .template-tag{ color: var(--system) }
  .template-card.workflow .template-tag{ color: var(--agent) }
  .template-card h4{
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0 0 6px;
    color: var(--ink);
  }
  .template-card p{
    font-size: 12.5px;
    color: var(--ink-3);
    margin: 0;
    line-height: 1.5;
  }

  /* ============ HOW IT WORKS ============ */
  .steps-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
  }
  @media (max-width: 980px){ .steps-grid{ grid-template-columns: repeat(2, 1fr) } }
  @media (max-width: 560px){ .steps-grid{ grid-template-columns: 1fr } }
  .step{ position: relative }
  .step-num{
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 28px;
    display: block;
    letter-spacing: .08em;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .step h3{
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .step p{
    font-size: 13.5px;
    color: var(--ink-3);
    margin: 0;
    line-height: 1.55;
  }

  /* ============ SCREENSHOT FRAME ============ */
  .screenshot-section{
    background: var(--bg-2);
  }
  .screenshot-frame{
    margin: 44px auto 0;
    max-width: 1120px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    box-shadow:
      0 1px 0 rgba(255,255,255,.05) inset,
      0 30px 80px rgba(0,0,0,.55);
  }
  .screenshot-frame-bar{
    background: var(--bg-3);
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    display: flex; gap: 6px;
    align-items: center;
  }
  .screenshot-dot{
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--line-2);
  }
  .screenshot-dot:nth-child(1){ background: #FF5F57 }
  .screenshot-dot:nth-child(2){ background: #FEBC2E }
  .screenshot-dot:nth-child(3){ background: #28C840 }

  /* ===== Animated screenshot carousel ===== */
  .shot-carousel{ margin: 44px auto 0; max-width: 1120px; position: relative; }
  .shot-stage{ position: relative; width: 100%; }
  .shot-stage::before{ content:''; display:block; padding-top: 56.4%; }
  .shot-slide{
    position: absolute; inset: 0;
    opacity: 0; transform: scale(1.015);
    transition: opacity .8s ease, transform .8s ease;
    pointer-events: none;
  }
  .shot-slide.is-active{ opacity: 1; transform: scale(1); pointer-events: auto; }
  .shot-slide img{ width: 100%; height: 100%; object-fit: contain; display: block; }
  .shot-caption{
    text-align: center; margin-top: 18px;
    min-height: 42px;
  }
  .shot-cap-title{
    font-size: 14px; font-weight: 600; color: var(--ink, #fff);
    letter-spacing: -0.01em;
  }
  .shot-cap-sub{
    font-size: 13px; color: var(--ink-3, #9a9a94); margin-top: 3px; line-height: 1.5;
  }
  .shot-dots{
    display: flex; gap: 8px; justify-content: center; margin-top: 20px;
  }
  .shot-dot{
    width: 32px; height: 4px; border-radius: 999px; border: 0; padding: 0;
    background: var(--line-2, rgba(255,255,255,.18)); cursor: pointer;
    transition: background .3s ease;
  }
  .shot-dot.is-active{ background: var(--accent, #6366F1); }
  .shot-dot:hover{ background: var(--ink-3, #9a9a94); }
  @media (max-width: 640px){
    .shot-cap-sub{ font-size: 12px; }
  }


  /* ============ RESEARCH BLOCK ============ */
  .research-block{
    background:
      linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  /* Accent corner glow */
  .research-block::before{
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 60%);
    pointer-events: none;
  }
  @media (max-width: 800px){
    .research-block{ grid-template-columns: 1fr; padding: 44px 28px; gap: 40px }
  }
  .research-block > *{ position: relative; z-index: 1 }
  .research-block .eyebrow{ color: var(--ink-3) }
  .research-block h2{
    font-family: var(--sans);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 22px;
    color: var(--ink);
  }
  .research-block h2 em{
    font-family: var(--sans);
    font-style: normal;
    font-weight: 600;
    color: #70E5FF;
  }
  .research-block p{
    font-size: 15px;
    color: var(--ink-2);
    margin: 0 0 28px;
    line-height: 1.6;
  }
  .research-stats{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 8px;
    padding-top: 0;
    border-top: none;
  }
  .stat-num{
    font-family: var(--sans);
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.03em;
  }
  .stat-label{
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-3);
    margin-top: 8px;
  }
  .research-cta-row{
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  }
  .btn-on-dark{
    background: var(--accent); color: var(--accent-ink);
    padding: 12px 22px; border-radius: 8px;
    font-size: 13.5px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    transition: background .15s, transform .12s;
    letter-spacing: -0.005em;
  }
  .btn-on-dark:hover{
    background: var(--accent-2); color: var(--accent-ink);
    transform: translateY(-1px);
    text-decoration: none;
  }
  .btn-on-dark svg{ width: 13px; height: 13px }
  .btn-ghost-dark{
    background: transparent; color: var(--ink);
    padding: 12px 20px; border-radius: 8px;
    font-size: 13.5px; font-weight: 500;
    border: 1px solid var(--line-2);
    display: inline-flex; align-items: center; gap: 7px;
    text-decoration: none;
    transition: border-color .15s, background .15s;
  }
  .btn-ghost-dark:hover{
    border-color: var(--ink-3);
    background: var(--surface);
    color: var(--ink); text-decoration: none;
  }

  /* ============ FAQ ============ */
  .faq-list{ display: flex; flex-direction: column; gap: 0 }
  .faq-item{ border-bottom: 1px solid var(--line) }
  .faq-item:first-child{ border-top: 1px solid var(--line) }
  .faq-summary{
    cursor: pointer;
    padding: 22px 0;
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
    list-style: none;
    transition: color .12s;
  }
  .faq-summary::-webkit-details-marker{ display: none }
  .faq-summary:hover{ color: var(--accent) }
  .faq-marker{
    font-family: var(--mono);
    font-size: 18px;
    color: var(--ink-3);
    transition: transform .2s, color .2s;
  }
  details[open] .faq-marker{ transform: rotate(45deg); color: var(--accent) }
  .faq-body{
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.65;
    padding: 0 0 26px;
    max-width: 760px;
  }
  .faq-body a{ color: var(--accent) }

  /* ============ FINAL CTA ============ */
  .final-cta{
    text-align: center;
    padding: 120px 0;
    position: relative;
    background:
      radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 60%);
  }
  .final-cta h2{
    font-family: var(--sans);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0 0 22px;
    color: var(--ink);
  }
  .final-cta h2 em{
    font-family: var(--sans);
    font-style: normal;
    font-weight: 600;
    color: #70E5FF;
  }
  .final-cta p{
    font-size: 17px;
    color: var(--ink-3);
    max-width: 580px;
    margin: 0 auto 44px;
    line-height: 1.55;
  }

  /* ============ FOOTER ============ */
  footer.site-footer{
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
  }
  .footer-grid{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
  }
  @media (max-width: 800px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap: 32px } }
  @media (max-width: 480px){ .footer-grid{ grid-template-columns: 1fr } }
  .footer-brand h3{
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .footer-brand p{
    font-size: 13px;
    color: var(--ink-3);
    margin: 0 0 16px;
    max-width: 320px;
    line-height: 1.55;
  }
  .footer-author{
    font-size: 12.5px;
    color: var(--ink-3);
  }
  .footer-author strong{ color: var(--ink-2); font-weight: 500 }
  .footer-author a{ color: var(--ink-3) }
  .footer-author a:hover{ color: var(--accent) }
  .footer-col h4{
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink-4);
    margin: 0 0 16px;
  }
  .footer-col ul{
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
  }
  .footer-col li a{
    font-size: 13px;
    color: var(--ink-3);
  }
  .footer-col li a:hover{ color: var(--ink) }
  .footer-bottom{
    border-top: 1px solid var(--line);
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-4);
    letter-spacing: -0.005em;
  }
  .footer-bottom a{ color: var(--ink-3) }
  .footer-bottom a:hover{ color: var(--ink) }

  /* ============ STAGGERED REVEAL ============ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px) }
    to   { opacity: 1; transform: translateY(0) }
  }
  .hero-text .eyebrow{ animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) forwards }
  h1.hero-title{ animation: fadeUp .7s .08s cubic-bezier(.2,.7,.2,1) backwards }
  .hero-lede{ animation: fadeUp .7s .16s cubic-bezier(.2,.7,.2,1) backwards }
  .hero-cta-row{ animation: fadeUp .7s .24s cubic-bezier(.2,.7,.2,1) backwards }
  .hero-meta{ animation: fadeUp .7s .32s cubic-bezier(.2,.7,.2,1) backwards }
  .hero-visual{ animation: fadeUp .9s .2s cubic-bezier(.2,.7,.2,1) backwards }

  @media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* ============ AUTH MODAL (gate) ============ */
  .auth-overlay{
    position: fixed; inset: 0;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
    animation: authFadeIn .2s ease-out;
  }
  .auth-overlay.visible{ display: flex }
  @keyframes authFadeIn { from{opacity:0} to{opacity:1} }
  @keyframes authPopIn {
    from{opacity:0; transform: translateY(12px) scale(.96)}
    to{opacity:1; transform: translateY(0) scale(1)}
  }
  .auth-modal{
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    box-shadow:
      0 1px 0 rgba(255,255,255,.05) inset,
      0 30px 80px rgba(0,0,0,.6);
    animation: authPopIn .28s cubic-bezier(.2,.7,.2,1);
  }
  .auth-head{
    padding: 36px 36px 20px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    position: relative;
  }
  .auth-head .eyebrow{ margin-bottom: 16px }
  .auth-head h2{
    font-family: var(--sans);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .auth-head h2 em{
    font-family: var(--sans);
    font-style: normal;
    font-weight: 600;
    color: #70E5FF;
  }
  .auth-head p{
    font-size: 14px;
    color: var(--ink-3);
    margin: 0;
    line-height: 1.55;
  }
  .auth-close{
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border: none; background: transparent;
    color: var(--ink-3);
    cursor: pointer;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    transition: background .12s, color .12s;
  }
  .auth-close:hover{ background: var(--bg-3); color: var(--ink) }
  .auth-close svg{ width: 16px; height: 16px }

  .auth-body{ padding: 24px 36px 28px }
  .auth-field{ margin-bottom: 18px }
  .auth-label{
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 8px;
  }
  .auth-label-opt{
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--ink-4);
    margin-left: 4px;
  }
  .auth-input{
    width: 100%;
    padding: 12px 14px;
    border-radius: 7px;
    border: 1px solid var(--line-2);
    background: var(--bg-3);
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--ink);
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
  }
  .auth-input::placeholder{ color: var(--ink-4) }
  .auth-input:focus{
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    background: var(--surface-2);
  }
  .auth-input.error{
    border-color: #FB7185;
    box-shadow: 0 0 0 3px rgba(251,113,133,.10);
  }
  .auth-error-msg{
    color: #FB7185;
    font-size: 12px;
    margin-top: 7px;
    display: none;
  }
  .auth-error-msg.visible{ display: block }
  .auth-submit{
    width: 100%;
    background: var(--accent);
    color: var(--accent-ink);
    border: none;
    padding: 13px 20px;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .15s, transform .12s;
    letter-spacing: -0.005em;
  }
  .auth-submit:hover{ background: var(--accent-2) }
  .auth-submit:active{ transform: translateY(1px) }
  .auth-submit:disabled{
    background: var(--ink-4);
    cursor: not-allowed;
  }
  .auth-submit svg{ width: 14px; height: 14px }
  .auth-spinner{
    width: 14px; height: 14px;
    border: 2px solid rgba(10,10,10,.20);
    border-top-color: var(--accent-ink);
    border-radius: 50%;
    animation: authSpin .7s linear infinite;
    display: none;
  }
  .auth-submit.loading .auth-spinner{ display: inline-block }
  .auth-submit.loading .auth-submit-text,
  .auth-submit.loading svg:not(.auth-spinner){ display: none }
  @keyframes authSpin { to { transform: rotate(360deg) } }
  /* Google's own guidance: white surface, dark text, the four-colour mark. */
  .auth-google{
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 13px 20px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
  }
  .auth-google:hover{ background: #f7f8f8; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
  .auth-google:active{ background: #eef0f1; }
  .auth-google svg{ flex: 0 0 auto; }

  .auth-foot{
    padding: 16px 36px 28px;
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.55;
  }
  .auth-foot strong{ color: var(--ink-2); font-weight: 500 }

  .auth-botcheck{
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
  }
