/* Tiptoe Meals website. Colours are the app's (Mealtime/Theme/Theme.swift, design decision 16), set in the
   system rounded font. No web fonts, no third-party requests. Cards and buttons use the app's "toy" look:
   a solid darker edge below instead of a blurred shadow. The drawn phone screens (classes starting "m-")
   always use the app's light palette, because version 1 of the app has no dark parent screens. */

:root {
  --bg: #EAF3FF;
  --surface: #FFFFFF;
  --surface2: #DCE7FB;
  --ink: #1F2A52;
  --ink2: #4A5378;
  --line: #CFDAF2;
  --edge: #CFDAF2;
  --accent: #4F5BD5;
  --accent-edge: #343D9E;
  --accent-ink: #4F5BD5;
  --accent-hover: #343D9E;
  --on-accent: #FFFFFF;
  --accent-soft: #DDE2FF;
  --sun: #FFE08A;
  --sun-edge: #EBBE45;
  --sun-soft: #FFF1C7;
  --peach-soft: #FFD9C7;
  --mint-soft: #C9EEDB;
  --pink-soft: #FBD3E1;
  --night-bg: #1F2A52;
  --night-ink: #F3F6FF;
  --night-ink2: #C3CBEB;
  --night-line: rgba(255, 255, 255, .14);
  --night-accent: #FFE08A;
  --bezel: #1F2A52;
  --shadow-lg: 0 2px 4px rgba(31, 42, 82, .06), 0 34px 70px -24px rgba(31, 42, 82, .45);
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  color-scheme: light dark;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1330;
    --surface: #182045;
    --surface2: #121938;
    --ink: #EEF2FF;
    --ink2: #AEB6DA;
    --line: #2A3466;
    --edge: #0A0E26;
    --accent: #5F6AE3;
    --accent-edge: #2E3794;
    --accent-ink: #A9B1FF;
    --accent-hover: #D3D8FF;
    --accent-soft: rgba(169, 177, 255, .16);
    --sun-soft: rgba(255, 224, 138, .14);
    --peach-soft: rgba(255, 190, 160, .15);
    --mint-soft: rgba(150, 225, 185, .14);
    --pink-soft: rgba(251, 180, 205, .15);
    --night-bg: #182045;
    --bezel: #000000;
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 34px 70px -24px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  --bg: #0E1330;
  --surface: #182045;
  --surface2: #121938;
  --ink: #EEF2FF;
  --ink2: #AEB6DA;
  --line: #2A3466;
  --edge: #0A0E26;
  --accent: #5F6AE3;
  --accent-edge: #2E3794;
  --accent-ink: #A9B1FF;
  --accent-hover: #D3D8FF;
  --accent-soft: rgba(169, 177, 255, .16);
  --sun-soft: rgba(255, 224, 138, .14);
  --peach-soft: rgba(255, 190, 160, .15);
  --mint-soft: rgba(150, 225, 185, .14);
  --pink-soft: rgba(251, 180, 205, .15);
  --night-bg: #182045;
  --bezel: #000000;
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 34px 70px -24px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 600 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; overflow-wrap: break-word; font-weight: 800; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

.shell { max-width: 1128px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; color: var(--bg); }

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

.site-head {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-head .shell { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; display: block; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 14px; color: var(--ink2); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); background: var(--surface2); }
.site-nav a[aria-current="page"] { color: var(--ink); }

.lang-menu { position: relative; margin-left: 2px; }
.lang-menu summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 14px; cursor: pointer; list-style: none; color: var(--ink2); font-size: 15px; font-weight: 700; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--ink); background: var(--surface2); }
.lang-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 11; min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.lang-menu li { margin: 0; }
.lang-menu ul a { display: flex; color: var(--ink); border-radius: 12px; }
.lang-menu ul a[aria-current] { color: var(--accent-ink); background: var(--accent-soft); }

.theme-menu[hidden] { display: none; }
.theme-menu .menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 11; min-width: 160px; display: flex; flex-direction: column; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.theme-menu button { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; }
.theme-menu button:hover { background: var(--surface2); }
.theme-menu button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent-soft); }

/* ---------- pills ---------- */

.soon { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: 31px; background: var(--accent); color: var(--on-accent); font-weight: 800; box-shadow: 0 5px 0 var(--accent-edge); }
.soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 224, 138, .35); }

.eyebrow { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); }

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

.hero { position: relative; padding: 64px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 420px at 84% 18%, var(--sun-soft), transparent 70%),
    radial-gradient(440px 360px at 62% 88%, var(--mint-soft), transparent 70%),
    radial-gradient(380px 320px at 4% 6%, var(--pink-soft), transparent 70%);
}
.hero .shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); letter-spacing: -.035em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .lead { margin: 24px 0 32px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--ink2); max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--ink2); font-size: 15px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); }
.preview-note { margin: 22px 0 0; font-size: 14px; color: var(--ink2); max-width: 36em; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section.tint { background: var(--surface2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2, .split h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.03em; }
.section-head p { margin: 18px 0 0; font-size: 19px; color: var(--ink2); max-width: 36em; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split .phone { margin: 0 auto; }
.split .intro { margin: 18px 0 36px; font-size: 19px; color: var(--ink2); max-width: 34em; }

.toy { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; box-shadow: 0 5px 0 var(--edge); }

/* three steps of a meal */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 64px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; margin: 0; padding: 28px; counter-increment: step; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--sun); color: #1F2A52; font-size: 20px; font-weight: 800; box-shadow: 0 4px 0 var(--sun-edge); }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink2); }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink2); }
.feature .icon { margin-bottom: 14px; }

.icon { width: 48px; height: 48px; border-radius: 16px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon.sun { background: var(--sun-soft); }
.icon.peach { background: var(--peach-soft); }
.icon.mint { background: var(--mint-soft); }
.icon.pink { background: var(--pink-soft); }

/* visual modes */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mode { display: flex; flex-direction: column; overflow: hidden; }
.mode .view { position: relative; height: 210px; overflow: hidden; }
.mode .text { padding: 24px 26px 28px; }
.mode h3 { font-size: 21px; margin-bottom: 8px; }
.mode p { margin: 0; color: var(--ink2); }
.mode .level { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.mode .level i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); }
.mode .level i.on { background: var(--accent-ink); }
.v-scene { background: linear-gradient(#26306A, #3B4590 70%, #4E5AA8); }
.v-scene .moon { position: absolute; left: 58%; top: 34px; width: 58px; height: 58px; border-radius: 50%; background: #FFE08A; }
.v-scene .moon::before, .v-scene .moon::after { content: ""; position: absolute; top: 27px; width: 11px; height: 5px; border-bottom: 2.4px solid #8A6A1E; border-radius: 0 0 10px 10px; }
.v-scene .moon::before { left: 13px; }
.v-scene .moon::after { right: 13px; }
.v-scene .hill { position: absolute; left: -20%; right: -20%; bottom: -150px; height: 230px; border-radius: 50%; background: #2C6B57; }
.v-scene .star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .75; }
.v-minimal { background: #E9E4F5; }
.v-minimal .blob { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: #B7C3F2; filter: blur(18px); animation: drift 20s ease-in-out infinite; }
.v-audio { background: #000; }
.v-audio .hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .28); font-size: 12px; white-space: nowrap; }
@keyframes drift { 0%, 100% { transform: translate(-40px, -12px); } 50% { transform: translate(40px, 14px); } }

/* fade-out plan */
.plan-steps { margin: 0; padding: 8px 24px; list-style: none; }
.plan-steps li { display: flex; align-items: center; gap: 16px; margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.plan-steps li:first-child { border-top: 0; }
.plan-steps .n { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; }
.plan-steps .now .n { background: var(--sun); color: #1F2A52; box-shadow: 0 3px 0 var(--sun-edge); }
.plan-steps .done .n { background: var(--accent); color: #fff; }
.plan-steps .what { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.plan-steps .what span { color: var(--ink2); font-size: 15px; }
.plan-steps .badge { flex: none; padding: 4px 12px; border-radius: 14px; background: var(--sun-soft); font-size: 13px; font-weight: 800; }
.plan-steps .last .n { background: var(--mint-soft); color: var(--ink); }

/* wind-down timeline */
.timeline { margin: 0; padding: 0; list-style: none; border-left: 3px solid var(--line); }
.timeline li { position: relative; margin: 0; padding: 0 0 26px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent-ink); }
.timeline time { display: block; font-size: 14px; font-weight: 800; color: var(--accent-ink); letter-spacing: .02em; }
.timeline p { margin: 2px 0 0; color: var(--ink2); }

/* what it will never do */
.nevers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.nevers li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 18px 20px; font-weight: 800; line-height: 1.25; overflow-wrap: break-word; min-width: 0; }
.nevers li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #FBD3E1 no-repeat center / 12px 12px; background-image: linear-gradient(45deg, transparent 44%, #A3261C 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #A3261C 44% 56%, transparent 56%); }

/* privacy block */
.night { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 18% 0%, #3B4590 0%, #1F2A52 55%, #141B3A 100%); color: var(--night-ink); border-radius: 40px; padding: 64px 56px; }
.night i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .7; }
.night .eyebrow { color: var(--night-accent); }
.night h2 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.03em; max-width: 14em; }
.night .lead { margin: 20px 0 0; font-size: 19px; color: var(--night-ink2); max-width: 34em; }
.night-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin: 44px 0 36px; padding-top: 40px; border-top: 1px solid var(--night-line); }
.night-grid h3 { font-size: 18px; margin-bottom: 8px; }
.night-grid p { margin: 0; font-size: 15px; color: var(--night-ink2); }
.night .know { margin: 0 0 8px; font-size: 15px; color: var(--night-ink2); max-width: 52em; }
.night a { color: var(--night-accent); font-weight: 800; }
.night a:hover { color: #fff; }

/* questions */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 2.5px solid var(--ink2); border-bottom: 2.5px solid var(--ink2); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { margin: 0 0 20px; color: var(--ink2); max-width: 44em; }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font-weight: 800; }

.closing { padding: 96px 0 104px; text-align: center; }
.closing img { width: 104px; height: 104px; margin-bottom: 28px; }
.closing h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.03em; }
.closing p { margin: 16px auto 28px; font-size: 19px; color: var(--ink2); max-width: 30em; }
.closing .cta { justify-content: center; }

.fine { font-size: 14px; color: var(--ink2); max-width: 52em; }

/* ---------- drawn phone screens (always the app's light palette) ---------- */

.phone { --k: .72; position: relative; flex: none; width: calc(390px * var(--k) + 18px); height: calc(844px * var(--k) + 18px); padding: 9px; border-radius: calc(50px * var(--k) + 9px); background: var(--bezel); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone .screen { position: relative; width: calc(390px * var(--k)); height: calc(844px * var(--k)); border-radius: calc(50px * var(--k)); overflow: hidden; }
.phone .screen::after { content: ""; position: absolute; top: calc(13px * var(--k)); left: 50%; width: calc(112px * var(--k)); height: calc(32px * var(--k)); border-radius: 99px; background: #000; transform: translateX(-50%); z-index: 3; }
.m-app { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform: scale(var(--k)); transform-origin: 0 0; overflow: hidden; font-family: var(--font); color: #1F2A52; text-align: left; line-height: 1.25; }

.duo { display: flex; justify-content: center; align-items: flex-start; padding: 8px 0 44px; }
.duo .rear { --k: .64; margin-right: -92px; transform: translateY(54px) rotate(-5deg); }
.duo .fore { z-index: 1; transform: rotate(2deg); }

/* Home */
.m-home { background: #EAF3FF; }
.m-sun { position: absolute; right: -40px; top: 70px; width: 150px; height: 150px; border-radius: 50%; background: #FFE08A; opacity: .55; }
.m-hill { position: absolute; left: -60px; right: -60px; bottom: -330px; height: 460px; border-radius: 50%; background: #C9EEDB; opacity: .7; }
.m-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #FBD3E1; }
.m-body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 64px 22px 0; }
.m-top { display: flex; align-items: center; gap: 10px; }
.m-top img { width: 46px; height: 46px; }
.m-top b { flex: 1; font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.m-ib { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 3px 0 #CFDAF2; }
.m-ib svg { width: 22px; height: 22px; fill: none; stroke: #4F5BD5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-card { background: #fff; border-radius: 24px; padding: 16px 18px; box-shadow: 0 5px 0 #CFDAF2; }
.m-plan { background: #FFE08A; box-shadow: 0 5px 0 #EBBE45; }
.m-k { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #4A5378; }
.m-plan .m-k { color: #6B5310; }
.m-h { display: block; margin-top: 4px; font-size: 21px; font-weight: 800; }
.m-s { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; color: #4A5378; }
.m-plan .m-s { color: #5C4A16; }
.m-bar { display: flex; gap: 5px; margin-top: 12px; }
.m-bar i { flex: 1; height: 8px; border-radius: 4px; background: rgba(31, 42, 82, .14); }
.m-bar i.on { background: #4F5BD5; }
.m-label { font-size: 17px; font-weight: 800; margin: 4px 0 -6px; }
.m-mins { display: flex; gap: 10px; }
.m-mins span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 70px; border-radius: 22px; background: #fff; box-shadow: 0 4px 0 #CFDAF2; font-size: 24px; font-weight: 800; }
.m-mins span small { font-size: 12px; font-weight: 700; color: #4A5378; }
.m-mins span.on { background: #4F5BD5; color: #fff; box-shadow: 0 4px 0 #343D9E; outline: 3px solid #fff; outline-offset: -6px; }
.m-mins span.on small { color: #DDE2FF; }
.m-row { display: flex; align-items: center; gap: 12px; }
.m-pic { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 16px; background: #FFD9C7; font-size: 22px; }
.m-pic svg { width: 24px; height: 24px; fill: none; stroke: #1F2A52; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-grow { flex: 1; }
.m-chev { width: 18px; height: 18px; fill: none; stroke: #4A5378; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m-chips { display: flex; gap: 8px; }
.m-chips span { flex: 1; padding: 11px 4px; border-radius: 16px; background: #fff; box-shadow: 0 3px 0 #CFDAF2; text-align: center; font-size: 14px; font-weight: 800; }
.m-chips span.on { background: #DDE2FF; box-shadow: 0 3px 0 #4F5BD5; outline: 2px solid #4F5BD5; outline-offset: -2px; }
.m-start { display: flex; align-items: center; justify-content: center; gap: 10px; height: 62px; margin-top: 6px; border-radius: 31px; background: #4F5BD5; color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 5px 0 #343D9E; }
.m-start svg { width: 20px; height: 20px; fill: #fff; }
.m-free { text-align: center; font-size: 16px; font-weight: 800; color: #4F5BD5; }

/* Playback, Calm scene */
.m-play { background: linear-gradient(#222B62, #36408A 62%, #46529F); color: #fff; }
.m-moon { position: absolute; left: 196px; top: 150px; width: 120px; height: 120px; border-radius: 50%; background: #FFE08A; box-shadow: 0 0 80px 20px rgba(255, 224, 138, .18); }
.m-moon::before, .m-moon::after { content: ""; position: absolute; top: 56px; width: 22px; height: 10px; border-bottom: 4px solid #8A6A1E; border-radius: 0 0 20px 20px; }
.m-moon::before { left: 26px; }
.m-moon::after { right: 26px; }
.m-star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .7; }
.m-hill2 { position: absolute; left: -120px; right: -40px; bottom: -260px; height: 520px; border-radius: 50%; background: #2C6B57; }
.m-hill3 { position: absolute; left: 120px; right: -160px; bottom: -300px; height: 500px; border-radius: 50%; background: #23594A; }
.m-prompt { position: absolute; left: 40px; right: 40px; bottom: 112px; text-align: center; font-size: 17px; font-weight: 700; color: rgba(255, 255, 255, .72); }
.m-unlock { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 22px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: 14px; font-weight: 700; white-space: nowrap; }
.m-unlock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- text pages ---------- */

.page { padding: 56px 0 96px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -.03em; margin-bottom: 14px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink2); }
.prose .stamp { color: var(--ink2); font-size: 15px; }
.notice { margin: 24px 0; padding: 16px 20px; border-radius: 20px; background: var(--sun-soft); color: var(--ink); }
.prose .notice { color: var(--ink); }
.prose .faq { margin-top: 12px; }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 8px; padding: 24px 28px; }
.contact p { margin: 0; }
.contact a { font-size: 19px; font-weight: 800; }

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

.site-foot { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 15px; color: var(--ink2); }
.site-foot .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.site-foot p { margin: 10px 0 0; max-width: 34em; }
.foot-links { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.foot-links li { margin: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink2); font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- smaller screens ---------- */

@media (max-width: 1000px) {
  .site-nav .wide { display: none; }
  .hero .shell { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split.flip .phone { order: 2; }
  .steps, .modes { grid-template-columns: minmax(0, 1fr); }
  .feature-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .night-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .night { padding: 48px 36px; }
  .mode { flex-direction: row; }
  .mode .view { flex: none; width: 38%; height: auto; min-height: 180px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { padding: 0 16px; }
  .site-nav .mid { display: none; }
  .site-nav a, .lang-menu summary { padding: 0 9px; }
  .brand { font-size: 18px; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .steps { margin-bottom: 48px; }
  .steps li { padding: 24px; }
  .feature-grid, .feature-grid.three, .night-grid { grid-template-columns: minmax(0, 1fr); }
  .nevers { gap: 10px; }
  .nevers li { padding: 14px 10px; gap: 8px; font-size: 14px; }
  .nevers li::before { width: 22px; height: 22px; background-size: 10px 10px; }
  .mode { flex-direction: column; }
  .mode .view { width: auto; height: 170px; min-height: 0; }
  .night { padding: 40px 22px; border-radius: 30px; }
  .plan-steps { padding: 4px 16px; }
  .phone { --k: .66; }
  .duo .rear { --k: .5; margin-right: -84px; transform: translateY(40px) rotate(-5deg); }
  .duo .fore { --k: .56; }
  .closing { padding: 64px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v-minimal .blob { animation: none; }
}
