/* Karoce public site. Tokens taken from the design canvas. */

:root {
  --paper:  #F3EEE7;
  --card:   #FFFDFA;
  --sand:   #F7F4EF;
  --bar:    #EBE4DA;
  --line:   #E2D9CC;
  --line-2: #D6CCBE;
  --ink:    #1A1714;
  --ink-2:  #4A433C;
  --ink-3:  #6F665C;
  --ink-4:  #8A8076;
  --forest: #1F4537;
  --clay:   #B8603F;
  --peach:  #E8B79F;
  --mint:   #E5ECE6;
  --gold:   #C8A043;
  --cream:  #EFE9DC;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shell: 1100px;
  --wide:  1240px;
  --gutter: clamp(16px, 4vw, 28px);
}

* { box-sizing: border-box; }
/* The hidden attribute wins over any display rule (the journal filter relies on it). */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; border-radius: 4px; }

.shell { max-width: var(--shell); width: 100%; margin: 0 auto; padding-inline: var(--gutter); }
.spacer { flex: 1; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px;
}
.skip-link:focus { left: 16px; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: none; }
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 238, 231, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 20;
}

.site-header__inner {
  display: flex; align-items: center;
  gap: 14px 28px; padding-block: 14px;
}
.site-header__inner--wide {
  max-width: var(--wide); width: 100%; margin: 0 auto; padding-inline: var(--gutter);
}
.site-header__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* Signed in to the app (html.is-signed-in, set in base.liquid): the registry, not sign-up. */
/* Scoped under .site-header to outrank .button's display, which comes later. */
.site-header .site-header__member { display: none; }
.is-signed-in .site-header .site-header__member { display: inline-flex; }
.is-signed-in .site-header .site-header__guest { display: none; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 10px; flex: none;
  background: var(--forest); color: #F3EEE7;
  display: flex; align-items: center; justify-content: center;
}
.brand__word { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: -0.01em; }
.brand--sm { gap: 8px; }
.brand--sm .brand__mark { width: 22px; height: 22px; border-radius: 7px; }
.brand__mark svg { width: 73%; height: auto; display: block; }
.brand--sm .brand__word { font-size: 20px; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--clay); }
.site-nav__current { font-size: 15px; color: var(--ink); font-weight: 500; }

/* Below this width the section links do not fit beside the button; the
   footer carries the blog link, and every section is one scroll away. */
@media (max-width: 960px) {
  .site-nav { display: none; }
}

.lang-switch {
  display: flex; background: var(--sand);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px;
}
.lang-switch__btn {
  border-radius: 999px; padding: 5px 13px;
  font-size: 12px; font-weight: 600; color: var(--ink-3);
  text-decoration: none; line-height: 1.4;
}
.lang-switch__btn.is-on { background: var(--ink); color: var(--paper); }

/* ---------- main ---------- */

.site-main { flex: 1; padding-block: clamp(44px, 8vw, 92px) 60px; }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 22px; text-wrap: balance;
}
.display--sm { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.03; margin-bottom: 18px; }

.lede { font-size: 17.5px; line-height: 1.62; color: var(--ink-2); margin: 0 0 18px; max-width: 46ch; }
.lede--muted { font-size: 15.5px; color: var(--ink-3); margin-bottom: 34px; max-width: 48ch; }

.kicker {
  font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 11px;
}

/* ---------- page heads ---------- */

.page-head { max-width: 620px; margin-bottom: clamp(36px, 6vw, 58px); animation: riseIn .4s ease both; }
.page-head .lede { max-width: none; font-size: 16.5px; margin: 0; }

/* ---------- topic chips ---------- */

.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; animation: riseIn .45s ease both; }
.chip {
  background: var(--card); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font: inherit; font-size: 13px; text-decoration: none; line-height: 1.4;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- posts ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 282px), 1fr));
  gap: 16px;
}

.post-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover { box-shadow: 0 12px 30px rgba(22, 21, 15, 0.08); transform: translateY(-2px); }

.post-card__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.post-card__tint { display: block; height: 112px; }
.post-card__body { display: flex; flex-direction: column; gap: 9px; flex: 1; padding: 18px 20px 20px; }
.post-card__meta {
  font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink-4); margin: 0;
}
.post-card__title { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; margin: 0; }
.post-card__excerpt { font-size: 13.5px; color: var(--ink-2); line-height: 1.58; margin: 0; }
.post-card__byline { font-size: 12.5px; color: var(--ink-4); margin: auto 0 0; padding-top: 4px; }

.lead-post {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; margin-bottom: 34px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  animation: riseIn .5s ease both;
}
.lead-post__tint { min-height: 230px; display: flex; align-items: flex-end; padding: 22px 24px; }
.lead-post__flag { font-family: var(--serif); font-size: 15px; font-style: italic; color: #5C574B; }
.lead-post__body { padding: clamp(24px, 3.4vw, 36px); }
.lead-post__body .post-card__meta { margin-bottom: 10px; }
.lead-post__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(25px, 3.2vw, 33px); line-height: 1.14; margin: 0 0 13px;
}
.lead-post__title a { color: inherit; text-decoration: none; }
.lead-post__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lead-post__excerpt { font-size: 15px; line-height: 1.62; color: var(--ink-2); margin: 0 0 20px; }

.byline { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--ink-3); margin: 0; }
.byline__avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: #EFEAE1; color: #5C574B;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

.empty { font-size: 15px; color: var(--ink-3); margin: 0 0 34px; }

/* ---------- article ---------- */
/* The comparator layout from "Karoce Article.dc.html": progress bar, a table
   of contents rail, the picks summarised in a dark card, then one card each. */

.progress { height: 3px; background: var(--line); }
.progress__bar { display: block; height: 100%; width: 0; background: var(--forest); }

/* The rail needs more room than the reading column alone. */
.site-main--wide { --shell: 1180px; padding-block: clamp(26px, 4vw, 44px) 60px; }

.article { animation: riseIn .4s ease both; }
.article__back { font-size: 13.5px; margin: 0 0 clamp(20px, 3vw, 30px); }
.article__back a { color: var(--ink-3); text-decoration: none; }
.article__back a:hover { color: var(--ink); }

/* Copy and lead image side by side, stacking to one column when narrow. The
   figure keeps the photo's own proportions rather than cropping to a fixed
   ratio — this one is a line-up, and a crop would cut strollers off each end. */
.article__hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(26px, 4vw, 48px); align-items: center;
  margin-bottom: clamp(10px, 2vw, 18px);
}
.article__figure { margin: 0; animation: riseIn .5s ease both; }
.article__figure img { width: 100%; height: auto; border-radius: 22px; }

.article__head { max-width: 52ch; }
.article__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 14px;
}
.article__topic { background: #EFEAE1; color: #5C574B; border-radius: 999px; padding: 5px 12px; }
.article__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.03;
  letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance;
}
.article__lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0 0 26px; }

.article__byline {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.article__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: #EFEAE1; color: #5C574B;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.article__byline-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.article__byline-text span { display: block; color: var(--ink-4); }

.article__disclosure {
  font-size: 13px; color: var(--ink-3); line-height: 1.6;
  margin: 18px 0 0; border-left: 2px solid var(--gold); padding-left: 11px;
}

/* One column until there is room for the rail beside it. */
.article__layout { margin-top: clamp(34px, 5vw, 56px); }
.article__main { min-width: 0; }

.rail { display: none; }

@media (min-width: 1040px) {
  .article__layout {
    display: grid; grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 52px); align-items: start;
  }
  .rail { display: block; position: sticky; top: 96px; }
}

.rail__title {
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 4px; padding: 0 2px;
}
.rail__link {
  display: block; font-size: 13px; line-height: 1.4;
  color: var(--ink-3); text-decoration: none;
  padding: 7px 10px; border-left: 2px solid var(--line);
}
.rail__link--lead { color: var(--ink-2); font-weight: 500; }
.rail__link:hover { color: var(--ink); border-left-color: var(--forest); }

/* the picks, listed once before the long read */
.glance {
  --glance-pad: clamp(24px, 3.4vw, 34px);
  background: var(--forest); color: var(--cream); border-radius: 20px;
  padding: var(--glance-pad); margin-bottom: clamp(32px, 4vw, 48px);
  /* keeps the last row's hover inside the rounded corners */
  overflow: hidden;
}
.glance__title {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 31px);
  line-height: 1.15; margin: 0 0 6px;
}
.glance__sub { font-size: 13.5px; color: #B9C7BF; line-height: 1.55; margin: 0 0 16px; }
/* Rows are pulled out to the card's edges so the whole row highlights, the way
   a table row does — the negative margin and the padding both come from
   --glance-pad, so they cannot drift apart. */
.glance__row {
  display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap;
  margin-inline: calc(var(--glance-pad) * -1);
  padding: 14px var(--glance-pad);
  border-top: 1px solid rgba(239, 233, 220, 0.16);
  text-decoration: none; color: inherit;
}
.glance__row:hover,
.glance__row:focus-visible { color: inherit; background: rgba(239, 233, 220, 0.08); }
.glance__row:focus-visible { outline-offset: -2px; border-radius: 0; }
.glance__num { font-family: var(--serif); font-size: 19px; color: #8FA89B; min-width: 26px; }
.glance__id { flex: 1; min-width: 170px; }
.glance__name { display: block; font-size: 16px; font-weight: 500; }
.glance__award { display: block; font-size: 12.5px; color: #B9C7BF; margin-top: 2px; }
.glance__price { font-size: 15px; flex: none; }

/* body copy — narrower than the cards, which run the full column */
.prose { max-width: 68ch; font-size: 17px; line-height: 1.72; color: #2E2C24; }
.prose > p { margin: 0 0 22px; }
.prose ul { margin: 0 0 22px; padding-left: 20px; }
.prose li { margin-bottom: 11px; }
.prose strong { color: var(--ink); font-weight: 500; }

.article__h2 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15;
  margin: clamp(40px, 5vw, 56px) 0 16px; scroll-margin-top: 110px;
}

.faq { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 22px; }
.faq__q {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: 21px; line-height: 1.2; margin: 0 0 8px;
}
.faq__a { margin: 0; font-size: 16px; }

.note {
  background: var(--forest); color: var(--cream); border-radius: 18px;
  font-size: 15.5px; line-height: 1.62;
  padding: 24px 26px; margin-top: 40px; max-width: 68ch;
}

/* one recommendation */
.pick {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(22px, 3vw, 30px); margin-bottom: clamp(20px, 3vw, 30px);
  scroll-margin-top: 110px;
}
.pick__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.pick__num {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.pick__award {
  background: #F2F5F1; color: #2E5B49; border: 1px solid #BFD3C5; border-radius: 999px;
  padding: 5px 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.pick__name {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(23px, 2.8vw, 29px); line-height: 1.15; margin: 0 0 8px;
}
.pick__name a { color: inherit; text-decoration: none; }
.pick__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pick__price { font-size: 20px; color: var(--ink); margin: 0 0 20px; }
.pick__priceNote { font-size: 13px; color: var(--ink-4); }

.pick__specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 1px; background: #E9E2D6; border: 1px solid #E9E2D6;
  border-radius: 12px; overflow: hidden; margin: 0 0 20px;
}
.pick__spec { background: var(--sand); padding: 12px 13px; }
.pick__spec dt {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 4px;
}
.pick__spec dd { font-size: 13.5px; color: var(--ink); line-height: 1.4; margin: 0; }

.pick__text { font-size: 15.5px; line-height: 1.68; color: #2E2C24; margin: 0 0 20px; }

.pick__verdict {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 16px; margin-bottom: 22px;
}
.pick__colTitle {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 9px;
}
.pick__colTitle--pro { color: #2E5B49; }
.pick__colTitle--con { color: #8A6A4A; }
.pick__list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.pick__list li { position: relative; padding-left: 18px; margin-bottom: 7px; }
.pick__list li::before { position: absolute; left: 0; top: 0; }
.pick__list--pro li::before { content: '+'; color: #2E5B49; }
.pick__list--con li::before { content: '\2212'; color: #A8825A; }

.pick__cta { margin: 0; }

/* pill buttons, shared by the picks and the closing card */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 11px 20px;
  font-size: 13.5px; font-weight: 500; text-decoration: none;
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--forest); color: var(--paper); }
.btn--forest { background: var(--forest); color: var(--paper); padding: 13px 24px; font-size: 14px; }
.btn--forest:hover { background: var(--ink); color: var(--paper); }

/* the registry pitch that closes the piece */
.closer {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(26px, 4vw, 38px); margin-top: clamp(40px, 5vw, 60px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 24px; align-items: center;
}
.closer__title {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 31px);
  line-height: 1.15; margin: 0 0 9px;
}
.closer__body { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.closer__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0; }
.closer__alt { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 13px 6px; }
.closer__alt:hover { color: var(--ink); }

@media (max-width: 560px) {
  .glance__price { margin-left: 38px; }
}

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

.site-footer { border-top: 1px solid var(--line); padding-block: 28px 48px; }
.site-footer__inner { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; }
.site-footer__inner--wide { max-width: var(--wide); }
.site-footer__note { font-size: 14px; color: var(--ink-3); }
.site-footer__legal { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-footer__legal a { font-size: 14px; color: var(--ink-3); text-decoration: none; }
.site-footer__legal a:hover { color: var(--clay); }

/* ---------- legal pages ---------- */

.legal { max-width: 720px; }
.legal .page-head { margin-bottom: 28px; }
.legal__version { font-size: 12.5px; color: var(--ink-4); margin: -6px 0 16px; }
.legal__toc { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 16px 22px; margin-bottom: 40px; }
.legal__toc ol { margin: 0; padding-left: 20px; columns: 2 240px; column-gap: 28px; font-size: 14px; line-height: 1.9; }
.legal__toc a { color: var(--ink-2); }
.legal__section { margin-bottom: 34px; scroll-margin-top: 90px; }
.legal__section h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
.legal__section p,
.legal__section li { font-size: 15.5px; line-height: 1.68; color: var(--ink-2); }
.legal__section p { margin: 0 0 12px; }
.legal__section ul { margin: 0 0 12px; padding-left: 20px; }
.legal__section li { margin-bottom: 8px; }
.legal__section strong { color: var(--ink); font-weight: 500; }
.legal__other { margin-top: 44px; font-size: 14.5px; }

/* =====================================================================
   Home — the product landing page (index.php).
   Full-bleed sections; each one centres its content in .wrap.
   ===================================================================== */

.site-main--home { padding: 0; font-size: 17px; overflow-x: clip; }
.site-main--home a:not(.button) { text-decoration: none; }
.site-main--home a:not(.button):hover { color: var(--clay); }

.wrap { max-width: var(--wide); width: 100%; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */

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

.label {
  margin: 0; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}

.h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.015em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; }
.h2 em { font-style: italic; }

.h3 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 44px); line-height: 1.02;
}

.text { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.text--lg { font-size: 18px; }
.aside { margin: 0; color: var(--ink-3); font-size: 15px; text-wrap: pretty; }
.aside a { color: var(--forest); text-decoration: underline !important; }

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

.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
}
.button--forest { background: var(--forest); color: #fff; }
.button--forest:hover { background: var(--ink); color: #fff; }
.button--ghost { border: 1px solid #CFC5B7; color: var(--ink); }
.button--ghost:hover { border-color: var(--ink); color: var(--ink); }
.button--sm { padding: 10px 18px; font-size: 15px; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- device frames ---------- */

.browser {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(40, 30, 20, .45);
}
.browser__bar {
  height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px;
  background: var(--bar); border-bottom: 1px solid #E0D8CC;
}
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #E4A08C; }
.browser__bar span:nth-child(2) { background: #E9CE8F; }
.browser__bar span:nth-child(3) { background: #A9C4A2; }
.browser__bar b {
  flex: 1; min-width: 0; text-align: center; padding-right: 42px;
  font-size: 11px; font-weight: 400; color: var(--ink-4);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser__shot { width: 100%; height: auto; object-fit: cover; object-position: top; }
.browser__shot--4x3   { aspect-ratio: 4 / 3; }
.browser__shot--16x10 { aspect-ratio: 16 / 10; }

/* A phone is drawn around a screenshot. --pw sets the width; every other
   measure scales from it so the bezel stays in proportion at any size. */
.phone {
  --pw: 260px;
  margin: 0; flex: none; width: var(--pw); aspect-ratio: 29 / 59;
  padding: calc(var(--pw) * .034); border-radius: calc(var(--pw) * .16);
  background: var(--ink);
  box-shadow: 0 30px 60px -28px rgba(40, 30, 20, .55);
}
.phone img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: calc(var(--pw) * .125); background: var(--card);
}
.phone--sm { --pw: 220px; }
.phone--md { --pw: 260px; }
.phone--lg { --pw: 290px; }

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

.hero {
  padding-block: 72px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 56px; align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; animation: riseIn .4s ease both; }
.hero__title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 7vw, 92px); line-height: .95; letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__title em { color: var(--forest); }
.hero__lede { margin: 0; font-size: 19px; color: var(--ink-2); max-width: 520px; text-wrap: pretty; }

.checks {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3);
}
.checks li::before { content: '✓ '; }

.hero__shots { position: relative; padding-bottom: 60px; animation: riseIn .5s ease both; }
.hero__phone { position: absolute; right: -12px; bottom: 0; box-shadow: 0 30px 60px -24px rgba(40, 30, 20, .6); }

/* ---------- stores strip ---------- */

.stores { border-block: 1px solid var(--line); }
.stores__inner {
  padding-block: 26px;
  display: flex; align-items: center; gap: 14px 40px; flex-wrap: wrap;
}
.stores__lead {
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
}
.stores__name { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.stores__name--any { font-style: italic; color: var(--ink-3); }

/* ---------- why ---------- */

.why {
  padding-block: 110px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px;
}
.why__list { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-direction: column; gap: 28px; }
.why__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.why__num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--clay); }
.why__head { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.why__body { margin: 0; color: var(--ink-3); text-wrap: pretty; }

/* ---------- how it works ---------- */

.how { padding-block: 90px; display: flex; flex-direction: column; gap: 96px; }

.section-intro { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px; align-items: center;
}
.split__media--center { display: flex; justify-content: center; }
.split__media--pair { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.step { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.tile img { width: 100%; height: auto; aspect-ratio: 606 / 441; object-fit: cover; object-position: top left; }

.chips-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; }
.tag--dark { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- desktop & mobile ---------- */

.apps { border-top: 1px solid var(--line); }
.apps__inner { padding-block: 110px; display: flex; flex-direction: column; gap: 56px; }

.intro-pair {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px 56px; align-items: end;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line);
}
.card__head { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.card__body { margin: 0; color: var(--ink-3); text-wrap: pretty; }

.apps__shots { position: relative; padding-bottom: 40px; max-width: 1080px; width: 100%; margin: 0 auto; }
.apps__browser { margin-right: min(18%, 160px); }
.apps__phone { --pw: 240px; position: absolute; right: 0; bottom: 0; box-shadow: 0 30px 60px -24px rgba(40, 30, 20, .6); }

/* ---------- for guests ---------- */

.guests { background: var(--forest); color: var(--paper); }
.guests__inner {
  padding-block: 110px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px; align-items: center;
}
.guests__copy { display: flex; flex-direction: column; gap: 22px; }
.guests__body { margin: 0; font-size: 18px; color: #D5DED7; max-width: 500px; text-wrap: pretty; }

.ticks { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: '✓'; color: var(--peach); flex: none; }

.guests__shots { position: relative; padding-bottom: 40px; }
.guests__shot { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.guests__shot img { width: 100%; height: auto; }
.guests__phone {
  --pw: 210px; position: absolute; left: -16px; bottom: 0;
  background: #0F0D0B; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}

/* ---------- parents & admins ---------- */

.roles { padding-block: 110px 40px; display: flex; flex-direction: column; gap: 48px; }

.legend {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center;
  font-size: 14px; color: var(--ink-2);
}
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend .pill { padding: 4px 10px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center;
}
.pill--on  { background: var(--mint); color: var(--forest); }
.pill--opt { background: #F6E3D8; color: #9A4A2C; }
.pill--no  { background: #EFE8DE; color: var(--ink-4); }

.roles__tables {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 24px; align-items: start;
}

.scenario { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.scenario__head {
  padding: 26px 24px 20px; display: flex; flex-direction: column; gap: 6px;
  border-bottom: 1px solid var(--line);
}
.scenario__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.scenario__sub { margin: 0; color: var(--ink-3); font-size: 15px; text-wrap: pretty; }

.scenario--accent { border-color: var(--forest); }
.scenario--accent .scenario__head { background: var(--forest); color: var(--paper); border-bottom: none; }
.scenario--accent .label { color: var(--peach); }
.scenario--accent .scenario__sub { color: #D5DED7; }

.matrix { width: 100%; border-collapse: collapse; }
.matrix thead th {
  background: var(--bar); padding: 12px 10px;
  font-family: var(--serif); font-weight: 400; font-size: 22px; text-align: center;
}
.matrix thead th:first-child {
  padding-inline: 24px; text-align: left;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.matrix tbody tr { border-top: 1px solid #EFE8DE; }
.matrix tbody th { padding: 14px 24px; text-align: left; font-weight: 400; }
.matrix tbody th span { display: block; font-weight: 600; }
.matrix tbody th small { display: block; font-size: 14px; color: var(--ink-3); text-wrap: pretty; }
.matrix td { padding: 14px 10px; text-align: center; width: 150px; }
.matrix--2 td:nth-child(2) { width: 130px; }

.tip { margin: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 15px; color: var(--ink-3); }
.tip__badge { padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--forest); font-weight: 600; }

/* ---------- where to buy ---------- */

.buy {
  padding-block: 110px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px; align-items: center;
}
.buy__shot {
  margin: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper);
  box-shadow: 0 30px 60px -40px rgba(40, 30, 20, .4);
}
.buy__shot img { width: 100%; height: auto; }

/* ---------- FAQ ---------- */

.faq-block { border-top: 1px solid var(--line); }
.faq-block__inner {
  max-width: 880px; margin: 0 auto; padding: 100px var(--gutter);
  display: flex; flex-direction: column; gap: 32px;
}
.qa-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 500; color: var(--ink);
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::after { content: '+'; flex: none; width: 24px; text-align: center; font-size: 24px; line-height: 1; color: var(--forest); }
.qa[open] .qa__q::after { content: '−'; }
.qa__q:hover { color: var(--forest); }
.qa__a { margin: 0; padding: 0 40px 24px 0; color: var(--ink-2); text-wrap: pretty; }

/* ---------- closing call to action ---------- */

.start { padding: 0 var(--gutter) 28px; }
.start__card {
  max-width: var(--wide); margin: 0 auto; border-radius: 28px; background: var(--mint);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}
.start__title {
  margin: 0; max-width: 820px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.02em; text-wrap: balance;
}

/* ---------- narrow screens ---------- */

/* ---------- contact ---------- */

.site-main--contact { padding-bottom: 50px; }
.eyebrow--forest { color: var(--forest); }
.eyebrow--muted { color: var(--ink-3); }

.contact-intro {
  padding-block: clamp(56px, 8vw, 110px) 40px;
  display: flex; flex-direction: column; gap: 20px;
  animation: riseIn .5s ease both;
}
.contact-intro__title {
  margin: 0; max-width: 900px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 7vw, 96px); line-height: .95; letter-spacing: -.02em;
  text-wrap: balance;
}
.contact-intro__lede { margin: 0; max-width: 640px; font-size: 19px; color: var(--ink-2); text-wrap: pretty; }

.inboxes { list-style: none; margin: 0; padding: 20px 0 40px; display: flex; gap: 20px; flex-wrap: wrap; }
.inbox {
  flex: 1 1 300px; min-width: 0;
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
}
.inbox__icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--mint); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.inbox__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.inbox__body { margin: 0; flex: 1; font-size: 16px; color: var(--ink-2); }
.inbox__mail { align-self: flex-start; gap: 8px; padding: 12px 18px; font-size: 15px; overflow-wrap: anywhere; }

.contact-more {
  padding-block: 20px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px;
}
.contact-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
}
.contact-card--mint { background: var(--mint); border-color: var(--mint); }
.contact-card__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.contact-card__body { margin: 0; font-size: 16px; color: var(--ink-2); }
.site-main--home .contact-card__link { align-self: flex-start; font-weight: 600; color: var(--forest); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.site-main--home .social {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--ink); font-weight: 600; font-size: 15px;
}
.site-main--home .social:hover { border-color: var(--ink); color: var(--ink); }

@media (max-width: 720px) {
  .hero { padding-block: 40px 24px; gap: 40px; }
  .why, .roles { padding-top: 72px; }
  .how { padding-block: 64px; gap: 72px; }
  .apps__inner, .guests__inner, .buy { padding-block: 72px; }
  .apps__inner, .roles { gap: 36px; }
  .faq-block__inner { padding-block: 72px; }

  .hero__phone { --pw: 124px; right: 0; }
  .apps__browser { margin-right: 0; }
  .apps__shots { padding-bottom: 60px; }
  .apps__phone { --pw: 124px; }
  .guests__phone { --pw: 124px; left: 0; }
  .phone--lg { --pw: 240px; }
  .split__media--pair .phone { --pw: min(42vw, 200px); }

  .scenario__head { padding: 22px 16px 18px; }
  .matrix thead th { font-size: 18px; padding-inline: 6px; }
  .matrix thead th:first-child { padding-inline: 16px; }
  .matrix tbody th { padding: 12px 16px; }
  .matrix tbody th span { font-size: 15px; line-height: 1.35; }
  .matrix tbody th small { font-size: 13px; line-height: 1.4; }
  .matrix td { padding: 12px 6px; width: 104px; }
  .matrix--2 td:nth-child(2) { width: 84px; }
  .pill { font-size: 12px; padding: 4px 8px; }

  .qa__q { font-size: 17px; }
  .qa__a { padding-right: 0; }
}

@media (max-width: 420px) {
  .site-header__inner { gap: 12px; }
  .site-header .brand__word { display: none; }
  .button { padding: 14px 22px; white-space: normal; text-align: center; }
  .button--sm { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
  .stores__name { font-size: 24px; }
}

/* Cookie bar (site.js). Accept and Refuse look the same on purpose: refusing must be
   as easy as accepting. */
.cookie-bar {
  position: fixed; z-index: 50;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 640px; margin-inline: auto;
  max-height: calc(100vh - 32px); overflow-y: auto;
  display: grid; gap: 14px;
  padding: 18px 20px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(26, 23, 20, .16);
}
.cookie-bar:focus { outline: none; }
.cookie-bar__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cookie-bar__text strong { color: var(--ink); }
.cookie-bar__text a { color: var(--ink); }
.cookie-bar__options { display: grid; gap: 10px; }
.cookie-bar__option { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cookie-bar__option input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--forest); }
.cookie-bar__option-title { display: block; font-size: 14px; font-weight: 600; }
.cookie-bar__option-sub { display: block; font-size: 13px; color: var(--ink-3); }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.cookie-bar__actions .button { border: 0; cursor: pointer; font-family: inherit; }
.cookie-bar__link {
  margin-right: auto; padding: 8px 4px;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 480px) {
  .cookie-bar__actions .button { flex: 1 1 0; }
  .cookie-bar__link { flex-basis: 100%; text-align: left; }
}

/* "Cookie preferences" in the footer: a button that reads as the links beside it. */
.site-footer__link {
  padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--ink-3);
}
.site-footer__link:hover { color: var(--clay); }
