@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap');

/* ============================================================
   Miter — Design System
   Dark, editorial, precise. One accent. The angle is the brand.
   ============================================================ */

:root {
  --bg: #0A0A0B;
  --bg-raised: #131315;
  --bg-panel: #17171A;
  --bg-panel-2: #1D1D21;
  --border: rgba(247,243,234,0.09);
  --border-strong: rgba(247,243,234,0.16);
  --ink: #F7F3EA;
  --ink-mute: #A6A29A;
  --ink-faint: #6E6B65;
  --accent: #3FE8B8;
  --accent-ink: #06231B;
  --accent-dim: rgba(63,232,184,0.14);
  --accent-line: rgba(63,232,184,0.35);
  --danger: #FF6B5E;
  --warn: #F2C94C;
  --max-w: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body.marketing {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

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

a { color: inherit; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 200; transition: width 60ms linear;
}

/* ---------- Type scale ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content:''; width: 14px; height: 1px; background: var(--accent); display: inline-block; }

h1, h2, h3, h4 { font-family: 'Instrument Sans', sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.display-hero { font-size: clamp(42px, 5.6vw, 76px); line-height: 0.98; letter-spacing: -0.03em; }
.display-xl { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; }
.display-lg { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; }
.display-md { font-size: 22px; line-height: 1.2; }

.body-lg { font-size: 19px; line-height: 1.55; color: var(--ink-mute); font-weight: 400; max-width: 46ch; }
.body-md { font-size: 15.5px; line-height: 1.6; color: var(--ink-mute); }
.mono-label { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.02em; color: var(--ink-faint); }

/* ---------- Layout shells ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: background 300ms var(--ease), border-color 300ms var(--ease), padding 300ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,11,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border); padding: 15px 0;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .nav-row { padding: 0 22px; } }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { height: 22px; width: auto; color: var(--ink); }
.logo-word { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--ink-mute); text-decoration: none; transition: color 160ms; }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 780px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; border: none; white-space: nowrap; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms; }
.btn-primary { background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: var(--radius); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(63,232,184,0.5); }
.btn-primary svg { transition: transform 200ms var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); padding: 12px 20px; border: 1px solid var(--border-strong); border-radius: var(--radius); }
.btn-ghost:hover { border-color: var(--ink-mute); background: rgba(255,255,255,0.03); }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* ---------- Chips / tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 3px; letter-spacing: 0.02em; }
.chip-accent { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent-line); }
.chip-neutral { background: var(--bg-panel-2); color: var(--ink-mute); border: 1px solid var(--border); }
.chip-warn { background: rgba(242,201,76,0.12); color: var(--warn); border: 1px solid rgba(242,201,76,0.3); }
.chip-danger { background: rgba(255,107,94,0.12); color: var(--danger); border: 1px solid rgba(255,107,94,0.3); }
.chip svg { width: 11px; height: 11px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-1 { transition-delay: 60ms; } .reveal-2 { transition-delay: 140ms; } .reveal-3 { transition-delay: 220ms; }
.reveal-4 { transition-delay: 300ms; } .reveal-5 { transition-delay: 380ms; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 200px 0 120px; position: relative; overflow: hidden; }
.hero-centered { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-centered .eyebrow { justify-content: center; margin-bottom: 22px; }
.hero-centered h1 { margin-bottom: 22px; }
.hero-centered .body-lg { margin-bottom: 34px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.hero-trust { font-size: 13px; color: var(--ink-faint); display: flex; align-items: center; justify-content: center; gap: 8px; }
.hero-trust svg { color: var(--accent); flex-shrink: 0; }

/* ---- Hero background: Silk Aurora — satin-dark, aurora ribbons, pearlescent sheen, grain, cursor depth ---- */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, #14141a 0%, transparent 55%),
    linear-gradient(180deg, #0c0c10 0%, #08080a 55%, #050506 100%);
}
.aurora-layer {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  mix-blend-mode: screen; will-change: transform;
  transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * var(--depth, 1px)), calc(var(--my, 0) * var(--depth, 1px)));
}
.aurora-1 {
  width: 900px; height: 620px; --depth: 22px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(63,232,184,0.30), rgba(63,232,184,0.08) 55%, transparent 78%);
  filter: blur(70px);
  animation: aurora-drift-a 26s ease-in-out infinite;
}
.aurora-2 {
  width: 760px; height: 760px; --depth: 34px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124,108,240,0.26), rgba(124,108,240,0.06) 55%, transparent 78%);
  filter: blur(80px);
  animation: aurora-drift-b 32s ease-in-out infinite;
}
.aurora-3 {
  width: 620px; height: 460px; --depth: 14px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(247,243,234,0.14), rgba(247,243,234,0.03) 55%, transparent 75%);
  filter: blur(60px);
  animation: aurora-drift-c 20s ease-in-out infinite;
}
@keyframes aurora-drift-a {
  0%, 100% { margin-left: -260px; margin-top: -160px; transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * var(--depth, 1px)), calc(var(--my, 0) * var(--depth, 1px))) rotate(0deg) scale(1); }
  50% { margin-left: 220px; margin-top: 120px; transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * var(--depth, 1px)), calc(var(--my, 0) * var(--depth, 1px))) rotate(20deg) scale(1.12); }
}
@keyframes aurora-drift-b {
  0%, 100% { margin-left: 280px; margin-top: -180px; transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * var(--depth, 1px)), calc(var(--my, 0) * var(--depth, 1px))) rotate(0deg) scale(1); }
  50% { margin-left: -200px; margin-top: 160px; transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * var(--depth, 1px)), calc(var(--my, 0) * var(--depth, 1px))) rotate(-24deg) scale(1.16); }
}
@keyframes aurora-drift-c {
  0%, 100% { margin-left: -80px; margin-top: 200px; transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * var(--depth, 1px)), calc(var(--my, 0) * var(--depth, 1px))) scale(1); }
  50% { margin-left: 60px; margin-top: -180px; transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * var(--depth, 1px)), calc(var(--my, 0) * var(--depth, 1px))) scale(1.2); }
}
.aurora-sheen {
  position: absolute; inset: -20%; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(247,243,234,0.05) 46%, rgba(63,232,184,0.06) 50%, rgba(247,243,234,0.05) 54%, transparent 70%);
  background-size: 250% 250%;
  animation: sheen-sweep 14s ease-in-out infinite;
  mix-blend-mode: overlay;
}
@keyframes sheen-sweep {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}
.aurora-grain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0.05; mix-blend-mode: overlay; }
.aurora-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(65% 60% at 50% 40%, transparent 40%, rgba(5,5,6,0.55) 100%);
}

@media (max-width: 640px) {
  .hero { padding: 140px 0 80px; }
  .aurora-1, .aurora-2, .aurora-3 { filter: blur(46px); }
  .aurora-1 { width: 560px; height: 420px; }
  .aurora-2 { width: 480px; height: 480px; }
  .aurora-3 { width: 400px; height: 320px; }
}

/* ---------- Marquee strip ---------- */
.marquee-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll-left 32s linear infinite; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span { font-size: 13px; color: var(--ink-faint); white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: '/'; color: var(--border-strong); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
@media (max-width: 720px) { .section { padding: 80px 0; } }

/* ============================================================
   PROBLEM / DIFFERENTIATION
   ============================================================ */
.vs-table { border: 1px solid var(--border); background: var(--bg-raised); }

.vs-heading-row { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; padding: 22px 32px; border-bottom: 1px solid var(--border); }
.vs-heading { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; }
.vs-heading-bad { color: var(--ink-mute); }
.vs-heading-good { color: var(--accent); justify-content: flex-end; text-align: right; }

.vs-row { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; padding: 18px 32px; border-bottom: 1px solid var(--border); }
.vs-row:last-child { border-bottom: none; }

.vs-card {
  padding: 14px 18px; background: var(--bg-panel); border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.vs-card p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-mute); }
.vs-card-bad { border-left: 2px solid rgba(255,107,94,0.4); }
.vs-card-good { border-left: 2px solid var(--accent); }
.vs-card-good p { color: var(--ink); }

.vs-arrow { display: flex; align-items: center; justify-content: center; color: var(--border-strong); }

@media (max-width: 780px) {
  .vs-heading-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; }
  .vs-heading-good { justify-content: flex-start; text-align: left; }
  .vs-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; }
  .vs-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ============================================================
   HOW IT WORKS — angled connected path
   ============================================================ */
.works-path { position: relative; }
.works-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.works-connector { position: absolute; top: 16px; left: 0; right: 0; z-index: 0; pointer-events: none; }
.works-connector svg { width: 100%; height: 60px; display: block; overflow: visible; }
.works-connector path { fill: none; stroke: var(--border-strong); stroke-width: 1.5; stroke-dasharray: 3 6; }
.works-connector .connector-fill { stroke: var(--accent); stroke-dasharray: 3 6; opacity: 0; transition: opacity 300ms; }
.works-connector .connector-fill.is-on { opacity: 1; }

.works-stage { position: relative; z-index: 1; }
.works-stage:nth-child(even) { margin-top: 46px; }
.stage-node {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg-panel); border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink-mute);
  margin-bottom: 18px; transition: border-color 300ms, color 300ms, background 300ms;
}
.works-stage.is-active .stage-node { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.works-stage h4 { font-size: 15px; margin-bottom: 8px; line-height: 1.25; }
.works-stage p { font-size: 13px; color: var(--ink-mute); line-height: 1.5; margin: 0 0 14px; }
.stage-preview {
  border: 1px solid var(--border); background: var(--bg-panel); padding: 10px 12px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.stage-preview .mono-label { display: block; margin-bottom: 4px; }
.stage-preview .sp-line { height: 6px; border-radius: 2px; background: var(--border-strong); margin-bottom: 5px; }
.stage-preview .sp-line:nth-child(2) { width: 70%; }
.stage-preview .sp-line.accent-line { background: var(--accent); opacity: 0.6; }

@media (max-width: 980px) {
  .works-track { grid-template-columns: 1fr; gap: 8px; }
  .works-stage:nth-child(even) { margin-top: 0; }
  .works-connector { display: none; }
  .works-stage { padding-left: 24px; border-left: 1px solid var(--border-strong); padding-bottom: 32px; }
  .works-stage:last-child { padding-bottom: 0; }
}

/* ============================================================
   PRODUCT DEMONSTRATION — evidence panel
   ============================================================ */
.demo-shell {
  background: var(--bg-raised); border: 1px solid var(--border);
  padding: 4px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.7);
}
.demo-inner { background: var(--bg-panel); padding: 40px; clip-path: polygon(0 0, calc(100% - 19px) 0, 100% 19px, 100% 100%, 0 100%); }
.demo-titlebar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.demo-titlebar .dt-dots { display: flex; gap: 6px; }
.demo-titlebar .dt-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.demo-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }

.claim-block { font-size: 16px; line-height: 1.7; color: var(--ink); margin: 0 0 18px; }
.claim-block-secondary { color: var(--ink-mute); }
.claim-span { position: relative; border-bottom: 2px dashed var(--accent-line); padding-bottom: 1px; cursor: default; }
.claim-span.flagged { border-bottom-color: var(--danger); }

.evidence-col { border-left: 1px solid var(--border); padding-left: 28px; }
@media (max-width: 860px) { .evidence-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; } }
.evidence-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.evidence-item:last-child { border-bottom: none; }
.evidence-item .ei-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.evidence-item .ei-source { font-size: 12.5px; color: var(--ink-faint); font-family: ui-monospace, monospace; }
.evidence-item .ei-text { font-size: 13.5px; color: var(--ink-mute); line-height: 1.5; }

.score-row { display: flex; gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.score-item .score-num { font-size: 26px; font-weight: 700; color: var(--ink); }
.score-item .score-num.accent { color: var(--accent); }
.score-item .score-lbl { font-size: 11.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================
   CAMPAIGN OUTPUT GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 190px; gap: 18px; }
.gallery-card {
  position: relative; background: var(--bg-panel); border: 1px solid var(--border);
  padding: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: transform 260ms var(--ease), border-color 260ms;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.gallery-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.gallery-card::before {
  content:''; position: absolute; inset:0; opacity: 0;
  background: radial-gradient(120% 100% at 100% 0%, var(--accent-dim), transparent 60%);
  transition: opacity 260ms;
}
.gallery-card:hover::before { opacity: 1; }
.gc-type { grid-column: span 3; grid-row: span 2; }
.gc-video { grid-column: span 3; grid-row: span 2; }
.gc-tall { grid-column: span 2; grid-row: span 2; }
.gc-wide { grid-column: span 4; grid-row: span 1; }
.gc-small { grid-column: span 2; grid-row: span 1; }
.gc-head { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.gc-format { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
.gc-body { position: relative; z-index: 1; }
.gc-body h4 { font-size: 15px; margin-bottom: 6px; line-height: 1.3; }
.gc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; position: relative; z-index: 1; }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gc-type, .gc-video, .gc-tall, .gc-wide, .gc-small { grid-column: span 2; grid-row: span 1; }
}

/* ============================================================
   AUDIENCE + FINAL CTA
   ============================================================ */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); margin-bottom: 90px; }
@media (max-width: 780px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card { background: var(--bg); padding: 36px 32px; }
.audience-card .ac-index { font-family: ui-monospace, monospace; font-size: 12px; color: var(--accent); margin-bottom: 20px; display: block; }
.audience-card h4 { font-size: 18px; margin-bottom: 10px; }
.audience-card p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; margin: 0; }

.final-cta { position: relative; text-align: center; padding: 100px 40px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-raised); }
.final-cta-graphic { position: absolute; inset: 0; opacity: 0.7; }
.final-cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.final-cta h2 { margin-bottom: 18px; }
.final-cta .body-lg { margin: 0 auto 34px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { font-size: 13.5px; color: var(--ink-mute); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { font-size: 12.5px; color: var(--ink-faint); border-top: 1px solid var(--border); padding-top: 24px; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============================================================
   AUTH (login / register / reset) — shares the design system
   ============================================================ */
.auth-page { min-height: 100vh; }
.auth-shell { display: flex; align-items: center; justify-content: center; padding: 160px 22px 80px; min-height: 100vh; }
.auth-card { width: 100%; max-width: 420px; background: var(--bg-panel); border: 1px solid var(--border); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.auth-card-inner { padding: 44px 38px; }
.auth-card-inner h1 { font-size: 26px; margin-bottom: 8px; }
.caption { font-size: 14px; color: var(--ink-mute); margin: 0 0 26px; line-height: 1.5; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--ink-mute); margin-bottom: 7px; font-weight: 500; }
.field input {
  width: 100%; background: var(--bg); border: 1px solid var(--border-strong); color: var(--ink);
  padding: 11px 13px; font-size: 15px; border-radius: var(--radius); font-family: inherit;
  transition: border-color 160ms;
}
.field input:focus { outline: none; border-color: var(--accent); }
.field input::placeholder { color: var(--ink-faint); }
.auth-submit { width: 100%; justify-content: center; margin-top: 6px; }
.auth-switch { font-size: 13.5px; color: var(--ink-mute); text-align: center; margin: 18px 0 0; }
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }
.form-error { background: rgba(255,107,94,0.1); border: 1px solid rgba(255,107,94,0.3); color: #FF9A90; border-radius: var(--radius); padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; display: none; }
.form-error.visible { display: block; }
.dev-link-box { background: var(--bg); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 14px; margin-top: 16px; font-size: 12.5px; word-break: break-all; }
.dev-link-box strong { display: block; margin-bottom: 6px; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.dev-link-box a { color: var(--ink-mute); }
.auth-note { font-size: 12px; color: var(--ink-faint); line-height: 1.5; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
