/* ==========================================================================
   YesChef marketing site — site.css
   Rebuilt 13 August 2026.

   This is a NEW stylesheet. css/styles.css was DELETED on 22 August 2026. It
   was kept on the belief that unrebuilt pages still needed it; none linked it.

   Palette is unchanged from the original build and is the app's palette:
     Plum #4A1942 / Plum-dark #2D0F28 / Cream #F5F0E8 /
     Charcoal #2C2C2C / Gold #C9A84C / White #FFFFFF
   ========================================================================== */

:root {
  --plum: #4A1942;
  --plum-dark: #2D0F28;
  --plum-soft: #6B3162;
  --cream: #F5F0E8;
  --cream-deep: #EBE3D6;
  --charcoal: #2C2C2C;
  --charcoal-soft: #5A5350;
  --gold: #C9A84C;
  --gold-bright: #E0C071;
  --white: #FFFFFF;
  --line: rgba(74, 25, 66, 0.12);
  --max-width: 1140px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 6px 24px rgba(45, 15, 40, 0.10);
  --shadow-lift: 0 18px 44px rgba(45, 15, 40, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--plum);
  line-height: 1.18;
  font-weight: 700;
}

a { color: var(--plum); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

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

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* Sections deliberately do NOT all share one padding value — the old site put
   every band on an identical 72px and it read as a list rather than a page. */
.section    { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 112px 0; }

.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.band-plum  { background: var(--plum); }
.band-plum h2, .band-plum h3 { color: var(--white); }
.band-plum p { color: rgba(255,255,255,.84); }
.band-cream { background: var(--cream-deep); }
.band-white { background: var(--white); }

.section-heading { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.section-sub { font-size: 1.05rem; color: var(--charcoal-soft); max-width: 620px; }
.centred { text-align: center; }
.centred .section-sub { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--plum-dark); box-shadow: var(--shadow); }
.btn-gold:hover { background: var(--gold-bright); color: var(--plum-dark); }
.btn-plum { background: var(--plum); color: var(--white); }
.btn-plum:hover { background: var(--plum-dark); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline-plum { border-color: var(--plum); color: var(--plum); }
.btn-outline-plum:hover { background: var(--plum); color: var(--white); }

/* ---- Google Play badge ------------------------------------------------
   NO LONGER A PLACEHOLDER. What stood here until 22 August 2026 was a black
   pill drawn in CSS - a border-triangle for the Play mark and two spans of
   Inter for the words - which is exactly the imitation Google's badge
   guidelines forbid. The real artwork now lives at
   assets/google-play-badge-en.png, downloaded unmodified from
   play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png.

   Everything below exists to leave that file alone:

   * Sized by HEIGHT with width:auto, so the 646x250 (2.584:1) ratio cannot be
     stretched. Never set both.
   * Google's floor is 28px of BADGE, not of image. The opaque artwork is 168 of
     the file's 250px, i.e. 0.672, so the image must never render below 42px -
     hence min-height. 76px here puts the badge at 51px.
   * The 41px transparent inset on all four sides is Google's own clear space,
     baked into the file. Measured rather than assumed: a quarter of the 168px
     badge is 42px and the inset is 41, i.e. 24.4% - a third of a pixel short at
     this render size. So the inset is not leaned on alone. Both containers that
     hold a badge (.hero-ctas, .cta-actions) use gap:16px, which puts real
     clearance at 28px+ on every side. Anything added near a badge must keep
     that: nothing positioned inside this element's box, and never cropped.
   * No filter, no mix-blend-mode, no background, no border-radius on the image,
     no recolouring. The hover lift is a transform on the anchor, which moves the
     whole unaltered image rather than adjusting the badge.
   The attribution line Google requires with its trademarks is .legal-line, in
   the footer of every page. */
.play-badge {
  display: inline-block; line-height: 0;
  transition: transform .18s ease;
}
.play-badge:hover { transform: translateY(-2px); }
.play-badge:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* Width-driven with height:auto, NOT the other way round. The global
   `img { max-width: 100% }` at the top of this file would otherwise clamp the
   width on a narrow screen while a fixed height held - which squashes the
   badge, and a distorted badge is the one alteration Google names first. Driving
   from width means the clamp scales both dimensions together. 196px is the
   natural width of a 76px-tall render of a 646x250 file; the badge inside it is
   51px, comfortably over Google's 28px floor, and it would take a container
   narrower than 108px to push it under. */
.play-badge img { display: block; width: 196px; max-width: 100%; height: auto; }

/* The "coming soon" case (PLAY_LIVE false in build_site.py). The badge itself is
   the same untouched file and says what Google's badge says; our own wording
   goes underneath it, outside the artwork. */
.play-badge-soon { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.pb-soon-note { font-family: 'Inter', sans-serif; font-size: .84rem; font-weight: 600; line-height: 1.3; }

/* ---- Navigation — hover mega-menus, burger below 900px ---------------- */
.navbar {
  position: sticky; top: 0; z-index: 60; background: rgba(245,240,232,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px; background: none; border: 0;
  font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 500;
  color: var(--plum); cursor: pointer;
}
.nav-list > li > a:hover, .nav-trigger:hover { background: rgba(74,25,66,.06); }
.nav-list > li > a.active { font-weight: 700; }
.nav-trigger::after {
  content: ''; width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .6;
}
.mega {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 480px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
  padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-list > li:hover .mega,
.nav-list > li:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega h4 { grid-column: 1 / -1; font-family: 'Inter', sans-serif; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.mega a { display: block; padding: 9px 10px; border-radius: 8px; }
.mega a:hover { background: var(--cream); color: var(--plum); }
.mega a strong { display: block; font-size: .95rem; font-weight: 600; }
.mega a span { display: block; font-size: .82rem; color: var(--charcoal-soft); line-height: 1.4; }
.nav-cta { margin-left: 8px; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--plum); border-radius: 2px; }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-list {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px; max-height: calc(100vh - 74px); overflow-y: auto;
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list > li > a, .nav-trigger { width: 100%; justify-content: space-between; padding: 14px 6px; }
  /* On a phone the mega-menus are always expanded — there is no hover, and a
     second tap-to-open layer buries the comparison pages two taps deep. */
  .mega {
    position: static; min-width: 0; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; padding: 0 0 8px 14px; margin: 0 0 8px 6px;
    grid-template-columns: 1fr; gap: 2px;
  }
  .nav-cta { margin: 12px 0 0; }
}

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center;
  background: var(--plum-dark); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The gradient lives here rather than being baked into the jpeg, so the text
   reflows on a phone. It clears to nothing by 82% — past that the photograph
   is the photograph. Treatment C is applied in the file itself. */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(45,15,40,.94) 0%, rgba(45,15,40,.86) 34%,
                                       rgba(45,15,40,.52) 62%, rgba(45,15,40,0) 82%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max-width);
  margin: 0 auto; padding: 90px 24px; width: 100%; }
.hero-copy { max-width: 620px; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5.2vw, 3.5rem); margin-bottom: 20px; }
.hero p.lede { color: rgba(255,255,255,.88); font-size: 1.14rem; max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-foot { margin-top: 30px; color: rgba(255,255,255,.62); font-size: .87rem; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(45,15,40,.90) 0%, rgba(45,15,40,.86) 55%, rgba(45,15,40,.72) 100%); }
  .hero-inner { padding: 64px 24px; }
}

/* ---- Page header (inner pages) ---------------------------------------- */
.page-header { position: relative; background: var(--plum); padding: 74px 0 66px; overflow: hidden; }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.82); max-width: 640px; font-size: 1.04rem; }
.page-header.with-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header.with-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(45,15,40,.95) 0%, rgba(45,15,40,.80) 50%, rgba(45,15,40,.42) 100%);
}

/* ---- Split: the same job, done twice ---------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.twice { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.twice-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); }
.twice-card h4 { font-family: 'Inter', sans-serif; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.twice-card p { font-size: .93rem; color: var(--charcoal-soft); }
.twice-card.is-app { background: var(--plum); border-color: var(--plum); }
.twice-card.is-app p { color: rgba(255,255,255,.86); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 34px; } }

/* ---- Steps ------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); }
.step-n { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--plum);
  color: var(--white); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--charcoal-soft); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---- Feature grid — no emoji, a drawn mark ---------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 42px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); }
.feature.lead { grid-column: span 2; background: var(--plum); border-color: var(--plum); }
.feature.lead h3 { color: var(--white); }
.feature.lead p { color: rgba(255,255,255,.84); }
.feature svg { width: 26px; height: 26px; margin-bottom: 14px; }
.feature h3 { font-size: 1.14rem; margin-bottom: 8px; }
.feature p { font-size: .94rem; color: var(--charcoal-soft); }
/* max-width keeps a long label inside the card. Without it "Delivery
   temperature free · full check on Pro" broke out through the right edge. */
.feature .tier { display: inline-block; max-width: 100%; margin-top: 12px;
  font-size: .7rem; font-weight: 700; line-height: 1.5;
  letter-spacing: .1em; text-transform: uppercase; color: var(--plum);
  background: rgba(201,168,76,.22); padding: 3px 10px; border-radius: 999px; }
.feature.lead .tier { color: var(--plum-dark); background: var(--gold); }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } .feature.lead { grid-column: span 2; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } .feature.lead { grid-column: span 1; } }

/* ---- App screenshots ---------------------------------------------------
   The frames are untouched captures from a Pixel 7a — no cropping, no
   recolouring, no drawn-on device bezel. A fake bezel would be the one bit of
   the picture that was not the product. The rounded corner and shadow below are
   the whole treatment. */
.phone { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lift);
  border: 1px solid rgba(45,15,40,.10); background: var(--white); }
.phone img { width: 100%; height: auto; display: block; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px;
  align-items: start; }
.shot figcaption { margin-top: 16px; }
.shot h3 { font-size: 1.05rem; margin-bottom: 6px; }
.shot p { font-size: .92rem; color: var(--charcoal-soft); }
.band-plum .shot h3 { color: var(--white); }
.band-plum .shot p { color: rgba(255,255,255,.78); }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; gap: 40px; max-width: 380px;
  margin-left: auto; margin-right: auto; } }

/* ---- Guide steps — a frame beside its explanation ---------------------- */
.guide { margin-top: 46px; }
.guide-head { border-left: 3px solid var(--gold); padding-left: 20px; margin-bottom: 30px; }
.guide-head h2 { font-size: 1.55rem; margin-bottom: 8px; }
.guide-head p { color: var(--charcoal-soft); max-width: 640px; }
/* A capped text column, not 1fr. At 1140px wide a 1fr column gives ~760px of
   measure, which is far too long to read comfortably and left the row looking
   half empty. The pair is centred instead. */
.step-row { display: grid; grid-template-columns: 280px minmax(0, 540px); gap: 48px;
  justify-content: center; align-items: center; padding: 34px 0;
  border-bottom: 1px solid var(--line); }
.step-row:last-child { border-bottom: 0; }
.step-row .step-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-row .step-body p { color: var(--charcoal); font-size: .97rem; }
.step-row .step-body p + p { margin-top: 12px; }
.step-num { display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--plum);
  color: var(--white); font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: .88rem; margin-bottom: 12px; }
/* Alternating sides stops eight steps reading as one long identical column.
   Driven by a class the generator puts on, NOT by :nth-child — the first child
   of .guide is the heading, so nth-child counting is offset by one and the
   alternation came out wrong in exactly the way that is hard to spot in code
   and obvious in a screenshot. */
.step-row.flip { grid-template-columns: minmax(0, 540px) 280px; }
.step-row.flip .phone { order: 2; }
.step-row.flip .step-body { order: 1; }
@media (max-width: 860px) {
  .step-row, .step-row.flip { grid-template-columns: 1fr; gap: 24px;
    max-width: 380px; margin-left: auto; margin-right: auto; }
  .step-row.flip .phone { order: 0; }
  .step-row.flip .step-body { order: 1; }
}

/* ---- Evidence ---------------------------------------------------------- */
.evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.ev { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; }
.ev .figure { font-family: 'Playfair Display', Georgia, serif; font-size: 2.3rem;
  font-weight: 700; color: var(--white); line-height: 1.05; }
.ev p { font-size: .95rem; margin-top: 8px; }
.ev cite { display: block; font-style: normal; font-size: .78rem;
  color: rgba(255,255,255,.55); margin-top: 10px; }
@media (max-width: 860px) { .evidence { grid-template-columns: 1fr; } }

/* ---- Tables (comparison pages) ---------------------------------------- */
.cmp-wrap { overflow-x: auto; margin-top: 34px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); font-size: .93rem; }
table.cmp thead th { background: var(--plum); color: var(--white);
  font-family: 'Inter', sans-serif; font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; position: sticky; top: 0; }
table.cmp tbody th { font-weight: 600; color: var(--plum); width: 30%; }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: 0; }
table.cmp .yes { color: #2F7D4F; font-weight: 600; }
table.cmp .part { color: #9A6B1E; font-weight: 600; }
table.cmp .na { color: var(--charcoal-soft); }
/* The qualifier under each verdict. This MUST be display:block — as an inline
   element it ran straight on from the verdict and read "YesTemperature logs,
   opening and closing checklists", which is unreadable and looks like a bug
   because it is one. It also has to drop the parent cell's colour and weight,
   or the detail line turns green and bold along with the "Yes". */
table.cmp em { display: block; font-style: normal; font-weight: 400;
  font-size: .78rem; line-height: 1.45; color: var(--charcoal-soft);
  margin-top: 3px; }
.cmp-note { margin-top: 18px; font-size: .86rem; color: var(--charcoal-soft); }

.callout { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); margin-top: 40px; }
.callout h2 { font-size: 1.35rem; margin-bottom: 10px; }
.callout p + p { margin-top: 12px; }

/* ---- Long-form content ------------------------------------------------- */
.content { max-width: 820px; }
.content h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.content p, .content li { color: var(--charcoal); }
.content p + p { margin-top: 14px; }
.content ul, .content ol { margin: 12px 0 12px 22px; }
.content li { margin-bottom: 8px; }
.content .updated { font-size: .86rem; color: var(--charcoal-soft); font-style: italic; }

/* ---- Pricing ----------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1040px; margin: 0 auto; align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.price-card.flagship { border: 2px solid var(--gold); box-shadow: var(--shadow-lift); }
.price-badge { position: absolute; top: -13px; left: 28px; background: var(--gold);
  color: var(--plum-dark); font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  padding: 5px 13px; border-radius: 999px; }
.price-label { font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold); }
.price-amount { font-family: 'Playfair Display', Georgia, serif; font-size: 2.7rem;
  font-weight: 700; color: var(--plum); line-height: 1.1; margin: 8px 0 2px; }
.price-period { font-family: 'Inter', sans-serif; font-size: .92rem; font-weight: 500; color: var(--charcoal-soft); }
.fx-period-note { display: block; font-family: 'Inter', sans-serif; font-size: .78rem;
  font-weight: 400; color: var(--charcoal-soft); margin-top: 2px; min-height: 1.1em; }
.price-sub { font-size: .93rem; color: var(--charcoal-soft); margin-bottom: 18px; }
.price-features { list-style: none; margin: 0 0 26px; }
.price-features li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: .93rem; }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.price-features li.head { padding-left: 0; font-weight: 600; color: var(--plum); }
.price-features li.head::before { content: ''; }
.price-card .btn { margin-top: auto; }
@media (max-width: 991px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; } }

.toggle-group { display: inline-flex; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.toggle-btn { border: 0; background: transparent; cursor: pointer; font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: .92rem; color: var(--plum); padding: 8px 18px; border-radius: 999px;
  transition: background-color .2s ease, color .2s ease; }
.toggle-btn.active { background: var(--plum); color: var(--white); }
.pricing-toggles { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  align-items: center; margin: 0 auto 34px; }
.toggle-hint { font-size: .82rem; color: var(--charcoal-soft); }

.founding-banner { max-width: 900px; margin: 0 auto 40px; background: var(--plum);
  color: var(--white); border: 2px solid var(--gold); border-radius: var(--radius-lg);
  padding: 26px 28px; text-align: center; box-shadow: var(--shadow); }
.founding-banner .founding-tag { display: inline-block; background: var(--gold); color: var(--plum-dark);
  font-weight: 700; letter-spacing: .06em; font-size: .72rem; padding: 5px 14px;
  border-radius: 999px; margin-bottom: 12px; }
.founding-banner h2 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.founding-banner strong { color: var(--gold); }
.founding-banner p { color: rgba(255,255,255,.85); font-size: .96rem; max-width: 640px; margin: 0 auto; }
.founding-banner .founding-scarce { color: var(--gold); font-weight: 700; }
.founding-banner.sold-out { border-color: rgba(255,255,255,.22); }
.founding-banner.sold-out .founding-tag { background: rgba(255,255,255,.16); color: var(--white); }

.enterprise-band { max-width: 1040px; margin: 40px auto 0; background: var(--charcoal);
  color: var(--cream); border: 2px solid var(--plum); border-radius: var(--radius-lg);
  padding: 30px 34px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap;
  align-items: center; gap: 26px 40px; }
.enterprise-band .eb-main { flex: 1 1 340px; }
.enterprise-band .eb-tag { display: inline-block; background: var(--plum); color: var(--white);
  font-weight: 700; letter-spacing: .08em; font-size: .72rem; padding: 5px 14px;
  border-radius: 999px; margin-bottom: 12px; }
.enterprise-band h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.enterprise-band .eb-lead { color: rgba(255,255,255,.82); font-size: .98rem; margin-bottom: 16px; max-width: 620px; }
.enterprise-band .eb-features { list-style: none; margin: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.enterprise-band .eb-features li { padding-left: 26px; position: relative; font-size: .94rem; }
.enterprise-band .eb-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.enterprise-band .eb-cta { flex: 0 0 auto; text-align: center; }
.enterprise-band .eb-cta .eb-price { display: block; font-size: .86rem; opacity: .8; margin-bottom: 12px; }
@media (max-width: 620px) {
  .enterprise-band .eb-features { grid-template-columns: 1fr; }
  .enterprise-band .eb-cta { flex: 1 1 100%; }
  .enterprise-band .eb-cta .btn { width: 100%; }
}
.price-guarantee { max-width: 900px; margin: 30px auto 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 26px; text-align: center; font-weight: 600;
  font-size: .92rem; color: var(--plum); }
.price-guarantee span { display: inline-flex; align-items: center; gap: 8px; }
.price-guarantee span::before { content: '✓'; color: var(--gold); font-weight: 700; }
.price-note { max-width: 860px; margin: 26px auto 0; text-align: center;
  font-size: .84rem; color: var(--charcoal-soft); }

/* ---- Contact ----------------------------------------------------------- */
.contact-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.contact-form label { font-weight: 600; font-size: .9rem; color: var(--plum); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  font-family: 'Inter', sans-serif; font-size: .96rem; padding: 12px 14px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--charcoal); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.contact-direct { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Closing CTA ------------------------------------------------------- */
.cta-band { background: var(--plum-dark); text-align: center; padding: 76px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }

/* ---- Footer ------------------------------------------------------------ */
.footer { background: var(--plum); color: rgba(255,255,255,.8); padding: 62px 0 0; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; max-width: 300px; }
.footer h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(255,255,255,.8); font-size: .93rem; }
.footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 46px; border-top: 1px solid rgba(255,255,255,.14);
  padding: 22px 24px; text-align: center; font-size: .86rem; color: rgba(255,255,255,.6); }
.footer-bottom .legal-line { display: block; margin-top: 8px; font-size: .78rem;
  color: rgba(255,255,255,.45); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---- Back to top -------------------------------------------------------
   Only appears once the reader has gone somewhere. A guide is read part-way
   down, and what you want at that point is the list again, not the footer. */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--plum); color: var(--white); font-size: 1.15rem;
  box-shadow: var(--shadow-lift); border: 1px solid rgba(255,255,255,.18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s, background-color .18s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--plum-dark); }

/* ---- A feature card that is a link (the guides index) ----------------- */
a.feature { text-decoration: none; color: inherit; display: block;
  transition: transform .18s ease, box-shadow .18s ease; }
a.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: inherit; }
a.feature h3 { color: var(--plum); }

/* ---- Trial flash on the Premium card -----------------------------------
   A rotated gold ribbon across the top-right corner. Deliberately loud: it is
   the one thing on the pricing page that should stop a skim.

   The clip is on `.has-flash`, NOT on `.price-card`. It used to be on every
   pricing card, and it cut the top half off "MOST POPULAR" and "FLAGSHIP" —
   `.price-badge` is positioned at `top: -13px`, deliberately hanging above the
   card, so `overflow: hidden` on the card is exactly the thing that must not be
   there. Worse, TRIAL_LIVE is false, so the ribbon this rule exists to clip is
   not rendered at all: the page was carrying the damage with none of the
   benefit.

   `.has-flash` is put on the card by ops/build_site.py, by the same flag that
   emits the ribbon, so the clip and the thing being clipped cannot get out of
   step. Reported 22 August 2026 from a screenshot of the live pricing page. */
.price-card.has-flash { overflow: hidden; }
.trial-flash {
  position: absolute; top: 20px; right: -46px; width: 190px;
  transform: rotate(38deg); background: var(--gold); color: var(--plum-dark);
  text-align: center; padding: 7px 0; box-shadow: 0 4px 14px rgba(45,15,40,.28);
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: .72rem;
  letter-spacing: .07em; text-transform: uppercase; line-height: 1.35; z-index: 3;
}
.trial-flash strong { display: block; font-size: .92rem; letter-spacing: .03em; }
.trial-note { margin-top: -6px; margin-bottom: 14px; font-size: .86rem;
  font-weight: 600; color: var(--plum); }

/* ---- Motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .btn:hover, .play-badge:hover { transform: none; }
}
