/* Supame site. Every colour, font, radius and size comes from brand.css (generated from brand/tokens.json). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: var(--action); text-underline-offset: 3px; }
a:focus-visible, .badge:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; border-radius: 12px; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--space-pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-pad); top: var(--space-pad); background: var(--surface); padding: 8px 14px; border-radius: 12px; z-index: 9; }

/* ---------- Blocks (Board + Block) ---------- */
.block { border-radius: var(--radius-block); padding: clamp(24px, 4vw, 44px); }
.block-mulberry { background: var(--brand-mulberry); color: var(--brand-cream); }
.block-food { background: var(--cat-food-tint); }
.block-ok { background: var(--status-ok-tag); }
.block-over { background: var(--status-over-tag); }
.block-surface { background: var(--surface); }

/* ---------- Hero ---------- */
.hero { margin-top: var(--space-pad); padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 6vw, 72px); }
.hero-logo {
  display: block; width: clamp(88px, 14vw, 120px); height: auto; aspect-ratio: 1;
  border-radius: 26%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-cream) 35%, transparent);
}
.wordmark {
  font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: 0.01em;
  margin: 28px 0 6px; opacity: 0.85;
}
.tagline {
  font-size: clamp(48px, 8.4vw, 100px); line-height: 0.95; font-weight: 900; letter-spacing: -0.035em;
  margin: 0 0 24px; max-width: 10ch; text-wrap: balance;
}
.subhead { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.4; font-weight: 600; max-width: 32ch; margin: 0 0 36px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
/* Hero art: a chat with a bit of everything. Only food is live; the rest wears a "soon" tag. */
.talk {
  background: var(--ground); color: var(--ink); border-radius: var(--radius-block); padding: clamp(18px, 3vw, 28px);
  display: flex; flex-direction: column; gap: 14px; transform: rotate(-2.5deg);
  box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--frame) 60%, transparent);
}
.msg { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.msg:nth-child(even) { padding-right: 6%; }
.talk .bubble { margin: 0; font-size: clamp(17px, 1.9vw, 21px); max-width: 100%; }
.talk .tag { font-size: 13px; }
.tag.later { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-secondary); }

/* Store badges: official artwork, untouched, full colour. Not links until a URL is set in STORE_LINKS. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.badge { display: inline-flex; align-items: center; height: 56px; border-radius: 10px; }
.badge img { display: block; height: 56px; width: auto; }
.badge-google { height: 56px; overflow: visible; }
.badge-google img { height: 83px; margin: -13.5px -13px; } /* Google's PNG carries its own clear space */
.soon {
  display: inline-block; margin: 18px 0 0; padding: 6px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand-cream) 18%, transparent);
  font-size: var(--type-label); font-weight: 800; letter-spacing: 0.02em;
}
.soon[hidden] { display: none; }

/* ---------- Sections ---------- */
section { margin-top: clamp(56px, 9vw, 112px); }
.section-title {
  font-size: clamp(40px, 7vw, 72px); line-height: 1; font-weight: 900; letter-spacing: -0.03em; margin: 0 0 12px;
}
.section-line { font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; color: var(--ink-secondary); margin: 0 0 32px; max-width: 42ch; text-wrap: pretty; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-gap); }
.feature h3 { font-size: clamp(36px, 5vw, 56px); line-height: 1; font-weight: 900; letter-spacing: -0.03em; margin: 0 0 16px; }
.feature p { font-size: clamp(19px, 2vw, 22px); font-weight: 600; margin: 0; max-width: 26ch; }
.feature { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.feature .glyph { width: 52px; height: 52px; margin-bottom: auto; padding-bottom: 28px; box-sizing: content-box; }

/* ---------- Phones ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; justify-items: center; }
@media (min-width: 900px) { .showcase { grid-template-columns: auto minmax(0, 560px); justify-content: center; justify-items: stretch; } }
.phone-wrap { margin: 0; text-align: center; }
.phone-wrap figcaption { margin-top: 18px; font-size: 18px; font-weight: 700; color: var(--ink-secondary); }
.phone {
  width: 300px; max-width: calc(100vw - 2 * var(--space-pad)); height: 640px;
  background: var(--frame); border-radius: 48px; padding: 10px;
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--frame) 55%, transparent);
  text-align: left;
}
.screen {
  height: 100%; background: var(--ground); border-radius: 39px; overflow: hidden;
  display: flex; flex-direction: column; padding: 14px 14px 12px; font-size: 15px; line-height: 1.3;
}
.notch { width: 92px; height: 26px; background: var(--frame); border-radius: 999px; margin: 0 auto 12px; flex: none; }
.switcher { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.switcher .tabs { font-weight: 900; font-size: 20px; letter-spacing: -0.01em; }
.switcher .off { color: var(--ink-secondary); opacity: 0.6; }

.bubble {
  align-self: flex-end; background: var(--action); color: var(--on-action);
  padding: 10px 16px; border-radius: 22px 22px 6px 22px; font-weight: 700; margin-bottom: 10px;
}
.reply { align-self: flex-start; background: var(--surface); border-radius: 22px 22px 22px 6px; padding: 10px 14px; margin: 0 0 10px; font-weight: 600; max-width: 88%; }
.card { border-radius: 22px; padding: 14px; background: var(--surface); margin-bottom: 12px; }
.card.tinted { background: var(--cat-food-tint); }
.card-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.card-head .tag-label { font-weight: 800; color: var(--ink-secondary); font-size: 13px; margin-right: auto; }
.tag { font-weight: 800; font-size: 12px; padding: 3px 9px; border-radius: 999px; color: var(--ink); white-space: nowrap; }
.tag.ok { background: var(--status-ok-tag); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; }
.row b { display: block; font-weight: 800; font-size: 16px; }
.row small { color: var(--ink-secondary); font-weight: 600; font-size: 12px; }
.row .kcal { font-weight: 900; font-size: 22px; font-variant-numeric: tabular-nums; }
.chips { display: flex; gap: 8px; margin-top: 6px; }
.chip {
  flex: 1; text-align: center; font-weight: 800; font-size: 14px; padding: 10px 0; border-radius: 999px;
  background: var(--surface); color: var(--ink);
}
.dock { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.snap {
  width: 58px; height: 58px; border-radius: 50%; background: var(--action); color: var(--on-action);
  display: grid; place-items: center;
}
.snap svg { width: 26px; height: 26px; }
.field {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--field); border-radius: 999px; padding: 11px 14px; color: var(--ink-secondary); font-weight: 600;
}
.field svg { width: 18px; height: 18px; }

.notes { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-gap); width: 100%; }
.note { margin: 0; background: var(--surface); border-radius: var(--radius-block); padding: 24px 28px; }
.note b { display: block; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 4px; }
.note span { font-weight: 600; color: var(--ink-secondary); }

/* ---------- Life areas and "soon" marks ---------- */
.feature .areas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; }
.areas li {
  font-size: 15px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  border: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); color: var(--ink-secondary);
}
.areas li.live { border: 2px solid var(--ink); background: var(--ink); color: var(--ground); }
.areas li.live span { font-weight: 700; opacity: 0.75; margin-left: 4px; }
.areas li.soon-note { border: 0; padding-left: 2px; font-style: italic; }
.pill {
  display: inline-block; vertical-align: middle; font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
  line-height: 1; padding: 6px 10px; border-radius: 999px; transform: translateY(-0.2em);
  background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink-secondary);
}

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(56px, 9vw, 112px); border-top: 1px solid var(--page-line); padding: 28px 0 48px; color: var(--ink-secondary); font-size: 17px; font-weight: 600; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer .copy { margin-left: auto; }

/* ---------- Text pages (privacy, terms, support, delete account) ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 28px var(--space-pad) 0; }
.doc .back { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; text-decoration: none; font-size: 24px; color: var(--ink); letter-spacing: -0.01em; }
.doc .back img { width: 44px; height: 44px; border-radius: 12px; }
.doc h1 { font-size: clamp(40px, 8vw, 60px); line-height: 1; font-weight: 900; letter-spacing: -0.03em; margin: 40px 0 10px; }
.doc h2 { font-size: 24px; font-weight: 900; margin: 40px 0 8px; letter-spacing: -0.01em; }
.doc .meta { color: var(--ink-secondary); margin: 0 0 28px; font-weight: 700; }
.doc ul, .doc ol { padding-left: 24px; }
.doc li { margin-bottom: 6px; }
.doc .callout { border-radius: var(--radius-block); padding: 22px 26px; margin: 28px 0; font-weight: 600; }
.doc .callout p:first-child { margin-top: 0; }
.doc .callout p:last-child { margin-bottom: 0; }
.doc details { background: var(--surface); border-radius: 20px; padding: 16px 22px; margin-bottom: 10px; }
.doc summary { font-weight: 800; font-size: 20px; cursor: pointer; }
.doc details p, .doc details ol { margin-bottom: 4px; }
.doc .site-footer { margin-top: 64px; }
.doc .site-footer .wrap { padding: 0; }

@media (max-width: 720px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .talk { transform: none; }
  .feature { min-height: 0; }
  .phone { height: 630px; }
  .feature .glyph { width: 44px; height: 44px; padding-bottom: 20px; }
  .site-footer .copy { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .stores { gap: 12px 8px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .badge, .badge img, .badge-google { height: 42px; }
  .badge-google img { height: 62px; margin: -10px -9.8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .badge[href] { transition: transform 0.15s; }
  .badge[href]:hover { transform: translateY(-2px); }
}
