:root {
  --bg: #f6f3ee;
  --bg-strong: #fcfaf7;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-tint: rgba(16, 108, 94, 0.08);
  --line: rgba(51, 75, 70, 0.12);
  --line-strong: rgba(51, 75, 70, 0.22);
  --text: #16201d;
  --muted: #586661;
  --accent: #106c5e;
  --accent-deep: #334b46;
  --accent-soft: rgba(16, 108, 94, 0.16);
  --shadow-xl: 0 36px 80px rgba(20, 31, 29, 0.14);
  --shadow-lg: 0 24px 50px rgba(20, 31, 29, 0.1);
  --shadow-md: 0 18px 35px rgba(20, 31, 29, 0.08);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --content-width: min(1120px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "SF Pro Text", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(16, 108, 94, 0.08), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(51, 75, 70, 0.08), transparent 28%),
    linear-gradient(180deg, #fcfaf7 0%, #f5f1eb 52%, #f7f3ee 100%);
  line-height: 1.5;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--content-width);
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.section-shell {
  position: relative;
  padding: 120px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-lead,
.hero-summary,
.feature-body,
.plan-list,
.faq-item p {
  color: var(--muted);
}

.section-lead,
.hero-summary {
  font-size: clamp(1.1rem, 2vw, 1.36rem);
  max-width: 640px;
}

.section-lead--secondary {
  margin-top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(51, 75, 70, 0.08);
  backdrop-filter: blur(18px);
  background: rgba(252, 250, 247, 0.72);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(40px, 4.8vw, 48px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(22, 32, 29, 0.82);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(16, 108, 94, 0.08);
  color: var(--text);
}

.nav-cta {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #106c5e, #0d5a4f);
  box-shadow: 0 14px 28px rgba(16, 108, 94, 0.24);
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #147765, #0f6155);
  box-shadow: 0 18px 34px rgba(16, 108, 94, 0.28);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(51, 75, 70, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent-deep);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 6px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  overflow: clip;
  padding-top: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-summary {
  margin-top: 28px;
}

.hero-note {
  margin-top: 22px;
  color: rgba(22, 32, 29, 0.64);
  font-size: 0.96rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-row--center {
  justify-content: center;
}

.store-button,
.button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 194px;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.store-button {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.store-button__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-button strong,
.button {
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.store-button__label {
  margin-bottom: 3px;
  font-size: 0.76rem;
  color: inherit;
  opacity: 0.76;
}

.store-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex-shrink: 0;
}

.store-button__icon svg {
  width: 22px;
  height: 22px;
}

.store-button--solid,
.button--dark {
  color: #fff;
  background: linear-gradient(180deg, #3c514c, #24302d);
  box-shadow: 0 18px 40px rgba(22, 32, 29, 0.18);
}

.store-button--solid .store-button__icon {
  background: rgba(255, 255, 255, 0.14);
}

.store-button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(51, 75, 70, 0.12);
  box-shadow: 0 12px 24px rgba(22, 32, 29, 0.06);
}

.store-button--coming-soon {
  color: rgba(22, 32, 29, 0.62);
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(51, 75, 70, 0.1);
  box-shadow: none;
  cursor: default;
}

.store-button--coming-soon .store-button__icon {
  color: rgba(22, 32, 29, 0.72);
  background: rgba(51, 75, 70, 0.06);
}

.store-button--coming-soon .store-button__label {
  opacity: 0.9;
}

.store-button:hover,
.store-button:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(22, 32, 29, 0.14);
}

.store-button--coming-soon:hover,
.store-button--coming-soon:focus-visible {
  transform: none;
  box-shadow: none;
}

.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  pointer-events: none;
}

.hero-glow--one {
  inset: 8% auto auto 4%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(16, 108, 94, 0.24), transparent 72%);
}

.hero-glow--two {
  inset: auto 0 8% auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(51, 75, 70, 0.18), transparent 72%);
}

.phone-stage {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
}

.device-shadow {
  position: absolute;
  inset: auto 10% -8% 10%;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(22, 32, 29, 0.28), transparent 68%);
  filter: blur(18px);
}

.device {
  position: relative;
  margin: 0 auto;
  padding: 14px;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(71, 87, 83, 0.95), rgba(13, 20, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-xl);
}

.device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 34%;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(5, 9, 8, 0.92);
  z-index: 2;
}

.device--native-shot::before {
  display: none;
}

.device--hero {
  width: min(100%, 376px);
  animation: drift 10s ease-in-out infinite;
}

.device--hero.device--native-shot {
  padding: 12px;
  border-radius: 40px;
}

.device--hero.device--native-shot .device-screen {
  border-radius: 32px;
}

.device--mini {
  width: min(100%, 194px);
  padding: 8px;
  border-radius: 28px;
  box-shadow: 0 22px 36px rgba(20, 31, 29, 0.12);
}

.device--mini::before {
  display: none;
}

.device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  aspect-ratio: 1206 / 2622;
  background:
    linear-gradient(180deg, rgba(244, 247, 246, 1), rgba(232, 238, 236, 1));
}

.device--mini .device-screen {
  border-radius: 24px;
}

.device-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 32%);
  pointer-events: none;
}

.app-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.memory-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.memory-card--floating {
  position: absolute;
  right: -28px;
  bottom: 44px;
  width: min(240px, 54vw);
  padding: 18px 20px;
}

.memory-card__eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.memory-card__text {
  font-size: 0.98rem;
  line-height: 1.45;
}

.problem {
  padding-top: 72px;
}

.problem .narrow {
  text-align: center;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 18px rgba(22, 32, 29, 0.04);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.flow {
  padding-bottom: 64px;
}

.features {
  padding-top: 64px;
}

.flow-card,
.plan-card,
.faq-item,
.feature-row,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.flow-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 24px;
  border-radius: 32px;
  min-height: 100%;
  overflow: hidden;
  backdrop-filter: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(251, 251, 250, 0.95));
}

.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(16, 108, 94, 0.08);
  color: var(--accent);
}

.flow-icon svg {
  width: 22px;
  height: 22px;
}

.flow-card h3 {
  margin-top: 22px;
  font-size: 1.55rem;
}

.flow-card p {
  margin-top: 10px;
  color: var(--muted);
}

.mini-device {
  width: 100%;
  min-height: 398px;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px 12px 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(16, 108, 94, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(244, 247, 246, 0.96), rgba(255, 255, 255, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(51, 75, 70, 0.06);
}

.mini-device .app-shot {
  object-position: center top;
  transform: none;
}

.device--mini .device-screen::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 14%);
}

.features .container {
  display: grid;
  gap: 28px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-xl);
}

.feature-row--reverse {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 0.9fr);
}

.feature-row--reverse .feature-copy {
  order: 2;
}

.feature-row--reverse .feature-visual {
  order: 1;
}

.feature-body {
  margin-top: 16px;
  max-width: 520px;
  font-size: 1.08rem;
}

.feature-list,
.plan-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.plan-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li + li,
.plan-list li + li {
  margin-top: 12px;
}

.feature-list li::before,
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(16, 108, 94, 0.72);
  transform: translateY(-50%);
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-visual .device {
  width: min(100%, 310px);
}

.feature-visual .device--native-shot {
  padding: 10px;
  border-radius: 34px;
  box-shadow: 0 28px 50px rgba(20, 31, 29, 0.12);
}

.feature-visual .device--native-shot .device-screen {
  border-radius: 26px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.plan-card {
  padding: 34px;
  border-radius: 32px;
}

.plan-card--featured {
  border-color: rgba(16, 108, 94, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 244, 0.9));
}

.plan-card__eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan-card__price {
  margin-top: 16px;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.price-pair {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.price-pair p {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.08rem;
}

.price-pair strong {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}

.price-pair span {
  color: var(--muted);
}

.pricing-cta {
  margin-top: 30px;
  text-align: center;
}

.button {
  align-items: center;
  justify-content: center;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 24px;
  border-radius: 22px;
}

.faq-item summary {
  position: relative;
  padding: 24px 42px 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.06rem;
  font-weight: 600;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  color: var(--accent);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 0 24px;
  max-width: 640px;
}

.cta {
  padding-bottom: 132px;
}

.cta-panel {
  padding: 56px 24px;
  border-radius: 40px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(16, 108, 94, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 247, 245, 0.92));
}

.cta-panel h2 {
  max-width: 720px;
  margin: 0 auto;
}

.site-footer {
  padding: 0 0 36px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(51, 75, 70, 0.08);
  color: rgba(22, 32, 29, 0.64);
  font-size: 0.95rem;
}

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

.footer-links a {
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.back-to-top-fab {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(51, 75, 70, 0.16);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #106c5e, #0d5a4f);
  box-shadow: 0 18px 34px rgba(16, 108, 94, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.back-to-top-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-fab:hover,
.back-to-top-fab:focus-visible {
  background: linear-gradient(180deg, #147765, #0f6155);
  box-shadow: 0 22px 40px rgba(16, 108, 94, 0.34);
}

.back-to-top-fab svg {
  width: 24px;
  height: 24px;
}

.policy-page main {
  padding-bottom: 84px;
}

.policy-hero {
  padding-bottom: 120px;
}

.policy-card,
.policy-panel {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.policy-card {
  padding: 42px;
  border-radius: var(--radius-xl);
}

.policy-panel > .eyebrow {
  margin-bottom: 14px;
}

.policy-mark {
  display: block;
  width: 34px;
  height: auto;
  margin-bottom: 16px;
}

.policy-panel h1 {
  font-size: clamp(2.9rem, 6.5vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  max-width: 10ch;
}

.policy-panel h1.policy-title--compact {
  font-size: clamp(1.95rem, 3.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 100%;
  white-space: nowrap;
}

.policy-card h1 {
  max-width: 12ch;
}

.policy-date {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-intro {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.policy-content {
  padding-bottom: 120px;
}

.policy-panel {
  padding: 40px 38px;
  border-radius: 32px;
}

.policy-panel > .policy-section:first-of-type {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.policy-section + .policy-section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.policy-section h3 {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.policy-section p {
  margin-top: 10px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.policy-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.policy-list li + li {
  margin-top: 8px;
}

.policy-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.policy-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-home-link {
  min-width: auto;
  padding: 14px 18px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 1, 0.22, 1),
    transform 0.8s cubic-bezier(0.2, 1, 0.22, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-copy,
  .section-header,
  .problem .narrow {
    text-align: center;
  }

  .hero-summary,
  .section-lead,
  .feature-body {
    margin-left: auto;
    margin-right: auto;
  }

  .store-row {
    justify-content: center;
  }

  .feature-copy,
  .feature-row--reverse .feature-copy,
  .feature-visual,
  .feature-row--reverse .feature-visual {
    order: initial;
  }
}

@media (max-width: 860px) {
  .section-shell {
    padding: 96px 0;
  }

  .flow {
    padding-bottom: 52px;
  }

  .features {
    padding-top: 52px;
  }

  .nav-toggle {
    display: inline-block;
    position: relative;
    z-index: 3;
  }

  .site-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 12px);
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(51, 75, 70, 0.1);
    border-radius: 24px;
    background: rgba(252, 250, 247, 0.96);
    box-shadow: 0 22px 40px rgba(20, 31, 29, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .pricing-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .memory-card--floating {
    right: 0;
    bottom: 22px;
  }

  .back-to-top-fab {
    right: 20px;
    bottom: 22px;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: calc(100% - 32px);
  }

  .site-header {
    background: rgba(252, 250, 247, 0.86);
  }

  .nav-shell {
    min-height: 74px;
  }

  .section-shell {
    padding: 84px 0;
  }

  .flow {
    padding-bottom: 44px;
  }

  .features {
    padding-top: 44px;
  }

  .hero {
    padding-top: 46px;
  }

  .flow-card,
  .plan-card,
  .cta-panel {
    padding: 24px;
  }

  .mini-device {
    min-height: 356px;
    padding: 22px 12px 0;
  }

  .feature-row {
    padding: 28px 22px;
    border-radius: 30px;
  }

  .policy-card,
  .policy-panel {
    padding: 26px 24px;
  }

  .policy-panel h1.policy-title--compact {
    white-space: normal;
  }

  .policy-section + .policy-section {
    margin-top: 32px;
    padding-top: 32px;
  }

  .back-to-top-fab {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .memory-card--floating {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }

  .phone-stage {
    width: min(100%, 360px);
  }

  .store-button,
  .button {
    width: 100%;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
