/* ─── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/Vazirmatn-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IranSans";
  src: url("../assets/IRANSansXFaNum-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IranSans";
  src: url("../assets/IRANSansXFaNum-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ─── Tokens ────────────────────────────────────────────── */
:root {
  color-scheme: light;
  --teal: #0e5e5a;
  --teal-deep: #073834;
  --teal-mid: #1a7a74;
  --teal-soft: #2a9a93;
  --gold: #c4a35a;
  --gold-soft: #d4b978;
  --ink: #0c1a1c;
  --ink-soft: #5b6776;
  --heading: #073834;
  --mist: #e7f2f1;
  --paper: #f3f5f7;
  --white: #ffffff;
  --card: #ffffff;
  --line: #e6eaef;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(243, 245, 247, 0.78);
  --nav-bg-scrolled: rgba(243, 245, 247, 0.94);
  --menu-bg: rgba(243, 245, 247, 0.98);
  --ghost-bg: rgba(255, 255, 255, 0.62);
  --hero-wash: linear-gradient(165deg, #dcebe9 0%, #f3f5f7 45%, #eef3f1 100%);
  --hero-spot-a: rgba(14, 94, 90, 0.16);
  --hero-spot-b: rgba(196, 163, 90, 0.12);
  --radius: 20px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Vazirmatn", "IranSans", sans-serif;
  --font-body: "IranSans", "Vazirmatn", sans-serif;
  --theme-meta: #0e5e5a;
}

[data-theme="dark"] {
  color-scheme: dark;
  --teal: #3daba4;
  --teal-deep: #0e5e5a;
  --teal-mid: #1f8f88;
  --teal-soft: #5bc4bd;
  --gold: #c4a35a;
  --gold-soft: #d4b978;
  --ink: #e8f0f1;
  --ink-soft: #a3b5b8;
  --heading: #f2f7f7;
  --mist: #143330;
  --paper: #0b1214;
  --white: #ffffff;
  --card: #172426;
  --line: #2a3a3c;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
  --nav-bg: rgba(11, 18, 20, 0.78);
  --nav-bg-scrolled: rgba(11, 18, 20, 0.94);
  --menu-bg: #121c1e;
  --ghost-bg: rgba(20, 51, 48, 0.55);
  --hero-wash: linear-gradient(165deg, #10201f 0%, #0b1214 42%, #0e181a 100%);
  --hero-spot-a: rgba(42, 154, 147, 0.28);
  --hero-spot-b: rgba(196, 163, 90, 0.08);
  --theme-meta: #0b1214;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--paper);
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-x: none;
}

.skip-link {
  position: absolute;
  right: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: #0e5e5a;
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── Atmosphere ────────────────────────────────────────── */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.35;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -120px;
  background: radial-gradient(circle, rgba(42, 154, 147, 0.55), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.35), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.orb-c {
  width: 280px;
  height: 280px;
  top: 48%;
  left: 40%;
  background: radial-gradient(circle, rgba(14, 94, 90, 0.18), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(40px, 30px); }
}

.nav,
.mobile-menu,
main,
.footer,
section {
  max-width: 100%;
  min-width: 0;
}

.nav,
.mobile-menu,
main,
.footer {
  position: relative;
  z-index: 1;
}

main {
  overflow-x: clip;
}

/* ─── Scroll progress ──────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(270deg, var(--gold), var(--teal-soft));
  transform-origin: right;
  pointer-events: none;
}

/* ─── Motion ────────────────────────────────────────────── */
[data-anim] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), clip-path 1s var(--ease);
}

[data-anim="up"] { transform: translate3d(0, 56px, 0); }
[data-anim="left"] { transform: translate3d(-64px, 0, 0); }
[data-anim="right"] { transform: translate3d(64px, 0, 0); }
[data-anim="scale"] { transform: scale(0.92) translate3d(0, 24px, 0); }

[data-anim].is-in {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.32s; }

[data-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-stagger].is-in > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: 0.14s; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: 0.23s; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: 0.32s; }
[data-stagger].is-in > *:nth-child(5) { transition-delay: 0.4s; }
[data-stagger].is-in > *:nth-child(6) { transition-delay: 0.48s; }
[data-stagger].is-in > *:nth-child(7) { transition-delay: 0.54s; }
[data-stagger].is-in > *:nth-child(8) { transition-delay: 0.6s; }
[data-stagger].is-in > *:nth-child(9) { transition-delay: 0.66s; }
[data-stagger].is-in > *:nth-child(10) { transition-delay: 0.72s; }

[data-stagger].is-in > * {
  opacity: 1;
  transform: none;
}

.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-split].is-in .split-word {
  opacity: 1;
  transform: none;
}

[data-parallax] {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  [data-anim],
  [data-stagger] > *,
  .split-word {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .orb,
  .device-hero,
  .device .phone,
  .bank-track,
  .mock-bars i,
  .toast,
  .ss-inst i,
  .notify-waves span,
  .cal-event,
  .cal-grid.is-swap .cal-cell {
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--nav-bg-scrolled);
  box-shadow: 0 8px 30px rgba(7, 56, 52, 0.06);
}

[data-theme="dark"] .nav.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--teal);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-brand picture,
.brand-mark picture,
.footer-brand picture,
.download-inner picture,
.lock-face picture {
  display: contents;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--mist);
  border: 1px solid var(--line);
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: var(--card);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon,
html:not([data-theme]) .theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--teal-deep);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--teal);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  background: var(--menu-bg);
  border-bottom: 1px solid var(--line);
}

.mobile-menu:not([hidden]) {
  display: flex;
}

.mobile-menu a {
  padding: 12px 8px;
  color: var(--ink-soft);
  border-radius: 12px;
}

.mobile-menu a:hover {
  background: var(--mist);
  color: var(--teal);
}

.mobile-cta {
  margin-top: 8px;
  text-align: center;
  background: var(--teal-deep) !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-deep));
  color: #fff;
  box-shadow: 0 12px 28px rgba(14, 94, 90, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(14, 94, 90, 0.36);
}

.btn-ghost {
  background: var(--ghost-bg);
  color: var(--teal);
  border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--line));
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--card);
  border-color: var(--teal);
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn svg {
  flex-shrink: 0;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 5vh, 56px) clamp(24px, 6vw, 72px) clamp(40px, 7vh, 72px);
  width: 100%;
  overflow: clip;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 72% 35%, var(--hero-spot-a), transparent 58%),
    radial-gradient(ellipse 55% 45% at 22% 65%, var(--hero-spot-b), transparent 55%),
    var(--hero-wash);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 94, 90, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 94, 90, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black, transparent);
}

.hero-glow {
  position: absolute;
  width: min(520px, 48vw);
  height: min(520px, 55vh);
  inset-inline-start: 8%;
  top: 18%;
  background: radial-gradient(circle, rgba(14, 94, 90, 0.22), transparent 68%);
  filter: blur(28px);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  flex: 0 1 34rem;
  max-width: 34rem;
}

.hero-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 4px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-mark img {
  width: clamp(52px, 6vw, 64px);
  height: clamp(52px, 6vw, 64px);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(14, 94, 90, 0.22);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--heading);
  margin-bottom: 14px;
  text-wrap: balance;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
  line-height: 1.75;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.device {
  --device-w: 264px;
  --device-scale: 1;
  position: relative;
  width: calc(var(--device-w) * var(--device-scale));
  height: calc(var(--device-w) * 19.4 / 9 * var(--device-scale));
  flex-shrink: 0;
  direction: ltr;
}

.device-hero {
  --device-scale: 1.08;
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: calc(var(--device-w) / -2);
  width: var(--device-w);
  aspect-ratio: 9 / 19.4;
  padding: 10px;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(165deg, #4a5c5e 0%, #1c282a 28%, #0e1618 72%, #070c0d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 24px 48px rgba(11, 18, 20, 0.32);
  transform: scale(var(--device-scale)) rotate(var(--tilt, 0deg));
  transform-origin: top center;
  transition: transform 0.35s var(--ease);
}

.phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #2a383a, #12191a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.phone-btn-silent {
  left: -2px;
  top: 92px;
  width: 3px;
  height: 22px;
  border-radius: 2px 0 0 2px;
}

.phone-btn-vol-up {
  left: -2px;
  top: 128px;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
}

.phone-btn-vol-down {
  left: -2px;
  top: 178px;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
}

.phone-btn-power {
  right: -2px;
  top: 148px;
  width: 3px;
  height: 64px;
  border-radius: 0 2px 2px 0;
}

.phone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  translate: -50% 0;
  width: 84px;
  height: 22px;
  background: #05090a;
  border-radius: 14px;
  z-index: 5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-island::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  translate: 0 -50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a5a6a, #0a1820 70%);
}

.phone-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #f3f5f7;
  display: flex;
  flex-direction: column;
  color: #0c1a1c;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
  direction: rtl;
  text-align: right;
}

.phone-home {
  position: absolute;
  bottom: 7px;
  left: 50%;
  translate: -50% 0;
  width: 34%;
  height: 4px;
  border-radius: 4px;
  background: rgba(12, 26, 28, 0.22);
  z-index: 4;
  pointer-events: none;
}

.phone-home-on-dark {
  background: rgba(255, 255, 255, 0.42);
}

.mock-ui {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mock-head {
  flex-shrink: 0;
  background: #0e5e5a;
  color: #fff;
  padding: 12px 14px 14px;
}

.mock-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 22px;
  font-size: 0.62rem;
  opacity: 0.92;
  margin-bottom: 10px;
  padding: 0 2px;
}

.mock-dots::before {
  content: "●●●";
  letter-spacing: 2px;
  font-size: 0.5rem;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.mock-header small {
  display: block;
  opacity: 0.75;
  font-size: 0.68rem;
}

.mock-header strong {
  font-size: 0.88rem;
}

.mock-bell {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  flex-shrink: 0;
}

.mock-bell::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid #fff;
  border-radius: 50% 50% 40% 40%;
  border-bottom: 0;
}

.mock-summary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
}

.mock-summary span {
  display: block;
  font-size: 0.68rem;
  opacity: 0.8;
}

.mock-summary strong {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mock-summary em {
  font-style: normal;
  font-size: 0.7rem;
  opacity: 0.75;
  margin-right: 4px;
}

.mock-body {
  flex: 1;
  min-height: 0;
  padding: 12px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
  flex-shrink: 0;
}

.mock-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #d4b978, #c4a35a);
  opacity: 0.9;
  transform-origin: bottom;
  animation: bar-rise 1.4s var(--ease) both;
}

.mock-bars i:nth-child(odd) {
  background: linear-gradient(180deg, #7ec8c3, #2a9a93);
}

.mock-bars i:nth-child(1) { animation-delay: 0.4s; }
.mock-bars i:nth-child(2) { animation-delay: 0.5s; }
.mock-bars i:nth-child(3) { animation-delay: 0.6s; }
.mock-bars i:nth-child(4) { animation-delay: 0.7s; }
.mock-bars i:nth-child(5) { animation-delay: 0.8s; }
.mock-bars i:nth-child(6) { animation-delay: 0.9s; }

@keyframes bar-rise {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 0.9; }
}

.mock-list {
  flex: 1;
  min-height: 0;
  background: #fff;
  color: #0c1a1c;
  border-radius: 14px;
  padding: 4px 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.mock-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 6px;
  font-size: 0.72rem;
  border-bottom: 1px solid #eef1f4;
  gap: 8px;
}

.mock-list > div:last-child {
  border-bottom: 0;
}

.phone-screen .neg { color: #d64545; font-weight: 700; }
.phone-screen .pos { color: #0f8a62; font-weight: 700; }

/* ─── Promise ───────────────────────────────────────────── */
.promise {
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(90deg, transparent, rgba(14, 94, 90, 0.08), transparent);
  border-block: 1px solid var(--line);
}

.promise p {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ─── Sections common ───────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.35;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.features,
.security,
.banks,
.workflow,
.download {
  padding: clamp(64px, 10vh, 110px) clamp(20px, 5vw, 64px);
}

/* ─── Feature stage ─────────────────────────────────────── */
.feature-stage {
  max-width: 1100px;
  margin: 0 auto;
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.feature-tabs button {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  transition: all 0.25s var(--ease);
}

.feature-tabs button:hover {
  color: var(--teal);
  border-color: var(--line);
}

.feature-tabs button[aria-selected="true"] {
  background: #0e5e5a;
  color: #fff;
  box-shadow: 0 8px 22px rgba(14, 94, 90, 0.25);
}

.feature-panels {
  position: relative;
  min-height: 320px;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 240, 239, 0.75));
  border: 1px solid rgba(14, 94, 90, 0.1);
  box-shadow: 0 20px 50px rgba(7, 56, 52, 0.08);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.feature-panel.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.feature-panel[hidden] {
  display: none;
}

.feature-panel.is-active[hidden] {
  display: grid;
}

.panel-text h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 12px;
}

.panel-text p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.panel-text ul {
  display: grid;
  gap: 10px;
}

.panel-text li {
  position: relative;
  padding-right: 18px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.panel-text li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.panel-visual {
  display: grid;
  place-items: center;
  min-height: 220px;
}

/* Visuals */
.viz-accounts {
  width: 100%;
  max-width: 280px;
  display: grid;
  gap: 12px;
}

.viz-acc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(14, 94, 90, 0.06);
}

.viz-acc span { color: var(--ink-soft); font-size: 0.9rem; }
.viz-acc b { color: var(--teal); font-size: 0.95rem; }

.viz-tx {
  width: 100%;
  max-width: 280px;
  display: grid;
  gap: 10px;
}

.viz-tx-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.viz-tx-row i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d64545;
}

.viz-tx-row i.g { background: #0f8a62; }
.viz-tx-row .pos,
.viz-tx .pos { color: #0f8a62; }

.viz-tx-import {
  margin-top: 6px;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(14, 94, 90, 0.35);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(14, 94, 90, 0.04);
}

.viz-check {
  width: 100%;
  max-width: 280px;
}

.check-leaf {
  padding: 28px 24px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(61, 90, 128, 0.12), rgba(14, 94, 90, 0.08)),
    var(--card);
  border: 1px solid rgba(61, 90, 128, 0.2);
  box-shadow: 0 16px 40px rgba(61, 90, 128, 0.12);
}

.check-leaf span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.check-leaf strong {
  display: block;
  font-size: 1.25rem;
  color: #3d5a80;
  margin-bottom: 10px;
}

.check-leaf small {
  color: var(--teal);
  font-weight: 700;
}

.viz-facility {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.fac-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(var(--teal) 0 50%, rgba(14, 94, 90, 0.12) 50% 100%);
  position: relative;
}

.fac-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--card);
}

.fac-ring span {
  position: relative;
  font-weight: 700;
  color: var(--teal);
}

.fac-meta b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.fac-meta span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.viz-tasks {
  width: 100%;
  max-width: 280px;
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.viz-tasks label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(14, 94, 90, 0.04);
  font-weight: 700;
  font-size: 0.92rem;
}

.viz-tasks input {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
}

.viz-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.viz-legend {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.viz-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.viz-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ─── Calendar band ─────────────────────────────────────── */
.calendar-band {
  margin: 24px clamp(20px, 4vw, 48px);
  padding: clamp(20px, 3vh, 28px) clamp(20px, 3vw, 36px);
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
  max-height: calc(100svh - var(--nav-h) - 32px);
  background:
    linear-gradient(120deg, #073834, #0e5e5a 55%, #156e69);
  color: #fff;
  box-shadow: 0 20px 48px rgba(7, 56, 52, 0.28);
  overflow: hidden;
  position: relative;
}

.calendar-band::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(196, 163, 90, 0.16);
  left: -50px;
  bottom: -70px;
  pointer-events: none;
}

.calendar-copy,
.cal-app {
  position: relative;
  z-index: 1;
  min-height: 0;
}

.calendar-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.35;
}

.calendar-copy p {
  opacity: 0.88;
  max-width: 28ch;
  font-size: 0.92rem;
  line-height: 1.65;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
}

.cal-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cal-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.lg-check { background: #c5d4ea; }
.lg-loan { background: #d4c8ea; }
.lg-task { background: var(--gold-soft); }

.cal-app {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 12px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  max-height: calc(100svh - var(--nav-h) - 80px);
}

.cal-toolbar {
  display: grid;
  grid-template-columns: 34px 1fr 34px auto;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.cal-nav,
.cal-today,
.cal-filters button {
  color: inherit;
}

.cal-nav {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, transform 0.2s;
}

.cal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cal-nav:active {
  transform: scale(0.94);
}

.cal-title {
  text-align: center;
  line-height: 1.15;
}

.cal-title strong {
  display: block;
  font-size: 0.98rem;
}

.cal-title span {
  font-size: 0.72rem;
  opacity: 0.8;
}

.cal-today {
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--gold);
  color: #0c1a1c;
  font-size: 0.72rem;
  font-weight: 700;
  transition: transform 0.2s, opacity 0.2s;
}

.cal-today:hover { transform: translateY(-1px); }

.cal-today.is-current {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  gap: 10px;
  align-items: stretch;
  min-height: 0;
  flex: 1;
}

.cal-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
}

.cal-weekdays {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.72;
  flex-shrink: 0;
}

.cal-weekdays span {
  padding: 2px 0;
}

.cal-weekdays .fri {
  color: #ffb4b0;
  opacity: 1;
}

.cal-grid {
  font-size: 0.78rem;
  flex: 1;
  min-height: 0;
  align-content: start;
}

.cal-cell {
  height: clamp(28px, 4.2vh, 36px);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: inherit;
  transition: background 0.2s var(--ease), color 0.2s, transform 0.2s;
  line-height: 1;
}

.cal-cell:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
}

.cal-cell:disabled {
  visibility: hidden;
}

.cal-cell.is-friday {
  color: #ffc9c6;
}

.cal-cell.is-today {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.cal-cell.is-selected {
  background: var(--gold);
  color: #0c1a1c;
  font-weight: 700;
  box-shadow: none;
}

.cal-cell.is-selected.is-friday {
  color: var(--ink);
}

.cal-cell.is-selected:hover {
  background: var(--gold-soft);
}

.cal-dots {
  display: flex;
  gap: 2px;
  height: 4px;
}

.cal-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
}

.cal-cell.is-selected .cal-dots i {
  background: var(--teal-deep) !important;
}

.cal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
  flex-shrink: 0;
}

.cal-filters button {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, color 0.2s;
}

.cal-filters button[aria-pressed="true"] {
  background: #fff;
  color: #0a4542;
}

.cal-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  padding-left: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.cal-event {
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  animation: cal-in 0.35s var(--ease) both;
  flex-shrink: 0;
}

.cal-event em {
  display: none;
}

@keyframes cal-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.cal-event b {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
}

.cal-event small {
  display: block;
  opacity: 0.8;
  font-size: 0.68rem;
  margin-top: 2px;
}

.cal-empty {
  opacity: 0.75;
  font-size: 0.78rem;
  padding: 6px 2px;
  line-height: 1.5;
}

.cal-grid.is-swap .cal-cell {
  animation: cal-in 0.28s var(--ease) both;
}

/* ─── Security ──────────────────────────────────────────── */
.security {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(14, 94, 90, 0.06), transparent),
    var(--paper);
}

.security-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sec-item {
  padding: 28px 22px;
  border-radius: 22px;
  background: transparent;
  border-top: 2px solid rgba(14, 94, 90, 0.15);
  transition: border-color 0.25s, transform 0.25s;
}

.sec-item:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
}

.sec-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(14, 94, 90, 0.08);
  color: var(--teal);
  margin-bottom: 16px;
}

.sec-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.sec-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ─── Banks ─────────────────────────────────────────────── */
.banks {
  padding-top: 40px;
  padding-bottom: 40px;
}

.bank-marquee {
  overflow: hidden;
  direction: ltr;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.bank-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.bank-track span {
  flex-shrink: 0;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ─── Workflow ──────────────────────────────────────────── */
.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: none;
}

.steps li {
  text-align: center;
  padding: 12px 8px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 18px;
  background: linear-gradient(145deg, var(--teal-mid), var(--teal-deep));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(14, 94, 90, 0.25);
}

.steps h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 28ch;
  margin: 0 auto;
}

/* ─── Download ──────────────────────────────────────────── */
.download {
  padding-top: 40px;
}

.download-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(48px, 8vw, 72px) 28px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 163, 90, 0.18), transparent 55%),
    linear-gradient(165deg, #0a3f3c, #0e5e5a 60%, #145a56);
  color: var(--white);
  box-shadow: 0 32px 70px rgba(7, 56, 52, 0.3);
}

.download-inner > picture img {
  margin: 0 auto 20px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.download-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.35;
}

.download-inner > p {
  opacity: 0.88;
  max-width: 40ch;
  margin: 0 auto 28px;
}

.download-kicker {
  color: var(--gold-soft);
  margin-bottom: 8px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.download .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.download .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.download .btn-primary {
  background: var(--gold);
  color: #0c1a1c;
  box-shadow: 0 12px 28px rgba(196, 163, 90, 0.35);
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  padding: 48px clamp(20px, 5vw, 64px) 36px;
  display: grid;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 10px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--teal);
  font-size: 1.1rem;
}

.footer-brand span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-copy {
  font-size: 0.82rem;
  color: #8a9a9c;
}

/* ─── Shared ────────────────────────────────────────────── */
.kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ─── Manifesto ───────────────────────────────────────── */
.manifesto {
  padding: clamp(72px, 14vh, 140px) clamp(24px, 8vw, 80px);
  text-align: center;
}

.manifesto-kicker {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.55;
  max-width: 16ch;
  margin: 0 auto 22px;
  color: var(--heading);
}

.manifesto-sub {
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 auto;
}

/* ─── Sticky story ─────────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: 40px clamp(20px, 5vw, 64px) 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: flex;
  justify-content: center;
}

.device-story {
  animation: none;
}

.phone-screen.story-screens {
  position: relative;
  background: #f3f5f7;
}

.story-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}

.story-screen.is-on {
  opacity: 1;
  transform: none;
}

.ss-head {
  flex-shrink: 0;
  background: #0e5e5a;
  color: #fff;
  padding: 38px 14px 14px;
}

.ss-bar {
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 0;
}

.ss-head .ss-bar:not(:last-child) {
  margin-bottom: 12px;
}

.ss-hero {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
}

.ss-hero small { display: block; opacity: 0.8; font-size: 0.68rem; }
.ss-hero b { font-size: 1.2rem; }

.ss-body {
  flex: 1;
  min-height: 0;
  padding: 12px 12px 22px;
  overflow: hidden;
  background: #f3f5f7;
  color: #0c1a1c;
}

.ss-body:has(.ss-check) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ss-body-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ss-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.ss-pills span {
  font-size: 0.66rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #5b6776;
}

.ss-pills .on {
  background: #0e5e5a;
  color: #fff;
}

.ss-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 7px;
  font-size: 0.72rem;
  color: #0c1a1c;
}

.ss-row em {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0e5e5a;
}

.ss-row em.gold { background: #c4a35a; }
.ss-row em.blue { background: #3d5a80; }
.ss-row em.green { background: #0f8a62; }

.ss-row small {
  color: #8a949e;
  font-size: 0.62rem;
  white-space: nowrap;
}

.ss-acc {
  display: flex;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: #0c1a1c;
}

.ss-acc b { color: #0e5e5a; }

.ss-hint {
  margin-top: 8px;
  font-size: 0.68rem;
  color: #5b6776;
  text-align: center;
}

.ss-sum {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  margin-bottom: 10px;
  color: #5b6776;
}

.ss-tag {
  margin-top: 6px;
  font-size: 0.68rem;
  color: #0e5e5a;
  font-weight: 700;
}

.ss-check {
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px;
  color: #0c1a1c;
}

.ss-check small { color: #5b6776; }
.ss-check b { display: block; font-size: 1.1rem; color: #3d5a80; margin: 6px 0; }
.ss-check span { display: block; font-size: 0.74rem; color: #0e5e5a; }

.ss-status {
  margin-top: 10px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(196, 163, 90, 0.2);
  color: #8a6d28;
  font-size: 0.68rem;
  font-weight: 700;
}

.ss-ring-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  color: #0c1a1c;
}

.ss-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(#0e5e5a 0 50%, rgba(14, 94, 90, 0.12) 50%);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}

.ss-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
}

.ss-ring span {
  position: relative;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0e5e5a;
}

.ss-ring-wrap small {
  display: block;
  color: #5b6776;
  font-size: 0.7rem;
}

.ss-inst {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.ss-inst i {
  height: 7px;
  border-radius: 4px;
  background: #0e5e5a;
}

.ss-inst i.off { background: rgba(14, 94, 90, 0.15); }

.ss-pie {
  display: block;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}

.ss-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.62rem;
  color: #5b6776;
}

.chapter {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.chapter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 14px;
  line-height: 1.35;
}

.chapter > p {
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 20px;
}

.chapter-list {
  display: grid;
  gap: 10px;
}

.chapter-list li {
  position: relative;
  padding-right: 18px;
  font-weight: 700;
  font-size: 0.95rem;
}

.chapter-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.chapter.is-active .kicker {
  color: var(--teal);
}

/* ─── Capability rail ─────────────────────────────────── */
.rail {
  padding: 12px 0 64px;
  overflow: hidden;
  max-width: 100%;
}

.rail-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px clamp(20px, 5vw, 64px) 20px;
  scrollbar-width: none;
}

.rail-inner::-webkit-scrollbar { display: none; }

.rail-inner article {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 140px;
  padding: 18px 22px 18px 28px;
  border-right: 1px solid var(--line);
}

.rail-inner b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--heading);
}

.rail-inner p {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* ─── Notify ────────────────────────────────────────────── */
.notify {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto clamp(48px, 8vh, 80px);
  padding: 0 clamp(20px, 5vw, 64px);
}

.notify-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 12px;
}

.notify-copy p:last-child {
  color: var(--ink-soft);
  max-width: 38ch;
}

.notify-waves {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
}

.notify-waves span {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid rgba(14, 94, 90, 0.25);
  opacity: 0;
}

.notify-waves.is-in span {
  animation: ripple 2.4s var(--ease) infinite;
}

.notify-waves.is-in span:nth-child(2) { animation-delay: 0.5s; }
.notify-waves.is-in span:nth-child(3) { animation-delay: 1s; }

@keyframes ripple {
  from { transform: scale(0.6); opacity: 0.6; }
  to { transform: scale(2.4); opacity: 0; }
}

.notify-bell {
  position: relative;
  z-index: 1;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(14, 94, 90, 0.28);
}

/* ─── Import ────────────────────────────────────────────── */
.import {
  padding: clamp(64px, 10vh, 110px) clamp(20px, 5vw, 64px);
}

.wizard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 48px;
  position: relative;
}

.wizard::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 94, 90, 0.25), transparent);
}

.wizard article {
  text-align: center;
  position: relative;
}

.wiz-num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(14, 94, 90, 0.1);
}

.wizard h3 {
  font-size: 1.05rem;
  color: var(--heading);
  margin-bottom: 8px;
}

.wizard p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.bank-stage {
  overflow: hidden;
  direction: ltr;
  max-width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.bank-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.bank-track span {
  flex-shrink: 0;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--teal);
  font-weight: 700;
}

/* ─── Life splits ─────────────────────────────────────── */
.life {
  padding: clamp(40px, 8vh, 80px) clamp(20px, 5vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto clamp(72px, 10vh, 110px);
}

.split-rev {
  direction: ltr;
}

.split-rev .split-copy {
  direction: rtl;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 12px;
  line-height: 1.35;
}

.split-copy p:last-child {
  color: var(--ink-soft);
  max-width: 36ch;
}

.viz-board,
.form-viz,
.toast-stack {
  padding: 8px;
}

.task-item {
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--card);
  border-right: 3px solid var(--teal);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(14, 94, 90, 0.07);
  transform: translateX(0);
}

.task-item.done {
  opacity: 0.55;
  border-right-color: var(--gold);
  text-decoration: line-through;
}

.task-item.warn {
  border-right-color: #d64545;
}

[data-stagger].is-in .task-item,
.viz-board.is-in .task-item {
  animation: slide-in 0.7s var(--ease) both;
}

.viz-board.is-in .task-item:nth-child(2) { animation-delay: 0.12s; }
.viz-board.is-in .task-item:nth-child(3) { animation-delay: 0.24s; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}

.form-viz {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
}

.form-title {
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}

.form-viz label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.form-viz label span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--teal);
}

.form-input {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.toast-stack {
  position: relative;
  min-height: 200px;
}

.toast {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 16px 40px rgba(14, 94, 90, 0.1);
  margin-bottom: 12px;
}

.toast-stack.is-in .t1 { animation: toast-pop 0.7s var(--ease) both; }
.toast-stack.is-in .t2 { animation: toast-pop 0.7s 0.14s var(--ease) both; }
.toast-stack.is-in .t3 { animation: toast-pop 0.7s 0.28s var(--ease) both; }

@keyframes toast-pop {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* ─── Tags ─────────────────────────────────────────────── */
.tags-band {
  padding: clamp(48px, 8vh, 90px) clamp(20px, 5vw, 64px);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.tag-cloud span {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}

.tag-cloud span:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px);
}

.tag-cloud.is-in span:nth-child(odd) { transform: translateY(-4px); }
.tag-cloud.is-in span:nth-child(even) { transform: translateY(4px); }

/* ─── Lock / security ───────────────────────────────────── */
.lock-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.lock-face {
  flex: 1;
  min-height: 0;
  background: linear-gradient(180deg, #073834, #0e5e5a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  padding: 24px 16px 28px;
}

.lock-face img { border-radius: 12px; }

.lock-dots {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.lock-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.device-lock.is-in .lock-dots i {
  animation: pin-pulse 1.6s ease-in-out infinite;
}

.device-lock.is-in .lock-dots i:nth-child(2) { animation-delay: 0.15s; }
.device-lock.is-in .lock-dots i:nth-child(3) { animation-delay: 0.3s; }
.device-lock.is-in .lock-dots i:nth-child(4) { animation-delay: 0.45s; }

@keyframes pin-pulse {
  0%, 100% { background: rgba(255, 255, 255, 0.35); transform: scale(1); }
  50% { background: var(--gold); transform: scale(1.15); }
}

.lock-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.lock-copy h3 {
  color: var(--heading);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.lock-copy p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ─── Backup ────────────────────────────────────────────── */
.backup {
  padding: clamp(64px, 10vh, 110px) clamp(20px, 5vw, 64px);
}

.backup-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.bk-node {
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--teal);
}

.bk-node.gold {
  background: var(--gold);
  color: #0c1a1c;
  border: 0;
}

.bk-path {
  width: 80px;
  height: 8px;
  overflow: visible;
}

.bk-path line {
  stroke: var(--teal);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  stroke-dashoffset: 40;
}

.backup-visual.is-in .bk-path line {
  animation: dash 1.4s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: 0; }
}

/* ─── Theme split ───────────────────────────────────────── */
.theme-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 42vh;
}

.theme-pane {
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  border: 0;
  width: 100%;
}

.theme-pane.light {
  background: linear-gradient(160deg, #eef5f4, #f7f8f6);
  color: #073834;
}

.theme-pane.dark {
  background: linear-gradient(160deg, #0b1214, #172426);
  color: #e6eef0;
}

.theme-pane:hover {
  transform: scale(1.01);
}

.theme-pane[aria-pressed="true"] {
  box-shadow: inset 0 0 0 3px var(--gold);
}

.theme-pane h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.theme-pane p {
  opacity: 0.8;
  max-width: 28ch;
}

/* ─── Audience ──────────────────────────────────────────── */
.audience {
  padding: clamp(64px, 10vh, 110px) clamp(20px, 5vw, 64px);
}

.audience-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.audience-row h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 8px;
}

.audience-row p {
  color: var(--ink-soft);
}

.audience-row article {
  border-top: 2px solid var(--gold);
  padding-top: 18px;
}

/* ─── Compare ──────────────────────────────────────────── */
.compare {
  padding: 40px clamp(20px, 5vw, 64px) clamp(64px, 10vh, 100px);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cmp-col {
  padding: 32px 28px;
  border-radius: 20px;
}

.cmp-col h3 {
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.cmp-col p { color: var(--ink-soft); }

.cmp-col.accent {
  background: linear-gradient(145deg, #073834, #0e5e5a);
  color: #fff;
  box-shadow: 0 24px 50px rgba(7, 56, 52, 0.25);
}

.cmp-col.accent h3,
.cmp-col.accent p { color: #fff; }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq {
  padding: clamp(48px, 8vh, 90px) clamp(20px, 5vw, 64px);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  color: var(--heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list details p {
  padding: 0 0 18px;
  color: var(--ink-soft);
}

/* ─── Support ───────────────────────────────────────────── */
.support {
  padding: clamp(48px, 8vh, 90px) clamp(20px, 5vw, 64px);
}

.support-wrap {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: stretch;
}

.support-aside {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.support-aside-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.support-mail {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  color: var(--teal);
  word-break: break-all;
}

.support-mail:hover {
  color: var(--teal-mid);
}

.support-aside p:last-child {
  color: var(--ink-soft);
  line-height: 1.75;
}

.support-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.support-field {
  display: grid;
  gap: 8px;
}

.support-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--heading);
}

.support-form input,
.support-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.support-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.support-form input:focus,
.support-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-color: transparent;
}

.support-form .hp {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.support-status {
  min-height: 1.5em;
  font-size: 0.9rem;
}

.support-status.is-ok {
  color: var(--teal);
}

.support-status.is-err {
  color: #b42318;
}

.support-form.is-done input,
.support-form.is-done textarea,
.support-form.is-done button {
  pointer-events: none;
  opacity: 0.7;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 980px) {
  [data-anim="left"],
  [data-anim="right"] {
    transform: translate3d(0, 36px, 0);
  }

  .hero {
    flex-direction: column;
    min-height: auto;
    text-align: center;
    padding: 28px 20px 48px;
    gap: 28px;
  }

  .hero-copy,
  .hero-visual {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .hero h1,
  .hero-lead {
    max-width: 32rem;
    margin-inline: auto;
  }

  .brand-mark {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .device-hero {
    --device-scale: 0.88;
    animation: phone-float-mobile 5.5s ease-in-out infinite;
  }

  .device-story {
    --device-scale: 0.9;
  }

  .device-lock {
    --device-scale: 0.86;
    margin-inline: auto;
  }

  .calendar-band {
    grid-template-columns: 1fr;
    max-height: none;
    align-items: stretch;
    margin: 16px 16px 28px;
    padding: 20px 16px;
    gap: 16px;
  }

  .cal-app {
    max-height: none;
  }

  .cal-body {
    grid-template-columns: 1fr;
  }

  .cal-events {
    max-height: 88px;
  }

  .security-grid,
  .wizard,
  .lock-stage,
  .lock-copy,
  .split,
  .theme-split,
  .audience-row,
  .compare-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story,
  .notify {
    grid-template-columns: 1fr;
  }

  .story-sticky {
    position: relative;
    top: 0;
    margin-bottom: 8px;
  }

  .chapter {
    min-height: auto;
    padding: 28px 0;
  }

  .split-rev {
    direction: rtl;
  }

  .wizard::before {
    display: none;
  }

  .theme-pane:hover {
    transform: none;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 60px;
  }

  .nav {
    padding: 0 14px;
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    gap: 10px;
  }

  .nav-cta {
    display: none;
  }

  .nav-brand {
    font-size: 1.05rem;
    gap: 8px;
  }

  .nav-brand img {
    width: 32px;
    height: 32px;
  }

  .theme-toggle,
  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    padding: 8px 14px calc(16px + env(safe-area-inset-bottom));
  }

  .mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .hero {
    padding: 20px 16px 36px;
  }

  .brand-mark {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 1.35rem;
    max-width: none;
  }

  .hero-lead {
    font-size: 0.95rem;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .device-hero {
    --device-scale: 0.78;
  }

  .device-story {
    --device-scale: 0.8;
  }

  .device-lock {
    --device-scale: 0.76;
  }

  .manifesto {
    padding: 48px 16px;
  }

  .manifesto-line {
    max-width: none;
    font-size: 1.4rem;
  }

  .rail {
    padding-bottom: 36px;
  }

  .rail-inner {
    padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .story {
    padding: 24px 16px 48px;
    gap: 8px;
  }

  .chapter h2 {
    font-size: 1.35rem;
  }

  .chapter > p {
    max-width: none;
  }

  .import,
  .life,
  .tags-band,
  .security,
  .backup,
  .audience,
  .compare,
  .workflow,
  .faq,
  .support,
  .download {
    padding-inline: 16px;
  }

  .life {
    padding-top: 24px;
  }

  .split {
    gap: 20px;
    margin-bottom: 48px;
  }

  .notify {
    padding-inline: 16px;
    margin-bottom: 36px;
    gap: 16px;
  }

  .notify-waves {
    height: 140px;
  }

  .cal-toolbar {
    grid-template-columns: 34px 1fr 34px;
  }

  .cal-today {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .calendar-copy p,
  .cal-legend {
    display: none;
  }

  .calendar-copy h2 {
    font-size: 1.15rem;
    margin-bottom: 0;
    text-align: center;
  }

  .backup-visual {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 28px;
  }

  .bk-path {
    width: 8px;
    height: 28px;
    transform: rotate(90deg);
  }

  .theme-split {
    min-height: 0;
  }

  .theme-pane {
    padding: 32px 20px;
    min-height: 160px;
  }

  .theme-pane h3 {
    font-size: 1.45rem;
  }

  .download-inner {
    padding: 36px 18px;
    border-radius: 22px;
  }

  .support-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .support-form .btn {
    width: 100%;
    justify-self: stretch;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions .btn {
    width: 100%;
  }

  .footer {
    padding: 32px 16px calc(28px + env(safe-area-inset-bottom));
    gap: 16px;
  }

  .footer-links {
    gap: 12px 16px;
  }

  .orb {
    display: none;
  }
}

@media (max-width: 420px) {
  .cal-cell {
    height: 28px;
    font-size: 0.72rem;
    border-radius: 6px;
  }

  .cal-weekdays {
    font-size: 0.62rem;
  }

  .chapter {
    padding: 20px 0;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .device-hero,
  .device-story,
  .device-lock {
    --device-scale: 0.82;
  }
}

@keyframes phone-float-mobile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Dark mode ─────────────────────────────────────────── */
body {
  transition: background-color 0.35s ease, color 0.35s ease;
}

[data-theme="dark"] .noise {
  opacity: 0.045;
}

[data-theme="dark"] .orb-a,
[data-theme="dark"] .orb-b,
[data-theme="dark"] .orb-c {
  opacity: 0.2;
}

[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(rgba(61, 171, 164, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 171, 164, 0.08) 1px, transparent 1px);
}

[data-theme="dark"] .hero-glow {
  background: radial-gradient(circle, rgba(61, 171, 164, 0.26), transparent 68%);
}

[data-theme="dark"] .brand-mark img {
  box-shadow: 0 10px 28px rgba(61, 171, 164, 0.28);
}

[data-theme="dark"] .btn-primary {
  box-shadow: 0 12px 28px rgba(14, 94, 90, 0.45);
}

[data-theme="dark"] .btn-ghost {
  color: var(--teal-soft);
}

[data-theme="dark"] .promise {
  background: linear-gradient(90deg, transparent, rgba(20, 51, 48, 0.85), transparent);
  border-block-color: var(--line);
}

[data-theme="dark"] .calendar-band {
  border: 1px solid rgba(196, 163, 90, 0.16);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .security {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(20, 51, 48, 0.7), transparent),
    var(--paper);
}

[data-theme="dark"] .form-input {
  background: #1c2a2c;
  color: var(--ink-soft);
}

[data-theme="dark"] .cmp-col:not(.accent) {
  background: var(--card);
  border: 1px solid var(--line);
}

[data-theme="dark"] .cmp-col:not(.accent) h3,
[data-theme="dark"] .cmp-col:not(.accent) p {
  color: var(--ink-soft);
}

[data-theme="dark"] .tag-cloud span:hover {
  background: #0e5e5a;
  color: #fff;
  border-color: transparent;
}

[data-theme="dark"] .task-item {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .toast {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .bk-path line {
  stroke: var(--teal);
}

[data-theme="dark"] .faq-list summary {
  color: var(--heading);
}

[data-theme="dark"] .support-form input,
[data-theme="dark"] .support-form textarea {
  background: #1c2a2c;
  color: var(--ink);
  border-color: var(--line);
}

[data-theme="dark"] .support-status.is-err {
  color: #ffc9c6;
}

[data-theme="dark"] .rail-inner b {
  color: var(--heading);
}

[data-theme="dark"] .phone-screen {
  background: #f3f5f7;
  color: #0c1a1c;
}

[data-theme="dark"] .mock-head,
[data-theme="dark"] .ss-head {
  color: #fff;
}

[data-theme="dark"] .ss-acc,
[data-theme="dark"] .ss-row,
[data-theme="dark"] .ss-check,
[data-theme="dark"] .ss-ring-wrap,
[data-theme="dark"] .ss-pills span:not(.on) {
  background: #fff;
  color: #0c1a1c;
}

[data-theme="dark"] .ss-pills span:not(.on) {
  color: #5b6776;
}

[data-theme="dark"] .ss-acc b,
[data-theme="dark"] .ss-check b {
  color: #0e5e5a;
}
