/* ============================================================
   barebones — landing styles
   Palette: logo orange #FA4C06 on warm grey. Bold & punchy.
   ============================================================ */
:root {
  --orange: #fa4c06;
  --orange-700: color-mix(in srgb, var(--orange) 80%, #000);
  --orange-200: color-mix(in srgb, var(--orange) 22%, #fff);
  --bg: #c9c7c2;          /* warm grey, like the logo bg */
  --bg-2: #bebcb6;        /* darker band */
  --ink: #1a1512;         /* warm near-black */
  --ink-2: #57514a;       /* muted */
  --card: #edebe6;        /* warm off-white */
  --card-2: #f6f4f0;
  --line: rgba(26, 21, 18, 0.16);
  --line-soft: rgba(26, 21, 18, 0.09);
  --ring: rgba(250, 76, 6, 0.35);
  --radius: 14px;
  --maxw: 1200px;
  --shadow: 0 24px 60px -28px rgba(26, 21, 18, 0.55);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 12px 0 0 var(--orange), 6px 0 0 var(--orange);
  margin-right: 18px;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 11px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -10px var(--orange); }
.btn-primary:hover { background: var(--orange-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--card-2); }
.btn-dark:hover { transform: translateY(-2px); background: #000; }

/* store badge */
.badges { display: flex; gap: 14px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 18px 11px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--card-2);
  transition: transform 0.12s ease, background 0.15s ease;
}
.badge:hover { transform: translateY(-2px); background: #000; }
.badge .glyph { width: 26px; height: 26px; flex: none; fill: currentColor; }
.badge small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; line-height: 1.2; white-space: nowrap; }
.badge strong { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.1; }

/* pixel accent inline */
.pix { vertical-align: middle; }

/* ---------- top nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
/* full-bleed nav: logo & button hug the screen corners on wide viewports */
.nav .nav-inner { max-width: none; width: 100%; padding-left: clamp(20px, 3.5vw, 60px); padding-right: clamp(20px, 3.5vw, 60px); }
.brand { display: flex; align-items: center; gap: 0; }
.brand img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 600; font-size: 16px; color: var(--ink-2); transition: color 0.15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ---------- generic section ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.band { background: var(--bg-2); }
.section-head { max-width: 780px; }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; }
.section-head p { color: var(--ink-2); font-size: 20px; margin-top: 18px; }

/* ============================================================
   HERO  (3 directions, toggled by [data-hero] on <body>)
   ============================================================ */
.hero { display: none; }
body[data-hero="a"] #hero-a,
body[data-hero="b"] #hero-b,
body[data-hero="c"] #hero-c { display: block; }

.hero h1 { font-size: clamp(44px, 7vw, 90px); text-transform: uppercase; }
.hero .lede { font-size: clamp(18px, 2.2vw, 23px); color: var(--ink-2); max-width: 30ch; }
.hero .cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero .micro { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; font-weight: 600; }

/* ---- Direction A: editorial split ---- */
#hero-a .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 64px 0 90px; }
#hero-a .kicker { margin-bottom: 26px; }
#hero-a h1 { margin-bottom: 26px; }
#hero-a .lede { margin-bottom: 34px; }
#hero-a .cta-row { margin-bottom: 26px; }
#hero-a .accent { color: var(--orange); }
#hero-a .phone-stage { display: flex; justify-content: center; position: relative; }

/* ---- Direction B: centered, big wordmark ---- */
#hero-b { text-align: center; padding: 70px 0 90px; }
#hero-b .word { max-width: 760px; width: 78%; margin: 0 auto 34px; }
#hero-b .word img { width: 100%; }
#hero-b h1 { font-size: clamp(34px, 5.2vw, 64px); text-transform: uppercase; margin-bottom: 22px; }
#hero-b .lede { margin: 0 auto 30px; max-width: 46ch; }
#hero-b .cta-row { justify-content: center; margin-bottom: 56px; }
#hero-b .steps-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
#hero-b .phone-stage { display: flex; justify-content: center; gap: 28px; }
#hero-b .phone-stage .phone { transform: translateY(0); }

/* step chip */
.chip {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 14px;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 999px; font-weight: 700; font-family: var(--font-display);
}
.chip .n { display: inline-flex; }
.chip .arrow { color: var(--orange); font-size: 22px; }

/* ---- Direction C: orange block ---- */
#hero-c .grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 0; align-items: stretch; padding: 56px 0 90px; }
#hero-c .panel {
  background: var(--orange); color: #fff;
  border-radius: 26px; padding: 60px 54px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
#hero-c .panel h1 { color: #fff; margin-bottom: 24px; }
#hero-c .panel .lede { color: rgba(255,255,255,0.92); margin-bottom: 34px; max-width: 26ch; }
#hero-c .panel .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 26px; }
#hero-c .panel .eyebrow::before { background: #fff; box-shadow: 12px 0 0 #fff, 6px 0 0 #fff; }
#hero-c .panel .btn-primary { background: var(--ink); }
#hero-c .panel .btn-primary:hover { background: #000; }
#hero-c .panel .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
#hero-c .panel .btn-ghost:hover { border-color: #fff; }
#hero-c .panel > .eyebrow,
#hero-c .panel > h1,
#hero-c .panel > .lede,
#hero-c .panel > .cta-row { position: relative; z-index: 1; }
#hero-c .dotfield { position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
  background-image: radial-gradient(circle, #fff 1.6px, transparent 1.7px);
  background-size: 18px 18px; }
#hero-c .phone-stage { display: flex; align-items: center; justify-content: center; padding-left: 30px; position: relative; }

/* ============================================================
   PHONE MOCKUP + APP SCREENS
   ============================================================ */
.phone {
  width: 300px; flex: none;
  aspect-ratio: 300 / 620;
  background: #0e0b09;
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,0.06);
  position: relative;
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #000; border-radius: 14px; z-index: 5;
}
.screen {
  width: 100%; height: 100%;
  background: var(--card-2);
  border-radius: 36px; overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.statusbar {
  height: 50px; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 24px 6px; font-size: 13px; font-weight: 700; color: var(--ink);
  font-family: var(--font-display);
}
.statusbar .dots { display: flex; gap: 5px; align-items: center; }
.statusbar .dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }

.app { flex: 1; display: flex; flex-direction: column; padding: 6px 18px 16px; min-height: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-top .subject { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.app-top .subject .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
.app-top .prog { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.app-tabs { display: flex; gap: 6px; background: #e3e0da; padding: 4px; border-radius: 12px; margin-bottom: 16px; }
.app-tabs .t { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 8px; border-radius: 9px; color: var(--ink-2); font-family: var(--font-display); }
.app-tabs .t.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,0.08); }

/* flashcard */
.flashcard {
  background: var(--ink); color: var(--card-2);
  border-radius: 20px; padding: 22px; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.flashcard .qlabel { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); font-weight: 700; font-family: var(--font-display); }
.flashcard .q { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.15; }
.flashcard .tapline { font-size: 12px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 8px; }
.flashcard .corner { position: absolute; right: 16px; bottom: 14px; opacity: 0.5; }
.flashcard .dotrow { position: absolute; right: 18px; top: 20px; display: grid; grid-template-columns: repeat(3, 5px); gap: 4px; }
.flashcard .dotrow span { width: 5px; height: 5px; border-radius: 2px; background: var(--orange); opacity: 0.85; }

/* exam question */
.exam { flex: 1; display: flex; flex-direction: column; }
.exam .meta { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; font-family: var(--font-display); margin-bottom: 8px; }
.exam .qtext { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; margin-bottom: 14px; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--line-soft);
  font-size: 13px; font-weight: 600;
}
.opt .k { width: 22px; height: 22px; flex: none; border-radius: 6px; background: #e3e0da; display: grid; place-items: center; font-weight: 800; font-size: 12px; font-family: var(--font-display); }
.opt.correct { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 9%, #fff); }
.opt.correct .k { background: var(--orange); color: #fff; }
.exam .check { margin-top: 14px; text-align: center; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; padding: 12px; border-radius: 12px; font-size: 14px; }

/* glow behind phone */
.phone-stage .glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange) 55%, transparent), transparent 65%);
  filter: blur(10px); z-index: -1;
}

/* ============================================================
   METHOD (two steps)
   ============================================================ */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.step-card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 22px; padding: 38px 36px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.step-card .num { margin-bottom: 6px; }
.step-card h3 { font-size: 30px; text-transform: uppercase; }
.step-card p { color: var(--ink-2); margin: 0; font-size: 17px; }
.step-card .tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.step-card .ill {
  margin-top: 8px; border-radius: 14px; border: 1px solid var(--line-soft);
  background: var(--card-2); padding: 18px; min-height: 132px;
}
.connector { display: grid; place-items: center; }

/* mini flashcard illustration in step card */
.mini-card { background: var(--ink); color: var(--card-2); border-radius: 12px; padding: 14px 16px; }
.mini-card .l { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); font-weight: 700; font-family: var(--font-display); }
.mini-card .q { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-top: 4px; }
.mini-opt { display: flex; align-items: center; gap: 9px; background: var(--card-2); border: 1px solid var(--line-soft); border-radius: 9px; padding: 8px 10px; font-size: 12px; font-weight: 600; }
.mini-opt + .mini-opt { margin-top: 7px; }
.mini-opt .k { width: 18px; height: 18px; border-radius: 5px; background: #e3e0da; display: grid; place-items: center; font-size: 10px; font-weight: 800; font-family: var(--font-display); }
.mini-opt.correct { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 9%, var(--card-2)); }
.mini-opt.correct .k { background: var(--orange); color: #fff; }

/* ============================================================
   FEATURES strip
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.feat {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 18px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.feat .ic { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--orange) 14%, var(--card)); display: grid; place-items: center; }
.feat .ic svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 2; }
.feat h3 { font-size: 21px; }
.feat p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* ============================================================
   PRODUCT showcase
   ============================================================ */
.product-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.product-phones { display: flex; justify-content: center; gap: 26px; position: relative; }
.product-phones .phone { width: 270px; }
.product-phones .phone:nth-child(1) { transform: translateY(22px) rotate(-4deg); }
.product-phones .phone:nth-child(2) { transform: translateY(-10px) rotate(3deg); z-index: 2; }
.product-list { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.product-list li { list-style: none; display: flex; gap: 16px; align-items: flex-start; }
.product-list .b { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--orange); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; margin-top: 2px; }
.product-list h3 { font-size: 20px; margin-bottom: 4px; text-transform: none; }
.product-list p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  background: var(--ink); color: var(--card-2);
  border-radius: 30px; padding: 72px 60px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta .dotfield { position: absolute; inset: 0; opacity: 0.08; pointer-events: none;
  background-image: radial-gradient(circle, #fff 1.4px, transparent 1.6px); background-size: 20px 20px; }
.cta h2 { font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; color: #fff; position: relative; }
.cta p { color: rgba(255,255,255,0.72); font-size: 19px; margin: 18px 0 0; position: relative; }
.cta .right { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: relative; }
.cta .badge { background: var(--card-2); color: var(--ink); }
.cta .badge:hover { background: #fff; }
.cta .word-c { width: 220px; opacity: 0.9; }
.cta .signup-btn { font-size: 18px; padding: 16px 30px; position: relative; }
.cta .signin-note { color: rgba(255,255,255,0.72); font-size: 16px; font-weight: 600; margin: 6px 0 0; position: relative; }
.cta .signin-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cta .signin-note a:hover { color: var(--orange-200); }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site {
  padding: 60px 0 50px;
  border-top: 1px solid var(--line-soft);
}
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-grid img.fwm { height: 24px; width: auto; margin-bottom: 16px; }
.foot-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--ink-2); font-weight: 600; padding: 4px 0; font-size: 15px; }
.foot-col a:hover { color: var(--ink); }
.foot-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; font-weight: 600; }

/* accent intensity */
.acc-only-bold { display: none !important; }
body[data-accent="bold"] .acc-only-bold { display: flex !important; }
body[data-accent="bold"] #hero-c .dotfield { opacity: 0.26; }
body[data-accent="bold"] .cta .dotfield { opacity: 0.15; }

/* reveal on load */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav-links { display: none; }
  #hero-a .grid { grid-template-columns: 1fr; gap: 12px; padding-bottom: 60px; }
  #hero-a .phone-stage { margin-top: 30px; }
  #hero-c .grid { grid-template-columns: 1fr; }
  #hero-c .panel { border-radius: 22px; }
  #hero-c .phone-stage { padding: 40px 0 0; }
  .method-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta { grid-template-columns: 1fr; padding: 48px 32px; }
  .section-pad { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .nav-inner { height: 64px; }
  .phone { width: 260px; }
  .product-phones { flex-direction: column; align-items: center; }
  .product-phones .phone:nth-child(1) { transform: none; }
  .product-phones .phone:nth-child(2) { transform: none; }
  #hero-b .word { width: 92%; }
}
