/*
  Unimeat public site.
  Light is the default. Dark applies only when html has data-theme="dark" (the toggle sets it).
  Tokens match apps/admin/public/assets/css/unimeat-tokens.css and
  apps/mobile/lib/utils/theme/unimeat_tokens.dart. Keep them in step.
  Brand red is for the main action and small marks only. Large surfaces are
  cream, white, or warm charcoal, so the page is not painted red.
*/

@font-face { font-family: "Inter"; src: url("../fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --um-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Brand. Same in both modes. */
  --um-primary: #7D160D;
  --um-primary-dark: #5A1009;
  --um-on-primary: #FFFFFF;
  --um-accent: #B8863A;
  --um-charcoal: #1C1817;
  --um-charcoal-mid: #2A2422;

  /* Light */
  --um-primary-content: #7D160D;
  --um-primary-light: #EFE3E2;
  --um-primary-soft: #F7F1F0;
  --um-accent-light: #F5E8CC;
  --um-accent-text: #8A6020;
  --um-page: #FBF8F5;
  --um-surface: #F4EFEB;
  --um-card: #FFFFFF;
  --um-border: #E8E2DF;
  --um-text: #1C1817;
  --um-text-muted: #6B625F;
  --um-success: #2D7A48;
  --um-success-soft: #E3F1E8;
  --um-warning: #B8781C;
  --um-error: #A62424;

  --um-shadow-sm: 0 1px 2px rgba(28, 24, 23, 0.05), 0 2px 8px rgba(28, 24, 23, 0.04);
  --um-shadow: 0 1px 2px rgba(28, 24, 23, 0.04), 0 18px 40px -12px rgba(28, 24, 23, 0.16);
  --um-shadow-lg: 0 40px 80px -24px rgba(28, 24, 23, 0.35), 0 8px 24px rgba(28, 24, 23, 0.08);
  --um-btn-edge: transparent;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 12px;
  --wrap: 1160px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --um-primary-content: #E7B2AB;
  --um-primary-light: #3A221F;
  --um-primary-soft: #2A1C1A;
  --um-accent-light: #3A3020;
  --um-accent-text: #F5E8CC;
  --um-page: #161312;
  --um-surface: #211C1A;
  --um-card: #241F1D;
  --um-border: #3E3734;
  --um-text: #FFFAF6;
  --um-text-muted: #C4BBB7;
  --um-success: #6FBF8A;
  --um-success-soft: #1F3326;
  --um-warning: #E0A85C;
  --um-error: #F0A0A0;

  --um-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --um-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  --um-shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, 0.7);
  --um-btn-edge: rgba(255, 250, 246, 0.18);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--um-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--um-text);
  background: var(--um-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--um-primary-content); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; color: var(--um-text); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.3; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--um-charcoal); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--um-accent); outline-offset: 3px; border-radius: 4px; }
.noscript-note { margin: 0; padding: 14px 24px; text-align: center; background: var(--um-surface); color: var(--um-text-muted); }

/* Wordmark. Pilot logo is the word Unimeat. */
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--um-text); text-decoration: none; }
.wordmark::before { content: ""; display: inline-block; width: 34px; height: 34px; border-radius: 50%; background: url("../images/unimeat-logo.png") center / contain no-repeat; }
.wordmark-footer { font-size: 1.2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: .97rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 6px; }
.btn-lg { padding: 15px 24px; font-size: 1.02rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--um-primary); color: var(--um-on-primary); box-shadow: inset 0 0 0 1px var(--um-btn-edge); }
.btn-primary:hover { background: var(--um-primary-dark); }
.btn-ghost { background: var(--um-card); color: var(--um-text); border-color: var(--um-border); }
.btn-ghost:hover { border-color: var(--um-text-muted); }
.btn-light { background: #FFFFFF; color: var(--um-charcoal); }
.btn-light:hover { background: #F4EFEB; }
.btn[aria-disabled="true"] { background: var(--um-surface); color: var(--um-text-muted); border-color: var(--um-border); box-shadow: none; cursor: not-allowed; pointer-events: none; }
.get .btn[aria-disabled="true"] { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .12); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--um-page) 92%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.topbar.is-scrolled { border-bottom-color: var(--um-border); background: var(--um-page); }
.topbar-inner { display: flex; align-items: center; gap: 12px; height: 72px; }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a { padding: 8px 12px; border-radius: 6px; color: var(--um-text-muted); font-weight: 500; font-size: .95rem; text-decoration: none; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--um-text); background: var(--um-surface); }

/* Light and dark toggle */
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--um-border); background: var(--um-card); color: var(--um-text-muted); cursor: pointer; }
.theme-toggle:hover { color: var(--um-text); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.theme-fade, .theme-fade * { transition: background-color .3s ease, color .3s ease, border-color .3s ease !important; }

/* Shared section pieces */
.section { padding: 112px 0; }
.section-soft { background: var(--um-surface); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p:not(.eyebrow) { margin-top: 16px; color: var(--um-text-muted); font-size: 1.08rem; }
.section-head-left { margin: 0; text-align: left; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--um-primary-content); }
.eyebrow-light { color: #E7B2AB; }
.quiet { color: var(--um-text-muted); font-size: .95rem; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 6px; background: var(--um-card); border: 1px solid var(--um-border); font-size: .88rem; font-weight: 600; color: var(--um-text-muted); box-shadow: var(--um-shadow-sm); }
.chip-dot { display: inline-grid; place-items: center; padding: 2px 8px; border-radius: 6px; background: var(--um-success-soft); color: var(--um-success); font-size: .75rem; font-weight: 700; }
.hero h1 { margin-top: 22px; font-size: clamp(2.6rem, 5.4vw, 4rem); letter-spacing: -0.032em; line-height: 1.06; }
.hero h1 .soft { color: var(--um-text-muted); }
.lede { margin-top: 22px; max-width: 540px; font-size: 1.15rem; color: var(--um-text-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; font-size: .9rem; color: var(--um-text-muted); }
.cta-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cta-meta .icon { width: 16px; height: 16px; color: var(--um-success); }
.badge { padding: 3px 10px; border-radius: 6px; background: var(--um-surface); border: 1px solid var(--um-border); font-weight: 600; color: var(--um-text); font-size: .82rem; }
.note { margin-top: 12px; font-size: .9rem; color: var(--um-text-muted); }
.note.is-error { color: var(--um-error); }
.note-light { color: rgba(255, 255, 255, .72); }
.note-light.is-error { color: #F0A0A0; }

/* Hero visual: the phone with two small toasts */
.hero-visual { position: relative; display: grid; justify-items: end; padding: 8px 0 24px; }
.visual-caption { width: 300px; margin-top: 18px; text-align: center; font-size: .82rem; color: var(--um-text-muted); }
.toast { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 8px; background: var(--um-charcoal); color: #fff; box-shadow: var(--um-shadow); font-size: .82rem; line-height: 1.3; }
.toast b { display: block; font-weight: 700; font-size: .85rem; }
.toast span { color: rgba(255, 255, 255, .72); }
.toast-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.toast-icon .icon { width: 17px; height: 17px; }
.toast-ok .toast-icon { color: #6FBF8A; }
.toast-gold .toast-icon { color: #E0A85C; }
.toast-a { left: 0; top: 34%; }
.toast-b { right: -24px; bottom: 22%; }

/* Phone mockup. Matches the app: charcoal lead card, white cards, bottom bar with a centre Record button. */
.phone { position: relative; width: 300px; padding: 10px; border-radius: 46px; background: var(--um-charcoal); box-shadow: var(--um-shadow-lg); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 88px; height: 22px; border-radius: 999px; background: #000; z-index: 2; }
.screen { position: relative; overflow: hidden; height: 600px; border-radius: 37px; background: #F6F2EF; color: #1C1817; font-size: 11px; line-height: 1.35; }
:root[data-theme="dark"] .screen { background: #161312; color: #FFFAF6; }
.s-status { display: flex; justify-content: space-between; padding: 16px 26px 6px; font-weight: 600; font-size: 11px; }
.s-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 6px; }
.s-hello { font-size: 10px; opacity: .6; }
.s-outlet { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; padding: 4px 10px; border-radius: 6px; background: #fff; border: 1px solid #E8E2DF; font-weight: 600; font-size: 11px; }
:root[data-theme="dark"] .s-outlet { background: #211C1A; border-color: #3E3734; }
.s-outlet .icon { width: 12px; height: 12px; }
.s-bell { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #fff; border: 1px solid #E8E2DF; position: relative; }
:root[data-theme="dark"] .s-bell { background: #211C1A; border-color: #3E3734; }
.s-bell .icon { width: 14px; height: 14px; }
.s-bell::after { content: ""; position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--um-primary); }
.s-body { padding: 6px 14px 90px; display: grid; gap: 8px; }
.s-chips { display: flex; gap: 6px; }
.s-chips span { padding: 4px 10px; border-radius: 6px; background: #fff; border: 1px solid #E8E2DF; font-weight: 600; font-size: 10px; opacity: .8; }
.s-chips span.on { background: #1C1817; color: #fff; border-color: #1C1817; opacity: 1; }
:root[data-theme="dark"] .s-chips span { background: #211C1A; border-color: #3E3734; }
:root[data-theme="dark"] .s-chips span.on { background: #F3EEEB; color: #1C1817; }
.s-lead { padding: 14px; border-radius: 10px; background: #1C1817; color: #fff; }
:root[data-theme="dark"] .s-lead { background: #241F1D; box-shadow: inset 3px 0 0 var(--um-primary), inset 0 0 0 1px #3E3734; }
.s-label { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.s-big { margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.s-note { margin-top: 2px; font-size: 10px; opacity: .7; }
.s-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-card { padding: 11px 12px; border-radius: 8px; background: #fff; border: 1px solid #E8E2DF; }
:root[data-theme="dark"] .s-card { background: #211C1A; border-color: #3E3734; }
.s-mid { margin-top: 3px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.s-warn { color: #A0661A; }
:root[data-theme="dark"] .s-warn { color: #E0A85C; }
.s-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin-top: 8px; }
.s-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #E8E2DF; }
:root[data-theme="dark"] .s-bars i { background: #3E3734; }
.s-bars i.on { background: #A3271B; }
.s-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid #EEE8E5; }
:root[data-theme="dark"] .s-row { border-top-color: #3E3734; }
.s-row:first-of-type { border-top: 0; }
.s-pill { padding: 2px 7px; border-radius: 6px; font-size: 9px; font-weight: 700; background: #E3F1E8; color: #2D7A48; }
.s-pill.part { background: #F5E8CC; color: #8A6020; }
.s-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 66px; display: grid; grid-template-columns: 1fr 1fr 70px 1fr 1fr; align-items: center; background: #fff; border-top: 1px solid #E8E2DF; padding-bottom: 8px; }
:root[data-theme="dark"] .s-nav { background: #211C1A; border-top-color: #3E3734; }
.s-nav span { display: grid; justify-items: center; gap: 3px; font-size: 9px; font-weight: 600; opacity: .55; }
.s-nav span .icon { width: 16px; height: 16px; }
.s-nav span.on { opacity: 1; }
.s-nav span.on .icon { padding: 3px 10px; box-sizing: content-box; border-radius: 6px; background: #F7F1F0; }
:root[data-theme="dark"] .s-nav span.on .icon { background: #2A1C1A; }
.s-record { justify-self: center; margin-top: -30px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--um-primary); color: #fff; box-shadow: 0 0 0 5px #F6F2EF; }
:root[data-theme="dark"] .s-record { box-shadow: 0 0 0 5px #161312; }
.s-record .icon { width: 22px; height: 22px; stroke-width: 2.4; }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.proof li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--um-card); border: 1px solid var(--um-border); font-weight: 600; font-size: .95rem; }
.proof .icon { color: var(--um-text-muted); }

/* A day with Unimeat: tabs with a screen that changes */
.day { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.day-tabs { display: grid; gap: 10px; }
.day-tab { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--um-border); background: var(--um-card); color: var(--um-text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.day-tab:hover { border-color: var(--um-text-muted); }
.day-tab[aria-selected="true"] { border-color: var(--um-text); box-shadow: var(--um-shadow); }
.day-time { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--um-surface); color: var(--um-text-muted); }
.day-tab[aria-selected="true"] .day-time { background: var(--um-charcoal); color: #fff; }
:root[data-theme="dark"] .day-tab[aria-selected="true"] .day-time { background: #F3EEEB; color: #1C1817; }
.day-tab small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--um-text-muted); }
.day-tab b { display: block; margin-top: 2px; font-size: 1.08rem; }
.day-tab span.desc { display: block; margin-top: 6px; color: var(--um-text-muted); font-size: .95rem; }
.day-tab[aria-selected="false"] span.desc { display: none; }
.day-progress { height: 3px; margin-top: 12px; border-radius: 6px; background: var(--um-border); overflow: hidden; }
.day-progress i { display: block; height: 100%; width: 0; background: var(--um-text); }
.day-tab[aria-selected="true"] .day-progress i { animation: day-fill var(--day-ms, 6000ms) linear forwards; }
.day.is-paused .day-progress i { animation-play-state: paused; }
@keyframes day-fill { to { width: 100%; } }
.day-stage { display: grid; justify-items: center; }
.day-panel { width: 100%; max-width: 420px; }
.day-panel[hidden] { display: none; }
.panel-card { padding: 22px; border-radius: var(--radius-lg); background: var(--um-card); border: 1px solid var(--um-border); box-shadow: var(--um-shadow); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--um-border); font-weight: 700; }
.panel-title span { font-size: .82rem; font-weight: 600; color: var(--um-text-muted); }
.panel-rows { display: grid; gap: 2px; margin-top: 8px; }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--um-border); font-size: .97rem; }
.panel-row:last-child { border-bottom: 0; }
.panel-row b { font-variant-numeric: tabular-nums; }
.panel-row .muted { color: var(--um-text-muted); font-size: .88rem; }
.panel-total { display: flex; justify-content: space-between; margin-top: 10px; padding: 14px 16px; border-radius: 8px; background: var(--um-surface); font-weight: 700; font-variant-numeric: tabular-nums; }
.panel-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 13px; border-radius: 8px; background: var(--um-primary); color: #fff; font-weight: 600; }
.panel-ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: var(--um-success-soft); color: var(--um-success); font-weight: 600; font-size: .92rem; }
.panel-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 16px; }
.panel-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: var(--um-border); }
.panel-bars i.on { background: #A3271B; }
:root[data-theme="dark"] .panel-bars i.on { background: #D9584A; }
.panel-legend { display: flex; justify-content: space-between; margin-top: 8px; font-size: .78rem; color: var(--um-text-muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 26px; border-radius: var(--radius-lg); background: var(--um-card); border: 1px solid var(--um-border); transition: border-color .15s ease, box-shadow .15s ease; }
.feature:hover { border-color: var(--um-text-muted); box-shadow: var(--um-shadow-sm); }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 8px; background: var(--um-surface); color: var(--um-text); }
.feature p { margin-top: 8px; color: var(--um-text-muted); font-size: .97rem; }

/* For owners */
.owners { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.owners-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--um-surface); }
.owners-photo img { width: 100%; height: 100%; object-fit: cover; }
.owners-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 6px; background: rgba(28, 24, 23, .78); color: #fff; font-size: .8rem; }
.owners-card { position: absolute; right: 16px; top: 16px; width: 230px; padding: 14px; border-radius: 8px; background: var(--um-card); color: var(--um-text); box-shadow: var(--um-shadow); font-size: .85rem; }
.owners-card p { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--um-text-muted); margin-bottom: 6px; }
.owners-card div { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid var(--um-border); }
.owners-card div:first-of-type { border-top: 0; }
.owners-card b { font-variant-numeric: tabular-nums; }
.owners-list { display: grid; gap: 22px; margin-top: 28px; }
.owners-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.owners-list .feature-icon { margin: 0; }
.owners-list p { margin-top: 4px; color: var(--um-text-muted); }

/* Download band: warm charcoal, not red */
.get { padding: 104px 0; background: var(--um-charcoal); color: #fff; }
:root[data-theme="dark"] .get { background: #0F0C0B; border-top: 1px solid var(--um-border); border-bottom: 1px solid var(--um-border); }
.get h2 { color: #fff; }
.get-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.get-copy > p:not(.eyebrow) { margin-top: 16px; color: rgba(255, 255, 255, .72); font-size: 1.05rem; max-width: 520px; }
.get-card { margin-top: 28px; padding: 22px; border-radius: var(--radius-lg); background: var(--um-charcoal-mid); border: 1px solid rgba(255, 255, 255, .08); }
.get-card .btn-block + .btn-block,
.get-card .btn-block + .note,
.get-card .note + .btn-block { margin-top: 12px; }
.get-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.get-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.get-version { margin-top: 2px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.get-file { padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.get-date { margin: -6px 0 14px; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.get .btn-primary { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.install { display: grid; gap: 12px; counter-reset: step; }
.install li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.install li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); font-weight: 700; }
.install h3 { color: #fff; font-size: 1.02rem; }
.install p { margin-top: 2px; color: rgba(255, 255, 255, .68); font-size: .93rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--um-card); border: 1px solid var(--um-border); transition: border-color .15s ease; }
.faq details[open] { border-color: var(--um-text-muted); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--um-text-muted); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: var(--um-text-muted); }

/* Closing call to action */
.closing { padding: 96px 0; text-align: center; }
.closing h2 { max-width: 720px; margin: 0 auto; }
.closing p { max-width: 560px; margin: 16px auto 0; color: var(--um-text-muted); font-size: 1.08rem; }
.closing .cta-row { justify-content: center; }

/* Footer */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--um-border); background: var(--um-page); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-tag { margin-top: 10px; color: var(--um-text-muted); font-size: .93rem; }
.footer-head { margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--um-text-muted); }
.footer-list { display: grid; gap: 12px; }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--um-text); font-weight: 500; text-decoration: none; }
.footer-list a:hover { color: var(--um-primary-content); }
.footer-list .icon { width: 17px; height: 17px; color: var(--um-text-muted); }
.footer-list span { display: block; margin: 2px 0 0 25px; color: var(--um-text-muted); font-size: .85rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--um-border); color: var(--um-text-muted); font-size: .88rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: var(--um-text-muted); text-decoration: none; font-weight: 500; }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: var(--um-text); text-decoration: underline; }

/* Legal pages */
.legal-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--um-border); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.035em; }
.legal-hero p:not(.eyebrow) { margin-top: 14px; max-width: 640px; color: var(--um-text-muted); font-size: 1.05rem; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.legal-toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: .92rem; }
.legal-toc p { margin-bottom: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--um-text-muted); }
.legal-toc a { padding: 6px 12px; border-left: 2px solid var(--um-border); color: var(--um-text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--um-text); border-left-color: var(--um-text); }
.legal-body { max-width: 720px; }
.legal-body section + section { margin-top: 44px; }
.legal-body h2 { font-size: 1.45rem; letter-spacing: -0.015em; scroll-margin-top: 96px; }
.legal-body h3 { margin-top: 20px; font-size: 1.05rem; letter-spacing: 0; }
.legal-body p, .legal-body li { color: var(--um-text-muted); }
.legal-body p { margin-top: 12px; }
.legal-body ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 0; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--um-text-muted); }
.legal-body strong { color: var(--um-text); font-weight: 600; }
.legal-contact { display: grid; gap: 6px; margin-top: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--um-surface); border: 1px solid var(--um-border); }
.legal-contact p { margin: 0; }

/* Motion. Everything here is skipped when the device asks for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .hero-copy > * { animation: rise .7s ease both; }
  .js .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .js .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .js .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .js .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .js .phone { animation: rise .9s .15s ease both; }
  .js .toast-a { animation: rise .6s .7s ease both; }
  .js .toast-b { animation: rise .6s .9s ease both; }
  .js .day-panel:not([hidden]) { animation: fade .35s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .day-tab[aria-selected="true"] .day-progress i { animation: none; width: 100%; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .day, .owners, .get-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .owners-photo { aspect-ratio: 16 / 11; }
  .hero-visual { justify-items: center; }
  .toast-a { left: 0; top: 18%; }
  .toast-b { right: 0; }
}
@media (max-width: 760px) {
  .topnav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .theme-toggle { margin-left: auto; }
  .section { padding: 80px 0; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 2.5rem; }
  .lede { font-size: 1.05rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .toast-a { left: 0; top: 10%; }
  .toast-b { right: 0; bottom: 14%; }
  .phone { width: 270px; }
  .screen { height: 540px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .get, .closing { padding: 72px 0; }
  .owners-card { width: 200px; }
  .legal-hero { padding: 48px 0 32px; }
  .legal-grid { padding-top: 36px; padding-bottom: 72px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .topbar .btn-sm { padding: 9px 12px; }
  .toast { font-size: .75rem; }
}

/* Mockup and toast details */
.s-nav span.s-record { opacity: 1; display: grid; }
:root[data-theme="dark"] .toast { background: #2A2422; border: 1px solid #4A433F; }
.visual-caption { width: 320px; }
@media (max-width: 1024px) { .visual-caption { width: auto; } }

@media (max-width: 1024px) {
  /* Moments become a row you can swipe, with the screen right under them. */
  .day { gap: 20px; }
  .day-tabs { grid-auto-flow: column; grid-auto-columns: minmax(240px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin: 0 -4px; }
  .day-tab { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .toast { display: none; }
}
@media (max-width: 1024px) {
  .day-tabs { grid-auto-columns: minmax(200px, 62%); }
  .day-tab { padding: 14px 16px; align-items: center; }
  .day-tab span.desc { display: none !important; }
}

/* Mockup details that match the app exactly */
.s-top { gap: 8px; justify-content: flex-start; }
.s-top-text { flex: 1; min-width: 0; }
.s-menu { display: grid; place-items: center; width: 26px; height: 26px; opacity: .75; }
.s-menu .icon { width: 16px; height: 16px; }
.s-bell { background: transparent !important; border: 0 !important; }
.s-chips span.s-chip-icon { display: grid; place-items: center; padding: 4px 8px; }
.s-chips span.s-chip-icon .icon { width: 11px; height: 11px; }
.s-mid { font-size: 13px; }
.s-week { margin-top: 3px; font-size: 9.5px; opacity: .65; }
.s-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 4px; font-size: 8px; text-align: center; opacity: .55; }
.s-label-row { display: flex; justify-content: space-between; align-items: center; }
.s-label-row span { text-transform: none; letter-spacing: 0; font-size: 9.5px; font-weight: 700; opacity: 1; color: var(--um-primary-content); }
.s-nav span.on .icon { background: #EFE3E2; }
.s-record { width: 54px; height: 54px; box-shadow: 0 0 0 5px #fff; }
:root[data-theme="dark"] .s-record { box-shadow: 0 0 0 5px #211C1A; }
:root[data-theme="dark"] .s-lead { box-shadow: inset 0 0 0 1px #3E3734; }
.s-body { gap: 7px; }
.s-chips { flex-wrap: nowrap; gap: 5px; }
.s-chips span { white-space: nowrap; padding: 4px 9px; }
.s-record { width: 48px; height: 48px; margin-top: -26px; }
