/* ==========================================================================
   Alarm Buster — shared stylesheet
   ========================================================================== */

:root {
  --bg: #FBF1DE;
  --bg-soft: #FFF7E8;
  --ink: #14110D;
  --ink-soft: #5C5750;
  --orange: #F5A025;
  --orange-deep: #E7821B;
  --red: #FF4D3A;
  --red-soft: #FF6E4F;
  --card: #FFFFFF;
  --line: rgba(20, 17, 13, 0.08);
  --shadow: 0 10px 30px rgba(231, 130, 27, 0.08), 0 2px 8px rgba(20, 17, 13, 0.04);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   Nav
   ========================================================================== */

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(251, 241, 222, 0.85);
  border-bottom: 1px solid var(--line);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #FFB347 0%, #FF6E4F 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(255, 110, 79, 0.3);
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.nav-cta:hover { background: #2a2520; }

/* ==========================================================================
   Buttons & shared section bits
   ========================================================================== */

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 16px;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, #FF4D3A, #F5A025);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 77, 58, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 77, 58, 0.45); }
.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: #fff; }

/* ==========================================================================
   Index — Hero
   ========================================================================== */

.hero {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 138, 76, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1a1410 0%, #2d1f15 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px rgba(255, 110, 79, 0.35), 0 8px 20px rgba(20, 17, 13, 0.15);
  position: relative;
}
.hero-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg, #FFB347, #FF4D3A);
  z-index: -1;
  filter: blur(12px);
  opacity: 0.6;
}
.hero-icon svg { width: 56px; height: 56px; }

h1.hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 24px;
}
h1.hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, #FF6E4F, #F5A025);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* Hero phone mockup — namespaced under .hero-mockup so vars don't leak */
.hero-mockup {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  font-family: 'Inter Tight', system-ui, sans-serif;
  --pi: #1A1614;
  --pi2: #5A524C;
  --pt: oklch(0.72 0.17 50);
  --pts: oklch(0.66 0.19 45);
}
.hero-mockup .phone-stage {
  position: relative;
  width: 380px;
  height: 780px;
  transform-origin: top center;
}
.hero-mockup .feature-card {
  position: absolute;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 11px 14px 11px 11px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 1px 2px rgba(40,30,20,.06), 0 14px 28px -12px rgba(40,30,20,.28);
  border: 1px solid rgba(234,223,207,0.7);
  width: 300px;
  z-index: 5;
  left: 50%;
}
.hero-mockup .feature-card .icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.hero-mockup .feature-card .title {
  font-weight: 700; font-size: 14px;
  color: var(--pi); letter-spacing: -0.01em;
}
.hero-mockup .feature-card .sub {
  font-size: 12px; color: var(--pi2);
  margin-top: 1px; line-height: 1.3;
}
.hero-mockup .fc-1 { top: 383px; transform: translateX(-50%); }
.hero-mockup .fc-1 .icon { background: oklch(0.90 0.10 88); color: var(--pi); }
.hero-mockup .fc-2 { top: 463px; transform: translateX(-50%); }
.hero-mockup .fc-2 .icon { background: oklch(0.70 0.18 30); }
.hero-mockup .fc-3 { top: 543px; transform: translateX(-50%); }
.hero-mockup .fc-3 .icon { background: #1F1A18; }

.hero-mockup .phone {
  width: 380px; height: 780px; border-radius: 60px;
  background: conic-gradient(from 130deg at 50% 50%,
    #1a1a1a 0deg, #3a3a3a 35deg, #4a4a4a 70deg, #2a2a2a 110deg,
    #0a0a0a 150deg, #2a2a2a 190deg, #444444 230deg, #383838 270deg,
    #1a1a1a 320deg, #1a1a1a 360deg);
  padding: 7px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.5),
    0 70px 90px -30px rgba(40,30,20,.32),
    0 30px 50px -20px rgba(40,30,20,.22),
    0 6px 14px -8px rgba(40,30,20,.25);
  isolation: isolate;
}
.hero-mockup .phone::before {
  content: ""; position: absolute; inset: 4px; border-radius: 56px;
  background: linear-gradient(160deg, rgba(255,255,255,.45), rgba(255,255,255,0) 30%, rgba(0,0,0,.35) 75%);
  pointer-events: none; z-index: 1;
}
.hero-mockup .phone::after {
  content: ""; position: absolute; inset: 7px; border-radius: 53px;
  background: #0a0a0a; z-index: 0;
}
.hero-mockup .btn-side {
  position: absolute;
  background: linear-gradient(90deg, #0e0e0e 0%, #4a4a4a 40%, #5a5a5a 55%, #2c2c2c 80%, #0a0a0a 100%);
  border-radius: 1.5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.4);
  z-index: 2;
}
.hero-mockup .silent  { left: -2.5px; top: 102px; width: 4px; height: 30px; }
.hero-mockup .vol-up  { left: -2.5px; top: 152px; width: 4px; height: 56px; }
.hero-mockup .vol-dn  { left: -2.5px; top: 218px; width: 4px; height: 56px; }
.hero-mockup .pwr     { right: -2.5px; top: 178px; width: 4px; height: 96px; }
.hero-mockup .cam-ctrl{ right: -2.5px; top: 290px; width: 4px; height: 38px;
                        background: linear-gradient(90deg, #050505 0%, #3a3a3a 50%, #050505 100%); }

.hero-mockup .screen {
  width: 100%; height: 100%;
  border-radius: 50px;
  background: #FFF1DD;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.85), inset 0 0 0 3px rgba(255,255,255,.05);
}
.hero-mockup .screen::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.10) 100%);
  pointer-events: none; z-index: 10; mix-blend-mode: screen;
}
.hero-mockup .status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 30px 6px;
  font-weight: 600; font-size: 15px;
  color: var(--pi); z-index: 2;
}
.hero-mockup .status-icons { display: flex; align-items: center; gap: 6px; }
.hero-mockup .dynamic-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 122px; height: 36px; background: #050505;
  border-radius: 999px; z-index: 3;
  box-shadow: inset 0 0 0 1px #1a1a1a, inset 0 1px 1px rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 10px;
}
.hero-mockup .dynamic-island::before {
  content: ""; width: 9px; height: 9px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #2a3340 0%, #0a0e14 60%, #000 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.hero-mockup .screen-body {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 28px 28px; text-align: center;
}
.hero-mockup .screen-headline {
  margin: 0; font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 42px; line-height: 1.04; color: var(--pi); letter-spacing: -0.01em;
}
.hero-mockup .screen-headline .ital { font-style: italic; color: var(--pts); }
.hero-mockup .screen-sub {
  margin: 18px 0 0; font-size: 14px; line-height: 1.5;
  color: var(--pi2); max-width: 26ch;
}
.hero-mockup .screen-cta {
  margin-top: auto; width: 100%;
  background: var(--pt); color: var(--pi);
  padding: 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: none;
  cursor: default;
  pointer-events: none;
}
.hero-mockup .home-indicator {
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 5px; border-radius: 999px;
  background: var(--pi); opacity: 0.85;
}

/* ==========================================================================
   Index — Sections
   ========================================================================== */

section.block { padding: 100px 0; }

h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 20px;
}
h2 em {
  font-style: italic;
  color: var(--red);
}
.section-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 600px;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--card);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(231, 130, 27, 0.15); }
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.pillar-icon svg { width: 28px; height: 28px; color: #fff; }
.pillar-icon.yellow { background: linear-gradient(135deg, #FFC861, #F5A025); }
.pillar-icon.orange { background: linear-gradient(135deg, #FF8A4C, #FF4D3A); }
.pillar-icon.dark { background: linear-gradient(135deg, #2a201a, #14110d); }
.pillar h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.pillar p { color: var(--ink-soft); font-size: 15px; }

/* Heavy Sleeper feature block */
.feature {
  background: linear-gradient(135deg, #14110d 0%, #2d1f15 100%);
  border-radius: 32px;
  padding: 80px 64px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 77, 58, 0.4), transparent 60%);
  pointer-events: none;
}
.feature h2 { color: #fff; position: relative; }
.feature h2 em { color: var(--orange); }
.feature p { color: rgba(255, 255, 255, 0.7); font-size: 17px; margin-bottom: 32px; position: relative; }
.feature-list { list-style: none; position: relative; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.feature-list li:first-child { border-top: none; }
.feature-list .dot {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #FF4D3A, #F5A025);
  flex-shrink: 0;
  display: grid; place-items: center;
  margin-top: 1px;
}
.feature-list .dot svg { width: 12px; height: 12px; color: #fff; }
.feature-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  position: relative;
}
.toggle-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-label { font-size: 15px; }
.toggle-label small { display: block; font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.toggle {
  width: 48px; height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF4D3A, #F5A025);
  position: relative;
}
.toggle::after {
  content: '';
  position: absolute;
  right: 3px; top: 3px;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
}
.toggle.off { background: rgba(255,255,255,0.15); }
.toggle.off::after { left: 3px; right: auto; }

/* Missions grid */
.missions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.mission {
  background: var(--card);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.2s;
}
.mission:hover { transform: translateY(-3px); }
.mission-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin: 0 auto 12px;
}
.mission-icon svg { width: 22px; height: 22px; }
.mission-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.mission-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }

.mi-blue { background: #E5F0FF; color: #2563EB; }
.mi-red { background: #FFE5E0; color: #FF4D3A; }
.mi-purple { background: #F0E5FF; color: #8B5CF6; }
.mi-cyan { background: #DBF2FA; color: #0891B2; }
.mi-green { background: #E0F5E0; color: #16A34A; }
.mi-indigo { background: #E5E7FF; color: #4F46E5; }
.mi-mint { background: #D9F5E8; color: #059669; }
.mi-pink { background: #FFE0EC; color: #EC4899; }
.mi-teal { background: #D9F2EF; color: #0D9488; }
.mi-rose { background: #FFE0E5; color: #E11D48; }

/* Streak block */
.streak {
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.streak-visual { text-align: center; }
.streak-flame {
  width: 180px; height: 180px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #FF6E4F, #F5A025);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 30px 60px rgba(255, 110, 79, 0.4);
  position: relative;
}
.streak-flame svg { width: 90px; height: 90px; color: #fff; }
.streak-num { font-family: 'Instrument Serif', serif; font-size: 96px; line-height: 1; }
.streak-num em { font-style: italic; color: var(--red); }
.streak-label { font-size: 18px; color: var(--ink-soft); margin-top: 8px; }

/* Final CTA */
.final {
  text-align: center;
  padding: 120px 0;
  position: relative;
}
.final h2 { margin-bottom: 28px; }

/* ==========================================================================
   Privacy page
   ========================================================================== */

.privacy-hero {
  text-align: center;
  padding: 80px 0 40px;
  position: relative;
}
.privacy-hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 16px;
}
.privacy-hero h1 em {
  font-style: italic;
  background: linear-gradient(90deg, #FF6E4F, #F5A025);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.updated { font-size: 14px; color: var(--ink-soft); }

.tldr {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin: 48px auto;
}
.tldr h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.tldr h2 em { font-style: italic; color: var(--red); }
.tldr-list { list-style: none; }
.tldr-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  color: var(--ink-soft);
}
.tldr-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #FF4D3A, #F5A025);
  display: grid; place-items: center;
  margin-top: 2px;
}
.tldr-list .check svg { width: 12px; height: 12px; color: #fff; }

article {
  padding: 32px 0 80px;
  line-height: 1.6;
}
article h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  line-height: 1.1;
}
article h2:first-child { margin-top: 0; }
article h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
  letter-spacing: -0.005em;
}
article p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 16px;
}
article ul {
  color: var(--ink-soft);
  margin: 0 0 16px 22px;
}
article ul li {
  margin-bottom: 8px;
  font-size: 16px;
}
article a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 77, 58, 0.3);
  font-weight: 500;
}
article a:hover { border-bottom-color: var(--red); }
article strong { color: var(--ink); font-weight: 600; }

.callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--orange);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}
.callout p { margin: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
tr:last-child td { border-bottom: none; }
td { color: var(--ink-soft); }
td:first-child { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.footer-links a:hover { color: var(--ink); }
.copy { color: var(--ink-soft); font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .feature, .streak { padding: 64px 48px; gap: 48px; }
  .missions { grid-template-columns: repeat(4, 1fr); }
  section.block { padding: 84px 0; }
  .final { padding: 96px 0; }
  h1.hero-title { font-size: clamp(44px, 7vw, 72px); }
  article { padding: 24px 0 64px; }
  .privacy-hero { padding: 64px 0 32px; }
}

@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
  .feature, .streak { grid-template-columns: 1fr; gap: 40px; padding: 56px 40px; }
  .missions { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 64px 0 40px; }
  .hero-mockup { margin-top: 56px; }
  .hero-mockup .phone-stage { transform: scale(0.85); margin-bottom: -117px; }
}

@media (max-width: 720px) {
  .privacy-hero { padding: 48px 0 16px; }
  .privacy-hero h1 { font-size: 44px; }
  article h2 { font-size: 26px; margin: 44px 0 12px; }
  .tldr { padding: 24px; margin: 32px auto; }
  .tldr h2 { font-size: 24px; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .missions { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature, .streak { padding: 44px 24px; gap: 32px; border-radius: 24px; }
  .feature-visual { padding: 24px; }
  .toggle-row { padding: 14px 0; }
  section.block { padding: 64px 0; }
  .final { padding: 72px 0; }
  .hero { padding: 48px 0 32px; }
  .hero-icon { width: 80px; height: 80px; margin-bottom: 24px; }
  .hero-icon svg { width: 46px; height: 46px; }
  h1.hero-title { font-size: 40px; line-height: 1.05; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .btn { padding: 14px 22px; font-size: 15px; }
  .pillar { padding: 28px 24px; }
  .pillar-icon { width: 48px; height: 48px; }
  .pillar-icon svg { width: 24px; height: 24px; }
  .pillar h3 { font-size: 20px; }
  .streak-flame { width: 140px; height: 140px; }
  .streak-flame svg { width: 70px; height: 70px; }
  .streak-num { font-size: 72px; }
  footer .container { flex-direction: column; align-items: flex-start; }
  .hero-mockup .phone-stage { transform: scale(0.65); margin-bottom: -273px; }
}

@media (max-width: 600px) {
  table { box-shadow: none; border: 1px solid var(--line); }
  table thead { display: none; }
  table, table tbody, table tr, table td { display: block; width: 100%; }
  table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--card);
  }
  table tr:last-child { border-bottom: none; }
  table td {
    padding: 6px 0;
    border-bottom: none;
    color: var(--ink-soft);
    font-size: 14px;
  }
  table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: var(--ink);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
  }
  table td:first-child { font-weight: 600; color: var(--ink); }
  table td:first-child::before { color: var(--red); }
  article ul { margin-left: 18px; }
  article ul li, article p { font-size: 15px; }
  .callout { padding: 16px 18px; }
}

@media (max-width: 400px) {
  .container, .container-narrow { padding: 0 18px; }
  .feature, .streak { padding: 36px 20px; }
  .pillar { padding: 24px 20px; }
  h1.hero-title { font-size: 36px; }
  .privacy-hero h1 { font-size: 38px; }
  article h2 { font-size: 22px; }
  .mission { padding: 18px 12px; }
  .mission-name { font-size: 13px; }
  .mission-desc { font-size: 11px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .hero-mockup .phone-stage { transform: scale(0.55); margin-bottom: -351px; }
}
