/* ==========================================================================
   Miorah — design tokens
   ========================================================================== */
:root {
  --cream: #FBF7F2;
  --surface: #fff;
  --ink: #2C2015;
  --terracotta: #C4694B;
  --terracotta-dark: #A5543A;
  --terracotta-soft: #F7E4DA;
  --taupe: #8B7355;
  --taupe-light: #C4B89E;
  --line: #EDE3D8;
  --line-soft: #F3EBE1;
  --line-peach: #EDD9C8;
  --green: #5C8B6E;
  --green-ink: #3D5C49;
  --green-bg: #EEF4F0;
  --sand: #C4A882;
  --gold: #D4A843;
  --stripe: #F5EDE4;

  --shadow-card: 0 1px 8px rgba(44, 32, 21, 0.07);
  --shadow-shot: 0 14px 34px rgba(44, 32, 21, 0.10);
  --shadow-phone-sm: 0 24px 56px rgba(44, 32, 21, 0.14);
  --shadow-phone: 0 30px 70px rgba(44, 32, 21, 0.18);

  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --maxw: 1160px;
  --maxw-narrow: 840px;
  --gutter: 32px;
  --section: 76px;
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section: 52px;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

/* Links inside running prose need to look like links; nav, footer and button
   links do not. */
.lead a, .promise__text a, .faq__a a, .callout a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1, h2, h3, p { margin: 0; }

img, svg { max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.022); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow { max-width: var(--maxw-narrow); }

.band { padding-block: var(--section); }
.band--white {
  background: var(--surface);
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}
.band--green { background: var(--green-bg); }

.split {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: center;
}
.split--reverse { flex-wrap: wrap-reverse; }

.split__copy { flex: 1 1 320px; min-width: 280px; }
.split__media { flex: 0 1 300px; min-width: 270px; display: flex; justify-content: center; }

/* ==========================================================================
   Type
   ========================================================================== */
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--taupe);
  letter-spacing: 0.14em;
}
.eyebrow--terracotta { color: var(--terracotta); }
.eyebrow--green { color: var(--green-ink); }
.eyebrow--forest { color: var(--green); }

.display-1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6.4vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  margin: 12px 0 0;
  text-wrap: pretty;
}

.display-2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: pretty;
}

.display-3 {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.6vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  margin: 10px 0 0;
  text-wrap: pretty;
}

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--taupe);
  margin: 18px 0 0;
  max-width: 560px;
  text-wrap: pretty;
}
.lead--wide { max-width: none; }

.body-copy {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--taupe);
  margin: 14px 0 0;
  max-width: 480px;
  text-wrap: pretty;
}

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.link-underline {
  display: inline-block;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--terracotta);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
}
.link-underline:hover { color: var(--terracotta-dark); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  border-radius: 9999px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--terracotta);
  color: #fff;
  font-size: 15px;
  padding: 13px 24px;
}
.btn--primary:hover { background: var(--terracotta-dark); color: #fff; }

.store-row {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.store-row--center { justify-content: center; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  border-radius: 14px;
  padding: 11px 20px;
  color: #fff;
  transition: background-color 0.15s ease;
}
.store-btn:hover { background: #000; color: #fff; }
.store-btn--light { background: var(--surface); color: var(--ink); }
.store-btn--light:hover { background: #F4EDE5; color: var(--ink); }
.store-btn--lg { padding: 12px 22px; }

.store-btn__glyph { width: 22px; height: 22px; flex: none; fill: currentColor; }
.store-btn__text { text-align: left; }
.store-btn__kicker {
  font-size: 10px;
  color: var(--taupe-light);
  letter-spacing: 0.06em;
}
.store-btn--light .store-btn__kicker { color: var(--taupe); }
.store-btn__name {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--line);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--taupe);
  padding: 8px 12px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav__link:hover { background: var(--line); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__cta {
  background: var(--terracotta);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 10px 20px;
  margin-left: 6px;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.nav__cta:hover { background: var(--terracotta-dark); color: #fff; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: none;
  padding: 0;
}
.menu-toggle span {
  width: 17px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--taupe);
}

.mobile-menu {
  display: none;
  padding: 6px 22px 18px;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
}
.mobile-menu.is-open { display: flex; }

.mobile-menu__link {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 13px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__link:last-of-type { border-bottom: 0; }
.mobile-menu__cta {
  background: var(--terracotta);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 15px;
  text-align: center;
  margin-top: 12px;
}
.mobile-menu__cta:hover { background: var(--terracotta-dark); color: #fff; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--gutter) 40px;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.hero__copy { flex: 1 1 380px; min-width: 280px; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--taupe);
  margin: 20px 0 0;
  max-width: 520px;
  text-wrap: pretty;
}

.hero__media {
  flex: 0 1 320px;
  display: flex;
  justify-content: center;
  min-width: 280px;
}

.assurance {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.assurance svg { flex: none; }
.assurance span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--taupe);
}

/* ==========================================================================
   Phone mockups
   ========================================================================== */
.phone {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 9px;
}
.phone--home {
  width: 302px;
  border-radius: 42px;
  box-shadow: var(--shadow-phone);
}
.phone--sm {
  width: 280px;
  border-radius: 38px;
  box-shadow: var(--shadow-phone-sm);
}
.phone--tinted { background: var(--cream); }

.phone__screen {
  background: var(--cream);
  overflow: hidden;
}
.phone--home .phone__screen { border-radius: 34px; padding: 20px 20px 0; }
.phone--sm .phone__screen { border-radius: 31px; padding: 20px 18px 24px; }
.phone--sm .phone__screen--ring { padding: 22px 18px 26px; }

.status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
}

.screen-title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
}
.screen-title--sm { font-size: 21px; }
.screen-date { font-size: 13px; color: var(--taupe); margin-top: 3px; }

.ring-wrap {
  display: flex;
  justify-content: center;
  margin: 22px 0 18px;
}
.ring-wrap--sm { margin: 8px 0 18px; }

.ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 13px solid var(--line);
  border-top-color: var(--terracotta);
  border-right-color: var(--terracotta);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: breathe 5s ease-in-out infinite;
}
.ring--quarter {
  width: 170px;
  height: 170px;
  border-right-color: var(--line);
  animation: none;
}
.ring__label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--taupe);
  letter-spacing: 0.1em;
}
.ring__day {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}
.ring__phase {
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta);
  margin-top: 3px;
}

.screen-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 15px;
  box-shadow: var(--shadow-card);
}
.screen-card--accent { border: 1.5px solid var(--line-peach); }
.screen-card__title { font-size: 14px; font-weight: 700; line-height: 1.35; }
.screen-card__text {
  font-size: 12.5px;
  color: var(--taupe);
  line-height: 1.5;
  margin-top: 5px;
}

.tabbar {
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 6px 9px;
  box-shadow: var(--shadow-card);
  display: flex;
  margin: 16px -6px 0;
}
.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.tabbar__icon {
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: var(--line);
}
.tabbar__label {
  font-size: 10px;
  font-weight: 600;
  color: var(--taupe);
}
.tabbar__item--active .tabbar__icon { background: var(--terracotta); }
.tabbar__item--active .tabbar__label { color: var(--terracotta); font-weight: 700; }

.note-strip {
  background: var(--green-bg);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.note-strip--tight { padding: 13px 15px; }
.note-strip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.note-strip span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-ink);
}

.pill-cta {
  background: var(--terracotta);
  border-radius: 9999px;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 14px;
}
.pill-cta--sm { padding: 11px; font-size: 13.5px; }
.pill-cta--spaced { margin-top: 20px; }

/* ==========================================================================
   Screenshot showcase (home)
   ========================================================================== */
.shots {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

.shot { flex: 0 1 268px; min-width: 250px; }

.shot__frame {
  background: var(--cream);
  border-radius: 32px;
  padding: 8px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-shot);
}
.shot__screen {
  background: var(--cream);
  border-radius: 26px;
  padding: 18px 16px 20px;
}
.shot__title { font-size: 15px; font-weight: 700; margin-top: 18px; }
.shot__desc {
  font-size: 13.5px;
  color: var(--taupe);
  line-height: 1.55;
  margin-top: 5px;
}

.shot-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}
.shot-sub { font-size: 12px; color: var(--taupe); margin-top: 4px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 9999px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 600;
}
.chip--on {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  font-weight: 700;
}
.chip--more {
  border: 1.5px dashed var(--sand);
  background: transparent;
  color: var(--taupe);
}

/* calendar */
.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.cal-weekdays {
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--taupe);
  letter-spacing: 0.04em;
}
.cal-days {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
}
.cal-days > * { padding: 7px 0; }
.cal-day--period { border-radius: 9999px; background: var(--terracotta); color: #fff; }
.cal-day--fertile { border-radius: 9999px; background: var(--sand); color: #fff; }
.cal-day--ovulation { border-radius: 9999px; background: var(--gold); color: #fff; }
.cal-day--soft-a { border-radius: 9999px; background: #FBF2EC; }
.cal-day--soft-b { border-radius: 9999px; background: #F5EEDF; }

.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--taupe);
}
.legend__item { display: flex; align-items: center; gap: 5px; }
.legend__dot { width: 8px; height: 8px; border-radius: 50%; }
.legend__dot--period { background: var(--terracotta); }
.legend__dot--fertile { background: var(--sand); }
.legend__dot--ovulation { background: var(--gold); }

.badge-soon {
  font-size: 11px;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: 0.12em;
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.grid--flush { margin-top: 0; }

.card {
  background: var(--surface);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.card--snug { padding: 22px 24px; }
.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-top: 14px;
}
.card--snug .card__title { font-size: 19px; margin: 0 0 8px; }
.card__text {
  font-size: 13.5px;
  color: var(--taupe);
  line-height: 1.6;
  margin-top: 7px;
}
.card--snug .card__text { margin-top: 0; }

/* check list (privacy promise) */
.check-list {
  flex: 1 1 340px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-item {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check-item svg { flex: none; margin-top: 2px; }
.check-item__title { font-size: 14.5px; font-weight: 700; }
.check-item__text {
  font-size: 13px;
  color: var(--taupe);
  line-height: 1.5;
  margin-top: 3px;
}

/* testimonials */
.quote-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.quote-card__quote {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}
.person {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}
.person__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--taupe);
  flex: none;
}
.person__name { font-size: 13.5px; font-weight: 700; }
.person__meta { font-size: 12.5px; color: var(--taupe); }

/* download band */
.cta-band {
  background: var(--terracotta);
  border-radius: 24px;
  padding: 56px 44px;
  text-align: center;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  text-wrap: pretty;
}
.cta-band__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--terracotta-soft);
  margin: 14px auto 0;
  max-width: 460px;
  text-wrap: pretty;
}

@media (max-width: 640px) {
  .cta-band { padding: 40px 24px; }
}

/* ==========================================================================
   Features page
   ========================================================================== */
.page-head { padding-top: 64px; }
.page-head--tight { padding-bottom: 8px; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
  max-width: 440px;
}
.feature-list li {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
}
.feature-list { padding: 0; margin-left: 0; }

.symptom-list {
  background: var(--surface);
  border-radius: 12px;
  margin-top: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.symptom-list__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.symptom-list__row:last-child { border-bottom: 0; }
.symptom-list__name { font-size: 14px; font-weight: 600; }
.symptom-list__value { font-size: 13.5px; font-weight: 600; color: var(--taupe); }
.symptom-list__value--action { font-weight: 700; color: var(--terracotta); }

.insight-note {
  background: var(--surface);
  border: 1.5px solid var(--line-peach);
  border-radius: 12px;
  padding: 14px 15px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--taupe);
  line-height: 1.55;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}
.option {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.option--selected { border-color: var(--terracotta); font-weight: 700; }
.option__tag { font-size: 13px; font-weight: 700; color: var(--terracotta); }

/* ==========================================================================
   Privacy page
   ========================================================================== */
.promise-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 36px 0 0;
}
.promise {
  background: var(--surface);
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
}
.promise__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}
.promise__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--taupe);
  margin: 8px 0 0;
}

.callout {
  background: var(--green-bg);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 24px 0 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--green-ink);
}
.callout svg { flex: none; margin-top: 2px; }

.rule {
  height: 1.5px;
  background: var(--line);
  margin: 48px 0;
  border: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 22px;
  padding-bottom: var(--section);
}
.faq__q { font-size: 15.5px; font-weight: 700; }
.faq__a {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--taupe);
  margin: 6px 0 0;
}

/* ==========================================================================
   Articles page
   ========================================================================== */
.article-card {
  display: block;
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article-card:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(44, 32, 21, 0.12);
}
.placeholder {
  background: repeating-linear-gradient(135deg, var(--line), var(--line) 10px, var(--stripe) 10px, var(--stripe) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 11.5px;
  color: var(--taupe);
}
.article-card__thumb { height: 150px; }
.article-card__body { padding: 20px 22px 24px; }
.article-card__kicker {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--taupe);
  letter-spacing: 0.1em;
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 8px;
}
.article-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--taupe);
  margin: 8px 0 0;
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-copy {
  font-size: 17px;
  line-height: 1.7;
  color: var(--taupe);
  margin: 20px 0 0;
  text-wrap: pretty;
}
.about-copy + .about-copy { margin-top: 16px; }

.contact-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex: none;
  font-size: 9px;
  background: repeating-linear-gradient(135deg, var(--line), var(--line) 8px, var(--stripe) 8px, var(--stripe) 16px);
}
.contact-card__body { flex: 1 1 260px; }
.contact-card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}
.contact-card__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--taupe);
  margin: 6px 0 0;
}

/* ==========================================================================
   Download page
   ========================================================================== */
.waitlist-card {
  background: var(--surface);
  border: 1.5px solid var(--line-peach);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 40px auto 0;
  max-width: 520px;
  text-align: left;
}
.waitlist-card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-top: 8px;
}
.waitlist-card__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--taupe);
  margin: 6px 0 16px;
}
.waitlist-form {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.waitlist-form input {
  flex: 1 1 200px;
  border: 1.5px solid var(--line);
  border-radius: 9999px;
  padding: 13px 18px;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  outline: none;
}
.waitlist-form input:focus { border-color: var(--terracotta); }
.waitlist-form input::placeholder { color: var(--taupe); }
.waitlist-form button {
  background: var(--terracotta);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 13px 22px;
  transition: background-color 0.15s ease;
}
.waitlist-form button:hover { background: var(--terracotta-dark); }
.form-note {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-ink);
  margin-top: 14px;
}
.form-note[hidden] { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--surface);
  border-top: 1.5px solid var(--line);
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.site-footer__brand { flex: 1 1 260px; min-width: 220px; }
.site-footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--taupe);
  margin: 12px 0 0;
  max-width: 300px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  border-radius: 9999px;
  padding: 7px 13px;
  margin-top: 16px;
}
.footer-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.footer-badge span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-ink);
}
.footer-col { flex: 0 1 160px; }
.footer-col__title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--taupe);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  font-weight: 600;
  color: var(--taupe);
}
.footer-col a:hover { color: var(--terracotta); }

.site-footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
}
.site-footer__bottom hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0 0 20px;
}
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--taupe);
}
