:root {
  --bg: #FAF6EF;
  --surface: #FFFFFF;
  --sunken: #F6F0E5;
  --peach: #F8E3CB;
  --ink: #134256;
  --ink-2: #6B6459;
  --hairline: #E7DFD2;
  --accent: #CA6433;
  --accent-text: #A9502A;
  --accent-tint: #FBE9DC;
  --gold: #EDA041;
  --night: #0D3345;
  --night-ink: #F6EDE0;
  --night-ink-2: #9DB3BD;
  --c0: #E7DFD2;
  --c1: #C5D3D9;
  --c2: #94AEB9;
  --c3: #5F869A;
  --c4: #2F6078;
  --c5: #134256;
  --serif: "Newsreader", "New York", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --radius-lg: 30px;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-soft: 0 1px 2px rgba(19, 66, 86, .04), 0 12px 32px -12px rgba(19, 66, 86, .14);
  --shadow-lift: 0 2px 6px rgba(19, 66, 86, .06), 0 30px 60px -24px rgba(19, 66, 86, .32);
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  font-size: clamp(44px, 6.4vw, 80px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(34px, 4.4vw, 54px);
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
}

.muted {
  color: var(--ink-2);
}

.serif-em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, .72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}

.site-header.scrolled {
  background: rgba(250, 246, 239, .9);
  border-bottom-color: var(--hairline);
}

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

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 12px -4px rgba(19, 66, 86, .35);
}

.brand-word {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(19, 66, 86, .06);
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.main-nav .nav-download {
  margin-left: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.main-nav .nav-download:hover {
  background: #0D3345;
  color: #fff;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.menu-button span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 23px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 26px 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(19, 66, 86, .7);
  transition: transform .15s ease, background-color .15s ease;
}

.app-store-button:hover {
  background: var(--night);
  transform: translateY(-1px);
}

.app-store-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: none;
}

.app-store-button span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-store-button small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  opacity: .8;
}

.button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.primary-button {
  background: var(--ink);
  color: #fff;
}

.primary-button:hover {
  background: var(--night);
}

.secondary-button {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.secondary-button:hover {
  border-color: var(--c2);
}

.text-link {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(241, 185, 114, .28), transparent 70%),
    linear-gradient(180deg, var(--peach) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .lead {
  max-width: 34ch;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-shots {
  position: relative;
  height: clamp(460px, 48vw, 620px);
}

.shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sunken);
  box-shadow: var(--shadow-lift);
}

.shot img {
  width: 100%;
  aspect-ratio: 720 / 1327;
  object-fit: cover;
}

.hero-shots .shot {
  position: absolute;
  width: 58%;
}

.hero-shots .shot-back {
  right: 0;
  top: 0;
  transform: rotate(4deg);
}

.hero-shots .shot-front {
  left: 4%;
  top: 9%;
  transform: rotate(-3deg);
  border: 6px solid var(--surface);
}

.strip {
  margin-top: clamp(-56px, -5vw, -40px);
  position: relative;
  z-index: 2;
}

.strip-card {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.strip-card li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.strip-card li + li {
  border-left: 1px solid var(--hairline);
}

.strip-card strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.strip-card span {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  flex: none;
}

.icon-tile svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.section-head h2 {
  margin-bottom: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}

.feature + .feature {
  margin-top: clamp(88px, 10vw, 144px);
}

.feature.reverse .feature-media {
  order: 2;
}

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

.feature-media .shot {
  width: min(360px, 100%);
}

.feature-media.pair {
  gap: 20px;
}

.feature-media.pair .shot {
  width: min(300px, 48%);
}

.feature-media.pair .shot:last-child {
  margin-top: 56px;
}

.feature-copy h2 {
  margin-bottom: 20px;
}

.feature-copy .lead {
  margin-bottom: 28px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.check-list strong {
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
}

.pill.gold {
  background: rgba(237, 160, 65, .18);
  color: #8A5410;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

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

.legend i,
.mini-legend i {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 5px;
}

.c0 { background: var(--c0); }
.c1 { background: var(--c1); }
.c2 { background: var(--c2); }
.c3 { background: var(--c3); }
.c4 { background: var(--c4); }
.c5 { background: var(--gold); }

.cycle {
  background:
    repeating-linear-gradient(135deg, rgba(202, 100, 51, .35) 0 2px, transparent 2px 6px),
    var(--accent-tint);
  outline: 1.5px dashed rgba(202, 100, 51, .55);
  outline-offset: -1.5px;
}

.month-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}

.month-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.month-card-head h3 {
  font-size: 26px;
}

.month-card-head span {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}

.month-grid .dow {
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding-bottom: 2px;
}

.month-grid .day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.month-grid .day.c0,
.month-grid .day.c1,
.month-grid .day.cycle,
.month-grid .day.future {
  color: var(--ink);
}

.month-grid .day.c5 {
  color: var(--ink);
}

.month-grid .day.future {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--ink-2);
}

.month-grid .day.today {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
}

.month-grid .blank {
  aspect-ratio: 1;
}

.month-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sunken);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.stat-chip i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.sisters {
  background: linear-gradient(180deg, var(--bg) 0%, var(--sunken) 50%, var(--bg) 100%);
}

.theme-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.theme-row figure {
  margin: 0;
  text-align: center;
}

.theme-row img {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: 0 10px 22px -10px rgba(19, 66, 86, .5);
}

.theme-row figcaption {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.night {
  background: var(--night);
  color: var(--night-ink);
}

.night h2,
.night h3 {
  color: var(--night-ink);
}

.night .eyebrow {
  color: var(--gold);
}

.night .lead,
.night .muted {
  color: var(--night-ink-2);
}

.night .check-list li::before {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3345' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.friends-mock {
  position: relative;
  width: min(420px, 100%);
  margin-inline: auto;
}

.friends-card {
  margin-top: 48px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}

.friends-card h3 {
  margin: 4px 4px 14px;
  font-size: 26px;
}

.friend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
}

.friend + .friend {
  margin-top: 8px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c1);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  flex: none;
}

.avatar.a2 { background: var(--accent-tint); color: var(--accent-text); }
.avatar.a3 { background: rgba(237, 160, 65, .25); color: #8A5410; }

.friend-info {
  flex: 1;
  min-width: 0;
}

.friend-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.friend-info span {
  color: var(--ink-2);
  font-size: 13px;
}

.bars {
  display: flex;
  gap: 3px;
}

.bars i {
  width: 6px;
  height: 20px;
  border-radius: 3px;
  background: var(--c0);
}

.bars i.on {
  background: var(--ink);
}

.bars.full i {
  background: var(--gold);
}

.nudge {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.toast {
  position: absolute;
  left: -28px;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(320px, 90%);
  padding: 12px 16px 12px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
}

.toast img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.toast strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.toast span {
  color: var(--ink-2);
  font-size: 13px;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 clamp(40px, 5vw, 56px);
  padding: 0;
  list-style: none;
}

.premium-features li {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface);
}

.premium-features strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.premium-features span {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.plan h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.plan .price {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 6px;
}

.plan .price small {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
}

.plan p {
  color: var(--ink-2);
  font-size: 15px;
}

.plan.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--night-ink);
  box-shadow: var(--shadow-lift);
}

.plan.featured h3,
.plan.featured .price small,
.plan.featured p {
  color: var(--night-ink-2);
}

.plan.featured .price {
  color: #fff;
}

.plan .badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--night);
  font-size: 12px;
  font-weight: 700;
}

.fine-print {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
}

.free-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 40px;
  padding: 0;
  list-style: none;
  max-width: 860px;
}

.free-list li {
  padding: 7px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface);
  transition: box-shadow .2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  border-radius: 20px;
}

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

.faq-item summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sunken) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134256' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--ink-2);
  font-size: 16px;
}

.faq-answer a {
  color: var(--accent-text);
  font-weight: 600;
}

.faq-more {
  margin-top: 28px;
  text-align: center;
}

.cta-section {
  padding: clamp(24px, 4vw, 48px) 0 0;
}

.cta-card {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: 36px;
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(241, 185, 114, .35), transparent 70%),
    linear-gradient(180deg, var(--peach) 0%, #FBEFE2 100%);
  border: 1px solid rgba(202, 100, 51, .14);
}

.cta-card img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 18px 36px -14px rgba(19, 66, 86, .55);
}

.cta-card .lead {
  max-width: 46ch;
}

.site-footer {
  margin-top: clamp(72px, 9vw, 120px);
  padding: 64px 0 32px;
  background: var(--night);
  color: var(--night-ink-2);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.footer-brand .brand {
  color: var(--night-ink);
}

.footer-brand p {
  max-width: 28ch;
  margin-top: 16px;
  font-size: 15px;
}

.footer-col strong {
  display: block;
  margin-bottom: 14px;
  color: var(--night-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--night-ink-2);
  font-size: 15px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--night-ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

.site-footer :focus-visible {
  outline-color: var(--gold);
}

.page-hero {
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 80px);
  background: linear-gradient(180deg, var(--peach) 0%, var(--bg) 100%);
}

.page-hero .container {
  max-width: calc(860px + var(--gutter) * 2);
}

.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  margin-bottom: 20px;
}

.page-hero.wide .container {
  max-width: calc(var(--max) + var(--gutter) * 2);
}

.page-hero .lead {
  max-width: 60ch;
}

.breadcrumb {
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--ink-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
  margin: 0 6px;
  opacity: .6;
}

.article-meta {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.prose-wrap {
  max-width: calc(860px + var(--gutter) * 2);
}

.prose {
  font-size: 17.5px;
  line-height: 1.7;
}

.prose.card {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.prose > * + * {
  margin-top: 18px;
}

.prose h2 {
  margin-top: 44px;
  font-size: clamp(26px, 3vw, 32px);
}

.prose h2 + * {
  margin-top: 14px;
}

.prose h3 {
  margin-top: 28px;
  font-size: 22px;
}

.prose > h2:first-child,
.prose > :first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

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

.prose li::marker {
  color: var(--accent);
}

.prose a:not(.primary-button):not(.secondary-button) {
  color: var(--accent-text);
  font-weight: 600;
  text-underline-offset: 3px;
}

.legal-date {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.support-steps {
  counter-reset: step;
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 12px;
}

.support-steps li {
  counter-increment: step;
  position: relative;
  margin: 0 !important;
  padding: 16px 18px 16px 64px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--bg);
}

.support-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.key-points {
  padding: 24px 28px;
  border-radius: 22px;
  background: var(--sunken);
  border: 1px solid var(--hairline);
}

.key-points strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.key-points ul {
  margin: 0;
}

.article-note {
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  border-radius: 6px 18px 18px 6px;
  background: rgba(237, 160, 65, .12);
  color: var(--ink);
  font-size: 16px;
}

.article-figure {
  margin: 32px auto !important;
  width: min(340px, 100%);
}

.article-figure .shot {
  box-shadow: var(--shadow-lift);
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px !important;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--peach), #FBEFE2);
}

.article-cta h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.article-cta p {
  color: var(--ink-2);
  font-size: 15px;
}

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

.comparison-card {
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--bg);
}

.comparison-card h3 {
  margin: 0 0 6px !important;
  font-size: 20px;
}

.comparison-card p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.mini-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

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

.split-section {
  padding: clamp(40px, 6vw, 72px) 0;
}

.split-section + .split-section {
  padding-top: 0;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.feature-copy p + p {
  margin-top: 14px;
}

.feature-copy .check-list {
  margin-top: 24px;
}

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

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.guide-card h2,
.guide-card h3 {
  font-size: 24px;
}

.guide-card p {
  color: var(--ink-2);
  font-size: 15.5px;
  flex: 1;
}

.guide-card b {
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 600;
}

.guide-tag {
  align-self: flex-start;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.support-card h2 {
  font-size: 24px;
}

.support-card p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.support-card.primary {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  border-color: var(--ink);
}

.support-card.primary h2 {
  color: #fff;
  margin-bottom: 6px;
}

.support-card.primary p {
  color: var(--night-ink-2);
  max-width: 52ch;
}

.support-card.primary .secondary-button {
  border-color: transparent;
}

.center-page {
  display: grid;
  place-items: center;
  min-height: min(calc(100svh - 72px), 960px);
  padding: 48px 0 80px;
  background: linear-gradient(180deg, var(--peach) 0%, var(--bg) 70%);
  text-align: center;
}

.center-page .container {
  max-width: calc(620px + var(--gutter) * 2);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.center-page .app-icon {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  box-shadow: 0 20px 40px -16px rgba(19, 66, 86, .55);
  margin-bottom: 8px;
}

.center-page h1 {
  font-size: clamp(40px, 6vw, 60px);
}

.invite-card {
  width: 100%;
  margin-top: 12px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.invite-card .button-row {
  margin-top: 20px;
}

.invite-card .button-row > * {
  flex: 1 1 200px;
}

@media (max-width: 1080px) {
  .strip-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .strip-card li:nth-child(4) {
    border-left: 0;
  }

  .strip-card li:nth-child(n + 4) {
    border-top: 1px solid var(--hairline);
  }

  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .premium-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--hairline);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-lift);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 16px;
    font-size: 16px;
    color: var(--ink);
  }

  .main-nav .nav-download {
    margin: 6px 0 0;
    text-align: center;
  }

  .nav-shell {
    position: relative;
    height: 64px;
  }

  .hero-grid,
  .feature {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .hero .button-row,
  .hero-meta {
    justify-content: center;
  }

  .hero-shots {
    width: min(460px, 100%);
    height: auto;
    aspect-ratio: 1 / 1.12;
    margin-inline: auto;
  }

  .feature.reverse .feature-media {
    order: 0;
  }

  .feature-copy {
    max-width: 600px;
    margin-inline: auto;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

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

  .toast {
    left: -8px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .strip-card {
    grid-template-columns: repeat(2, 1fr);
    padding: 4px;
  }

  .strip-card li {
    padding: 16px 14px;
  }

  .strip-card li:nth-child(n) {
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .strip-card li:nth-child(-n + 2) {
    border-top: 0;
  }

  .strip-card li:nth-child(even) {
    border-left: 1px solid var(--hairline);
  }

  .premium-features,
  .comparison-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  .month-card {
    padding: 20px;
  }

  .prose.card {
    padding: 24px 20px;
  }

  .month-grid {
    gap: 5px;
  }

  .month-grid .day {
    border-radius: 8px;
    font-size: 11px;
  }

  .feature-media.pair .shot:last-child {
    margin-top: 32px;
  }

  .feature-media .shot {
    width: min(300px, 100%);
  }

  .feature-media.pair .shot {
    width: 48%;
  }

  .app-store-button {
    min-height: 54px;
  }

  .faq-item summary {
    padding: 18px 20px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }

  .article-cta .primary-button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.page-hero h1 span,
.center-page h1 span {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.night .friends-card h3 {
  color: var(--ink);
}

.section + .cta-section {
  margin-top: clamp(-72px, -5vw, -32px);
}
