/* ============================================================
   Balnced marketing site
   Design system mirrored from the app (see WEBSITE_HANDOFF.md)
   Editorial layout, light + dark themes, CSS-only motion.
   ============================================================ */

:root {
  color-scheme: light;

  --bg: #F4F6FC;
  --text: #1B2440;
  --muted: #6A7599;
  --faint: #A6B1CB;
  --card: #FFFFFF;

  --hairline: rgba(27, 36, 64, 0.1);
  --shadow-img: 0 2px 5px rgba(27, 36, 64, 0.1), 0 14px 28px rgba(27, 36, 64, 0.16), 0 44px 88px rgba(27, 36, 64, 0.3);

  --header-bg: rgba(244, 246, 252, 0.75);
  --header-border: rgba(27, 36, 64, 0.06);

  --ghost-bg: rgba(255, 255, 255, 0.7);
  --ghost-border: rgba(27, 36, 64, 0.1);
  --ghost-hover: #FFFFFF;

  --grad-a: #3FB6AC;
  --grad-b: #8CDCC8;
  --win: #18C08A;
  --setback: #FF7A5C;
  --steady: #5BA8F5;
  --chart-teal: #2FB0A2;
  --mint: #46D2AC;
  --lavender: #8B93F8;
  --baseline: #9AA3C4;

  --ic-teal: #1F8E82;
  --ic-blue: #2B6FBF;
  --ic-mint: #109468;
  --ic-lavender: #5A63D8;
  --ic-orange: #D65B3F;

  --font: "Nunito", -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.2, 0.8, 0.3, 1);
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0B0C11;
  --text: #EDEEF3;
  --muted: #9BA0AE;
  --faint: #6C7280;
  --card: #1F2127;

  --hairline: rgba(255, 255, 255, 0.12);
  --shadow-img: 0 2px 5px rgba(0, 0, 0, 0.45), 0 16px 32px rgba(0, 0, 0, 0.55), 0 48px 96px rgba(0, 0, 0, 0.7);

  --header-bg: rgba(11, 12, 17, 0.75);
  --header-border: rgba(255, 255, 255, 0.06);

  --ghost-bg: rgba(255, 255, 255, 0.06);
  --ghost-border: rgba(255, 255, 255, 0.14);
  --ghost-hover: rgba(255, 255, 255, 0.11);

  --ic-teal: #4ED4C4;
  --ic-blue: #7FB8F8;
  --ic-mint: #46D2AC;
  --ic-lavender: #A9AFFA;
  --ic-orange: #FF9A82;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--chart-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--steady);
  outline-offset: 3px;
  border-radius: 6px;
}

.num, .price { font-variant-numeric: tabular-nums; }

.only-dark { display: none; }
[data-theme="dark"] .only-light { display: none; }
[data-theme="dark"] .only-dark { display: block; }

/* ============================================================
   MOTION
   All animations are CSS-only so they play with or without
   JavaScript. Content is never hidden unless its animation is
   actively running, and prefers-reduced-motion disables it all.
   ============================================================ */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drawLine {
  from { stroke-dashoffset: 1600; }
  to { stroke-dashoffset: 0; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bloomIn {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulseRing {
  0% { opacity: 0.55; transform: scale(0.5); }
  70% { opacity: 0; transform: scale(1.9); }
  100% { opacity: 0; transform: scale(1.9); }
}
@keyframes floatPhone {
  from { translate: 0 0; }
  to { translate: 0 -14px; }
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); opacity: 0.85; }
  to { transform: translate(-36px, -26px) scale(1.18); opacity: 1; }
}

/* Scroll-driven reveals (CSS only, in browsers that support it).
   The JS fallback in site.js covers the rest. */
@supports (animation-timeline: view()) {
  .story-row, .feature, .privacy-item, .widget-img, .trio-figure,
  .faq-item, .pricing-solo, .final-cta .appicon {
    animation: riseIn 0.9s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 5% entry 45%;
  }
}
.revealed {
  animation: riseIn 0.7s var(--ease-out) backwards;
  animation-delay: var(--reveal-delay, 0s);
}

/* ---------- Corner glow background (signature, ambient drift) ---------- */

.glow-canvas {
  position: relative;
  isolation: isolate;
}
.glow-canvas::before,
.glow-canvas::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}
.glow-canvas::before {
  width: 640px; height: 640px;
  right: -220px; bottom: -220px;
  background: radial-gradient(circle, rgba(63, 182, 172, 0.38), rgba(63, 182, 172, 0) 70%);
  animation: glowDrift 12s ease-in-out infinite alternate;
}
.glow-canvas::after {
  width: 480px; height: 480px;
  left: -200px; top: -160px;
  background: radial-gradient(circle, rgba(139, 147, 248, 0.2), rgba(139, 147, 248, 0) 70%);
  animation: glowDrift 17s ease-in-out infinite alternate-reverse;
}
[data-theme="dark"] .glow-canvas::before {
  background: radial-gradient(circle, rgba(63, 182, 172, 0.24), rgba(63, 182, 172, 0) 70%);
}
[data-theme="dark"] .glow-canvas::after {
  background: radial-gradient(circle, rgba(139, 147, 248, 0.14), rgba(139, 147, 248, 0) 70%);
}

/* ---------- Layout ---------- */

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

section { padding: 110px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chart-teal);
  margin-bottom: 16px;
}

h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin-top: 18px;
}

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.centered .lede { margin-left: auto; margin-right: auto; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--header-border);
  transition: background-color 0.3s ease;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav .capsule-small { flex: none; }

.theme-toggle {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--ghost-border);
  background: var(--ghost-bg);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}
.theme-toggle:hover { background: var(--ghost-hover); color: var(--text); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---------- Capsules ---------- */

.capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease, background-color 0.2s ease;
}
.capsule:hover { text-decoration: none; transform: translateY(-2px); }
.capsule:active { transform: translateY(0) scale(0.98); }

.capsule-primary {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(63, 182, 172, 0.35);
}
.capsule-primary:hover { box-shadow: 0 12px 30px rgba(63, 182, 172, 0.48); color: #FFFFFF; }

.capsule-ghost {
  background: var(--ghost-bg);
  color: var(--text);
  border: 1px solid var(--ghost-border);
}
.capsule-ghost:hover { background: var(--ghost-hover); color: var(--text); }

.capsule-small { padding: 9px 20px; font-size: 0.9rem; }

/* ---------- Icons ---------- */

.icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero ---------- */

.hero { padding: 80px 0 0; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-lockup { width: min(300px, 70%); height: auto; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }

.hero-privacy-line {
  margin-top: 24px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot-win { width: 8px; height: 8px; border-radius: 50%; background: var(--win); flex: none; }

/* Hero entrance: pure CSS, plays on load, no JS required. */
.hero-copy > * { animation: riseIn 0.8s var(--ease-out) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.38s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.52s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.66s; }
.hero-phone { animation: riseIn 1.1s var(--ease-out) 0.45s backwards; }

/* Official App Store badge */
.appstore-link { display: inline-flex; transition: transform 0.18s var(--ease-out); }
.appstore-link:hover { transform: translateY(-2px); }
.appstore-link img { height: 56px; width: auto; }

/* Hero chart strip: draws itself on load, dot keeps pulsing. */
.hero-chart {
  margin-top: 64px;
  width: 100%;
  display: block;
}
.hero-chart svg { width: 100%; height: auto; display: block; }

.chart-line {
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1600;
  animation: drawLine 2.8s cubic-bezier(0.3, 0, 0.2, 1) 0.5s backwards;
}
.chart-glow {
  fill: none;
  stroke: var(--chart-teal);
  stroke-width: 10;
  stroke-linecap: round;
  opacity: 0.16;
  filter: blur(6px);
  stroke-dasharray: 1600;
  animation: drawLine 2.8s cubic-bezier(0.3, 0, 0.2, 1) 0.5s backwards;
}
.chart-area {
  fill: url(#areaGrad);
  animation: fadeIn 1.4s ease 2.2s backwards;
}
.chart-baseline {
  stroke: var(--baseline);
  stroke-width: 2;
  stroke-dasharray: 7 8;
  opacity: 0.8;
}
.chart-label { fill: var(--baseline); font-family: var(--font); font-size: 13px; font-weight: 700; }
.chart-dot-ring { fill: none; stroke: var(--chart-teal); stroke-width: 3; }
.chart-dot-core { fill: var(--bg); stroke: var(--chart-teal); stroke-width: 3; }
.chart-end {
  transform-origin: center;
  transform-box: fill-box;
  animation: bloomIn 0.8s cubic-bezier(0.2, 1.4, 0.4, 1) 2.9s backwards;
}
.chart-pulse {
  fill: none;
  stroke: var(--chart-teal);
  stroke-width: 3;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: pulseRing 3s ease-out 3.6s infinite;
}

/* ---------- Phone mockups ---------- */

.phone {
  width: 300px;
  border-radius: 52px;
  background: #10131C;
  padding: 12px;
  box-shadow: var(--shadow-img);
  margin: 0 auto;
}
[data-theme="dark"] .phone { background: #23262F; }
.phone img { border-radius: 40px; width: 100%; height: auto; }
.phone-lg { width: 340px; }
.phone-md { width: 300px; }

.hero-phone { position: relative; }
.hero-phone .phone {
  rotate: 2.5deg;
  animation: floatPhone 5.5s ease-in-out 1.6s infinite alternate;
}

/* ---------- The story (how it works, editorial rows) ---------- */

.story { display: grid; gap: 120px; }
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-row:nth-child(even) .story-copy { order: 2; }
.story-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.story-copy p { color: var(--muted); font-size: 1.08rem; max-width: 44ch; }
.story-media .phone { margin: 0 auto; }
.story-row:nth-child(odd) .story-media .phone { rotate: -2deg; }
.story-row:nth-child(even) .story-media .phone { rotate: 2deg; }

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 15px;
  margin-bottom: 18px;
}
.tag-move { background: rgba(47, 176, 162, 0.13); color: var(--ic-teal); }
.tag-win { background: rgba(24, 192, 138, 0.12); color: var(--ic-mint); }
.tag-setback { background: rgba(255, 122, 92, 0.13); color: var(--ic-orange); }
.tag-level { background: rgba(91, 168, 245, 0.14); color: var(--ic-blue); }
.tag-chain { background: rgba(139, 147, 248, 0.16); color: var(--ic-lavender); }

/* ---------- Privacy (open section, faint climbing graph behind) ---------- */

.privacy-section { position: relative; overflow: hidden; }
.privacy-bg {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 78%;
  pointer-events: none;
  z-index: -1;
}
.privacy-bg-line {
  stroke: url(#pbgLine);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.22;
}
.privacy-bg-area { fill: url(#pbgArea); }
.privacy-bg-baseline {
  stroke: var(--baseline);
  stroke-width: 1.5;
  stroke-dasharray: 6 9;
  opacity: 0.22;
}
[data-theme="dark"] .privacy-bg-line { opacity: 0.16; }

/* The background line draws itself as the section scrolls into view
   (browsers without scroll-driven animation just show it fully drawn). */
@supports (animation-timeline: view()) {
  .privacy-bg-line {
    stroke-dasharray: 1800;
    animation: drawLine2 1.4s linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 55%;
  }
}
@keyframes drawLine2 {
  from { stroke-dashoffset: 1800; }
  to { stroke-dashoffset: 0; }
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  margin-top: 24px;
}
.privacy-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.privacy-item p { color: var(--muted); font-size: 0.92rem; }
.privacy-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(47, 176, 162, 0.13);
  color: var(--ic-teal);
  margin-bottom: 16px;
}
.privacy-footnote {
  margin-top: 56px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Features (unboxed editorial grid) ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.fi-teal { background: rgba(47, 176, 162, 0.13); color: var(--ic-teal); }
.fi-blue { background: rgba(91, 168, 245, 0.14); color: var(--ic-blue); }
.fi-mint { background: rgba(70, 210, 172, 0.14); color: var(--ic-mint); }
.fi-lavender { background: rgba(139, 147, 248, 0.14); color: var(--ic-lavender); }
.fi-orange { background: rgba(255, 122, 92, 0.13); color: var(--ic-orange); }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Widgets ---------- */

.widgets-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.widgets-stack { display: grid; gap: 24px; }
.widget-img {
  width: 100%;
  height: auto;
  max-width: 480px;
  justify-self: center;
  filter: drop-shadow(0 3px 6px rgba(27, 36, 64, 0.1)) drop-shadow(0 28px 52px rgba(27, 36, 64, 0.3));
}
[data-theme="dark"] .widget-img {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 30px 56px rgba(0, 0, 0, 0.68));
}
.widgets-stack .widget-img:nth-child(2) { transform: translateX(20px); }

/* ---------- Make it yours (themes showcase) ---------- */

.trio-figure {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-img);
}
.trio-figure img { width: 100%; height: auto; display: block; }

/* ---------- Pricing (single editorial statement) ---------- */

.pricing-solo {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.pricing-solo .lede { margin-left: auto; margin-right: auto; }
.terms-list {
  list-style: none;
  margin: 44px 0;
  text-align: left;
}
.terms-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 4px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.98rem;
}
.terms-list li:last-child { border-bottom: 1px solid var(--hairline); }
.terms-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--win);
  flex: none;
  margin-top: 9px;
}
.subscription-terms {
  max-width: 720px;
  margin: 44px auto 0;
  font-size: 0.85rem;
  color: var(--faint);
  text-align: center;
}

/* ---------- FAQ (divider list, no boxes) ---------- */

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--chart-teal);
  transition: transform 0.25s var(--ease-out);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 4px 24px; color: var(--muted); font-size: 0.98rem; max-width: 60ch; }

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; padding-bottom: 130px; }
.final-cta .lede { margin: 16px auto 0; }
.final-cta .hero-ctas { justify-content: center; }
.final-cta .appicon {
  width: 92px;
  border-radius: 23px;
  margin: 0 auto 28px;
  box-shadow: 0 3px 7px rgba(27, 36, 64, 0.12), 0 20px 44px rgba(27, 36, 64, 0.28);
}
[data-theme="dark"] .final-cta .appicon { box-shadow: 0 3px 7px rgba(0, 0, 0, 0.45), 0 22px 48px rgba(0, 0, 0, 0.65); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--header-border);
  padding: 44px 0 52px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.footer-row img { height: 22px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 20px; list-style: none; margin-left: auto; }
.footer-links a { color: var(--muted); font-weight: 700; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { margin-top: 18px; color: var(--faint); }

/* ---------- Legal / support article pages (plain editorial) ---------- */

.article-page { padding: 72px 0 110px; }
.article { max-width: 680px; margin: 0 auto; }
.article h1 { font-size: 2.2rem; margin-bottom: 6px; }
.article .updated {
  color: var(--faint);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
}
.article h2 {
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--chart-teal);
  margin: 36px 0 8px;
}
.article p { color: var(--muted); margin-bottom: 12px; }
.article ul { margin: 4px 0 14px 2px; list-style: none; display: grid; gap: 8px; }
.article li { color: var(--muted); display: flex; gap: 10px; }
.article li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--chart-teal);
  flex: none;
  margin-top: 9px;
}

.support-cards { max-width: 680px; margin: 0 auto 56px; }
.support-contact { text-align: center; padding-bottom: 48px; border-bottom: 1px solid var(--hairline); }
.support-contact h1 { margin-bottom: 8px; }
.support-contact p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }
.support-email-line { font-size: 0.9rem; color: var(--faint); margin-top: 16px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  section { padding: 84px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-phone .phone { rotate: none; }
  .story { gap: 84px; }
  .story-row { grid-template-columns: 1fr; gap: 36px; }
  .story-row:nth-child(even) .story-copy { order: 0; }
  .story-row .story-media .phone { rotate: none; }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 44px 36px; }
  .widgets-grid { grid-template-columns: 1fr; gap: 40px; }
  .widgets-stack .widget-img:nth-child(2) { transform: none; }
  .nav-links { display: none; }
  .nav .theme-toggle { margin-left: auto; }
}

@media (max-width: 560px) {
  section { padding: 68px 0; }
  .privacy-grid, .features { grid-template-columns: 1fr; }
  .phone-lg { width: 290px; }
  .phone-md { width: 270px; }
  .hero-ctas .capsule { width: 100%; }
}
