@font-face {
  font-family: "NotesHand";
  src: url("../fonts/notes-hand.ttf") format("truetype");
  font-display: swap;
}

:root {
  --cream: #f7f1e6;
  --cream-deep: #eadfce;
  --paper: #fffaf2;
  --ink: #16263b;
  --brown: #2b211f;
  --muted: #6e625e;
  --teal: #1a6b61;
  --teal-bright: #5fc9b8;
  --coral: #f07155;
  --coral-deep: #a23f2a;
  --blue: #355f9c;
  --blue-bright: #8fb8f0;
  --amber: #be7d00;
  --amber-bright: #f2c868;
  --violet: #5f4293;
  --violet-bright: #b49ae0;
  --line: rgba(22, 38, 59, 0.14);
  --shadow: 0 24px 70px rgba(43, 33, 31, 0.13);
  --shadow-small: 0 12px 30px rgba(43, 33, 31, 0.1);
  --radius-large: 36px;
  --radius-medium: 24px;
  --radius-small: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream);
  font-family:
    "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 38, 59, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 38, 59, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

a {
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid var(--amber-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 10px 14px 10px 12px;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(22, 38, 59, 0.1);
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(43, 33, 31, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 2px solid white;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(22, 38, 59, 0.15);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-tag {
  margin-top: 5px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
}

.site-nav a {
  padding: 11px 13px;
  color: var(--ink);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(26, 107, 97, 0.09);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: white;
  background: var(--teal);
}

.site-nav .nav-cta:hover {
  background: #13584f;
}

.hero {
  position: relative;
  width: min(calc(100% - 32px), 1320px);
  min-height: 760px;
  margin: 20px auto 0;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 18% 15%, rgba(95, 201, 184, 0.25), transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(180, 154, 224, 0.2), transparent 28%),
    var(--ink);
  border-radius: 44px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.8fr);
  gap: 50px;
  align-items: center;
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 760px;
  margin: 0 auto;
}

.hero-copy {
  padding: 84px 0;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--teal-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 11px;
  height: 11px;
  content: "";
  background: currentColor;
  border-radius: 3px;
  transform: rotate(12deg);
}

.hero h1,
.section-heading h2,
.final-cta h2,
.legal-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
}

.hero h1 span {
  display: block;
  color: var(--coral);
  font-style: italic;
}

.hero-lede {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-promise {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 24px 0 0;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--teal-bright);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 900;
  transform: rotate(-1deg);
}

.hero-promise::before {
  content: "✓";
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.store-badge:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.store-badge img {
  width: auto;
  height: 54px;
}

.store-badge[data-store="google"] img {
  width: 207px;
  height: 80px;
  max-width: none;
  margin: -13px -10px;
}

.hero-visual {
  position: relative;
  align-self: end;
  min-height: 690px;
}

.hero-phone {
  position: absolute;
  right: 8%;
  bottom: -82px;
  width: min(420px, 88%);
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.35));
  transform: rotate(3deg);
}

.float-note {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 25px;
  box-shadow: 8px 8px 0 var(--coral);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  font-weight: 900;
}

.float-note.one {
  top: 122px;
  right: 0;
  transform: rotate(8deg);
}

.float-note.two {
  bottom: 145px;
  left: -12px;
  color: white;
  background: var(--violet);
  box-shadow: 8px 8px 0 var(--violet-bright);
  transform: rotate(-7deg);
}

.clue-tile {
  position: absolute;
  top: 44px;
  left: 0;
  width: 114px;
  height: 114px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(
      45deg,
      transparent 49.2%,
      rgba(255, 255, 255, 0.7) 49.5%,
      rgba(255, 255, 255, 0.7) 50.5%,
      transparent 50.8%
    ),
    var(--teal);
  border: 4px solid var(--teal-bright);
  border-radius: 22px;
  box-shadow: var(--shadow-small);
  transform: rotate(-5deg);
}

.clue-tile span {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
}

.clue-tile span:first-child {
  top: 12px;
  right: 19px;
}

.clue-tile span:last-child {
  bottom: 10px;
  left: 18px;
}

.hero-squiggle {
  position: absolute;
  right: -36px;
  bottom: 46px;
  width: 200px;
  height: 110px;
  border: 9px solid var(--amber-bright);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  opacity: 0.85;
  transform: rotate(18deg);
}

.stats-ribbon {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 64px), 820px);
  margin: -44px auto 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-small);
}

.stat {
  padding: 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading h2 {
  max-width: 1050px;
  color: var(--ink);
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.section-heading p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-card {
  position: relative;
  min-height: 430px;
  padding: 32px 32px 190px;
  overflow: hidden;
  border: 1px solid rgba(22, 38, 59, 0.1);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

.how-card:nth-child(1) {
  background: #d7e5df;
}

.how-card:nth-child(2) {
  background: #f2ddcd;
}

.how-card:nth-child(3) {
  background: #e0d8e7;
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 900;
}

.how-card h3 {
  max-width: 260px;
  margin: 24px 0 10px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.08;
}

.how-card p {
  max-width: 100%;
  margin: 0;
  color: #514744;
}

.sum-run {
  position: absolute;
  right: 28px;
  bottom: 34px;
  display: flex;
  gap: 7px;
  align-items: center;
  transform: rotate(-3deg);
}

.sum-run span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--ink);
  background: white;
  border: 3px solid var(--ink);
  border-radius: 13px;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--teal);
}

.sum-run .sum-total {
  width: 70px;
  color: white;
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--coral);
}

.sum-run .plus {
  width: auto;
  background: none;
  border: 0;
  box-shadow: none;
}

.crossword-art {
  position: absolute;
  right: 32px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 58px);
  grid-template-rows: repeat(3, 58px);
  gap: 5px;
  transform: rotate(3deg);
}

.crossword-art span {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: white;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(162, 63, 42, 0.6);
}

.crossword-art span:nth-child(1),
.crossword-art span:nth-child(3),
.crossword-art span:nth-child(7),
.crossword-art span:nth-child(9) {
  visibility: hidden;
}

.logic-art {
  position: absolute;
  right: 32px;
  bottom: 26px;
  display: flex;
  gap: 9px;
  align-items: flex-end;
}

.logic-art span {
  display: grid;
  place-items: center;
  width: 58px;
  color: white;
  background: var(--violet);
  border: 3px solid var(--ink);
  border-radius: 16px 16px 8px 8px;
  box-shadow: 5px 5px 0 var(--violet-bright);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.logic-art span:nth-child(1) {
  height: 72px;
}

.logic-art span:nth-child(2) {
  height: 104px;
}

.logic-art span:nth-child(3) {
  height: 136px;
}

.features-wrap {
  width: min(calc(100% - 32px), 1320px);
  margin: 0 auto;
  padding: 104px 0;
  background: #e9ddce;
  border-radius: 44px;
}

.features-wrap .section-heading p {
  color: #5d514d;
}

.features-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(22, 38, 59, 0.1);
  border-radius: var(--radius-medium);
}

.feature-card h3 {
  position: relative;
  z-index: 2;
  max-width: 320px;
  margin: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.feature-card p {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin: 0;
  color: #514744;
}

.feature-card.wide {
  grid-column: span 8;
  min-height: 360px;
  color: white;
  background: var(--ink);
}

.feature-card.wide h3,
.feature-card.wide p {
  color: white;
}

.feature-card.tall {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 780px;
  background: #d7e5df;
}

.feature-card.nudge-card {
  grid-column: span 4;
}

.feature-card.combo-card {
  grid-column: span 4;
  padding: 28px;
}

.feature-card.combo-card h3 {
  font-size: 1.85rem;
}

.feature-card.half-card {
  grid-column: span 7;
}

.feature-card.coral {
  background: #f2d5c8;
}

.feature-card.amber {
  background: #f3e2bc;
}

.feature-card.violet {
  background: #ddd2e7;
}

.feature-card .feature-phone {
  position: absolute;
  right: -20px;
  bottom: -158px;
  width: 320px;
  filter: drop-shadow(0 20px 18px rgba(22, 38, 59, 0.2));
  transform: rotate(4deg);
}

.feature-card.tall .feature-phone {
  top: 220px;
  right: 50%;
  bottom: auto;
  width: 320px;
  transform: translateX(50%) rotate(-2deg);
}

.feature-card.wide .feature-purchase-note {
  max-width: 350px;
  margin-top: 28px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--teal-bright);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

.no-ad-badge {
  position: absolute;
  right: 36px;
  bottom: 38px;
  display: grid;
  width: 188px;
  height: 188px;
  place-items: center;
  color: var(--ink);
  background: var(--coral);
  border: 7px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--coral);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transform: rotate(8deg);
}

.pencil-dots {
  position: absolute;
  right: 24px;
  bottom: 28px;
  display: flex;
  gap: 14px;
}

.pencil-dots span {
  color: var(--blue);
  font-family: "NotesHand", cursive;
  font-size: 2.65rem;
  font-weight: 400;
  line-height: 1;
  transform: rotate(4deg);
}

.pencil-dots span:nth-child(1) {
  color: var(--blue);
  transform: rotate(-8deg);
}

.pencil-dots span:nth-child(2) {
  color: var(--teal);
}

.pencil-dots span:nth-child(3) {
  color: var(--amber);
  transform: rotate(7deg);
}

.pencil-dots span:nth-child(4) {
  color: var(--violet);
  transform: rotate(-3deg);
}

.feature-icon {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
  opacity: 1;
}

.history-icons {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.history-icons span:last-child {
  color: var(--teal);
}

.calendar-icon {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 58px;
  height: 54px;
  background:
    radial-gradient(circle, var(--coral-deep) 0 3px, transparent 4px) 13px 25px / 18px 16px,
    var(--paper);
  border: 4px solid var(--ink);
  border-radius: 9px;
  box-shadow: inset 0 12px 0 var(--coral);
}

.calendar-icon::before,
.calendar-icon::after {
  position: absolute;
  top: -10px;
  width: 5px;
  height: 15px;
  content: "";
  background: var(--ink);
  border-radius: 4px;
}

.calendar-icon::before {
  left: 12px;
}

.calendar-icon::after {
  right: 12px;
}

.offline-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screens-section {
  overflow: hidden;
}

.section.screens-section {
  padding-bottom: 36px;
}

.screens-section .section-heading {
  margin-bottom: 0;
}

.screenshot-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 50px;
}

.screenshot-card {
  position: relative;
  margin: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-small);
}

.screenshot-card:nth-child(4n + 1) {
  background: #d7e5df;
}

.screenshot-card:nth-child(4n + 2) {
  background: #ddd2e7;
}

.screenshot-card:nth-child(4n + 3) {
  background: #f2d5c8;
}

.screenshot-card:nth-child(4n) {
  background: #d9e3f1;
}

.screenshot-card figcaption {
  min-height: 98px;
}

.screenshot-card strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.screenshot-card span {
  display: block;
  margin-top: 8px;
  color: #544844;
  font-size: 0.86rem;
}

.screenshot-card img {
  width: 100%;
  margin-top: 8px;
  filter: drop-shadow(0 16px 16px rgba(22, 38, 59, 0.2));
}

.fair-play {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 60px;
  align-items: center;
  padding: 70px;
  overflow: hidden;
  color: white;
  background: var(--teal);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.fair-play::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  content: "";
  border: 70px solid rgba(95, 201, 184, 0.24);
  border-radius: 50%;
}

.fair-play h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.fair-play .eyebrow {
  color: white;
}

.fair-play p {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.fair-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fair-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 15px;
  font-weight: 900;
  box-shadow: 5px 5px 0 rgba(22, 38, 59, 0.22);
}

.fair-list li::before {
  display: grid;
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  place-items: center;
  content: "✓";
  color: white;
  background: var(--coral);
  border-radius: 50%;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 70px;
}

.faq-intro h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.faq-intro p {
  color: var(--muted);
}

.faq-items {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
}

details[open] {
  border-color: rgba(26, 107, 97, 0.4);
  box-shadow: var(--shadow-small);
}

summary {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  content: "+";
  color: white;
  background: var(--coral-deep);
  border-radius: 50%;
  font-size: 1.2rem;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 14px 42px 0 0;
  color: var(--muted);
}

.final-cta {
  position: relative;
  width: min(calc(100% - 32px), 1320px);
  margin: 0 auto 24px;
  padding: 100px 32px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6), transparent 25%),
    var(--coral);
  border-radius: 44px;
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  width: 150px;
  height: 150px;
  content: "";
  border: 28px solid rgba(255, 250, 242, 0.45);
  border-radius: 32px;
  transform: rotate(22deg);
}

.final-cta::before {
  top: -48px;
  left: 6%;
}

.final-cta::after {
  right: 6%;
  bottom: -55px;
}

.final-cta .kicker {
  color: var(--ink);
}

.final-cta h2 {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(3rem, 6vw, 6rem);
}

.final-cta p {
  max-width: 610px;
  margin: 24px auto 0;
  font-size: 1.12rem;
}

.final-cta .store-row {
  position: relative;
  z-index: 2;
  justify-content: center;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 54px 0 42px;
}

.footer-main {
  display: flex;
  gap: 32px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-main p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--coral-deep);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-page {
  background:
    radial-gradient(circle at 90% 3%, rgba(180, 154, 224, 0.16), transparent 22%),
    var(--cream);
}

.legal-header .nav-shell {
  max-width: 760px;
  margin: 0 auto;
}

.back-home {
  margin-left: auto;
  padding: 10px 14px;
  color: var(--ink);
  background: #d7e5df;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.legal-hero {
  width: min(calc(100% - 40px), 760px);
  margin: 70px auto 34px;
}

.legal-hero .kicker {
  color: var(--teal);
}

.legal-hero h1 {
  color: var(--ink);
  font-size: clamp(3.2rem, 8vw, 6rem);
}

.legal-hero p {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--muted);
}

.legal-content {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto 80px;
  padding: clamp(26px, 6vw, 64px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-small);
}

.legal-content .updated {
  display: inline-block;
  margin: 0 0 30px;
  padding: 8px 12px;
  color: var(--ink);
  background: #d7e5df;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 900;
}

.legal-content h2 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 17px;
}

.legal-content ul {
  margin: 0 0 20px;
  padding-left: 24px;
}

.legal-content li {
  margin: 7px 0;
}

.legal-content a {
  color: var(--teal);
  font-weight: 800;
}

.legal-contact {
  display: inline-block;
  padding: 15px 18px;
  background: #f2d5c8;
  border-radius: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.72fr;
    gap: 20px;
  }

  .hero-visual {
    min-height: 630px;
  }

  .hero-phone {
    right: -8%;
  }

  .float-note.two,
  .clue-tile {
    display: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .how-card {
    min-height: 390px;
  }

  .feature-card.wide {
    grid-column: span 14;
    grid-row: auto;
    min-height: 470px;
  }

  .feature-card.tall {
    grid-column: span 14;
    grid-row: auto;
    min-height: 780px;
  }

  .feature-card.nudge-card {
    grid-column: span 14;
  }

  .feature-card.combo-card {
    grid-column: span 14;
  }

  .fair-play {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 10px;
  }

  .nav-shell {
    min-height: 64px;
    padding: 8px;
    border-radius: 18px;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .brand-tag {
    display: none;
  }

  .site-nav .nav-cta {
    padding: 10px 12px;
  }

  .hero {
    width: min(calc(100% - 20px), 1320px);
    min-height: auto;
    border-radius: 30px;
  }

  .hero-inner {
    display: block;
    width: min(calc(100% - 40px), var(--max-width));
    min-height: auto;
  }

  .hero-copy {
    padding: 66px 0 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.6rem);
  }

  .hero-lede {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-promise {
    font-size: 0.78rem;
  }

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

  .hero-visual {
    min-height: 670px;
  }

  .hero-phone {
    top: 30px;
    right: 50%;
    bottom: auto;
    width: min(350px, 92%);
    transform: translateX(50%) rotate(2deg);
  }

  .float-note.one {
    top: 85px;
    right: -4px;
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
  }

  .stats-ribbon {
    grid-template-columns: repeat(3, 1fr);
    width: min(calc(100% - 38px), 1040px);
    margin-top: -24px;
  }

  .stat {
    padding: 20px 10px;
  }

  .stat span {
    font-size: 0.68rem;
  }

  .section {
    width: min(calc(100% - 28px), var(--max-width));
    padding: 80px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section.screens-section {
    padding-bottom: 28px;
  }

  .how-card {
    min-height: 390px;
    padding: 25px 25px 170px;
  }

  .sum-run {
    transform: scale(0.82) rotate(-3deg);
    transform-origin: right bottom;
  }

  .features-wrap {
    width: min(calc(100% - 20px), 1320px);
    padding: 74px 0;
    border-radius: 30px;
  }

  .features-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .feature-grid {
    display: block;
  }

  .feature-card {
    min-height: 330px;
    margin-top: 14px;
    padding: 25px;
  }

  .feature-card.wide {
    min-height: 540px;
  }

  .feature-card.tall {
    min-height: 760px;
  }

  .feature-card.tall .feature-phone {
    top: 235px;
    right: 50%;
    bottom: auto;
    width: 310px;
    transform: translateX(50%) rotate(2deg);
  }

  .no-ad-badge {
    right: 30px;
    bottom: 38px;
    width: 150px;
    height: 150px;
    font-size: 1.2rem;
  }

  .screenshot-rail {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(calc(100% - 28px), var(--max-width));
    padding-right: 18px;
    padding-left: 18px;
  }

  .fair-play {
    gap: 38px;
    padding: 44px 24px;
    border-radius: 26px;
  }

  .faq-grid {
    gap: 32px;
  }

  .final-cta {
    width: min(calc(100% - 20px), 1320px);
    padding: 78px 20px;
    border-radius: 30px;
  }

  .footer-main {
    display: grid;
  }

  .footer-links {
    margin-left: 0;
  }

  .footer-bottom {
    display: grid;
    gap: 6px;
  }

  .legal-hero {
    margin-top: 48px;
  }
}

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

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