:root {
  color-scheme: light;
  --ink: #101719;
  --ink-soft: #4f5960;
  --muted: #69737c;
  --paper: #f3f4f6;
  --surface: #ffffff;
  --blue: #d7ecfa;
  --blue-strong: #bfe3f7;
  --yellow: #ffe24a;
  --line: #e1e5e8;
  --dark-surface: #141b1d;
  --accent: #006b96;
  --focus: #126b98;
  --eyebrow: #33515f;
  --blue-ink: #174d66;
  --status-ring: #fde7e5;
  --status-ring-fade: rgba(253, 231, 229, 0.4);
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-soft: 0 18px 55px rgba(16, 23, 25, 0.09);
  --shadow-phone: 0 28px 70px rgba(16, 23, 25, 0.24);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3f7f8;
  --ink-soft: #c4ced2;
  --muted: #9aa8ae;
  --paper: #0b1113;
  --surface: #151d20;
  --blue: #153342;
  --blue-strong: #245267;
  --yellow: #ffe24a;
  --line: #2b373b;
  --dark-surface: #101719;
  --accent: #79d2f7;
  --focus: #79d2f7;
  --eyebrow: #a8c5d1;
  --blue-ink: #b9e7fa;
  --status-ring: rgba(220, 68, 58, 0.24);
  --status-ring-fade: rgba(220, 68, 58, 0.12);
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.28);
  --shadow-phone: 0 28px 70px rgba(0, 0, 0, 0.46);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: color 220ms ease, background 220ms ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #101719;
  color: #fff;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.splash-screen {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: #101719;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-glow {
  position: absolute;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 236, 250, 0.2), rgba(215, 236, 250, 0) 67%);
  transform: scale(0.65);
}
.splash-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 32px;
  text-align: center;
}
.splash-mark { position: relative; display: grid; place-items: center; }
.splash-mark img {
  position: relative;
  z-index: 2;
  border-radius: 27px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}
.splash-ring {
  position: absolute;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 226, 74, 0.42);
  border-radius: 50%;
}
.splash-wordmark { display: grid; gap: 4px; }
.splash-wordmark strong {
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
.splash-wordmark span { color: #aeb9bd; font-size: 0.82rem; letter-spacing: 0.08em; }
.splash-progress {
  width: 156px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.splash-progress > span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--yellow); transform-origin: left; }
.motion-ready.intro-active { overflow: hidden; }
.motion-ready.intro-active .splash-screen {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  will-change: transform;
}
.motion-gsap.intro-active .splash-glow,
.motion-gsap.intro-active .splash-mark img,
.motion-gsap.intro-active .splash-ring,
.motion-gsap.intro-active .splash-wordmark { opacity: 0; }
.motion-gsap.intro-active .splash-progress > span { transform: scaleX(0); }
.motion-gsap.hero-pending .site-header,
.motion-gsap.hero-pending .hero-copy > *,
.motion-gsap.hero-pending .hero-visual { visibility: hidden; opacity: 0; }
.is-revealing {
  transition: none !important;
  will-change: transform, opacity;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  margin-top: 14px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 23, 25, 0.07);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled {
  border-color: rgba(207, 213, 217, 0.78);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(16, 23, 25, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand img { border-radius: 13px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
}
.nav-links a, .site-footer a { position: relative; transition: color 180ms ease; }
.nav-links a:hover, .site-footer a:hover { color: var(--accent); }
.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease;
}
.header-download:hover { background: var(--yellow); color: var(--ink); }
.header-download svg { width: 18px; height: 18px; }
.header-download:hover svg, .button:hover svg { animation: downloadNudge 650ms var(--ease-out); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.theme-toggle {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.theme-toggle:hover { border-color: var(--ink-soft); background: var(--blue); }
.theme-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity 220ms ease, transform 300ms var(--ease-out);
}
.theme-icon-moon { opacity: 0; transform: rotate(-35deg) scale(0.65); }
[data-theme="dark"] .theme-icon-sun { opacity: 0; transform: rotate(45deg) scale(0.65); }
[data-theme="dark"] .theme-icon-moon { opacity: 1; transform: rotate(0) scale(1); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
  min-height: 790px;
  padding-block: 72px 64px;
}
.hero-copy { max-width: 650px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--eyebrow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 226, 74, 0.25);
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.055em; }
h1 {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 850;
}
h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.8vw, 4.3rem);
  font-weight: 830;
}
h3 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  font-weight: 800;
}
.hero-lede {
  max-width: 610px;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.button svg { width: 21px; height: 21px; }
.button-primary {
  background: var(--yellow);
  color: #101719;
  box-shadow: 0 8px 24px rgba(166, 134, 0, 0.18);
}
.button-primary:hover { background: #ffdc1b; box-shadow: 0 11px 30px rgba(166, 134, 0, 0.24); }
.button-secondary { border-color: #cfd5d9; background: var(--surface); color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); }
.button:active { transform: translateY(1px); }
.button.is-activated svg { animation: downloadConfirm 650ms var(--ease-out); }
.release-meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--blue-ink);
  stroke-width: 2.4;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
  overflow: hidden;
  border-radius: 46px;
  background: var(--blue);
}
.hero-visual::before, .hero-visual::after {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(16, 23, 25, 0.12);
  border-radius: 50%;
  content: "";
}
.hero-visual::before { top: -85px; right: -48px; }
.hero-visual::after { bottom: -105px; left: -42px; }
.phone-frame {
  position: relative;
  z-index: 2;
  width: min(292px, 68%);
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 42px;
  background: #101719;
  box-shadow: var(--shadow-phone);
}
.phone-frame img { width: 100%; border-radius: 34px; }
.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 50%;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: rgba(16, 23, 25, 0.66);
  transform: translateX(-50%);
}
.intro-complete .phone-frame { animation: phoneFloat 8s ease-in-out 1.8s infinite; }
.visual-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 184px;
  padding: 12px 14px;
  border: 1px solid #dfe5e7;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}
.visual-note-top { top: 58px; left: 22px; }
.visual-note-bottom { right: 22px; bottom: 58px; }
.visual-note span:last-child { display: grid; }
.visual-note strong { font-size: 0.84rem; line-height: 1.25; }
.visual-note small { color: var(--muted); font-size: 0.7rem; }
.note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--yellow);
}
.note-icon svg { width: 19px; height: 19px; }
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc443a;
  box-shadow: 0 0 0 6px #fde7e5;
}
.intro-complete .status-dot { animation: statusPulse 3.6s ease-in-out 2.2s infinite; }
.page-paused .phone-frame,
.page-paused .status-dot { animation-play-state: paused !important; }

.assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
}
.assurance > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 106px;
  padding: 22px 24px;
  background: var(--surface);
  transition: color 220ms ease, background 220ms ease;
}
.assurance svg { flex: 0 0 auto; width: 26px; height: 26px; color: #20586f; }
.assurance span { display: grid; }
.assurance strong { font-size: 0.95rem; }
.assurance small { color: var(--muted); font-size: 0.77rem; line-height: 1.45; }

.section { padding-block: clamp(92px, 12vw, 150px); scroll-margin-top: 100px; }
.section-heading { max-width: 760px; margin-bottom: 55px; }
.section-heading > p:last-child, .section-heading-row > p {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}
.section-heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}
.section-heading-row > div { max-width: 720px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row > p { max-width: 370px; padding-bottom: 8px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  min-height: 420px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: color 220ms ease, background 220ms ease, border-color 240ms ease, box-shadow 280ms ease, transform 280ms var(--ease-out);
}
.feature-card-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 45px;
  align-items: end;
}
.feature-card-blue { border-color: transparent; background: var(--blue); }
.feature-card-dark { border-color: var(--dark-surface); background: var(--dark-surface); color: #f7f9f8; }
.feature-card p:last-child { max-width: 590px; margin-bottom: 0; color: var(--ink-soft); }
.feature-card-dark p:last-child, .feature-card-dark .card-kicker { color: #bfc8cb; }
.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 18px;
  background: var(--surface);
  color: #174d66;
}
.feature-icon svg { width: 27px; height: 27px; }
.feature-icon-yellow { background: var(--yellow); color: #101719; }
.feature-icon-dark { background: #273034; color: var(--yellow); }
.card-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reminder-demo {
  padding: 24px;
  border: 1px solid rgba(16, 23, 25, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(25, 77, 102, 0.08);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}
.reminder-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
}
.reminder-top > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: var(--blue-strong);
  font-weight: 850;
}
.reminder-top em {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fde8e5;
  color: #8c2f2a;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
}
.reminder-date { display: grid; margin: 30px 0 24px; }
.reminder-date small { color: var(--muted); }
.reminder-date strong { font-size: clamp(2rem, 3.8vw, 3.3rem); letter-spacing: -0.06em; }
.reminder-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.reminder-chips span {
  padding: 7px 11px;
  border: 1px solid #d8dfe3;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}
.reminder-chips .active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.showcase-section { overflow: hidden; background: var(--surface); transition: color 220ms ease, background 220ms ease; }
.screens-track {
  display: grid;
  grid-auto-columns: minmax(245px, 292px);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.screens-track:focus-visible { outline: none; }
.screens-track:focus-visible + .screens-footer .scroll-hint {
  color: var(--focus);
  font-weight: 700;
}
.screens-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.screens-track img { -webkit-user-drag: none; user-select: none; }
.screens-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.screen-card { min-width: 0; margin: 0; scroll-snap-align: start; }
.screen-frame {
  overflow: hidden;
  padding: 6px;
  border: 1px solid #d9dee1;
  border-radius: 35px;
  background: #101719;
  box-shadow: 0 16px 38px rgba(16, 23, 25, 0.12);
  transition: box-shadow 260ms ease, transform 320ms var(--ease-out);
}
.screen-frame img { width: 100%; border-radius: 29px; }
.screen-card figcaption { display: grid; gap: 2px; padding: 20px 6px 0; }
.screen-card figcaption strong { font-size: 1.02rem; }
.screen-card figcaption span { color: var(--muted); font-size: 0.8rem; }
.screens-progress {
  position: relative;
  width: min(320px, 46vw);
  height: 4px;
  overflow: hidden;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--line);
  transition: opacity 180ms ease, background 220ms ease;
}
.screens-progress > span {
  display: block;
  width: 72px;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform: translateX(0);
  transition: width 180ms var(--ease-out), transform 90ms linear, background 220ms ease;
  will-change: transform;
}
.screens-progress.is-static { opacity: 0; }
.screens-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.screens-footer > div:first-child { min-width: 0; }
.screens-controls { display: flex; gap: 10px; }
.screens-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.screens-controls button:disabled { opacity: 0.35; cursor: default; }
.screens-controls svg { width: 22px; height: 22px; }
.scroll-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  transition: color 180ms ease;
}
.scroll-hint::before {
  display: inline-block;
  margin-right: 8px;
  color: #20586f;
  content: "↔";
}
.screens-track.is-moving .screen-frame { box-shadow: 0 22px 48px rgba(16, 23, 25, 0.18); }
.hint-touch { display: none; }

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 64px;
  align-items: end;
  padding: clamp(38px, 6vw, 76px);
  border-radius: 42px;
  background: var(--dark-surface);
  color: #f7f9f8;
}
.privacy-copy > p:last-child { max-width: 620px; margin-bottom: 0; color: #bfc8cb; }
.privacy-copy .card-kicker { color: #bfc8cb; }
.privacy-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 21px;
  background: var(--yellow);
  color: #101719;
}
.privacy-icon svg { width: 30px; height: 30px; }
.privacy-list { margin: 0; padding: 0; border-top: 1px solid #354044; list-style: none; }
.privacy-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid #354044;
}
.privacy-list li > span { color: var(--yellow); font-size: 0.74rem; font-weight: 800; }
.privacy-list div { display: grid; }
.privacy-list strong { font-size: 0.98rem; }
.privacy-list small { color: #9fabad; font-size: 0.78rem; }
.privacy-footnote {
  max-width: 940px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.install-steps li {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}
.install-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-weight: 850;
}
.install-steps strong { font-size: 1.08rem; }
.install-steps p { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; }
.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 50px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-lg);
  scroll-margin-top: 110px;
  background: var(--blue);
  transition: color 220ms ease, background 220ms ease;
}
.download-main { display: flex; gap: 22px; align-items: center; }
.download-main > img {
  flex: 0 0 auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(16, 23, 25, 0.12);
}
.download-main h2 { max-width: 720px; margin-bottom: 12px; font-size: clamp(2rem, 4.4vw, 3.5rem); }
.download-main p:last-child { margin: 0; color: var(--ink-soft); font-size: 0.85rem; }
.download-action { display: flex; gap: 18px; align-items: center; justify-content: flex-end; }
.download-qr {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 10px 10px 8px;
  border: 1px solid rgba(16, 23, 25, 0.12);
  border-radius: 18px;
  background: #fff;
  color: #101719;
  box-shadow: 0 12px 30px rgba(16, 23, 25, 0.1);
}
.download-qr img { width: 124px; height: 124px; }
.download-qr span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; }
.download-buttons { display: grid; gap: 10px; justify-items: center; }
.button-large { min-width: 200px; min-height: 62px; font-size: 1rem; }
.download-buttons > span { color: var(--muted); font-size: 0.72rem; }
.checksum {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 23, 25, 0.12);
}
.checksum summary {
  width: fit-content;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}
.checksum code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.76rem;
}

.release-section { padding-top: 30px; }
.release-notes-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.release-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--blue);
}
.release-notes-header h3 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.release-source {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(16, 23, 25, 0.14);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.release-source svg { width: 18px; height: 18px; }
.release-notes-body {
  max-width: 920px;
  padding: clamp(30px, 5vw, 52px);
  color: var(--ink-soft);
}
.release-notes-body > :first-child { margin-top: 0; }
.release-notes-body > :last-child { margin-bottom: 0; }
.release-notes-body h4,
.release-notes-body h5 {
  margin: 36px 0 12px;
  color: var(--ink);
  line-height: 1.3;
}
.release-notes-body h4 { font-size: 1.3rem; }
.release-notes-body h5 { font-size: 1.05rem; }
.release-notes-body p,
.release-notes-body ul,
.release-notes-body ol { margin: 0 0 20px; }
.release-notes-body ul,
.release-notes-body ol { padding-left: 1.35rem; }
.release-notes-body li + li { margin-top: 8px; }
.release-notes-body code {
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.88em;
}
.release-notes-body pre {
  overflow-x: auto;
  margin: 20px 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--paper);
}
.release-notes-body pre code { padding: 0; background: transparent; }
.release-notes-body hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }

.faq-section { padding-top: 30px; }
.faq-list { border-top: 1px solid #cfd5d9; }
.faq-list details { border-bottom: 1px solid #cfd5d9; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 20px 4px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: 0 0 auto; width: 22px; height: 22px; transition: transform 180ms ease; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { max-width: 820px; margin: -4px 0 28px; color: var(--ink-soft); }

@supports selector(details::details-content) {
  .faq-list details::details-content {
    overflow: clip;
    block-size: 0;
    opacity: 0;
    transition: block-size 300ms var(--ease-out), content-visibility 300ms allow-discrete, opacity 220ms ease;
  }
  .faq-list details[open]::details-content { block-size: auto; opacity: 1; }
}

@media (hover: hover) and (pointer: fine) {
  .feature-card.is-visible:hover { border-color: #c8d0d5; box-shadow: 0 20px 50px rgba(16, 23, 25, 0.1); transform: translateY(-6px); }
  .feature-card-blue.is-visible:hover { border-color: transparent; box-shadow: 0 22px 52px rgba(37, 100, 130, 0.14); }
  .feature-card-dark.is-visible:hover { border-color: #334044; box-shadow: 0 22px 52px rgba(16, 23, 25, 0.2); }
  .screen-card.is-visible:hover .screen-frame { box-shadow: 0 24px 52px rgba(16, 23, 25, 0.18); transform: translateY(-6px); }
  .screens-controls button:not(:disabled):hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
  .release-source:hover { border-color: var(--ink); transform: translateY(-2px); }
}

@media (hover: none) and (pointer: coarse) {
  .screens-track { cursor: auto; }
  .screens-controls, .hint-desktop { display: none; }
  .hint-touch { display: inline; }
}

[data-theme="dark"] .site-header {
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .site-header.is-scrolled {
  border-color: rgba(66, 82, 88, 0.82);
  background: rgba(21, 29, 32, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .header-download { background: var(--yellow); color: #101719; }
[data-theme="dark"] .header-download:hover { background: #fff; color: #101719; }
[data-theme="dark"] .button-secondary { border-color: #435158; }
[data-theme="dark"] .button-secondary:hover { border-color: var(--ink); }
[data-theme="dark"] .hero-visual::before,
[data-theme="dark"] .hero-visual::after { border-color: rgba(255, 255, 255, 0.14); }
[data-theme="dark"] .phone-frame { border-color: rgba(255, 255, 255, 0.22); }
[data-theme="dark"] .visual-note { border-color: var(--line); }
[data-theme="dark"] .status-dot { box-shadow: 0 0 0 6px rgba(220, 68, 58, 0.22); }
[data-theme="dark"] .reminder-demo {
  border-color: var(--line);
  background: rgba(21, 29, 32, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .reminder-top em { background: #482727; color: #ffc7c2; }
[data-theme="dark"] .reminder-chips span { border-color: #435158; }
[data-theme="dark"] .screen-frame { border-color: #364348; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32); }
[data-theme="dark"] .faq-list,
[data-theme="dark"] .faq-list details { border-color: var(--line); }
[data-theme="dark"] .checksum { border-color: rgba(255, 255, 255, 0.14); }

@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .feature-card.is-visible:hover { border-color: #435158; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
  [data-theme="dark"] .feature-card-blue.is-visible:hover { border-color: transparent; box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26); }
  [data-theme="dark"] .feature-card-dark.is-visible:hover { border-color: #435158; box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34); }
  [data-theme="dark"] .screen-card.is-visible:hover .screen-frame { box-shadow: 0 24px 52px rgba(0, 0, 0, 0.4); }
}

@keyframes phoneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes statusPulse { 0%, 100% { box-shadow: 0 0 0 6px var(--status-ring); } 50% { box-shadow: 0 0 0 8px var(--status-ring-fade); } }
@keyframes downloadNudge { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(4px); } }
@keyframes downloadConfirm { 0% { transform: translateY(0); } 45% { transform: translateY(7px); opacity: 0; } 46% { transform: translateY(-7px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

.site-footer {
  margin-top: 30px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.footer-inner > p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.footer-inner nav { display: flex; gap: 24px; color: var(--ink-soft); font-size: 0.8rem; font-weight: 650; }

.not-found {
  display: flex;
  min-height: 100vh;
  max-width: 900px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-block: 60px;
}
.not-found > img { margin-bottom: 34px; border-radius: 20px; }
.not-found h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); }
.not-found > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 780px; }
  .hero-visual { min-height: 670px; }
  .phone-frame { width: 292px; }
  .assurance { grid-template-columns: 1fr; }
  .feature-card-wide, .privacy-panel { grid-template-columns: 1fr; }
  .feature-card-wide { gap: 34px; }
  .privacy-panel { gap: 46px; }
  .section-heading-row { display: block; }
  .section-heading-row > p { max-width: 610px; margin-top: 22px; }
  .install-steps { grid-template-columns: 1fr; }
  .install-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    min-height: 0;
  }
  .install-steps li > span { margin-bottom: 0; }
  .download-panel { grid-template-columns: 1fr; }
  .download-action { justify-content: flex-start; }
  .checksum { grid-column: auto; }
}

@media (max-width: 720px) {
  .container { width: min(1180px, calc(100% - 28px)); }
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 8px 9px 8px 14px;
    border-radius: 20px;
  }
  .nav-links { display: none; }
  .header-download { min-height: 44px; padding: 0 15px; font-size: 0.8rem; }
  .header-download svg { display: none; }
  .brand img { width: 38px; height: 38px; }
  .hero { gap: 42px; padding-block: 62px 44px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.25rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 600px; border-radius: 34px; }
  .phone-frame { width: min(268px, 72vw); }
  .visual-note { min-width: 0; }
  .visual-note-top { top: 24px; left: 16px; }
  .visual-note-bottom { right: 16px; bottom: 24px; }
  .assurance > div { min-height: 92px; }
  .section { padding-block: 88px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: auto; }
  .feature-card { min-height: 0; padding: 30px; border-radius: 28px; }
  .reminder-demo { padding: 20px; }
  .reminder-top em { display: none; }
  .screens-track { grid-auto-columns: minmax(236px, 78vw); }
  .privacy-panel { padding: 34px 28px; border-radius: 32px; }
  .download-panel { padding: 30px 24px; border-radius: 28px; }
  .download-main { align-items: flex-start; flex-direction: column; }
  .download-main > img { width: 64px; height: 64px; }
  .download-qr { display: none; }
  .download-action, .download-buttons, .download-buttons .button { width: 100%; }
  .download-buttons { justify-items: stretch; }
  .release-notes-header { align-items: flex-start; flex-direction: column; }
  .release-source { width: 100%; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { flex-wrap: wrap; }
}

@media (max-width: 430px) {
  .brand span { font-size: 0.98rem; }
  .header-download { padding-inline: 13px; }
  .hero-visual { min-height: 560px; }
  .visual-note small { display: none; }
  .visual-note-top { top: 18px; }
  .visual-note-bottom { bottom: 18px; }
  .install-steps li { grid-template-columns: 1fr; }
}

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