/*
 * Whisklore marketing site.
 * Look from the owner's brand kit (images/theme/whisklore.css): buttercream paper, charcoal
 * text, evergreen for the header and primary controls, terracotta for the main call to
 * action, hearts and gingham, butter yellow for highlights, sage for secondary surfaces.
 * Fraunces 600 sets the headlines; DM Sans 400/500/600 sets everything else.
 *
 * The brand terracotta (#B85D46) is used for artwork, gingham and large display type. A
 * slightly deeper shade carries links, small text and the call-to-action fill, because the
 * brand shade reaches only 4.2:1 against the paper (AA asks for 4.5:1 at body sizes).
 * The sprigs and sparks use the deeper sage and butter drawn on the brand board so they
 * still show on a pale page.
 */

:root {
  color-scheme: light;
  --cream: #FFF8EC;             /* brand "paper": the page */
  --paper: #FFFCF6;             /* cards, a touch lighter than the page */
  --linen: #F6ECD9;
  --ink: #302D27;               /* brand charcoal */
  --ink-soft: #5B564E;
  --evergreen: #294B3C;
  --evergreen-deep: #1F3A2E;
  --evergreen-soft: #34594A;
  --on-evergreen-soft: #DDE3D6;
  --terracotta: #B85D46;
  --terracotta-deep: #A2523E;
  --terracotta-darker: #8A4634;
  --terracotta-wash: #F9ECDF;
  --sage: #B7C4A1;
  --sage-deep: #294B3C;         /* text and marks on sage surfaces are evergreen */
  --sage-wash: #E2E3CE;
  --butter: #F0CF79;
  --butter-wash: #FBEFCB;
  --line: #E8DCC6;
  --check: rgba(184, 93, 70, 0.38);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --radius: 20px;
  --radius-small: 12px;
  --shadow: 0 1px 2px rgba(48, 45, 39, 0.06), 0 12px 32px -12px rgba(48, 45, 39, 0.18);
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }

p { margin: 0 0 1em; }

a {
  color: var(--terracotta-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--terracotta-darker); }

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

/* On evergreen an evergreen ring would vanish. */
.site-header :focus-visible,
.section--ink :focus-visible {
  outline-color: var(--butter);
}

[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--butter);
  color: var(--ink);
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--ink);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--evergreen);
  border-radius: 999px;
  background: var(--evergreen);
  color: var(--cream);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--evergreen-deep);
  border-color: var(--evergreen-deep);
  color: var(--cream);
}

.btn:active { transform: translateY(1px); }

/* The main call to action: "Get the app", "Open in Whisklore". */
.btn--cta {
  border-color: var(--terracotta-deep);
  background: var(--terracotta-deep);
}

.btn--cta:hover {
  background: var(--terracotta-darker);
  border-color: var(--terracotta-darker);
}

.btn--ghost {
  background: transparent;
  color: var(--evergreen);
}

.btn--ghost:hover {
  background: rgba(41, 75, 60, 0.1);
  border-color: var(--evergreen);
  color: var(--evergreen-deep);
}

.btn--small {
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--evergreen);
  color: var(--cream);
  box-shadow: 0 1px 0 var(--evergreen-deep), 0 6px 18px -12px rgba(48, 45, 39, 0.55);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

/* The lockup from the brand kit: the heart whisk, the wordmark in Fraunces, and a
   hand-drawn swoosh underneath. Evergreen on paper, cream on the evergreen header. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--evergreen);
  text-decoration: none;
}

.brand:hover { color: var(--evergreen); }

.brand img {
  width: auto;
  height: 2.75rem;
}

.brand__name {
  position: relative;
  padding-bottom: 0.42rem;
  font: 600 1.6rem/1 var(--font-display);
  letter-spacing: -0.02em;
}

.brand__name::after {
  content: "";
  position: absolute;
  left: 16%;
  right: -2%;
  bottom: 0;
  height: 0.4rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath fill='%23294B3C' d='M2 8.5C20 2 40 2.5 60 5.8S100 8.5 118 1.5C104 10 80 11 60 8S22 5 2 8.5Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.site-header .brand,
.site-header .brand:hover { color: var(--cream); }

.site-header .brand__name::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath fill='%23FFF8EC' d='M2 8.5C20 2 40 2.5 60 5.8S100 8.5 118 1.5C104 10 80 11 60 8S22 5 2 8.5Z'/%3E%3C/svg%3E"); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  color: var(--cream);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 999px;
}

.nav a:not(.btn):hover { background: rgba(255, 248, 236, 0.14); }

.nav a[aria-current="page"]:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--butter);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.nav__cta { margin-left: 0.4rem; }

@media (max-width: 640px) {
  .nav__optional { display: none; }
}

/* On the narrowest phones only the call to action stays; Support is in the footer. */
@media (max-width: 420px) {
  .nav li:not(.nav__cta) { display: none; }
}

/* --------------------------------------------------- country-kitchen bits */

.gingham {
  height: 36px;
  background-color: var(--cream);
  background-image:
    linear-gradient(90deg, var(--check) 50%, transparent 50%),
    linear-gradient(var(--check) 50%, transparent 50%);
  background-size: 24px 24px;
}

.gingham--sage { --check: rgba(183, 196, 161, 0.55); }

/* A row of half circles hanging off the bottom of a block, like a shelf-paper edge. */
.scallop {
  position: relative;
  z-index: 1;
}

.scallop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  background: radial-gradient(circle at 12px 0, var(--scallop-color, var(--cream)) 11.5px, transparent 12px) repeat-x;
  background-size: 24px 12px;
  pointer-events: none;
}

.divider {
  display: block;
  width: 15rem;
  max-width: 70%;
  height: auto;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--sage-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1.2;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 36em;
}

/* ------------------------------------------------------------------- hero */

.hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.hero__tagline {
  margin: 0 0 0.6rem;
  color: var(--terracotta-deep);
  font: italic 500 1.25rem/1.3 var(--font-display);
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

/* A butter spark after the last word, as on the brand board. */
.hero h1 em::after,
.banner p::after {
  content: "\00a0";   /* a no-break space, so the spark can never wrap away from its word */
  padding-left: 0.85em;
  font-size: 0.6em;
  font-style: normal;
  line-height: 0;
  vertical-align: 0.75em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3B55A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M4.5 12L7 3M11 15.5L19 8.5M13.5 21L22 19'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: 8% 4% 4%;
  border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%;
  background: var(--sage);
  opacity: 0.6;
}

.hero__note {
  position: absolute;
  right: max(0px, calc(50% - 13.5rem));
  bottom: 9%;
  z-index: 2;
  max-width: 11rem;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--terracotta-deep);
}

@media (max-width: 420px) {
  .hero__note { display: none; }
}

/* ----------------------------------------------------------- store badges */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin: 1.5rem 0 0;
  min-height: 72px;
}

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

.store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
}

/* Official artwork, unaltered. Google's file carries its own clear space (a quarter of the
   badge height on every side), so it is set 1.5x taller than Apple's badge to make the two
   badges the same visual height. Apple's file has no padding, so the margin supplies its
   required clear space of a quarter of the badge height. */
.store-badge--play img {
  display: block;
  height: 72px;
  width: auto;
}

.store-badge--apple {
  margin: 12px;
}

.store-badge--apple img {
  display: block;
  height: 48px;
  width: auto;
}

.store-soon,
.store-text {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 48px;
  margin: 12px;
  padding: 0 1rem;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.15;
}

.store-soon {
  border: 1.5px dashed var(--ink-soft);
  color: var(--ink-soft);
  background: transparent;
}

.store-soon svg {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
}

.store-soon strong,
.store-text strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.store-text {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.store-note {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- sections */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--paper {
  background: var(--paper);
  --scallop-color: var(--paper);
}

.section--sage {
  background: var(--sage-wash);
  --scallop-color: var(--sage-wash);
}

/* The dark band is evergreen, like the header. */
.section--ink {
  background: var(--evergreen);
  color: var(--cream);
  --scallop-color: var(--evergreen);
}

.section__head {
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.section__head p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* The eyebrow keeps its evergreen on sage (5.3:1); the softer paragraph colour would not pass. */
.section__head .eyebrow,
.feature__text .eyebrow { color: var(--sage-deep); }

.section__head h2::after {
  content: "";
  display: block;
  width: 6rem;
  height: 12px;
  margin: 0.9rem auto 0;
  border-radius: 3px;
  background-image:
    linear-gradient(90deg, var(--check) 50%, transparent 50%),
    linear-gradient(var(--check) 50%, transparent 50%);
  background-size: 12px 12px;
}

.banner {
  padding: 2.25rem 0;
  text-align: center;
}

.banner p {
  margin: 0;
  font: 600 clamp(1.6rem, 4.4vw, 2.5rem)/1.2 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* A sage sprig under the line, as on the brand board. */
.banner .wrap::after {
  content: "";
  display: block;
  width: 6.5rem;
  height: 2.1rem;
  margin: 0.35rem auto 0;
  background: url("/img/sprig.svg?v=2") center / contain no-repeat;
}

/* Alternating picture and text rows. */
.feature {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.feature + .feature { margin-top: clamp(3.5rem, 8vw, 6rem); }

@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature--flip .feature__art { order: 2; }
}

.feature__art {
  display: flex;
  justify-content: center;
}

.feature__text p { color: var(--ink-soft); }

.ticks {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  margin: 0 0 0.6rem;
  padding-left: 1.9rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23294B3C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .cards--2 { grid-template-columns: 1fr 1fr; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section--paper .card { background: var(--cream); }

.card > :last-child { margin-bottom: 0; }

.card p { color: var(--ink-soft); }

/* ------------------------------------------------------------ phone mocks */

.phone {
  position: relative;
  z-index: 1;
  flex: none;
  width: 17.5rem;
  max-width: 100%;
  padding: 0.6rem;
  border-radius: 2.6rem;
  background: var(--ink);
  box-shadow: 0 2px 0 #4A463E inset, 0 30px 60px -24px rgba(48, 45, 39, 0.5);
  font-size: 0.8rem;
  line-height: 1.4;
}

.phone__screen {
  position: relative;
  overflow: hidden;
  min-height: 31rem;
  border-radius: 2.05rem;
  background: var(--cream);
  color: var(--ink);
}

.phone__screen::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 3;
  width: 4.6rem;
  height: 1.15rem;
  margin-left: -2.3rem;
  border-radius: 999px;
  background: var(--ink);
}

.phone__photo {
  display: block;
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
}

.phone__photo-wrap {
  --scallop-color: transparent;
  position: relative;
}

/* The scalloped lower edge of a header photo: cream half circles rising into the picture. */
.phone__photo-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 9px;
  background: radial-gradient(circle at 9px 9px, var(--cream) 8.5px, transparent 9px) repeat-x;
  background-size: 18px 9px;
}

.phone__body { padding: 0.75rem 1rem 1.1rem; }

.phone__bar {
  padding: 2.2rem 1rem 0.5rem;
  font: 600 1.05rem/1.2 var(--font-display);
}

.phone__title {
  margin: 0 0 0.1rem;
  font: 600 1.25rem/1.15 var(--font-display);
  letter-spacing: -0.01em;
}

.phone__from {
  margin: 0 0 0.4rem;
  font: 700 1.15rem/1.1 var(--font-hand);
  color: var(--terracotta-deep);
}

.phone__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.stars { color: var(--terracotta-deep); letter-spacing: 0.05em; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.1rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
}

.chip--on {
  border-color: var(--evergreen);
  background: var(--evergreen);
  color: var(--cream);
}

.chip--sage {
  border-color: transparent;
  background: var(--sage);
  color: var(--sage-deep);
}

.phone__label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lines li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.38rem 0;
  border-bottom: 1px dashed var(--line);
}

.lines li:last-child { border-bottom: 0; }

.lines li::before {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border: 1.5px solid var(--evergreen);
  border-radius: 50%;
  transform: translateY(0.08rem);
}

.lines .done { color: var(--ink-soft); text-decoration: line-through; }
.lines .done::before { background: var(--evergreen); }

.tag {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0 0.4rem;
  border-radius: 6px;
  background: var(--butter);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
}

.notice {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: var(--butter-wash);
  color: var(--ink);
  font-size: 0.74rem;
}

.notice svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
}

/* Cook mode */
.cook {
  display: flex;
  flex-direction: column;
  min-height: 31rem;
  padding: 2.4rem 1.1rem 1.1rem;
  background: var(--ink);
  color: var(--cream);
}

.cook__count {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CFC8BA;
}

.cook__step {
  margin: 0 0 1.2rem;
  font: 500 1.45rem/1.3 var(--font-display);
}

.cook__step b {
  font-weight: 600;
  color: var(--butter);
}

.cook__timers {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
}

.timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  background: #403C35;
  font-size: 0.8rem;
}

.timer b {
  font: 600 1.15rem/1 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.cook__dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1rem;
}

.cook__dots span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #6E685E;
}

.cook__dots .on {
  width: 1.2rem;
  border-radius: 999px;
  background: var(--butter);
}

/* ------------------------------------------------- index card + snapshots */

.snap {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  width: 100%;
  max-width: 24rem;
}

.index-card {
  position: relative;
  width: 100%;
  padding: 2.35rem 1.25rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: #FFFCF6;
  background-image:
    linear-gradient(#DDA595, #DDA595),
    repeating-linear-gradient(transparent 0 1.74rem, #C9D9E6 1.74rem 1.8rem);
  background-size: 100% 2px, 100% 100%;
  background-position: 0 2rem, 0 2.2rem;
  background-repeat: no-repeat, repeat-y;
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
  font: 700 1.38rem/1.8rem var(--font-hand);
  color: #33415c;
}

.index-card p { margin: 0; }

.index-card__title {
  position: absolute;
  top: 0.35rem;
  left: 1.25rem;
  font-size: 1.55rem;
  color: #2a3550;
}

.index-card__stain {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 3px solid rgba(160, 110, 60, 0.16);
  background: rgba(160, 110, 60, 0.05);
}

.snap__arrow {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--terracotta);
}

.clean-card {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}

.mock-title {
  margin: 0 0 0.1rem;
  font: 600 1.2rem/1.2 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.clean-card .phone__from { font-size: 1.2rem; }

/* Share-a-video mock */
.share {
  width: 100%;
  max-width: 24rem;
  display: grid;
  gap: 1rem;
}

.share__video {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 9.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 30%, rgba(240, 207, 121, 0.42), transparent 46%),
    linear-gradient(135deg, #3B6552, var(--evergreen));
  color: var(--cream);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

.share__video p { margin: 0; max-width: 78%; }

.share__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.2rem;
  height: 3.2rem;
  margin: -2rem 0 0 -1.6rem;
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.92);
}

.share__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border: 0.6rem solid transparent;
  border-left: 0.95rem solid var(--evergreen);
  border-right: 0;
  transform: translate(-50%, -50%);
}

.share__sheet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.95rem;
}

.share__sheet img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
}

.share__sheet small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
}

/* Original / recipe toggle mock */
.keep {
  width: 100%;
  max-width: 24rem;
  display: grid;
  gap: 1rem;
}

.toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  justify-self: center;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--linen);
  font-size: 0.85rem;
  font-weight: 600;
}

.toggle span {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  color: var(--ink-soft);
  text-align: center;
}

.toggle .on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(48, 45, 39, 0.18);
}

.story {
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.story p { margin: 0; }

.story .hand { color: var(--ink); font-weight: 500; font-size: 1.4rem; line-height: 1.3; }

.story cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------- families card */

.family-card {
  width: 100%;
  max-width: 24rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.family-card .mock-title {
  margin-bottom: 0.15rem;
  font-size: 1.3rem;
}

.family-card > p:not(.mock-title) {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.avatars {
  display: flex;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.avatars li {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: -0.5rem;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
}

.avatars li:nth-child(2) { background: var(--terracotta-deep); }
.avatars li:nth-child(3) { background: var(--butter); color: var(--ink); }
.avatars li:nth-child(4) { background: var(--sage); color: var(--ink); }
.avatars li:nth-child(5) { background: var(--linen); color: var(--ink); }

.code-box {
  padding: 0.9rem 1rem;
  border: 2px dashed var(--terracotta);
  border-radius: 16px;
  background: var(--terracotta-wash);
  text-align: center;
}

.code-box small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.code-box b {
  font: 600 1.9rem/1.3 var(--font-display);
  letter-spacing: 0.08em;
  color: var(--terracotta-deep);
}

/* ---------------------------------------------------- scaling + altitude */

.demo__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.9rem;
}

.demo__head .mock-title { margin: 0; }

.demo__head p:not(.mock-title) {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
}

.preset {
  min-width: 3.4rem;
  min-height: 2.75rem;
  padding: 0.3rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 1rem/1 var(--font-body);
  cursor: pointer;
}

.preset:hover { border-color: var(--evergreen); }

.preset[aria-pressed="true"] {
  border-color: var(--evergreen);
  background: var(--evergreen);
  color: var(--cream);
}

.amounts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.amounts li {
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}

.amounts li:last-child { border-bottom: 0; }

.amounts b {
  flex: none;
  width: 6.2rem;
  font-weight: 600;
  color: var(--terracotta-deep);
}

.altitude__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.altitude__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--sage-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.altitude__chip svg {
  width: 1.1rem;
  height: 1.1rem;
}

.changes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.changes li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}

.changes li:last-child { border-bottom: 0; }

.changes small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.fineprint {
  margin: 0.9rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.fineprint--center {
  max-width: 44rem;
  margin: 1.75rem auto 0;
  text-align: center;
}

/* ------------------------------------------------------- "we don't" strip */

.nope {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 620px) {
  .nope { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .nope { grid-template-columns: repeat(4, 1fr); }
}

.nope li {
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid rgba(255, 248, 236, 0.16);
  border-radius: var(--radius);
  background: var(--evergreen-soft);
}

.nope strong {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
  font: 600 1.25rem/1.2 var(--font-display);
  color: var(--cream);
}

.nope svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--butter);
}

.nope span {
  color: var(--on-evergreen-soft);
  font-size: 0.96rem;
}

.section--ink .section__head p { color: var(--on-evergreen-soft); }
.section--ink .section__head h2::after { --check: rgba(240, 207, 121, 0.55); }

/* -------------------------------------------------------------------- CTA */

.cta {
  text-align: center;
}

.cta h2 { margin-bottom: 0.3em; }

.cta p {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  background: var(--linen);
  font-size: 0.95rem;
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
  padding-top: 2.75rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

.site-footer h2 {
  margin: 0 0 0.6rem;
  font: 600 0.8rem/1.2 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
}

.site-footer__tag {
  margin: 0.6rem 0 0;
  font: italic 500 1.1rem/1.3 var(--font-display);
  color: var(--terracotta-deep);
}

.site-footer__legal {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-footer__legal p { margin: 0 0 0.5em; }

/* ------------------------------------------------- utility + legal pages */

.page {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.page__head {
  max-width: 46rem;
  margin: 0 auto 2rem;
}

.page__head--center { text-align: center; }

.page__head h1 { font-size: clamp(2rem, 5vw, 3rem); }

.page__head .lede { margin-left: 0; }

.page__head--center .lede { margin-left: auto; margin-right: auto; }

.updated {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.prose {
  max-width: 46rem;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.3rem;
}

.prose li { margin-bottom: 0.45em; }

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

.summary-box {
  margin: 0 0 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--evergreen);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
}

.summary-box h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.summary-box > :last-child { margin-bottom: 0; }

.table-wrap {
  margin: 0 0 1.25em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tr:last-child td { border-bottom: 0; }

th {
  background: var(--linen);
  font-weight: 600;
}

.steps {
  counter-reset: step;
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 2.4rem;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0 0 3.2rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--cream);
  font: 600 1.1rem/1 var(--font-display);
}

.faq details {
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font: 400 1.6rem/1 var(--font-display);
  color: var(--terracotta-deep);
}

.faq details[open] summary::after { content: "\2212"; }

.faq details > div {
  padding: 0 1.2rem 1rem;
  color: var(--ink-soft);
}

.faq details > div > :last-child { margin-bottom: 0; }

.contact-card {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--sage-wash);
}

.contact-card a {
  font: 600 clamp(1.25rem, 4vw, 1.6rem)/1.3 var(--font-display);
  color: var(--sage-deep);
}

/* ------------------------------------------- get / join / recipe / 404 */

.panel {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.panel > :last-child { margin-bottom: 0; }

.panel h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }

/* The app icon: the kit's square artwork, with the corners rounded here. */
.panel__mark {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.75rem;
  display: block;
  border-radius: 22%;
  box-shadow: 0 8px 18px -10px rgba(48, 45, 39, 0.55);
}

.join-code {
  margin: 1.25rem 0 0.75rem;
  padding: 1.1rem 0.75rem 1.2rem;
  border: 2px dashed var(--terracotta);
  border-radius: var(--radius);
  background: var(--terracotta-wash);
}

.join-code__label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.join-code__value {
  display: block;
  font: 600 clamp(1.6rem, 8.4vw, 3.4rem)/1.15 var(--font-display);
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--terracotta-deep);
  font-variant-numeric: lining-nums;
  user-select: all;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.status {
  min-height: 1.5em;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--sage-deep);
  font-weight: 600;
}

.hint {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-small);
  background: var(--sage-wash);
  color: var(--ink);
  font-size: 0.98rem;
  text-align: left;
}

.hint > :last-child { margin-bottom: 0; }

/* Link terracotta is only 4.2:1 on the sage wash, so links on it are evergreen. */
.hint a { color: var(--sage-deep); }

.qr {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
}

.qr__code {
  width: 11.5rem;
  height: 11.5rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fff;
}

.qr__code svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qr p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.how {
  max-width: 34rem;
  margin: 2.5rem auto 0;
}

.how h2 {
  font-size: 1.4rem;
  text-align: center;
}

.lost {
  text-align: center;
}

.lost .lede,
.panel .lede {
  margin-left: auto;
  margin-right: auto;
}

.lost__art {
  width: min(16rem, 70%);
  margin: 0 auto 1rem;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .site-footer .gingham,
  .store-badges,
  .skip-link { display: none; }
  body { background: #fff; }
}
