@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fbf5ec;
  --cream-card: #fff9f1;
  --ink: #0b1a2b;
  --ink-soft: #25304b;
  --muted: #6b7280;
  --tertiary: #9ca3af;
  --line: rgba(8, 20, 45, 0.1);
  --line-strong: rgba(8, 20, 45, 0.16);
  --white: #ffffff;
  --coral: #ff6b4a;
  --coral-deep: #f0523e;
  --coral-soft: #ffe6da;
  --green: #557a5e;
  --green-soft: #ddebdc;
  --blue: #1d4ed8;
  --blue-soft: #e6f0ff;
  --navy: #030b1b;
  --navy-2: #071225;
  --dark-text: #fff1e7;
  --dark-muted: rgba(255, 241, 231, 0.68);
  --shadow: 0 18px 44px rgba(11, 26, 43, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

body::selection {
  background: var(--coral-soft);
  color: var(--ink);
}

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

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

button {
  font: inherit;
}

.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;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(8, 20, 45, 0.08);
  background: rgba(251, 245, 236, 0.9);
  backdrop-filter: blur(22px);
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
}

.logo-mark {
  position: relative;
  display: inline-flex;
  --logo-dot-size: 4px;
  --logo-dot-right: 10px;
  --logo-dot-bottom: 9px;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream-card);
  box-shadow: 0 10px 24px rgba(11, 26, 43, 0.14);
}

.logo-letter {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.logo-dot {
  position: absolute;
  right: var(--logo-dot-right);
  bottom: var(--logo-dot-bottom);
  width: var(--logo-dot-size);
  height: var(--logo-dot-size);
  border-radius: 999px;
  background: var(--coral);
}

.logo-mark-small {
  --logo-dot-size: 3px;
  --logo-dot-right: 8px;
  --logo-dot-bottom: 8px;
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 11px;
}

.logo-mark-small .logo-letter {
  font-size: 20px;
}

.logo-mark-small .logo-dot {
  width: var(--logo-dot-size);
  height: var(--logo-dot-size);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-menu a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: calc(100svh - 72px);
  align-items: center;
  overflow: hidden;
  padding: 84px 32px 118px;
  background:
    linear-gradient(90deg, rgba(251, 245, 236, 0.98) 0%, rgba(251, 245, 236, 0.86) 48%, rgba(251, 245, 236, 0.4) 100%),
    radial-gradient(circle at 74% 34%, rgba(255, 107, 74, 0.18), transparent 28%),
    radial-gradient(circle at 90% 62%, rgba(85, 122, 94, 0.16), transparent 32%),
    var(--cream);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-backdrop::before,
.hero-backdrop::after {
  content: "";
  position: absolute;
  right: clamp(18px, 8vw, 130px);
  top: clamp(64px, 14vh, 150px);
  width: min(56vw, 620px);
  height: min(34vw, 420px);
  border: 1px solid rgba(11, 26, 43, 0.1);
  border-radius: 50%;
  opacity: 0.54;
  transform: rotate(-12deg);
  animation: orbitalTrace 42s linear infinite;
}

.hero-backdrop::after {
  right: clamp(46px, 12vw, 190px);
  top: clamp(106px, 24vh, 250px);
  width: min(42vw, 470px);
  height: min(25vw, 310px);
  border-color: rgba(255, 107, 74, 0.16);
  opacity: 0.62;
  animation-duration: 56s;
  animation-direction: reverse;
}

.hero-symbol {
  --logo-dot-size: clamp(12px, 1.3vw, 18px);
  --logo-dot-right: clamp(45px, 5.5vw, 72px);
  --logo-dot-bottom: clamp(42px, 5.2vw, 68px);
  position: absolute;
  right: clamp(54px, 12vw, 170px);
  top: clamp(90px, 18vh, 190px);
  z-index: 1;
  width: min(24vw, 260px);
  height: min(24vw, 260px);
  min-width: 150px;
  min-height: 150px;
  border-radius: 34px;
  opacity: 0.2;
  filter: saturate(0.9) drop-shadow(0 24px 48px rgba(11, 26, 43, 0.1));
  transform-origin: center;
  animation: heroSymbolFloat 16s ease-in-out infinite;
}

.hero-symbol .logo-letter {
  font-size: clamp(82px, 12vw, 138px);
}

.hero-symbol .logo-dot {
  width: var(--logo-dot-size);
  height: var(--logo-dot-size);
}

.phrase {
  position: absolute;
  z-index: 2;
  --orbit-duration: 22s;
  --orbit-delay: 0s;
  --orbit-scale: 1;
  --orbit-scale-one: 1.02;
  --orbit-scale-two: 0.98;
  --orbit-scale-three: 1.04;
  --orbit-tilt: 0deg;
  --orbit-tilt-one: 3deg;
  --orbit-tilt-two: -2deg;
  --orbit-tilt-three: 4deg;
  --orbit-x-0: 0px;
  --orbit-y-0: 0px;
  --orbit-x-1: 34px;
  --orbit-y-1: -26px;
  --orbit-x-2: 56px;
  --orbit-y-2: 18px;
  --orbit-x-3: -22px;
  --orbit-y-3: 28px;
  color: rgba(11, 26, 43, 0.13);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 18px 48px rgba(11, 26, 43, 0.13);
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  animation: phraseOrbit var(--orbit-duration) cubic-bezier(0.45, 0, 0.2, 1) var(--orbit-delay) infinite;
}

.phrase-one {
  right: 12%;
  top: 18%;
  font-size: 92px;
}

.phrase-two {
  right: 26%;
  top: 42%;
  color: rgba(255, 107, 74, 0.18);
  font-size: 64px;
}

.phrase-three {
  right: -4%;
  top: 30%;
  font-size: 78px;
}

.phrase-four {
  right: 8%;
  bottom: 18%;
  color: rgba(85, 122, 94, 0.18);
  font-size: 52px;
}

.phrase-five {
  right: 28%;
  bottom: 8%;
  color: rgba(29, 78, 216, 0.13);
  font-size: 34px;
}

.phrase-six {
  left: 52%;
  top: 12%;
  color: rgba(11, 26, 43, 0.09);
  font-size: 42px;
}

.phrase-seven {
  right: 3%;
  bottom: 38%;
  color: rgba(255, 107, 74, 0.14);
  font-size: 46px;
}

.phrase-eight {
  right: 42%;
  top: 24%;
  color: rgba(85, 122, 94, 0.14);
  font-size: 40px;
}

.phrase-nine {
  right: 18%;
  bottom: 50%;
  color: rgba(29, 78, 216, 0.13);
  font-size: 36px;
}

.phrase-ten {
  right: 32%;
  bottom: 25%;
  color: rgba(11, 26, 43, 0.1);
  font-size: 38px;
}

.phrase-eleven {
  right: 2%;
  top: 54%;
  color: rgba(85, 122, 94, 0.15);
  font-size: 44px;
}

.phrase-twelve {
  right: 46%;
  bottom: 15%;
  color: rgba(255, 107, 74, 0.13);
  font-size: 31px;
}

@keyframes phraseOrbit {
  0%,
  100% {
    opacity: 0.68;
    transform: translate3d(var(--orbit-x-0), var(--orbit-y-0), 0) rotate(var(--orbit-tilt)) scale(var(--orbit-scale));
  }

  24% {
    opacity: 0.92;
    transform: translate3d(var(--orbit-x-1), var(--orbit-y-1), 0) rotate(var(--orbit-tilt-one)) scale(var(--orbit-scale-one));
  }

  52% {
    opacity: 0.76;
    transform: translate3d(var(--orbit-x-2), var(--orbit-y-2), 0) rotate(var(--orbit-tilt-two)) scale(var(--orbit-scale-two));
  }

  78% {
    opacity: 0.88;
    transform: translate3d(var(--orbit-x-3), var(--orbit-y-3), 0) rotate(var(--orbit-tilt-three)) scale(var(--orbit-scale-three));
  }
}

@keyframes orbitalTrace {
  0% {
    transform: rotate(-12deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(168deg) translate3d(10px, -4px, 0);
  }

  100% {
    transform: rotate(348deg) translate3d(0, 0, 0);
  }
}

@keyframes heroSymbolFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(2deg);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--tertiary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  font-size: 68px;
}

h2 {
  font-size: 42px;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-lede {
  max-width: 620px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #ff8264, var(--coral-deep));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(244, 99, 76, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-strip p {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 18px;
}

.app-link-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.app-link-strip a {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.68);
  transition: background 160ms ease;
}

.app-link-strip a:hover,
.app-link-strip a:focus-visible {
  background: var(--cream-card);
}

.app-link-strip span {
  color: var(--tertiary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-link-strip strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.86fr);
  align-items: center;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 32px 0;
}

.download-section h2 {
  margin-bottom: 12px;
}

.download-section p:not(.eyebrow) {
  max-width: 620px;
}

.store-buttons {
  display: grid;
  gap: 12px;
}

.store-button {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid rgba(8, 20, 45, 0.14);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.store-button small {
  display: block;
  color: var(--dark-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.store-button span:nth-child(2) {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.store-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 500;
}

.store-button em {
  color: #ffb39c;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.store-button.is-disabled {
  opacity: 0.92;
}

.statement-section,
.how-section,
.language-section,
.memory-section,
.support-section,
.pricing-section,
.legal-page {
  padding: 72px 32px;
}

.statement-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
}

.statement-copy h2 {
  max-width: 520px;
}

.statement-section > p {
  max-width: 620px;
  align-self: end;
  color: var(--ink-soft);
  font-size: 18px;
}

.how-section {
  background: var(--white);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 28px;
}

.section-heading h2,
.language-section h2,
.memory-copy h2,
.privacy-band h2,
.legal-hero h1 {
  margin-bottom: 12px;
}

.flow-grid,
.pricing-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  gap: 16px;
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-item,
.price-card,
.legal-content article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(11, 26, 43, 0.06);
}

.flow-item {
  position: relative;
  min-height: 234px;
  overflow: hidden;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.flow-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), rgba(255, 157, 102, 0.72));
  opacity: 0.82;
}

.flow-item:nth-child(2)::before {
  background: linear-gradient(90deg, var(--green), rgba(85, 122, 94, 0.42));
}

.flow-item:nth-child(3)::before {
  background: linear-gradient(90deg, var(--blue), rgba(29, 78, 216, 0.3));
}

.flow-item:nth-child(4)::before {
  background: linear-gradient(90deg, var(--coral-deep), rgba(85, 122, 94, 0.34));
}

.flow-item:hover {
  border-color: rgba(8, 20, 45, 0.18);
  box-shadow: 0 18px 36px rgba(11, 26, 43, 0.09);
  transform: translateY(-3px);
}

.flow-step {
  display: block;
  margin-bottom: 42px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.flow-item h3 {
  margin-bottom: 8px;
}

.flow-item p,
.price-card p {
  font-size: 14px;
  line-height: 1.45;
}

.language-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(320px, 1fr);
  align-items: center;
  gap: 48px;
  background: linear-gradient(180deg, #fff9f1 0%, #ffffff 100%);
}

.language-section > div:first-child {
  justify-self: end;
  max-width: 520px;
}

.language-section p:not(.eyebrow) {
  max-width: 560px;
}

.phrase-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.phrase-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.phrase-columns li {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.memory-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.memory-art {
  display: flex;
  max-width: 690px;
  flex-wrap: wrap;
  gap: 10px;
  justify-self: end;
}

.memory-art span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  padding: 0 18px;
}

.memory-art span:nth-child(2n) {
  color: #ffb39c;
}

.memory-art span:nth-child(3n) {
  color: #cfe8d4;
}

.memory-copy {
  max-width: 500px;
}

.memory-copy h2 {
  color: var(--white);
}

.memory-copy p:not(.eyebrow) {
  color: var(--dark-muted);
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 72px auto;
  padding: 28px;
  border: 1px solid rgba(255, 107, 74, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff2ea 0%, #fff9f1 58%, #eaf7ee 100%);
  box-shadow: var(--shadow);
}

.privacy-band p:not(.eyebrow) {
  max-width: 720px;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.pricing-section {
  background: linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
}

.support-section {
  background: linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.support-card {
  min-height: 206px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(11, 26, 43, 0.06);
}

.support-card h3 {
  margin-bottom: 8px;
}

.support-card p {
  margin-bottom: 14px;
  font-size: 14px;
}

.text-link {
  color: var(--coral-deep);
  font-size: 14px;
  font-weight: 500;
}

.text-link:hover,
.text-link:focus-visible,
.legal-hero a:hover,
.legal-hero a:focus-visible {
  color: var(--ink);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  min-height: 210px;
  padding: 22px;
}

.price-featured {
  border-color: rgba(255, 107, 74, 0.34);
  background: #fff2ea;
}

.price {
  margin: 12px 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

.price span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.site-footer p {
  color: var(--tertiary);
  font-size: 13px;
  text-align: right;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(251, 245, 236, 0.94)),
    var(--cream);
}

.legal-hero {
  max-width: 860px;
  margin: 0 auto 32px;
}

.legal-hero h1 {
  font-size: 52px;
}

.legal-hero a {
  color: var(--coral-deep);
  font-weight: 500;
}

.legal-content {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 14px;
}

.legal-content article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.66);
}

.legal-content h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.legal-content a {
  color: var(--coral-deep);
  font-weight: 500;
}

@media (max-width: 1020px) {
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement-section,
  .download-section,
  .language-section,
  .memory-section {
    grid-template-columns: 1fr;
  }

  .language-section > div:first-child,
  .memory-art {
    justify-self: start;
  }

  .memory-art {
    order: 2;
  }

  .memory-copy {
    order: 1;
  }
}

@media (max-width: 820px) {
  .site-nav {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    display: none;
    min-width: 220px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 249, 241, 0.98);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    border-radius: var(--radius);
  }

  .hero-section {
    min-height: 78svh;
    padding: 72px 20px 96px;
    background:
      linear-gradient(180deg, rgba(251, 245, 236, 0.98) 0%, rgba(251, 245, 236, 0.86) 66%, rgba(251, 245, 236, 0.62) 100%),
      radial-gradient(circle at 78% 22%, rgba(255, 107, 74, 0.18), transparent 30%),
      var(--cream);
  }

  .hero-backdrop::before {
    right: -34%;
    top: 14%;
    width: 540px;
    height: 320px;
    opacity: 0.34;
  }

  .hero-backdrop::after {
    display: none;
  }

  .hero-symbol {
    right: -12%;
    top: 16%;
    opacity: 0.12;
  }

  .phrase-one {
    right: -32%;
    top: 18%;
    font-size: 78px;
  }

  .phrase-two {
    right: 8%;
    top: 58%;
    font-size: 48px;
  }

  .phrase-three,
  .phrase-five,
  .phrase-seven,
  .phrase-eight,
  .phrase-nine,
  .phrase-ten,
  .phrase-eleven,
  .phrase-twelve {
    display: none;
  }

  .phrase-four {
    right: -16%;
    bottom: 12%;
    font-size: 38px;
  }

  .phrase-six {
    left: 36%;
    top: 9%;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .promise-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement-section,
  .how-section,
  .download-section,
  .language-section,
  .memory-section,
  .support-section,
  .pricing-section,
  .legal-page {
    padding: 56px 20px;
  }

  .privacy-band {
    grid-template-columns: 1fr;
    margin: 56px 20px;
  }

  .privacy-actions {
    justify-content: flex-start;
  }

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

  .app-link-strip,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .brand-mark span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: 44px;
  }

  h2,
  .legal-hero h1 {
    font-size: 30px;
  }

  .hero-lede,
  .statement-section > p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .promise-strip,
  .flow-grid,
  .phrase-columns {
    grid-template-columns: 1fr;
  }

  .download-section {
    padding-top: 56px;
  }

  .store-button {
    grid-template-columns: 40px 1fr;
  }

  .store-button em {
    grid-column: 2;
  }

  .promise-strip p {
    min-height: 64px;
  }

  .flow-item {
    min-height: 190px;
  }

  .flow-step {
    margin-bottom: 28px;
  }

  .memory-art span {
    min-height: 42px;
    font-size: 18px;
  }
}

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