 :root {
   --cream: #f5ede0;
   --cream-deep: #eadbc6;
   --paper: #fffdf9;
   --sage: #dce8d5;
   --sage-2: #eef5eb;
   --green: #5f8c4f;
   --green-dark: #3f642f;
   --brown: #4a3123;
   --brown-soft: #7b5a47;
   --rose: #f2ddda;
   --gold: #efe3bf;
   --text: #2d1f14;
   --text-2: #60493d;
   --text-3: #7a6255;
   --border: rgba(110, 78, 55, 0.12);
   --shadow-xl: 0 28px 78px rgba(57, 36, 23, 0.1);
   --shadow-lg: 0 20px 48px rgba(57, 36, 23, 0.08);
   --shadow-md: 0 14px 34px rgba(57, 36, 23, 0.06);
   --radius-xl: 34px;
   --radius-lg: 24px;
   --radius-md: 18px;
  --anchor-offset: 36px;
 }

 @font-face {
   font-family: "Playfair Display";
   src: url("/static/fonts/playfair-display-500-latin.woff2") format("woff2");
   font-weight: 500;
   font-display: swap;
 }

 @font-face {
   font-family: "Playfair Display";
   src: url("/static/fonts/playfair-display-600italic-latin.woff2") format("woff2");
   font-style: italic;
   font-weight: 600;
   font-display: swap;
 }

 h1,
 h2,
 h3,
 summary {
   margin: 0;
   font-family: "Playfair Display", Georgia, serif;
   font-weight: 500;
   letter-spacing: -0.05em;
   line-height: 0.98;
 }

 h2[id],
 article[id] {
   scroll-margin-top: var(--anchor-offset);
 }

 h1 {
   max-width: 9ch;
   font-size: clamp(52px, 7vw, 86px);
 }

 h1 em,
 h2 em {
   color: var(--green-dark);
   font-style: italic;
   font-weight: 600;
 }

 .hero-copy p,
 .section-copy,
 .feature-card p,
 .switch-card p,
 .route-card p,
 .route-list,
 .manifesto-card p,
 .faq-answer p,
 .cta-copy p,
 .cta-note {
   margin: 0;
   color: var(--text-2);
   font-size: 18px;
   line-height: 1.62;
 }

 .section-band {
   position: relative;
   padding: 46px 0;
 }

 .section-band-paper {
   background:
     linear-gradient(180deg, rgba(255, 253, 249, 0.76), rgba(255, 253, 249, 0.24));
 }

 .section-band-rose {
   background:
     linear-gradient(180deg, rgba(246, 237, 232, 0.64), rgba(255, 253, 249, 0.18));
 }

 .section-band-sand {
   background:
     linear-gradient(180deg, rgba(243, 236, 223, 0.6), rgba(255, 253, 249, 0.16));
 }

 .section-band-sage {
   background:
     linear-gradient(180deg, rgba(231, 240, 228, 0.64), rgba(255, 253, 249, 0.18));
 }

 .section-band-cta {
   padding-top: 40px;
   padding-bottom: 52px;
   background:
     linear-gradient(180deg, rgba(255, 253, 249, 0.72), rgba(236, 246, 231, 0.3));
 }

 .eyebrow,
 .section-kicker {
   display: inline-flex;
   align-items: center;
   min-height: 34px;
   padding: 0 14px;
   border-radius: 999px;
   background: rgba(255, 253, 249, 0.82);
   border: 1px solid rgba(110, 78, 55, 0.08);
   color: var(--text-3);
   font-size: 12px;
   font-weight: 800;
   letter-spacing: 0.08em;
   text-transform: uppercase;
 }

 .hero {
   padding: 26px 0 34px;
 }

 .hero-shell {
   position: relative;
   overflow: hidden;
   border: 1px solid rgba(110, 78, 55, 0.1);
   border-radius: 40px;
   background:
     radial-gradient(circle at 96% 14%, rgba(95, 140, 79, 0.18), transparent 18%),
     radial-gradient(circle at 5% 88%, rgba(242, 221, 218, 0.58), transparent 22%),
     linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(250, 244, 235, 0.98));
   box-shadow: var(--shadow-xl);
 }

 .hero-shell::before,
 .hero-shell::after {
   content: "";
   position: absolute;
   border-radius: 999px;
   pointer-events: none;
 }

 .hero-shell::before {
   top: -96px;
   right: -20px;
   width: 250px;
   height: 250px;
   background: radial-gradient(circle, rgba(95, 140, 79, 0.16), transparent 68%);
 }

 .hero-shell::after {
   left: -78px;
   bottom: -82px;
   width: 236px;
   height: 236px;
   background: radial-gradient(circle, rgba(242, 221, 218, 0.52), transparent 68%);
 }

 .hero-grid {
   position: relative;
   z-index: 1;
   display: grid;
   grid-template-columns: minmax(0, 1.12fr) minmax(320px, 430px);
   gap: 28px;
   align-items: center;
   padding: 40px;
 }

 .hero-copy {
   display: grid;
   align-content: start;
 }

 .hero-copy h1 {
   margin-top: 18px;
 }

 .hero-copy .hero-lead {
   margin-top: 20px;
   max-width: 34rem;
   font-size: 21px;
   color: var(--text);
 }

 .hero-copy p:not(.hero-lead):not(.hero-secondary) {
   margin-top: 14px;
   max-width: 36rem;
 }

 .hero-actions {
   margin-top: 28px;
   display: grid;
   gap: 12px;
   justify-items: start;
 }

.hero-secondary {
  max-width: 34rem;
  font-size: 16px;
  color: var(--text-3);
}

.hero-secondary-label,
.hero-secondary-muted {
  color: var(--text-3);
  font-weight: 700;
}

.hero-secondary-separator {
  color: rgba(122, 98, 85, 0.72);
}

.hero-secondary-primary,
.hero-secondary-secondary,
.hero-proof-link,
.cta-note a {
  color: var(--green-dark);
  font-weight: 800;
}

.hero-secondary-primary {
  text-decoration: underline;
  text-decoration-color: rgba(63, 100, 47, 0.24);
  text-underline-offset: 0.16em;
}

.hero-secondary-secondary {
  font-weight: 700;
}

.hero-reassurance {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

 .hero-signal,
 .switch-card {
   padding: 18px;
   border-radius: 22px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background: rgba(255, 253, 249, 0.82);
   box-shadow: 0 10px 24px rgba(57, 36, 23, 0.04);
 }

 .hero-signal {
   display: grid;
   gap: 8px;
 }

 .hero-signal strong,
 .feature-card strong,
 .switch-card strong,
 .route-card h3,
 .manifesto-card h3 {
   color: var(--text);
 }

 .hero-signal strong {
   font-size: 18px;
   line-height: 1.12;
 }

 .hero-signal span {
   color: var(--text-2);
   font-size: 14px;
   line-height: 1.5;
 }

.hero-proof {
  margin-top: 2px;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  border-top: 1px solid rgba(110, 78, 55, 0.1);
}

.hero-proof-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof-metrics {
  display: flex;
  flex-wrap: wrap;
   gap: 8px;
 }

 .hero-proof-metrics span,
 .story-calendar-state span {
   min-height: 32px;
   padding: 0 12px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border-radius: 999px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background: rgba(255, 253, 249, 0.86);
   color: var(--text-2);
   font-size: 12px;
   font-weight: 800;
 }

 .hero-visual {
   width: min(100%, 430px);
   justify-self: end;
 }

 .preview-console {
   position: relative;
   overflow: hidden;
   padding: 16px 16px 14px;
   border-radius: 34px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background:
     radial-gradient(circle at 88% 12%, rgba(95, 140, 79, 0.16), transparent 20%),
     radial-gradient(circle at 14% 88%, rgba(242, 221, 218, 0.4), transparent 22%),
     linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(255, 253, 249, 0.8));
   box-shadow: var(--shadow-lg);
 }

 .app-device {
   position: relative;
   width: min(100%, 336px);
   margin: 0 auto;
   padding: 10px;
   border-radius: 38px;
   background: linear-gradient(160deg, #7b6050 0%, #2d1f14 20%, #6d4f3c 100%);
   box-shadow:
     0 26px 52px rgba(57, 36, 23, 0.22),
     inset 0 1px 0 rgba(255, 255, 255, 0.18);
 }

 .app-device::before {
   content: "";
   position: absolute;
   top: 12px;
   left: 50%;
   width: 112px;
   height: 16px;
   transform: translateX(-50%);
   border-radius: 999px;
   background: rgba(19, 12, 8, 0.9);
 }

 .app-preview-panel[hidden] {
   display: none;
 }

 .app-screen {
   position: relative;
   overflow: hidden;
   border-radius: 28px;
   border: 1px solid rgba(110, 78, 55, 0.08);
   background:
     radial-gradient(circle at 85% 12%, rgba(238, 219, 203, 0.52), transparent 16%),
     radial-gradient(circle at 10% 18%, rgba(239, 226, 214, 0.68), transparent 15%),
     linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(250, 243, 235, 0.96)),
     repeating-linear-gradient(-32deg, transparent 0, transparent 11px, rgba(216, 186, 157, 0.09) 11px, rgba(216, 186, 157, 0.09) 14px);
 }

 .app-screen-dashboard,
 .app-screen-calendar {
   height: 608px;
   padding: 16px 14px 14px;
   display: grid;
   gap: 12px;
   grid-template-rows: auto minmax(0, 1fr) auto;
 }

 .app-statusbar {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   color: var(--text-3);
   font-size: 12px;
   font-weight: 800;
   letter-spacing: 0.04em;
 }

 .app-screen-body {
   min-height: 0;
   display: grid;
   gap: 12px;
   align-content: start;
   overflow-y: auto;
   overflow-x: hidden;
   scrollbar-width: thin;
   scrollbar-color: rgba(192, 138, 71, 0.62) rgba(255, 253, 249, 0.54);
 }

 .app-screen-body::-webkit-scrollbar {
   width: 6px;
 }

 .app-screen-body::-webkit-scrollbar-track {
   border-radius: 999px;
   background: rgba(255, 253, 249, 0.58);
 }

 .app-screen-body::-webkit-scrollbar-thumb {
   border-radius: 999px;
   background: rgba(192, 138, 71, 0.42);
 }

 .app-card,
 .feature-card,
 .route-card,
 .manifesto-card,
 .faq-item,
 .cta-shell {
   border: 1px solid rgba(110, 78, 55, 0.12);
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-md);
 }

 .app-card {
   background: rgba(255, 253, 249, 0.94);
 }

 .app-cycle-card {
   padding: 16px;
   display: grid;
   gap: 14px;
 }

 .app-cycle-ring-shell {
   display: grid;
   place-items: center;
 }

 .app-cycle-ring {
   width: 152px;
   height: 152px;
   border-radius: 999px;
   padding: 18px 0 16px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 2px;
   text-align: center;
   background:
     radial-gradient(circle at center, rgba(255, 253, 249, 0.98) 63%, transparent 64%),
     conic-gradient(from -90deg, #d98f89 0 72deg, #c08a47 72deg 192deg, #88a76d 192deg 360deg);
   box-shadow: inset 0 0 0 1px rgba(110, 78, 55, 0.08);
 }

 .app-cycle-label {
   display: block;
   color: #c08a47;
   font-size: 11px;
   line-height: 1.1;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 0.06em;
 }

 .app-cycle-ring strong {
   display: block;
   color: var(--text);
   font-size: 42px;
   line-height: 1;
   letter-spacing: -0.04em;
 }

 .app-cycle-phase,
 .app-cycle-length {
   display: block;
   color: var(--text-2);
   font-size: 12px;
   line-height: 1.15;
   font-weight: 700;
 }

 .app-cycle-phase {
   color: #b96a62;
 }

 .app-cycle-length {
   max-width: 86px;
 }

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

 .app-phase-card {
   min-height: 82px;
   padding: 12px;
   border-radius: 18px;
   border: 1px solid rgba(110, 78, 55, 0.08);
   display: grid;
   gap: 4px;
   align-content: space-between;
 }

 .app-phase-card strong {
   color: var(--text);
   font-size: 15px;
   line-height: 1.15;
 }

 .app-phase-card span {
   color: var(--text-2);
   font-size: 12px;
   font-weight: 700;
 }

 .app-phase-card-period {
   background: rgba(242, 221, 218, 0.88);
 }

 .app-phase-card-follicular {
   background: rgba(245, 238, 231, 0.96);
 }

 .app-phase-card-ovulation {
   background: rgba(253, 247, 235, 0.96);
 }

 .app-phase-card-luteal {
   background: rgba(222, 233, 224, 0.92);
 }

 .app-phase-card.is-active {
   box-shadow: 0 0 0 2px rgba(192, 138, 71, 0.34);
 }

 .app-next-period {
   color: var(--text);
   font-size: 15px;
   font-weight: 900;
   text-align: center;
 }

 .app-quick-actions,
 .app-journal-section {
   display: grid;
   gap: 10px;
 }

 .app-section-label,
 .feature-kicker,
 .switch-kicker,
 .route-badge {
   color: var(--text-3);
   font-size: 12px;
   font-weight: 800;
   letter-spacing: 0.08em;
   text-transform: uppercase;
 }

 .app-chip-row {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
 }

 .app-chip {
   min-height: 42px;
   padding: 0 15px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   border-radius: 999px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background: rgba(255, 253, 249, 0.92);
   color: var(--text-2);
   font-size: 13px;
   font-weight: 800;
   box-shadow: 0 8px 16px rgba(57, 36, 23, 0.04);
 }

 .app-chip::before {
   content: "";
   width: 10px;
   height: 10px;
   border-radius: 999px;
   background: rgba(110, 78, 55, 0.32);
   flex: none;
 }

 .app-chip-period::before {
   background: #d98f89;
 }

 .app-chip-mood::before {
   background: #dcb766;
 }

 .app-chip-symptoms::before {
   background: #c88d5c;
 }

 .app-chip-neutral::before {
   background: rgba(110, 78, 55, 0.22);
 }

 .app-chip-row-muted .app-chip {
   min-height: 36px;
   padding: 0 14px;
   font-size: 13px;
   box-shadow: none;
 }

 .app-journal-card,
 .calendar-card,
 .calendar-log-card,
 .story-calendar-card,
 .story-log-card {
   padding: 16px;
   display: grid;
   gap: 12px;
 }

.app-journal-card strong,
.calendar-card-head strong,
.calendar-log-card strong,
.story-log-card strong,
.app-story-point strong,
.app-story-legend strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  text-wrap: balance;
}

 .app-journal-date,
 .calendar-card-head span {
   color: var(--text-2);
   font-size: 13px;
   font-weight: 700;
 }

 .app-journal-row {
   min-height: 52px;
   padding: 0 14px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
   border-radius: 18px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background: rgba(255, 250, 247, 0.96);
 }

 .app-toggle-label {
   color: var(--text);
   font-size: 15px;
   font-weight: 800;
 }

 .app-toggle {
   width: 46px;
   height: 28px;
   padding: 3px;
   border-radius: 999px;
   background: rgba(110, 78, 55, 0.16);
   display: inline-flex;
   align-items: center;
 }

 .app-toggle span {
   width: 22px;
   height: 22px;
   border-radius: 999px;
   background: #fff;
   box-shadow: 0 2px 6px rgba(57, 36, 23, 0.12);
 }

 .app-toggle-on {
   justify-content: flex-end;
   background: linear-gradient(180deg, rgba(232, 131, 125, 0.96), rgba(216, 106, 101, 0.94));
   box-shadow: inset 0 0 0 1px rgba(163, 71, 68, 0.14);
 }

 .app-tabbar {
   min-height: 70px;
   padding: 8px 10px;
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 6px;
   align-items: center;
   border-radius: 22px;
   background: rgba(246, 238, 226, 0.94);
   border: 1px solid rgba(110, 78, 55, 0.08);
 }

 .app-tab {
   min-height: 42px;
   padding: 0 8px;
   display: grid;
   place-items: center;
   border: 0;
   background: transparent;
   color: var(--text-3);
   font: inherit;
   font-size: 13px;
   font-weight: 800;
 }

 button.app-tab {
   cursor: pointer;
   border-radius: 16px;
 }

 .app-tab-active,
 button.app-tab[aria-pressed="true"] {
   color: #c08a47;
   background: rgba(255, 253, 249, 0.78);
   box-shadow: 0 6px 14px rgba(57, 36, 23, 0.06);
 }

 .calendar-card-head {
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
   gap: 14px;
 }

 .calendar-actions,
 .story-calendar-state {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
 }

 .calendar-actions span {
   min-height: 36px;
   padding: 0 13px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border-radius: 999px;
   border: 1px solid rgba(110, 78, 55, 0.12);
   background: rgba(255, 253, 249, 0.96);
   color: var(--text-2);
   font-size: 13px;
   font-weight: 800;
 }

 .calendar-actions .is-current,
 .story-calendar-state .is-current {
   background: #c08a47;
   border-color: #c08a47;
   color: var(--paper);
 }

 .calendar-weekdays,
 .calendar-demo-grid {
   display: grid;
   grid-template-columns: repeat(7, minmax(0, 1fr));
   gap: 8px;
 }

 .calendar-weekdays span {
   display: grid;
   place-items: center;
   color: var(--text-3);
   font-size: 11px;
   font-weight: 800;
   letter-spacing: 0.08em;
   text-transform: uppercase;
 }

 .home-calendar-day {
   position: relative;
   min-height: 42px;
   border-radius: 14px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   display: grid;
   place-items: center;
   background: rgba(255, 253, 249, 0.94);
   color: var(--text-2);
   font-size: 14px;
   font-weight: 800;
 }

 .home-calendar-day.is-recorded {
   background: rgba(241, 220, 216, 0.72);
   color: #83554d;
   border-color: rgba(217, 143, 137, 0.34);
 }

 .home-calendar-day.is-recorded::after {
   content: "";
   position: absolute;
   right: 6px;
   bottom: 6px;
   width: 6px;
   height: 6px;
   border-radius: 999px;
   background: #b8746a;
 }

 .home-calendar-day.is-predicted,
 .home-calendar-day.is-hint,
 .home-calendar-day.is-next-month {
   border-style: dashed;
 }

 .home-calendar-day.is-hint {
   color: #a47b62;
 }

 .home-calendar-day.is-selected {
   background: rgba(246, 235, 216, 0.96);
   border-color: rgba(192, 138, 71, 0.48);
   box-shadow: 0 0 0 2px rgba(192, 138, 71, 0.14);
 }

 .home-calendar-day.is-next-month {
   color: #c0a99b;
 }

 .home-calendar-day.is-next-cycle {
   background: rgba(220, 232, 213, 0.92);
   color: var(--green-dark);
 }

 .calendar-legend {
   display: flex;
   flex-wrap: wrap;
   gap: 10px 12px;
 }

 .calendar-legend-item {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   color: var(--text-2);
   font-size: 12px;
   font-weight: 700;
 }

 .calendar-legend-swatch {
   width: 12px;
   height: 12px;
   border-radius: 999px;
   background: rgba(110, 78, 55, 0.24);
 }

 .calendar-legend-swatch.is-recorded {
   background: #d98f89;
 }

 .calendar-legend-swatch.is-predicted {
   border: 2px dashed #c08a47;
   background: transparent;
 }

 .calendar-legend-swatch.is-next-cycle {
   background: #88a76d;
 }

 .calendar-log-panel {
   padding: 16px;
   border-radius: 20px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background: rgba(255, 253, 249, 0.96);
   display: grid;
   gap: 10px;
 }

 .calendar-log-panel p {
   color: var(--text-2);
   font-size: 15px;
   line-height: 1.52;
 }

 .app-story-legend-copy span {
   color: var(--text-2);
   font-size: 14px;
   line-height: 1.45;
 }

 .calendar-log-meta {
   padding-top: 10px;
   border-top: 1px solid rgba(110, 78, 55, 0.08);
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
 }

 .calendar-log-meta span {
   color: var(--text-3);
   font-size: 12px;
   font-weight: 800;
   letter-spacing: 0.08em;
   text-transform: uppercase;
 }

 .calendar-log-meta strong {
   font-size: 15px;
 }

 .app-story-shell {
   display: grid;
   grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
   gap: 32px;
   align-items: stretch;
   padding: 34px;
   border-radius: 34px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background:
     radial-gradient(circle at 12% 16%, rgba(242, 221, 218, 0.46), transparent 22%),
     radial-gradient(circle at 88% 82%, rgba(95, 140, 79, 0.14), transparent 24%),
     linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(249, 242, 233, 0.98));
   box-shadow: var(--shadow-lg);
 }

 .app-story-copy {
   display: grid;
   align-content: start;
 }

 .app-story-copy h2 {
   margin-top: 12px;
   max-width: 8ch;
   font-size: clamp(42px, 5.4vw, 68px);
 }

 .app-story-copy p {
   margin-top: 18px;
   max-width: 31rem;
   color: var(--text-2);
   font-size: 18px;
   line-height: 1.58;
 }

.app-story-note {
  margin-top: 28px;
  padding: 22px;
  display: grid;
  gap: 14px;
  border-radius: 24px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(244, 237, 226, 0.92));
   box-shadow: 0 12px 28px rgba(57, 36, 23, 0.05);
 }

.app-story-note strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
  text-wrap: balance;
}

.app-story-note p {
  margin: 0;
  max-width: none;
  font-size: 16px;
  line-height: 1.58;
}

 .app-story-tags {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
 }

 .app-story-tags span {
   min-height: 32px;
   padding: 0 10px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border-radius: 999px;
   border: 1px solid rgba(110, 78, 55, 0.1);
   background: rgba(255, 253, 249, 0.86);
   color: var(--text-2);
   font-size: 11px;
   font-weight: 800;
   letter-spacing: 0.04em;
   text-transform: uppercase;
 }

 .app-story-visual {
   display: grid;
   gap: 18px;
   align-content: start;
 }

 .story-calendar-shell {
   display: grid;
   grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
   gap: 14px;
 }

 .story-calendar-card,
 .story-log-card {
   background: rgba(255, 253, 249, 0.9);
 }

 .calendar-demo-grid-story .home-calendar-day {
   min-height: 50px;
 }

.app-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

 .app-story-point,
 .app-story-legend {
   padding: 22px;
   border-radius: 24px;
   border: 1px solid rgba(110, 78, 55, 0.08);
   background: rgba(255, 253, 249, 0.88);
   box-shadow: 0 12px 24px rgba(57, 36, 23, 0.04);
   display: grid;
   gap: 10px;
   align-content: start;
 }

.app-story-point {
  min-height: 172px;
}

 .app-story-point-featured {
   background:
     linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(242, 221, 218, 0.38));
   border-color: rgba(192, 138, 71, 0.12);
 }

 .app-story-point span {
   color: var(--text-2);
   font-size: 15px;
   line-height: 1.52;
 }

.app-story-legend {
  grid-column: 1 / -1;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.app-story-legend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-story-legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.app-story-legend-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.app-story-legend-copy strong {
  display: block;
  font-size: 16px;
  line-height: 1.18;
}

 .app-story-legend-dot {
   width: 13px;
   height: 13px;
   margin-top: 4px;
   border-radius: 999px;
   background: rgba(110, 78, 55, 0.26);
 }

 .app-story-legend-dot.is-recorded {
   background: #d98f89;
 }

 .app-story-legend-dot.is-predicted {
   border: 2px dashed #c08a47;
   background: transparent;
 }

 .app-story-legend-dot.is-next-cycle {
   background: #88a76d;
 }

 .section-head {
   display: flex;
   align-items: end;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 18px;
 }

.section-head h2 {
  margin-top: 12px;
  max-width: 12ch;
  font-size: clamp(36px, 5vw, 60px);
}

 .section-copy {
   max-width: 39rem;
 }

 .feature-grid,
 .switch-grid,
 .routes,
 .proof-grid {
   display: grid;
   gap: 18px;
 }

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

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

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

 .feature-card,
 .route-card,
 .manifesto-card {
   transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
 }

 .feature-card {
   min-height: 204px;
   padding: 22px;
   display: grid;
   align-content: start;
   gap: 12px;
   background: rgba(255, 253, 249, 0.84);
 }

 .feature-card:nth-child(3n+1) {
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(239, 245, 235, 0.78));
 }

 .feature-card:nth-child(3n+2) {
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(246, 236, 233, 0.82));
 }

 .feature-card:nth-child(3n) {
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(244, 237, 213, 0.78));
 }

 .feature-card strong {
   font-size: 26px;
   line-height: 1.08;
 }

.switch-card {
  min-height: 222px;
  display: grid;
  grid-template-rows: auto minmax(74px, auto) minmax(0, 1fr);
  gap: 12px;
  background:
     linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(247, 240, 230, 0.84));
}

.switch-card strong {
  max-width: none;
  font-size: 28px;
  line-height: 1.08;
  text-wrap: balance;
}

.route-card {
  min-height: 356px;
  padding: 22px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  background: var(--paper);
}

.route-card-head,
.route-card-body,
.route-card-footer {
  display: grid;
  align-content: start;
}

.route-card-head {
  gap: 14px;
}

.route-card-body {
  min-height: 0;
}

 .route-card-free {
   background: linear-gradient(180deg, rgba(223, 236, 217, 0.72), rgba(255, 253, 249, 0.98));
 }

 .route-card-recommended {
   position: relative;
   border-color: rgba(95, 140, 79, 0.3);
   background: linear-gradient(180deg, rgba(242, 221, 218, 0.7), rgba(255, 253, 249, 0.98));
   box-shadow: 0 24px 56px rgba(87, 56, 39, 0.12);
 }

 .route-card-recommended::after {
   content: "";
   position: absolute;
   inset: 0;
   border-radius: inherit;
   box-shadow: inset 0 0 0 2px rgba(95, 140, 79, 0.14);
   pointer-events: none;
 }

 .route-card-source {
   background: linear-gradient(180deg, rgba(244, 237, 213, 0.66), rgba(255, 253, 249, 0.98));
 }

 .route-badge {
   width: fit-content;
   min-height: 30px;
   padding: 0 12px;
   display: inline-flex;
   align-items: center;
   border-radius: 999px;
 }

 .route-badge.free {
   color: var(--green-dark);
   background: var(--sage-2);
 }

 .route-badge.cloud {
   color: #874c40;
   background: #f6e8e5;
 }

 .route-badge.source {
   color: #6d5325;
   background: #f4edd5;
 }

.route-card h3 {
  font-size: 34px;
  text-wrap: balance;
}

.route-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 16px;
}

 .route-list li {
   padding-left: 2px;
 }

.route-cta {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-right: 18px;
}

.route-cta-label {
  min-width: 0;
}

.button-arrow {
  flex: none;
  min-width: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

 .manifesto-intro {
   margin-bottom: 18px;
   padding: 28px;
   border-radius: var(--radius-xl);
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.9), rgba(255, 253, 249, 0.74));
   border: 1px solid rgba(110, 78, 55, 0.1);
   box-shadow: var(--shadow-md);
 }

 .manifesto-intro h2 {
   margin-top: 12px;
   font-size: clamp(42px, 6vw, 72px);
   max-width: 8ch;
 }

 .manifesto-intro p {
   margin-top: 18px;
   max-width: 32rem;
   color: var(--text-2);
   font-size: 18px;
   line-height: 1.58;
 }

 .manifesto-card {
   min-height: 216px;
   padding: 24px;
   background: var(--paper);
 }

 .manifesto-card:nth-child(1) {
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(242, 221, 218, 0.56));
 }

 .manifesto-card:nth-child(2) {
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(223, 236, 217, 0.6));
 }

 .manifesto-card:nth-child(3) {
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(239, 227, 191, 0.5));
 }

 .manifesto-card:nth-child(4) {
   background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(234, 219, 198, 0.56));
 }

 .manifesto-card h3 {
   font-size: 28px;
   margin-bottom: 12px;
 }

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

 .faq-item {
   overflow: hidden;
   background: rgba(255, 253, 249, 0.82);
 }

.faq-item summary {
  position: relative;
  display: block;
  padding: 20px 68px 20px 24px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
  cursor: pointer;
  list-style: none;
  text-wrap: balance;
}

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

 .faq-item summary::after {
   content: "+";
   position: absolute;
   top: 50%;
   right: 24px;
   width: 34px;
   height: 34px;
   transform: translateY(-50%);
   display: grid;
   place-items: center;
   border-radius: 999px;
   border: 1px solid rgba(110, 78, 55, 0.12);
   background: rgba(255, 253, 249, 0.92);
   color: var(--brown);
   font-family: system-ui, sans-serif;
   font-size: 24px;
   font-weight: 500;
   letter-spacing: 0;
 }

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

.faq-answer {
  padding: 0 24px 22px;
}

 .cta-shell {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 24px;
   padding: 30px;
   background:
     linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(236, 246, 231, 0.72) 55%, rgba(242, 221, 218, 0.56));
 }

 .cta-copy h2 {
   font-size: clamp(36px, 5vw, 56px);
   max-width: 11ch;
 }

 .cta-copy p {
   margin-top: 14px;
   max-width: 34rem;
 }

 .cta-actions {
   display: grid;
   gap: 12px;
   justify-items: start;
 }

 .cta-note {
   max-width: 24rem;
   font-size: 16px;
 }

 @media (hover: hover) {
   .feature-card:hover,
   .switch-card:hover,
   .route-card:hover,
   .manifesto-card:hover {
     transform: translateY(-3px);
     box-shadow: 0 28px 60px rgba(57, 36, 23, 0.12);
     border-color: rgba(95, 140, 79, 0.2);
   }
 }

 @media (max-width: 1080px) {
   .hero-grid,
   .app-story-shell,
   .story-calendar-shell,
   .feature-grid,
   .switch-grid,
   .routes,
   .proof-grid,
   .cta-shell {
     grid-template-columns: 1fr;
   }

   .hero-grid {
     align-items: start;
   }

   .hero-visual {
     justify-self: center;
   }

   .section-head {
     align-items: flex-start;
     flex-direction: column;
   }

   .section-head h2,
   .section-copy {
     max-width: none;
   }

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

   .cta-shell {
     display: grid;
   }
 }

 @media (max-width: 760px) {
  :root {
    --anchor-offset: 24px;
  }

   .section-band {
     padding: 38px 0;
   }

   h1 {
     font-size: clamp(44px, 15vw, 62px);
   }

   .hero-grid,
   .app-story-shell {
     padding: 24px;
   }

   .hero-copy .hero-lead {
     font-size: 19px;
   }

   .hero-reassurance,
   .app-story-grid,
   .app-story-legend-grid,
   .proof-grid {
     grid-template-columns: 1fr;
   }

   .hero-proof {
     align-items: flex-start;
     flex-direction: column;
   }

   .preview-console {
     padding: 18px;
   }

   .app-device {
     width: min(100%, 306px);
     padding: 10px;
   }

   .app-device::before {
     top: 12px;
     width: 104px;
     height: 16px;
   }

   .app-screen-dashboard,
   .app-screen-calendar {
     height: 560px;
   }

   .app-cycle-ring {
     width: 146px;
     height: 146px;
   }

   .app-cycle-ring strong {
     font-size: 40px;
   }

   .app-phase-card {
     min-height: 80px;
     padding: 12px;
   }

   .app-tabbar {
     min-height: 68px;
     padding: 8px 10px;
   }

   .app-story-copy h2 {
     max-width: 10ch;
   }

   .calendar-card-head {
     flex-direction: column;
   }

   .calendar-weekdays,
   .calendar-demo-grid {
     gap: 6px;
   }

   .home-calendar-day,
   .calendar-demo-grid-story .home-calendar-day {
     min-height: 40px;
     border-radius: 14px;
   }

   .feature-grid,
   .switch-grid,
   .routes,
   .proof-grid {
     grid-template-columns: 1fr;
   }

   .manifesto-intro h2,
   .cta-copy h2 {
     max-width: none;
   }

   .faq-item summary {
     padding: 22px 60px 22px 22px;
     font-size: clamp(24px, 8vw, 30px);
   }
 }
