/* FailSulit landing — design system: docs/redesign/2026-11-onboarding-passkey/
   design-system/failsulit/MASTER.md (navy #0F172A, CTA #0369A1, Plus Jakarta
   Sans, Minimalism & Swiss, WCAG AA). No frameworks, no CDN JS. */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
  --color-primary: #0F172A;
  --color-accent: #0369A1;
  --color-background: #F8FAFC;
  --color-foreground: #020617;
  --color-card: #FFFFFF;
  --color-muted: #E8ECF1;
  --color-muted-foreground: #475569;
  --color-border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-foreground);
  background: #FFFFFF;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--color-primary);
  color: #fff; padding: 12px 24px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--color-primary); font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
}
.brand-mark { width: 24px; height: 24px; color: var(--color-accent); }
.brand-muted { color: var(--color-muted-foreground); }
.brand-muted .brand-mark { color: var(--color-muted-foreground); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--color-muted-foreground);
  font-size: 15px; font-weight: 600; padding: 8px 0;
}
.nav-links a:hover { color: var(--color-primary); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px; border-radius: 8px;
}
.nav-toggle:focus-visible { outline: 3px solid var(--color-accent); }
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; background: var(--color-primary);
  margin: 5px 0; border-radius: 2px;
}
.mobile-menu {
  display: flex; flex-direction: column; border-top: 1px solid var(--color-border);
  padding: 8px 24px 16px; background: #fff;
}
/* Author display beats the UA [hidden] rule — restate it, and keep the
   menu off on desktop even if it was left open across a resize. */
.mobile-menu[hidden] { display: none; }
@media (min-width: 721px) {
  .mobile-menu { display: none; }
}
.mobile-menu a {
  text-decoration: none; color: var(--color-primary); font-weight: 600;
  padding: 12px 0; border-bottom: 1px solid var(--color-border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── Hero ── */
.hero { padding: 96px 0 72px; background: linear-gradient(180deg, #FFFFFF 0%, var(--color-background) 100%); }
.hero-eyebrow {
  color: var(--color-accent); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.12;
  letter-spacing: -0.02em; font-weight: 800; color: var(--color-primary);
  margin-bottom: 20px;
}
.hero-sub { font-size: 19px; color: var(--color-muted-foreground); max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 10px; color: var(--color-muted-foreground); font-size: 15px; font-weight: 600; }
.hero-points svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 16px;
  text-decoration: none; transition: all 200ms ease; min-height: 44px;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-invert { background: #fff; color: var(--color-primary); }
.btn-invert:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-alt { background: var(--color-background); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.01em; color: var(--color-primary); margin-bottom: 12px; }
.section-sub { color: var(--color-muted-foreground); font-size: 17px; max-width: 640px; margin-bottom: 48px; }

/* ── Feature grid ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 17px; font-weight: 700; color: var(--color-primary); margin: 16px 0 8px; }
.card p { color: var(--color-muted-foreground); font-size: 15px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--color-muted);
  color: var(--color-accent); display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 22px; height: 22px; }

/* ── Security compare ── */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 24px; }
.compare-col { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 24px; }
.compare-col h3 { font-size: 15px; font-weight: 700; color: var(--color-primary); margin-bottom: 12px; }
.list { list-style: none; }
.list li { padding: 8px 0 8px 24px; position: relative; color: var(--color-muted-foreground); font-size: 15px; }
.list li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px; border-radius: 4px; background: var(--color-accent); opacity: 0.85;
}
.list-muted li::before { background: var(--color-border); }
.compare-note { color: var(--color-muted-foreground); font-size: 15px; max-width: 720px; }
.compare-note em { color: var(--color-primary); font-style: italic; }

/* ── CTA band ── */
.cta-band { background: var(--color-primary); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.cta-inner p { color: #CBD5E1; max-width: 520px; font-size: 16px; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--color-border); padding: 32px 0; background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--color-muted-foreground); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--color-primary); }
.footer-note { color: var(--color-muted-foreground); font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 56px; }
  .hero-br { display: none; }
  .section { padding: 56px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
