/*
 * Ambient Living World — website styles.
 *
 * Layout concept: a dark "deep water" page with cinematic full-bleed aquarium
 * scenes, broken up by bright paper "field journal" sections for contrast.
 * Colors come from ART_BIBLE §4.1 (water, paper, ink, lantern, night). The page
 * is deliberately single-look (no light/dark switch): the brand is the water.
 *
 * Sections are ordered: tokens → base → layout → components → sections → utilities.
 */

/* ========================================================================== */
/* 1. Tokens                                                                  */
/* ========================================================================== */
:root {
  color-scheme: dark;

  /* Color — water (dark surfaces) */
  --c-abyss: #0f2027;          /* page background, deepest */
  --c-deep: #16323b;           /* raised dark surface */
  --c-water-5: #2e5561;        /* ART_BIBLE water_5 */
  --c-water-4: #3e7a83;        /* water_4 */
  --c-aqua: #86c3bc;           /* water_2 */
  --c-seafoam: #bfe3da;        /* water_1 */
  --c-mist: #e3efeb;

  /* Color — paper (light surfaces, the naturalist's journal) */
  --c-paper: #fbf1de;          /* ART_BIBLE paper */
  --c-paper-shade: #ead9bd;    /* paper_shade */
  --c-ink: #2b2220;            /* ink, darkest allowed */
  --c-ink-soft: #4a3b36;       /* ink_soft */

  /* Color — light and accents */
  --c-cream: #fff8ec;          /* lightest allowed */
  --c-lantern: #ffc877;        /* warm emissive, primary accent on dark */
  --c-moon: #f6e7b0;
  --c-teal: #3f8f8a;           /* accent_teal, primary accent on paper */
  --c-coral: #e07a6a;          /* accent_coral, used sparingly */
  --c-night: #26264a;          /* night_3 */
  --c-dusk: #6a5f8f;           /* night_1 */

  /* Semantic */
  --text: var(--c-cream);
  --text-muted: rgba(255, 248, 236, 0.7);
  --text-faint: rgba(255, 248, 236, 0.5);
  --border: rgba(191, 227, 218, 0.16);
  --border-strong: rgba(191, 227, 218, 0.3);
  --surface: rgba(22, 50, 59, 0.72);
  --surface-glass: rgba(15, 32, 39, 0.55);
  --focus: var(--c-lantern);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(3rem, 2rem + 5.2vw, 6.75rem);
  --fs-h1: clamp(2.5rem, 1.7rem + 3.6vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.625rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-caption: 0.875rem;
  --fs-label: 0.75rem;

  /* Space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;
  --section-y: clamp(88px, 6vw + 56px, 168px);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --max-text: 38rem;

  /* Radius */
  --r-sm: 8px; --r-md: 16px; --r-lg: 28px; --r-pill: 999px;

  /* Shadow (subtle only) */
  --shadow-1: 0 1px 2px rgba(15, 32, 39, 0.18), 0 4px 16px rgba(15, 32, 39, 0.14);
  --shadow-2: 0 2px 6px rgba(15, 32, 39, 0.2), 0 24px 60px rgba(15, 32, 39, 0.32);
  --shadow-paper: 0 1px 2px rgba(74, 59, 54, 0.1), 0 12px 32px rgba(74, 59, 54, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-water: cubic-bezier(0.45, 0.05, 0.25, 1);
  --t-fast: 180ms; --t-base: 420ms; --t-slow: 900ms;
}

/* ========================================================================== */
/* 2. Base                                                                    */
/* ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-abyss);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "opsz" 96;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h3 { font-variation-settings: "SOFT" 100, "opsz" 36; line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-lantern); color: var(--c-ink); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 100;
  background: var(--c-cream); color: var(--c-ink); padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill); text-decoration: none; font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--s-4); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ========================================================================== */
/* 3. Layout                                                                  */
/* ========================================================================== */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--paper { background: var(--c-paper); color: var(--c-ink); color-scheme: light; --focus: var(--c-teal); }
.section--deep { background: var(--c-deep); }
.section--night { background: linear-gradient(180deg, var(--c-abyss), var(--c-night) 55%, var(--c-abyss)); }
.section--mist { background: var(--c-mist); color: var(--c-ink); color-scheme: light; --focus: var(--c-teal); }

.section-head { display: grid; gap: var(--s-4); max-width: 46rem; margin-bottom: var(--s-8); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-lead); color: var(--text-muted); max-width: var(--max-text); }
.section--paper .section-head p, .section--mist .section-head p { color: var(--c-ink-soft); }

.split { display: grid; gap: var(--s-8); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
}
.split > * { min-width: 0; }

/* ========================================================================== */
/* 4. Components                                                              */
/* ========================================================================== */

/* Label / eyebrow */
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-aqua);
}
.section--paper .label, .section--mist .label { color: var(--c-teal); }

/* Status badge: honest product status for each feature */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); color: var(--text-muted);
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--launch { color: var(--c-seafoam); border-color: rgba(191, 227, 218, 0.45); }
.status--later { color: var(--c-moon); border-color: rgba(246, 231, 176, 0.4); }
.status--considering { color: var(--text-faint); }
.status--considering::before { background: transparent; border: 1px solid currentColor; }
.section--paper .status, .section--mist .status { color: var(--c-ink-soft); border-color: rgba(74, 59, 54, 0.25); }
.section--paper .status--launch, .section--mist .status--launch { color: var(--c-teal); border-color: rgba(63, 143, 138, 0.45); }

/* Buttons */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--c-cream); --btn-fg: var(--c-ink); }
.btn--primary:hover { --btn-bg: #fff3dc; }
.btn--secondary { --btn-bd: var(--border-strong); --btn-bg: rgba(255, 248, 236, 0.04); }
.btn--secondary:hover { --btn-bd: rgba(255, 248, 236, 0.6); }
.btn--ghost { padding: 0 6px; min-height: 44px; }
.btn--ghost:hover { color: var(--c-lantern); transform: none; }
.btn--ghost .arrow { transition: transform var(--t-fast) var(--ease); }
.btn--ghost:hover .arrow { transform: translateX(3px); }
.section--paper .btn--primary, .section--mist .btn--primary { --btn-bg: var(--c-ink); --btn-fg: var(--c-cream); }
.section--paper .btn--secondary, .section--mist .btn--secondary { --btn-bd: rgba(43, 34, 32, 0.3); --btn-fg: var(--c-ink); --btn-bg: transparent; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.9375rem; }

/* App Store button: our own design (not Apple's badge artwork) while the app is unreleased */
.btn--store {
  --btn-bg: var(--c-cream); --btn-fg: var(--c-ink);
  padding: 0 22px 0 16px; min-height: 56px; gap: 12px; text-align: left;
}
.btn--store .store-icon { width: 26px; height: 26px; flex: none; }
.btn--store .store-text { display: grid; line-height: 1.1; }
.btn--store .store-text small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; opacity: 0.7; }
.btn--store .store-text span { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; }

/* Cards */
.card {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--s-6);
  min-width: 0;
}
.section--paper .card, .section--mist .card { background: var(--c-cream); border-color: rgba(74, 59, 54, 0.12); box-shadow: var(--shadow-paper); }
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--text-muted); }
.section--paper .card p, .section--mist .card p { color: var(--c-ink-soft); }

.card--hover { transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.card--hover:hover { transform: translateY(-4px); border-color: var(--border-strong); }

/* Tabs (shared) */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: rgba(255, 248, 236, 0.06); border: 1px solid var(--border); }
.tab {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 0.9375rem; color: var(--text-muted);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--c-cream); color: var(--c-ink); }
.section--paper .tabs, .section--mist .tabs { background: rgba(43, 34, 32, 0.05); border-color: rgba(43, 34, 32, 0.1); }
.section--paper .tab, .section--mist .tab { color: var(--c-ink-soft); }
.section--paper .tab[aria-selected="true"], .section--mist .tab[aria-selected="true"] { background: var(--c-ink); color: var(--c-cream); }

/* Discovery tier marks: three small diamonds plus a text label. Never a shell icon (D-027). */
.tier { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-caption); }
.tier-marks { display: inline-flex; gap: 3px; }
.tier-marks i { width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid currentColor; border-radius: 1px; }
.tier-marks i.on { background: currentColor; }

/* Aquarium canvas frame */
.aq { position: relative; overflow: hidden; background: #5a9e9f; }
.aq canvas { width: 100%; height: 100%; }
.aq-poster { position: absolute; inset: 0; background: linear-gradient(180deg, #bfe3da 0%, #86c3bc 35%, #5a9e9f 75%, #3e7a83 100%); }

/* ========================================================================== */
/* 5. Navigation                                                              */
/* ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background var(--t-base) var(--ease), backdrop-filter var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; gap: var(--s-5); height: 72px; transition: height var(--t-base) var(--ease); }
.nav.is-scrolled { background: rgba(15, 32, 39, 0.72); -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px); border-bottom-color: var(--border); }
.nav.is-scrolled .nav-inner { height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 24; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: none; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); text-decoration: none; font-size: 0.9375rem; color: var(--text-muted); transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.nav-links a:hover { color: var(--text); background: rgba(255, 248, 236, 0.06); }
.nav-links a[aria-current="true"] { color: var(--text); }
.nav-cta { margin-left: auto; }
.nav-menu-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255, 248, 236, 0.04); cursor: pointer;
}
.nav-menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform var(--t-fast) var(--ease); }
.nav-menu-btn span::before, .nav-menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform var(--t-fast) var(--ease); }
.nav-menu-btn span::before { top: -5px; }
.nav-menu-btn span::after { top: 5px; }
.nav-menu-btn[aria-expanded="true"] span { background: transparent; }
.nav-menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 520px) {
  .nav-inner { gap: 10px; }
  .brand { font-size: 0.95rem; line-height: 1.02; white-space: normal; max-width: 8.5em; }
  .nav-cta { padding: 0 14px; }
}
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: var(--s-2); }
  .nav-menu-btn { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(15, 32, 39, 0.96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: calc(88px + env(safe-area-inset-top, 0px)) var(--gutter) calc(var(--s-7) + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: var(--s-6);
  opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease), visibility 0s linear var(--t-base);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-base) var(--ease); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mobile-menu a.mm-link { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 48; font-size: 1.875rem; }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: var(--s-3); }

/* ========================================================================== */
/* 6. Hero                                                                    */
/* ========================================================================== */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero .aq { position: absolute; inset: 0; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 32, 39, 0.5) 0%, rgba(15, 32, 39, 0) 22%),
    linear-gradient(0deg, rgba(15, 32, 39, 0.92) 0%, rgba(15, 32, 39, 0.4) 30%, rgba(15, 32, 39, 0) 56%);
}
@media (min-width: 900px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(15, 32, 39, 0.5) 0%, rgba(15, 32, 39, 0) 22%),
      radial-gradient(ellipse 58% 64% at 20% 70%, rgba(15, 32, 39, 0.78) 0%, rgba(15, 32, 39, 0.4) 50%, rgba(15, 32, 39, 0) 80%),
      linear-gradient(0deg, rgba(15, 32, 39, 0.7) 0%, rgba(15, 32, 39, 0) 30%);
  }
}
.hero-content { padding-block: 140px clamp(48px, 7vw, 96px); display: grid; gap: var(--s-5); max-width: 52rem; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.hero h1 { font-size: var(--fs-display); font-weight: 350; line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--c-moon); }
.hero-sub { font-size: var(--fs-lead); color: var(--text-muted); max-width: 34rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--text-faint); font-size: var(--fs-caption); margin-top: var(--s-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-hint { position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 96px); display: none; align-items: center; gap: 10px; color: var(--text-faint); font-size: var(--fs-caption); }
.hero-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-seafoam); animation: breathe 3.6s var(--ease-water) infinite; }
@media (min-width: 900px) and (hover: hover) { .hero-hint { display: inline-flex; } }

/* ========================================================================== */
/* 7. Intro: the loop of being away                                           */
/* ========================================================================== */
.intro h2 { font-size: var(--fs-h1); max-width: 14ch; }
.intro-lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 32rem; margin-top: var(--s-5); }
.loop { list-style: none; padding: 0; margin: var(--s-8) 0 0; display: grid; gap: var(--s-4); grid-template-columns: 1fr; counter-reset: loop; }
@media (min-width: 720px) { .loop { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .loop { grid-template-columns: repeat(4, 1fr); } }
.loop li { position: relative; padding: var(--s-5); border-radius: var(--r-md); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 248, 236, 0.035), rgba(255, 248, 236, 0)); display: grid; gap: var(--s-3); align-content: start; }
.loop li::before { counter-increment: loop; content: counter(loop, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--c-aqua); letter-spacing: 0.1em; }
.loop li h3 { font-size: 1.25rem; }
.loop li p { color: var(--text-muted); font-size: 0.9688rem; }
.loop li .loop-art { height: 84px; border-radius: var(--r-sm); overflow: hidden; }
.loop li:last-child { border-color: rgba(255, 200, 119, 0.4); }
.loop li:last-child::before { color: var(--c-lantern); }

/* ========================================================================== */
/* 8. Living world: time of day                                               */
/* ========================================================================== */
.living-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; max-height: 74vh; width: 100%; box-shadow: var(--shadow-2); }
.living-stage .aq { position: absolute; inset: 0; }
.living-clock {
  position: absolute; left: var(--s-5); top: var(--s-5); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--surface-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: var(--fs-caption); font-variant-numeric: tabular-nums;
}
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-5); }
.timeline button {
  appearance: none; text-align: left; cursor: pointer; background: transparent; border: 0;
  padding: var(--s-4) var(--s-2) 0; border-top: 2px solid var(--border); display: grid; gap: 6px; align-content: start; color: var(--text-faint);
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.timeline button .tl-time { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; }
.timeline button .tl-title { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 36; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.5rem); color: inherit; }
.timeline button .tl-text { font-size: 0.9375rem; line-height: 1.5; display: none; }
@media (min-width: 760px) { .timeline button .tl-text { display: block; } }
.timeline button:hover { color: var(--text-muted); }
.timeline button[aria-selected="true"] { color: var(--text); border-top-color: var(--c-lantern); }
.timeline-mobile-text { margin-top: var(--s-4); color: var(--text-muted); min-height: 3.2em; }
@media (min-width: 760px) { .timeline-mobile-text { display: none; } }

/* ========================================================================== */
/* 9. Discovery                                                               */
/* ========================================================================== */
.discover-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 980px) { .discover-grid { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; } }
.discover-art { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: radial-gradient(ellipse at 70% 0%, rgba(246, 231, 176, 0.25), transparent 55%), linear-gradient(180deg, #2a3a5e, var(--c-night)); }
@media (min-width: 980px) { .discover-art { grid-row: span 2; min-height: 620px; } }
.discover-art .aq { position: absolute; inset: 0; background: transparent; }
.discover-art figcaption { position: absolute; left: var(--s-5); bottom: var(--s-5); right: var(--s-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); align-items: end; }
.found-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-pill); background: rgba(255, 248, 236, 0.92); color: var(--c-ink); font-weight: 600; font-size: 0.9375rem; box-shadow: var(--shadow-1); }
.found-pill .spark { width: 10px; height: 10px; border-radius: 50%; background: var(--c-lantern); box-shadow: 0 0 0 4px rgba(255, 200, 119, 0.35); }

.entry-card { display: grid; gap: var(--s-4); align-content: start; }
.entry-card .entry-top { display: flex; justify-content: space-between; align-items: start; gap: var(--s-3); flex-wrap: wrap; }
.entry-card h3 { font-size: 1.75rem; }
.entry-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px var(--s-4); margin: 0; font-size: 0.9375rem; }
.entry-card dt { color: var(--text-faint); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.entry-card dd { margin: 0; color: var(--text); }
.fact { padding: var(--s-4); border-radius: var(--r-md); background: rgba(255, 248, 236, 0.05); font-size: 0.9375rem; color: var(--text-muted); }
.fact strong { color: var(--c-moon); font-weight: 600; }

.states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.states li { display: grid; gap: 8px; font-size: 0.8125rem; color: var(--text-faint); }
.states li::before { content: ""; height: 3px; border-radius: 3px; background: var(--border); }
.states li.done { color: var(--text-muted); }
.states li.done::before { background: var(--c-aqua); }
.states li.now { color: var(--text); }
.states li.now::before { background: var(--c-lantern); }

.hints { display: grid; gap: var(--s-2); }
.hint {
  display: flex; align-items: center; gap: var(--s-3); width: 100%; text-align: left;
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md); border: 1px dashed var(--border-strong);
  background: transparent; cursor: pointer; color: var(--text-muted);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.hint:hover { background: rgba(255, 248, 236, 0.04); }
.hint canvas { width: 48px; height: 40px; flex: none; }
.hint .hint-text { font-family: var(--font-display); font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 24; font-size: 1.0625rem; line-height: 1.35; }
.hint .hint-name { display: block; font-family: var(--font-body); font-style: normal; font-size: var(--fs-caption); color: var(--text); font-weight: 600; margin-bottom: 2px; }
.hint[aria-pressed="true"] { border-style: solid; border-color: rgba(255, 200, 119, 0.45); color: var(--text); }

/* ========================================================================== */
/* 10. Collection (paper)                                                     */
/* ========================================================================== */
.journal-book {
  border-radius: var(--r-lg); background: var(--c-cream); box-shadow: var(--shadow-paper);
  border: 1px solid rgba(74, 59, 54, 0.12); overflow: hidden;
}
.journal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) var(--s-6); border-bottom: 1px solid rgba(74, 59, 54, 0.12); }
.journal-count { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--c-ink-soft); font-variant-numeric: tabular-nums; }
.journal-grid { display: grid; gap: 1px; background: rgba(74, 59, 54, 0.1); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.jentry { background: var(--c-cream); padding: var(--s-5) var(--s-4); display: grid; gap: var(--s-2); align-content: start; min-height: 220px; position: relative; }
.jentry canvas { width: 100%; height: 96px; }
.jentry .jname { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 24; font-size: 1.125rem; line-height: 1.2; }
.jentry .jmeta { font-size: 0.8125rem; color: var(--c-ink-soft); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.jentry .jhint { font-family: var(--font-display); font-style: italic; font-size: 0.9375rem; color: var(--c-ink-soft); line-height: 1.35; }
.jentry .jno { position: absolute; top: var(--s-3); right: var(--s-4); font-family: var(--font-mono); font-size: 0.6875rem; color: rgba(74, 59, 54, 0.5); }
.jentry--unknown .jname { color: rgba(74, 59, 54, 0.45); }
.jentry .swatch { height: 96px; border-radius: var(--r-sm); }
.journal-foot { padding: var(--s-4) var(--s-6); font-size: var(--fs-caption); color: var(--c-ink-soft); border-top: 1px solid rgba(74, 59, 54, 0.12); }

/* ========================================================================== */
/* 11. Customization: before / after                                          */
/* ========================================================================== */
.compare { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); touch-action: pan-y; user-select: none; }
.compare .aq { position: absolute; inset: 0; }
.compare .compare-after { clip-path: inset(0 0 0 var(--split, 50%)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: var(--c-cream); transform: translateX(-1px); pointer-events: none; }
.compare-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--c-cream); box-shadow: var(--shadow-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2220' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E");
  background-size: 22px; background-position: center; background-repeat: no-repeat;
}
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare input[type="range"]:focus-visible + .compare-handle::after { outline: 2px solid var(--focus); outline-offset: 3px; }
.compare-tag { position: absolute; top: var(--s-4); padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface-glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: var(--fs-caption); font-weight: 600; pointer-events: none; }
.compare-tag--before { left: var(--s-4); }
.compare-tag--after { right: var(--s-4); }
.custom-list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.custom-list li { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--border); font-size: 0.9375rem; color: var(--text-muted); display: inline-flex; gap: 8px; align-items: center; }
.custom-list li b { font-weight: 600; color: var(--text); }

/* ========================================================================== */
/* 12. Creature personalities                                                 */
/* ========================================================================== */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-4); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail--fit { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.creature-card { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); }
.creature-card .cc-art { height: 150px; border-radius: var(--r-md); background: radial-gradient(ellipse at 50% 40%, rgba(191, 227, 218, 0.2), transparent 70%); }
.creature-card .cc-art canvas { width: 100%; height: 100%; }
.creature-card h3 { font-size: 1.375rem; }
.creature-card .cc-quote { font-family: var(--font-display); font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 24; font-size: 1.125rem; line-height: 1.35; color: var(--c-moon); }
.creature-card ul { list-style: none; margin: 0; padding: var(--s-3) 0 0; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: 0.875rem; color: var(--text-muted); }
.creature-card li { display: flex; justify-content: space-between; gap: var(--s-3); }
.creature-card li span:first-child { color: var(--text-faint); }
.creature-card li span:last-child { text-align: right; }

/* ========================================================================== */
/* 13. Offline: welcome back                                                  */
/* ========================================================================== */
.away { display: grid; gap: var(--s-6); }
.away-control { display: grid; gap: var(--s-3); }
.away-control label { font-size: var(--fs-caption); color: var(--text-muted); }
.away-control output { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 48; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--c-lantern) var(--fill, 30%), rgba(255, 248, 236, 0.15) var(--fill, 30%)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 248, 236, 0.15); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--c-lantern); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--c-cream); border: 0; box-shadow: var(--shadow-1); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--c-cream); border: 0; box-shadow: var(--shadow-1); }
.range-ticks { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-faint); letter-spacing: 0.06em; }

.welcome {
  border-radius: var(--r-lg); padding: var(--s-6); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-2);
  display: grid; gap: var(--s-4); max-width: 30rem; width: 100%; justify-self: center;
}
.welcome-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.welcome-head h3 { font-size: 1.5rem; }
.welcome-head span { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--c-ink-soft); font-variant-numeric: tabular-nums; }
.welcome ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.welcome li { display: flex; gap: var(--s-3); align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(74, 59, 54, 0.1); font-size: 0.9688rem; animation: rise var(--t-base) var(--ease) both; }
.welcome li:last-child { border-bottom: 0; }
.welcome li .wi { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(63, 143, 138, 0.12); color: var(--c-teal); }
.welcome li .wi svg { width: 18px; height: 18px; }
.welcome li.teaser .wi { background: rgba(255, 200, 119, 0.25); color: #9a6420; }
.welcome li button { margin-left: auto; appearance: none; border: 1px solid rgba(43, 34, 32, 0.25); background: transparent; border-radius: var(--r-pill); padding: 4px 12px; font-size: 0.8125rem; font-weight: 600; cursor: pointer; min-height: 32px; }
.welcome-note { font-size: var(--fs-caption); color: var(--c-ink-soft); }

/* ========================================================================== */
/* 14. Day / Night                                                            */
/* ========================================================================== */
.daynight { position: relative; aspect-ratio: 21 / 9; min-height: 360px; width: 100%; min-width: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); touch-action: pan-y; user-select: none; }
.daynight .aq { position: absolute; inset: 0; }
.daynight .dn-night { clip-path: inset(0 0 0 var(--split, 50%)); }
.daynight .dn-label { position: absolute; bottom: var(--s-5); display: grid; gap: 2px; pointer-events: none; max-width: 40%; padding: 10px 16px 12px; border-radius: var(--r-md); background: rgba(15, 32, 39, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.daynight .dn-label b { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 72; font-weight: 400; font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem); line-height: 1; }
.daynight .dn-label span { font-size: var(--fs-caption); color: var(--text-muted); }
.daynight .dn-label--day { left: var(--s-5); background: rgba(255, 248, 236, 0.72); color: var(--c-ink); }
.daynight .dn-label--day span { color: var(--c-ink-soft); }
.daynight .dn-label--night { right: var(--s-5); text-align: right; }
.dn-facts { display: grid; gap: var(--s-4); grid-template-columns: 1fr; margin-top: var(--s-6); }
@media (min-width: 760px) { .dn-facts { grid-template-columns: 1fr 1fr; } }
.dn-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dn-facts li { display: flex; gap: var(--s-3); color: var(--text-muted); }
.dn-facts li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.6em; border-radius: 50%; background: var(--c-aqua); }
.dn-facts .night li::before { background: var(--c-moon); }
.dn-facts h3 { font-size: 1.25rem; margin-bottom: var(--s-3); }

/* ========================================================================== */
/* 15. Seasons                                                                */
/* ========================================================================== */
.seasons-stage { position: relative; aspect-ratio: 16 / 8; min-height: 300px; width: 100%; min-width: 0; border-radius: var(--r-lg); overflow: hidden; }
.seasons-stage .aq { position: absolute; inset: 0; }
.season-caption { margin-top: var(--s-4); color: var(--c-ink-soft); min-height: 1.6em; }

/* ========================================================================== */
/* 16. Devices                                                                */
/* ========================================================================== */
.device { position: relative; margin-inline: auto; }
.device .screen { position: absolute; overflow: hidden; background: #5a9e9f; }
.device .screen .aq { position: absolute; inset: 0; }

/* Phone: generic modern phone frame drawn in CSS */
.device--phone { width: min(300px, 78vw); aspect-ratio: 9 / 19.3; border-radius: 48px; background: linear-gradient(145deg, #3a4448, #1c2427); padding: 10px; box-shadow: var(--shadow-2), inset 0 0 0 1.5px rgba(255, 248, 236, 0.12); }
.device--phone .screen { inset: 10px; border-radius: 39px; }
.device--phone .island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 30%; height: 26px; border-radius: 14px; background: #121a1d; z-index: 3; }
/* Tablet */
.device--tablet { width: min(620px, 100%); aspect-ratio: 4 / 3; border-radius: 34px; background: linear-gradient(145deg, #3a4448, #1c2427); box-shadow: var(--shadow-2), inset 0 0 0 1.5px rgba(255, 248, 236, 0.12); }
.device--tablet .screen { inset: 16px; border-radius: 20px; }
/* Laptop */
.device--laptop { width: min(860px, 92%); }
.device--laptop .lid { position: relative; aspect-ratio: 16 / 10.3; border-radius: 18px 18px 6px 6px; background: #1c2427; box-shadow: inset 0 0 0 1.5px rgba(255, 248, 236, 0.1); }
.device--laptop .lid .screen { inset: 3.2% 2.4% 4% 2.4%; border-radius: 6px; background: none; }
.device--laptop .base { height: 14px; margin-inline: -4%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #b9c0c2, #7d8789); position: relative; box-shadow: var(--shadow-2); }
.device--laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #6e7779; border-radius: 0 0 8px 8px; }
/* TV */
.device--tv { width: min(920px, 100%); aspect-ratio: 16 / 9.3; border-radius: 10px; background: #121a1d; padding: 1.1%; box-shadow: 0 0 0 1px rgba(255, 248, 236, 0.06); }
.device--tv .screen { inset: 1.1%; border-radius: 4px; }

/* Ecosystem overview */
.eco-tabs { display: flex; justify-content: center; margin-bottom: var(--s-7); }
.eco-stage { display: grid; gap: var(--s-7); align-items: center; grid-template-columns: 1fr; min-height: 520px; }
@media (min-width: 980px) { .eco-stage { grid-template-columns: 1.4fr 1fr; } }
.eco-stage > * { min-width: 0; }
.eco-visual { display: grid; place-items: center; min-height: 440px; }
.eco-copy { display: grid; gap: var(--s-4); align-content: center; }
.eco-copy > .status { justify-self: start; }
.eco-copy h3 { font-size: var(--fs-h2); line-height: 1.05; }
.eco-copy p { color: var(--text-muted); font-size: var(--fs-lead); max-width: 30rem; }
.eco-copy ul { list-style: none; padding: 0; margin: var(--s-2) 0 0; display: grid; gap: 10px; color: var(--text-muted); }
.eco-copy li { display: flex; gap: 12px; }
.eco-copy li::before { content: ""; width: 14px; height: 1px; margin-top: 0.8em; background: var(--c-aqua); flex: none; }
.eco-panel[hidden] { display: none; }
.eco-panel { animation: fadeIn var(--t-base) var(--ease) both; }
.eco-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-8); border-top: 1px solid var(--border); }
.eco-strip div { padding: var(--s-4) var(--s-2) 0; display: grid; gap: 6px; align-content: start; }
.eco-strip b { font-weight: 600; font-size: 0.9375rem; }
.eco-strip span { font-size: 0.8125rem; color: var(--text-faint); }
@media (max-width: 640px) { .eco-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* iPhone showcase */
.phone-show { display: grid; gap: var(--s-8); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .phone-show { grid-template-columns: 1fr auto 1fr; } }
.phone-show > * { min-width: 0; }
.phone-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.phone-steps button {
  appearance: none; width: 100%; text-align: left; cursor: pointer; background: transparent;
  border: 0; border-left: 2px solid var(--border); padding: var(--s-3) var(--s-4); display: grid; gap: 4px; color: var(--text-faint);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.phone-steps button b { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 36; font-weight: 400; font-size: 1.375rem; color: inherit; }
.phone-steps button span { font-size: 0.9375rem; line-height: 1.5; }
.phone-steps button[aria-selected="true"] { color: var(--text); border-left-color: var(--c-lantern); }
.phone-steps button[aria-selected="true"] span { color: var(--text-muted); }
@media (max-width: 979px) {
  .phone-steps { grid-auto-flow: column; grid-auto-columns: minmax(200px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .phone-steps li { scroll-snap-align: start; }
  .phone-steps button { border-left: 0; border-top: 2px solid var(--border); }
  .phone-steps button[aria-selected="true"] { border-top-color: var(--c-lantern); }
}
.phone-side { display: grid; gap: var(--s-5); align-content: center; }
.phone-side h2 { font-size: var(--fs-h2); }
.phone-side p { color: var(--text-muted); }

/* In-app UI overlays drawn in HTML on top of the canvas */
.ui { position: absolute; z-index: 2; font-family: var(--font-body); color: var(--c-ink); }
.ui-sheet { left: 8px; right: 8px; bottom: 8px; border-radius: 26px; background: rgba(251, 241, 222, 0.96); padding: 16px; box-shadow: var(--shadow-1); display: grid; gap: 8px; animation: rise var(--t-base) var(--ease) both; }
.ui-sheet h4 { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 24; font-size: 1.125rem; }
.ui-sheet p { font-size: 0.75rem; color: var(--c-ink-soft); line-height: 1.45; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.6875rem; color: var(--c-ink-soft); }
.ui-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(63, 143, 138, 0.14); color: #2c6b67; font-size: 0.6875rem; font-weight: 600; }
.ui-tray { left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: rgba(251, 241, 222, 0.92); box-shadow: var(--shadow-1); }
.ui-tray i { width: 30px; height: 30px; border-radius: 50%; background: rgba(43, 34, 32, 0.08); display: grid; place-items: center; }
.ui-tray i svg { width: 16px; height: 16px; color: var(--c-ink-soft); }
.ui-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ui-grid > div { aspect-ratio: 1; border-radius: 12px; background: var(--c-cream); display: grid; place-items: center; border: 1px solid rgba(74, 59, 54, 0.1); overflow: hidden; }
.ui-grid canvas { width: 100%; height: 100%; }
.ui-grid .q { font-family: var(--font-display); color: rgba(74, 59, 54, 0.4); font-size: 1.1rem; }
.ui-toast { top: 56px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(251, 241, 222, 0.95); box-shadow: var(--shadow-1); font-size: 0.75rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; animation: rise var(--t-base) var(--ease) both; }
.ui-toast .spark { width: 8px; height: 8px; border-radius: 50%; background: var(--c-lantern); box-shadow: 0 0 0 3px rgba(255, 200, 119, 0.35); }
.ui-edit-outline { position: absolute; z-index: 2; border: 1.5px dashed rgba(255, 248, 236, 0.9); border-radius: 12px; pointer-events: none; animation: breathe 2.4s var(--ease-water) infinite; }

/* iPad / Mac / TV */
.ipad-row { display: grid; gap: var(--s-8); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .ipad-row { grid-template-columns: 1fr 1.4fr; } }
.ipad-row > * { min-width: 0; }

.mac-desk { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, #6a5f8f 0%, transparent 55%), radial-gradient(ellipse at 90% 100%, #3e7a83 0%, transparent 60%), linear-gradient(160deg, #3d3b68, #2e5561); }
.mac-menubar { position: absolute; top: 0; left: 0; right: 0; height: 22px; background: rgba(15, 32, 39, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 12px; font-size: 10px; color: rgba(255, 248, 236, 0.85); font-variant-numeric: tabular-nums; z-index: 3; }
.mac-menubar .mb-fish { width: 16px; height: 12px; }
.mac-window { position: absolute; right: 4%; bottom: 7%; width: 38%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(15, 32, 39, 0.5), 0 0 0 1px rgba(255, 248, 236, 0.12); z-index: 2; }
.mac-window .aq { position: absolute; inset: 0; }
.mac-window-bar { position: absolute; top: 0; left: 0; right: 0; height: 22px; display: flex; gap: 6px; align-items: center; padding: 0 9px; z-index: 2; opacity: 0; transition: opacity var(--t-fast) var(--ease); }
.mac-window:hover .mac-window-bar, .mac-window:focus-within .mac-window-bar { opacity: 1; }
.mac-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 248, 236, 0.7); }
.mac-doc { position: absolute; left: 6%; top: 14%; width: 46%; height: 64%; border-radius: 10px; background: rgba(251, 241, 222, 0.94); box-shadow: 0 14px 40px rgba(15, 32, 39, 0.35); padding: 4% 4.5%; display: grid; gap: 7%; align-content: start; }
.mac-doc i { display: block; height: 7px; border-radius: 4px; background: rgba(43, 34, 32, 0.14); }
.mac-doc i:first-child { width: 55%; height: 10px; background: rgba(43, 34, 32, 0.3); }
.mac-pop { position: absolute; top: 28px; right: 10px; width: 30%; min-width: 150px; border-radius: 12px; background: rgba(251, 241, 222, 0.96); box-shadow: 0 14px 40px rgba(15, 32, 39, 0.4); padding: 10px; display: grid; gap: 6px; color: var(--c-ink); font-size: 11px; z-index: 4; transform-origin: top right; transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.mac-pop[data-open="false"] { opacity: 0; transform: scale(0.96); pointer-events: none; }
.mac-pop b { font-weight: 600; }
.mac-pop .mp-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 8px; background: rgba(43, 34, 32, 0.05); }
.mac-modes { display: grid; gap: var(--s-3); grid-template-columns: 1fr; margin-top: var(--s-7); }
@media (min-width: 760px) { .mac-modes { grid-template-columns: repeat(3, 1fr); } }
.mac-modes .card { padding: var(--s-5); display: grid; gap: var(--s-2); }
.mac-modes h3 { font-size: 1.25rem; }

.tv-room { position: relative; padding: clamp(32px, 6vw, 96px) var(--gutter) clamp(48px, 7vw, 120px); background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(134, 195, 188, 0.22), transparent 70%), linear-gradient(180deg, #121b22 0%, #0b1418 100%); border-radius: var(--r-lg); overflow: hidden; }
.tv-room::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 26%; background: radial-gradient(ellipse at 50% 100%, rgba(134, 195, 188, 0.12), transparent 70%); pointer-events: none; }
.tv-console { width: min(560px, 70%); height: 16px; margin: 28px auto 0; border-radius: 4px; background: linear-gradient(180deg, #2a2420, #1a1614); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }

/* Widgets */
.widgets { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 170px)); grid-template-areas: "s1 s2" "m m" "l l"; justify-content: center; }
@media (min-width: 1180px) { .widgets { grid-template-columns: repeat(2, 170px) 340px; grid-template-areas: "s1 s2 l" "m m l"; } }
.widget { border-radius: 24px; overflow: hidden; position: relative; box-shadow: var(--shadow-2); background: #5a9e9f; color: var(--c-cream); }
.widget .aq { position: absolute; inset: 0; }
.widget .w-body { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.widget .w-body b { font-weight: 600; font-size: 0.875rem; line-height: 1.2; }
.widget .w-body span { font-size: 0.75rem; opacity: 0.85; }
.widget::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 32, 39, 0.65), rgba(15, 32, 39, 0) 55%); z-index: 1; }
.widget--s { aspect-ratio: 1; }
.widget--s:first-child { grid-area: s1; }
.widget--s:nth-child(2) { grid-area: s2; }
.widget--m { grid-area: m; aspect-ratio: 2.12; }
.widget--l { grid-area: l; min-height: 356px; }
.widget--l .w-body { gap: 8px; }
.widget--l .w-list { display: grid; gap: 6px; margin-top: 6px; }
.widget--l .w-list div { display: flex; gap: 8px; align-items: center; font-size: 0.75rem; padding: 6px 8px; border-radius: 10px; background: rgba(255, 248, 236, 0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Live Activity */
.lock { width: min(340px, 100%); margin-inline: auto; aspect-ratio: 9 / 15; border-radius: 40px; position: relative; overflow: hidden; background: linear-gradient(180deg, #3d3b68, #26264a 60%, #1c2033); box-shadow: var(--shadow-2); padding: 56px 16px 16px; display: grid; align-content: start; gap: 14px; }
.lock-time { text-align: center; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 144; font-size: 4.25rem; line-height: 1; font-weight: 300; color: var(--c-cream); font-variant-numeric: tabular-nums; }
.lock-date { text-align: center; font-size: 0.875rem; color: var(--text-muted); margin-top: -8px; }
.live-act { margin-top: auto; border-radius: 22px; padding: 14px; background: rgba(15, 32, 39, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; gap: 12px; align-items: center; border: 1px solid var(--border); }
.live-act .la-art { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; position: relative; flex: none; background: linear-gradient(180deg, #3d3b68, #26264a); }
.live-act .la-art canvas { width: 100%; height: 100%; }
.live-act b { display: block; font-size: 0.875rem; }
.live-act span { font-size: 0.75rem; color: var(--text-muted); }

/* ========================================================================== */
/* 17. Ambient                                                                */
/* ========================================================================== */
.ambient { position: relative; min-height: 92vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.ambient .aq { position: absolute; inset: 0; z-index: -2; }
.ambient::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 45% at 30% 50%, rgba(15, 32, 39, 0.55), rgba(15, 32, 39, 0) 70%); transition: opacity var(--t-slow) var(--ease); pointer-events: none; }
.ambient-copy { display: grid; gap: var(--s-4); max-width: 34rem; transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.ambient-copy h2 { font-size: var(--fs-h1); }
.ambient-copy p { font-size: var(--fs-lead); color: var(--text-muted); }
.ambient.is-quiet .ambient-copy { opacity: 0; transform: translateY(8px); pointer-events: none; }
.ambient.is-quiet::before { opacity: 0; }
.ambient-toggle { position: absolute; right: var(--gutter); bottom: var(--s-6); z-index: 2; }
.ambient.is-quiet .ambient-toggle { opacity: 0.5; }
.ambient.is-quiet .ambient-toggle:hover, .ambient.is-quiet .ambient-toggle:focus-visible { opacity: 1; }

/* ========================================================================== */
/* 18. Trust                                                                  */
/* ========================================================================== */
.trust-grid { display: grid; gap: 1px; background: rgba(74, 59, 54, 0.12); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: 1fr; border: 1px solid rgba(74, 59, 54, 0.12); }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { background: var(--c-cream); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.trust-item svg { width: 28px; height: 28px; color: var(--c-teal); }
.trust-item h3 { font-size: 1.25rem; }
.trust-item p { color: var(--c-ink-soft); font-size: 0.9688rem; }
.fair { margin-top: var(--s-7); display: grid; gap: var(--s-5); grid-template-columns: 1fr; padding: var(--s-6); border-radius: var(--r-lg); border: 1px solid rgba(74, 59, 54, 0.16); }
@media (min-width: 860px) { .fair { grid-template-columns: 1fr 1.4fr; align-items: center; } }
.fair h3 { font-size: var(--fs-h3); }
.fair ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.fair li { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(63, 143, 138, 0.1); color: #2c6b67; font-size: 0.9375rem; font-weight: 500; }
.fair p { color: var(--c-ink-soft); font-size: 0.9375rem; }

/* ========================================================================== */
/* 19. Journal                                                                */
/* ========================================================================== */
.journal-cards { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .journal-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .journal-cards { grid-template-columns: 1.3fr 1fr 1fr; } .journal-cards .jcard:first-child { grid-row: span 2; } }
.jcard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); text-decoration: none; transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); cursor: pointer; text-align: left; padding: 0; color: inherit; width: 100%; }
.jcard:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.jcard .jc-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.jcard:first-child .jc-art { aspect-ratio: auto; min-height: 260px; height: 100%; }
.jcard .jc-art .aq { position: absolute; inset: 0; }
.jcard .jc-body { padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.jcard .jc-kind { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-aqua); }
.jcard h3 { font-size: 1.375rem; }
.jcard p { color: var(--text-muted); font-size: 0.9375rem; }
.jcard:first-child { grid-template-rows: 1fr auto; }
.jcard:first-child h3 { font-size: var(--fs-h3); }

/* ========================================================================== */
/* 20. FAQ                                                                    */
/* ========================================================================== */
.faq-list { display: grid; border-top: 1px solid rgba(43, 34, 32, 0.14); max-width: 52rem; }
.faq-item { border-bottom: 1px solid rgba(43, 34, 32, 0.14); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 36; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(43, 34, 32, 0.25); background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%232b2220' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E"); transition: transform var(--t-fast) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 var(--s-5); color: var(--c-ink-soft); max-width: 44rem; display: grid; gap: var(--s-3); }
.faq-layout { display: grid; gap: var(--s-7); grid-template-columns: 1fr; }
@media (min-width: 980px) { .faq-layout { grid-template-columns: 1fr 2fr; } }
.faq-layout > * { min-width: 0; }

/* ========================================================================== */
/* 21. Final CTA                                                              */
/* ========================================================================== */
.final { position: relative; min-height: 82vh; display: grid; align-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.final .aq { position: absolute; inset: 0; z-index: -2; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(15, 32, 39, 0.7), rgba(15, 32, 39, 0.15) 75%), linear-gradient(0deg, var(--c-abyss), rgba(15, 32, 39, 0) 30%); }
.final-inner { display: grid; gap: var(--s-5); justify-items: center; }
.final h2 { font-size: var(--fs-h1); max-width: 14ch; }
.final p { font-size: var(--fs-lead); color: var(--text-muted); max-width: 30rem; }

/* ========================================================================== */
/* 22. Footer                                                                 */
/* ========================================================================== */
.footer { padding-block: var(--s-8) calc(var(--s-6) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); font-size: var(--fs-caption); color: var(--text-muted); }
.footer-grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer h2 { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--s-3); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer a:hover { color: var(--text); }
.footer-base { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; color: var(--text-faint); }
.socials { display: flex; gap: var(--s-2); }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); justify-content: center; }
.socials svg { width: 16px; height: 16px; }

/* ========================================================================== */
/* 23. Mobile sticky CTA, modal, toast                                        */
/* ========================================================================== */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: 8px 8px 8px 16px; border-radius: var(--r-pill); background: rgba(15, 32, 39, 0.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--border);
  transform: translateY(140%); transition: transform var(--t-base) var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta span { font-size: 0.875rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gutter); }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 32, 39, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn var(--t-base) var(--ease) both; }
.modal-panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: var(--r-lg); background: var(--c-paper); color: var(--c-ink); padding: var(--s-7) var(--s-6) var(--s-6); box-shadow: var(--shadow-2); display: grid; gap: var(--s-4); animation: rise var(--t-base) var(--ease) both; color-scheme: light; --focus: var(--c-teal); }
.modal-panel--wide { width: min(680px, 100%); }
.modal-panel h2 { font-size: var(--fs-h3); font-size: 1.875rem; }
.modal-panel p { color: var(--c-ink-soft); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(43, 34, 32, 0.2); background: transparent; cursor: pointer; display: grid; place-items: center; }
.modal-close svg { width: 14px; height: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-caption); font-weight: 600; }
.field input { min-height: 48px; border-radius: var(--r-md); border: 1px solid rgba(43, 34, 32, 0.25); background: var(--c-cream); padding: 0 var(--s-4); font: inherit; color: var(--c-ink); }
.field input:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 1px; }
.form-note { font-size: var(--fs-caption); color: var(--c-ink-soft); }
.form-success { padding: var(--s-4); border-radius: var(--r-md); background: rgba(63, 143, 138, 0.12); color: #2c6b67; font-weight: 500; }
.article-meta { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-teal); }
.article-body { display: grid; gap: var(--s-3); font-size: 1.0625rem; line-height: 1.7; }

/* ========================================================================== */
/* 24. Reveal and motion                                                      */
/* ========================================================================== */
/* Content is visible by default; JS adds .reveal-ready only when motion is allowed. */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
.reveal-ready .reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal-ready .reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal-ready .reveal[data-delay="3"] { transition-delay: 270ms; }

@keyframes breathe { 0%, 100% { opacity: 0.55; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled, .mobile-menu, .sticky-cta, .modal-backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--c-abyss); }
}

/* ========================================================================== */
/* 25. Utilities                                                              */
/* ========================================================================== */
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-5); }

/* Mobile refinements */
.btn { white-space: nowrap; }
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .journal-head { padding: var(--s-4); }
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jentry { min-height: 0; padding: var(--s-4) var(--s-3); }
  .jentry canvas, .jentry .swatch { height: 72px; }
}
@media (max-width: 640px) {
  .daynight .dn-label { bottom: var(--s-3); padding: 6px 12px 8px; }
  .daynight .dn-label--day { left: var(--s-3); }
  .daynight .dn-label--night { right: var(--s-3); }
  .daynight .dn-label span { display: none; }
}

/* WEB-02: real screenshots in the device frames, the app icon as the brand mark */
.device .screen.shot { background: #0f2027; }
.device .screen.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.device--tablet.device--portrait { width: min(440px, 100%); aspect-ratio: 3 / 4; }
.widget .w-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
img.brand-mark { border-radius: 8px; object-fit: cover; }


/* ========================================================================== */
/* Rebuilt page (2026-11-06): merged sections, real light captures, plans     */
/* ========================================================================== */
.h2-size { font-size: var(--fs-h2); line-height: 1.05; }
.trust-item { color: var(--c-ink); }
.trust-item p { color: var(--c-ink-soft); }
.season-row { display: grid; gap: var(--s-6); margin-top: var(--s-8); align-items: center; grid-template-columns: 1fr; }
.season-row .season-caption { margin-top: var(--s-4); color: var(--text-muted); }
@media (min-width: 900px) { .season-row { grid-template-columns: 1fr 1fr; } }
.away-block { margin-top: var(--s-9, 96px); }
.collection-block { margin-top: var(--s-9, 96px); }
.joys-grid { margin-top: var(--s-8); }
.widgets-block { margin-top: var(--s-9, 96px); }
.dn-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.themes-head { margin-top: var(--s-9, 96px); margin-bottom: var(--s-6); display: grid; gap: var(--s-3); }
.theme-video { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 16 / 9; background: var(--c-abyss); }
.theme-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cards { display: grid; gap: var(--s-4); grid-template-columns: 1fr; margin-top: var(--s-5); }
@media (min-width: 760px) { .theme-cards { grid-template-columns: repeat(3, 1fr); } }
.theme-card { margin: 0; border-radius: var(--r-md, 16px); overflow: hidden; border: 1px solid var(--border); background: rgba(255, 248, 236, 0.04); }
.theme-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.theme-card figcaption { display: grid; gap: 4px; padding: var(--s-4); }
.theme-card b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.theme-card span { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; }
#eco-phone .eco-stage { align-items: center; }
.eco-copy .phone-steps { margin-top: var(--s-2); }
.eco-copy .phone-steps li { display: block; gap: 0; }
.eco-req { color: var(--text-faint) !important; font-size: var(--fs-caption) !important; }
.plans { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { background: var(--c-cream); border: 1px solid rgba(74, 59, 54, 0.12); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.plan h3 { font-size: 1.375rem; }
.plan p { color: var(--c-ink-soft); }
.plan .plan-price { font-family: var(--font-mono); font-size: 1.125rem; color: var(--c-teal); }
.plan--main { border-color: var(--c-teal); box-shadow: var(--shadow-paper); }
.plans-note { margin-top: var(--s-4); color: var(--c-ink-soft); font-size: var(--fs-caption); }
.fair-list { list-style: none; padding: 0; margin: var(--s-6) 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--c-ink-soft); }
.fair-list li { display: inline-flex; align-items: center; gap: 8px; }
.fair-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-teal); }
@media (min-width: 980px) { .trust-grid--four { grid-template-columns: repeat(4, 1fr); } }
.journal-book { color: var(--c-ink); color-scheme: light; --focus: var(--c-teal); }
.journal-book .tabs { background: rgba(43, 34, 32, 0.05); border-color: rgba(43, 34, 32, 0.1); }
.journal-book .tab { color: var(--c-ink-soft); }
.journal-book .tab[aria-selected="true"] { background: var(--c-ink); color: var(--c-cream); }
.joys-grid { background: rgba(255, 248, 236, 0.18); border-color: transparent; }
#daynight { aspect-ratio: 16 / 9; }
.widget .w-body { background: linear-gradient(180deg, rgba(15, 32, 39, 0) 0%, rgba(15, 32, 39, 0.82) 38%); padding-top: 28px; }
.widget .w-body b, .widget .w-body span { color: #fff8ec; }
.widget .w-body { left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; }
@media (max-width: 899px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(15, 32, 39, 0.5) 0%, rgba(15, 32, 39, 0) 18%),
      linear-gradient(0deg, rgba(15, 32, 39, 0.94) 0%, rgba(15, 32, 39, 0.72) 42%, rgba(15, 32, 39, 0.28) 66%, rgba(15, 32, 39, 0) 80%);
  }
}
