/* Layout: product-first, Apple-like rhythm. Alternating white / light-grey / black full-width bands,
   huge tight headlines, one device that switches between the three modes as the hero object. */
:root {
  --white: #FFFFFF;
  --grey: #F5F5F7;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --line: #D2D2D7;
  --black: #000000;
  --on-black: #F5F5F7;
  --on-black-muted: #A1A1A6;
  --style: #B4774A;      /* copper */
  --food: #2F9E62;       /* green */
  --plan: #5B67D6;       /* indigo */
  --mode: var(--style);
  --font: "Onest", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--plan); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1060px; margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 112px; }
.grey { background: var(--grey); }
.dark { background: var(--black); color: var(--on-black); }
.center { text-align: center; }
.eyebrow { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.big { font-size: clamp(44px, 7.4vw, 88px); }
.mid { font-size: clamp(34px, 5.2vw, 60px); }
.lead { font-size: clamp(19px, 2vw, 24px); font-weight: 500; color: var(--muted); max-width: 32em; letter-spacing: -0.01em; }
.dark .lead { color: var(--on-black-muted); }
.center .lead { margin-inline: auto; }

/* Links and buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 22px; border-radius: 980px; background: var(--ink); color: var(--white); font: 600 17px var(--font); text-decoration: none; border: 0; cursor: pointer; }
.dark .pill, .hero .pill { background: var(--on-black); color: var(--black); }
.more { font-size: 17px; font-weight: 500; text-decoration: none; color: var(--plan); display: inline-flex; gap: 4px; align-items: center; }
.more::after { content: "›"; font-size: 22px; line-height: 1; transform: translateY(-1px); }
.more:hover { text-decoration: underline; }
.dark .more { color: #8FA0FF; }

/* Global nav */
.gnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251, 251, 253, 0.8); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: #FBFBFD; }
.gnav .wrap { display: flex; align-items: center; gap: 20px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; flex: none; }
.brand svg { width: 22px; height: 22px; }
.gnav ul { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.gnav ul a { display: block; padding: 6px 12px; font-size: 13px; color: #424245; text-decoration: none; border-radius: 8px; }
.gnav ul a:hover { color: var(--ink); }
.lang { flex: none; border: 0; background: transparent; color: #424245; font: 600 13px var(--font); cursor: pointer; padding: 6px 8px; }

/* Hero */
.hero { background: var(--black); color: var(--on-black); overflow: hidden; }
.hero .wrap { padding-block: 72px 80px; text-align: center; }
.hero h1 { font-size: clamp(48px, 8.4vw, 104px); }
.hero .tag { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; margin-top: 14px; letter-spacing: -0.015em; }
.hero .lead { margin-top: 14px; }
.stage { position: relative; display: grid; place-items: center; margin-top: 56px; }
.aura { position: absolute; width: min(620px, 120vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mode) 85%, transparent) 0%, color-mix(in srgb, var(--mode) 40%, transparent) 34%, transparent 66%); filter: blur(14px); transition: background 0.9s ease; }
.ring { position: absolute; width: min(480px, 96vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); }
.ring.r2 { width: min(380px, 80vw); border-color: rgba(255, 255, 255, 0.1); }

.iphone { position: relative; width: min(290px, 74vw); aspect-ratio: 9 / 19.3; max-width: 100%; border-radius: 52px; padding: 11px; background: linear-gradient(145deg, #3A3A3C, #111113 40%, #2C2C2E); box-shadow: 0 0 0 1.5px #4A4A4D inset, 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.iphone::before { content: ""; position: absolute; left: 50%; top: 22px; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #FFFFFF; color: var(--ink); text-align: left; }
.scr { position: absolute; inset: 0; padding: 62px 20px 22px; display: grid; gap: 14px; align-content: start; opacity: 0; transform: scale(0.98); transition: opacity 0.6s ease, transform 0.6s ease; }
.scr.on { opacity: 1; transform: none; }
.scr .k { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.scr .t { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.swatch-grid i { aspect-ratio: 1; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.scr .cta { margin-top: 6px; border-radius: 14px; padding: 13px; text-align: center; font-weight: 700; font-size: 14px; color: #FFF; }
.rows { display: grid; gap: 0; border-radius: 14px; background: var(--grey); padding: 4px 14px; font-size: 13px; }
.rows div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid #E5E5EA; }
.rows div:last-child { border-bottom: 0; }
.rows b { font-weight: 700; }
.kring { --p: 60; width: 150px; height: 150px; border-radius: 50%; justify-self: center; background: conic-gradient(var(--food) calc(var(--p) * 1%), #E5E5EA 0); display: grid; place-items: center; }
.kring span { width: 120px; height: 120px; border-radius: 50%; background: #FFF; display: grid; place-items: center; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kring small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.bar { display: grid; gap: 4px; font-size: 12px; font-weight: 600; }
.bar i { display: block; height: 6px; border-radius: 3px; background: #E5E5EA; overflow: hidden; }
.bar i b { display: block; height: 100%; border-radius: 3px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; color: var(--muted); gap: 2px; }
.cal span { padding: 6px 0; border-radius: 10px; display: grid; gap: 2px; }
.cal b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.cal .today { background: var(--plan); color: #FFF; }
.cal .today b { color: #FFF; }
.ev { border-left: 3px solid var(--plan); background: #EEF0FC; border-radius: 10px; padding: 9px 12px; font-size: 13px; display: flex; justify-content: space-between; gap: 8px; }
.ev time { color: var(--muted); font-variant-numeric: tabular-nums; }

.modes { position: relative; z-index: 2; display: inline-flex; margin-top: 34px; padding: 4px; border-radius: 980px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); }
.modes button { border: 0; background: transparent; color: var(--on-black-muted); font: 600 15px var(--font); padding: 10px 20px; border-radius: 980px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.modes button[aria-pressed="true"] { background: var(--on-black); color: var(--black); }
.mode-line { margin-top: 18px; color: var(--on-black-muted); font-size: 15px; min-height: 1.5em; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.tile { border-radius: 28px; min-height: 580px; padding: 52px 28px 0; text-align: center; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; min-width: 0; }
.tile h2 { font-size: clamp(34px, 4.2vw, 48px); }
.tile .lead { font-size: clamp(17px, 1.6vw, 21px); margin-top: 8px; }
.tile .ctas { margin-top: 16px; }
.tile .vis { align-self: end; display: grid; place-items: end center; padding-top: 32px; }
.t-light { background: var(--grey); }
.t-dark { background: var(--black); color: var(--on-black); }
.t-dark .lead { color: var(--on-black-muted); }
.t-dark .more { color: #8FA0FF; }
.half-phone { width: min(260px, 70%); aspect-ratio: 9 / 11; border-radius: 40px 40px 0 0; padding: 10px 10px 0; background: linear-gradient(145deg, #3A3A3C, #111113 50%, #2C2C2E); }
.half-phone .screen { border-radius: 30px 30px 0 0; padding: 40px 16px 0; display: grid; gap: 12px; align-content: start; }
.idea-vis { width: 100%; display: grid; place-items: center; height: 260px; position: relative; }
.idea-vis span { position: absolute; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); }
.idea-vis b { font-size: 72px; font-weight: 300; color: var(--muted); }

/* Product sections */
.p-name { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.p-name i { width: 10px; height: 10px; border-radius: 50%; }
.soon { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 980px; }
.dark .soon { color: var(--on-black-muted); border-color: #424245; }
.p-head { display: grid; gap: 18px; justify-items: center; text-align: center; margin-bottom: 56px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.fact { background: var(--white); border-radius: 24px; padding: 30px 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.grey .fact { background: var(--white); }
.band:not(.grey):not(.dark) .fact { background: var(--grey); }
.dark .fact { background: #1D1D1F; }
.fact .n { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact .n.word { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.03em; }
.fact .n small { font-size: 0.4em; font-weight: 700; letter-spacing: -0.01em; }
.fact p { color: var(--muted); font-size: 16px; }
.dark .fact p { color: var(--on-black-muted); }
.fact h3 { font-size: 22px; letter-spacing: -0.015em; }

/* Seasons */
.season-strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.season { border: 0; padding: 0; background: none; cursor: pointer; display: grid; gap: 8px; color: var(--ink); font: 600 11px var(--font); text-align: center; min-width: 0; }
.season .c { aspect-ratio: 1 / 2.4; border-radius: 980px; display: grid; grid-template-rows: repeat(4, 1fr); overflow: hidden; outline: 2px solid transparent; outline-offset: 3px; transition: transform 0.3s ease; }
.season[aria-pressed="true"] .c { outline-color: var(--ink); transform: translateY(-6px); }
.season span { overflow-wrap: anywhere; line-height: 1.2; }
.palette-card { margin-top: 28px; background: var(--white); border-radius: 28px; padding: 36px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 36px; align-items: center; }
.palette-card h3 { font-size: clamp(30px, 3.4vw, 42px); }
.palette-card .desc { color: var(--muted); margin-top: 10px; }
.palette-card dl { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.palette-card dt { color: var(--muted); }
.palette-card dd { margin: 0; font-weight: 600; }
.big-pal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.big-pal i { aspect-ratio: 1; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.avoid-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.avoid-row i { width: 22px; height: 22px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.avoid-row i::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 1.5px; background: var(--ink); transform: rotate(-45deg); }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.dark .note { color: var(--on-black-muted); }

/* Showcase screens */
.show { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.panel { background: var(--white); border-radius: 24px; padding: 28px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.dark .panel { background: #1D1D1F; color: var(--on-black); }
.panel h3 { font-size: 19px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.panel h3 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.dark .panel h3 small { color: var(--on-black-muted); }
.meal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; font-size: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.meal:last-child { border: 0; padding: 0; }
.meal small { display: block; color: var(--muted); font-size: 12px; }
.meal b { font-variant-numeric: tabular-nums; }
.glasses { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.glasses i { aspect-ratio: 3 / 4; border-radius: 4px 4px 8px 8px; border: 1.5px solid var(--food); }
.glasses i.f { background: linear-gradient(180deg, transparent 30%, var(--food) 30%); }
.wbars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; }
.wbars div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; font-size: 11px; color: var(--muted); }
.wbars i { width: 100%; max-width: 22px; border-radius: 6px; background: var(--line); }
.wbars .now i { background: var(--food); }
.task { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.task i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--plan); }
.task.done i { background: var(--plan); box-shadow: inset 0 0 0 3px #1D1D1F; }
.task.done span { color: var(--on-black-muted); text-decoration: line-through; }
.habits { display: grid; grid-template-columns: minmax(0, 1fr) repeat(7, 20px); gap: 7px 5px; align-items: center; font-size: 13px; }
.habits .d { font-size: 10px; text-align: center; color: var(--on-black-muted); }
.habits i { width: 20px; height: 20px; border-radius: 6px; background: #2C2C2E; }
.habits i.on { background: var(--plan); }
.goal { display: grid; gap: 6px; font-size: 15px; }
.goal .top { display: flex; justify-content: space-between; }
.goal .top b { font-variant-numeric: tabular-nums; }
.goal .tr { height: 8px; border-radius: 4px; background: #2C2C2E; overflow: hidden; }
.goal .tr i { display: block; height: 100%; background: var(--plan); border-radius: 4px; }

/* Privacy */
.privacy .wrap { text-align: center; }
.lock { width: 84px; height: 84px; margin: 0 auto 28px; display: block; color: var(--on-black); }
.priv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; text-align: left; }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.col { padding: 40px 24px; display: grid; gap: 16px; align-content: start; justify-items: center; text-align: center; border-right: 1px solid var(--line); min-width: 0; }
.col:last-child { border-right: 0; }
.col .dot { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #FFF; }
.col .dot svg { width: 28px; height: 28px; }
.col h3 { font-size: 26px; }
.col .price { font-size: 21px; font-weight: 700; }
.col .price small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.col ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; font-size: 15px; color: #424245; }
.col li { display: grid; justify-items: center; gap: 4px; }
.col li::before { content: ""; width: 18px; height: 1px; background: var(--line); margin-bottom: 10px; }
.col li:first-child::before { display: none; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; color: var(--muted); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--muted); max-width: 44em; }

/* Forms */
.forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form { background: var(--white); border-radius: 28px; padding: 40px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.form h3 { font-size: 30px; }
.form .sub { color: var(--muted); }
.form input, .form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 500 17px var(--font); color: var(--ink); background: var(--white); }
.form textarea { min-height: 120px; resize: vertical; }
.form .pill { justify-self: start; }
.form .fine { font-size: 12px; color: var(--muted); }
.msg { font-size: 15px; font-weight: 600; color: var(--plan); }

/* Footer */
footer { background: var(--grey); color: var(--muted); font-size: 12px; }
footer .wrap { padding-block: 36px 28px; }
.foot-note { border-bottom: 1px solid var(--line); padding-bottom: 18px; display: grid; gap: 8px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.foot-cols h4 { margin: 0 0 10px; color: var(--ink); font-size: 12px; font-weight: 600; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; color: var(--ink); }
.foot-bottom { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Scroll-driven entrance (transform only, so content is always visible) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    @keyframes rise { from { transform: translateY(48px) scale(0.97); } to { transform: none; } }
  }
}
@media (max-width: 900px) {
  .band { padding-block: 80px; }
  .gnav ul { display: none; }
  .gnav .wrap { justify-content: space-between; }
  .tiles, .facts, .show, .priv-grid, .forms, .palette-card { grid-template-columns: 1fr; }
  .tile { min-height: 520px; }
  .compare { grid-template-columns: 1fr; }
  .col { border-right: 0; border-bottom: 1px solid var(--line); }
  .season-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 18px; }
}
@media (max-width: 420px) {
  .modes button { padding: 9px 14px; font-size: 14px; }
  .form, .palette-card { padding: 26px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scr, .aura, .season .c { transition: none; } }

/* ---- Additions for the production site ---- */
html { padding: 0; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts:empty { display: none; }
.form .fine a { color: inherit; }
.form .pill[disabled] { opacity: 0.5; cursor: progress; }
.msg.err { color: #C4314B; }
