/* ==========================================================================
   Monendum — marketing site
   Brand tokens come from the app's Theme.swift.
   ========================================================================== */

:root {
  --burgundy: #610F26;
  --burgundy-soft: #7E2940;
  --burgundy-deep: #4A0B1D;
  --cream: #F8EEDC;
  --canvas: #FBF7F0;
  --surface: #FFFCF8;
  --text: #241E21;
  --text-2: #74656A;
  --accent-fill: #F5EAE6;
  --border: #E8D8D8;
  --charcoal: #181416;
  --charcoal-2: #221C1F;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 1px 2px rgba(36, 30, 33, .04), 0 12px 40px -12px rgba(97, 15, 38, .14);
  --shadow-phone: 0 40px 80px -30px rgba(74, 11, 29, .45), 0 18px 40px -20px rgba(36, 30, 33, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.01em; }
::selection { background: var(--burgundy); color: var(--cream); }

/* paper grain over everything, very faint */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); }
  80% { transform: translate(5%, -2%); }
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow-light { color: #E7B9C4; }
.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--text);
}
.display em, .hero-title em, .band-quote em {
  font-style: italic;
  font-weight: 340;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--burgundy);
}
.display.light { color: var(--cream); }
.display.light em { color: #F1C9D2; }
.lede { margin: 22px 0 0; max-width: 34em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-2); }
.lede.light { color: rgba(248, 238, 220, .72); }

.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-small { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-burgundy { background: var(--burgundy); color: var(--cream); box-shadow: 0 10px 24px -10px rgba(97, 15, 38, .6); }
.btn-burgundy:hover { background: var(--burgundy-soft); box-shadow: 0 16px 32px -12px rgba(97, 15, 38, .6); }
.btn-cream { background: var(--cream); color: var(--burgundy); }
.btn-cream:hover { background: #fff6e6; }
.btn-outline { background: transparent; color: var(--burgundy); box-shadow: inset 0 0 0 1.5px var(--burgundy); }
.btn-outline:hover { background: var(--burgundy); color: var(--cream); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  width: min(calc(100% - 2 * var(--gutter)), 1120px);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}
.nav.is-scrolled {
  background: rgba(255, 252, 248, .72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(232, 216, 216, .7), 0 10px 30px -14px rgba(97, 15, 38, .18);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand span { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 40, "SOFT" 50; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-2);
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--burgundy); background: var(--accent-fill); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 80px;
  background:
    radial-gradient(1100px 600px at 78% 40%, rgba(248, 238, 220, .95), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(245, 234, 230, .9), transparent 60%),
    var(--canvas);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-ribbon { position: absolute; inset: 0; width: 100%; height: 100%; }
.ribbon-path { fill: none; stroke: var(--burgundy); stroke-width: 2.2; stroke-linecap: round; opacity: .22; }
.ribbon-path.thin { stroke-width: 1; opacity: .16; }
.ribbon-path.light { stroke: var(--cream); opacity: .25; stroke-width: 1.6; }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px;
}
.hero-eyebrow { padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 252, 248, .75); box-shadow: 0 0 0 1px var(--border); letter-spacing: .1em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--burgundy); box-shadow: 0 0 0 0 rgba(97, 15, 38, .5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(97, 15, 38, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(97, 15, 38, 0); } }

.hero-title {
  margin: 8px 0 0;
  font-family: var(--serif); font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(52px, 8.4vw, 124px); line-height: .94; letter-spacing: -.045em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin: 28px 0 0; max-width: 28em; font-size: clamp(18px, 1.45vw, 21px); color: var(--text-2); }

.notify-form { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; max-width: 520px; }
.notify-form input {
  flex: 1 1 220px; min-width: 0; height: 54px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--text); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.notify-form input:focus { border-color: var(--burgundy); box-shadow: 0 0 0 5px rgba(97, 15, 38, .1); }
.form-done { flex-basis: 100%; margin: 4px 0 0 20px; min-height: 1.4em; font-size: 15px; color: var(--burgundy); font-weight: 500; }
.notify-form.is-done input, .notify-form.is-done button { display: none; }
.notify-form.is-done .form-done { margin-left: 0; font-size: 18px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-2); }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--burgundy-soft); opacity: .6; }

.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1400px; }

/* ---------- phone ---------- */
.phone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 1206 / 2622;
  padding: calc(var(--w) * .035);
  border-radius: calc(var(--w) * .17);
  background: linear-gradient(145deg, #3a3236, #141012 40%, #2b2427);
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, .08), inset 0 0 0 4px #0d0b0c;
  transform-style: preserve-3d;
}
.phone::after { /* dynamic island */
  content: ""; position: absolute; top: calc(var(--w) * .062); left: 50%; transform: translateX(-50%);
  width: 31%; height: calc(var(--w) * .085); border-radius: 999px; background: #000; z-index: 3;
}
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .135); background: var(--canvas); }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-hero { --w: clamp(250px, 24vw, 330px); }

.float-chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 18px;
  background: rgba(255, 252, 248, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(232, 216, 216, .8);
  font-size: 14px; line-height: 1.35; color: var(--text); white-space: nowrap;
}
.float-chip b { font-weight: 600; color: var(--burgundy); }
.float-chip svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--burgundy); stroke: var(--cream); fill: none; stroke-width: 2; stroke-linecap: round; flex: none; }
.float-chip s { color: var(--text-2); text-decoration-color: var(--burgundy-soft); }
.chip-a { top: 14%; left: -4%; }
.chip-b { top: 47%; right: -8%; }
.chip-c { bottom: 10%; left: -10%; }
.chk { width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid #CDB8BD; flex: none; position: relative; transition: background .35s var(--ease), border-color .35s; }
.chk.on, .done .chk { background: var(--burgundy); border-color: var(--burgundy); }
.chk.on::after, .done .chk::after {
  content: ""; position: absolute; left: 7px; top: 3.5px; width: 5px; height: 10px;
  border: solid var(--cream); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ring-mini { width: 30px; height: 30px; border-radius: 50%; flex: none; background: conic-gradient(var(--burgundy) 0 30%, var(--accent-fill) 0); -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(97, 15, 38, .35); z-index: 3; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--burgundy); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; background: var(--burgundy); color: var(--cream); transform: rotate(-1.2deg) scale(1.03); margin: 10px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); font-variation-settings: "opsz" 72, "SOFT" 100; white-space: nowrap; }
.marquee i { font-style: normal; opacity: .5; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- brand film ---------- */
.film { position: relative; height: 220vh; margin-top: 60px; }
.film-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.film-frame {
  position: relative; width: 100vw; height: 100vh; overflow: hidden; background: #EADBC6;
  clip-path: inset(var(--inset-y, 18%) var(--inset-x, 22%) round var(--film-r, 40px));
  will-change: clip-path;
}
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--film-scale, 1.15)); }
.film-caption { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; color: var(--burgundy); opacity: var(--cap, 0); transform: translateY(calc((1 - var(--cap, 0)) * 24px)); }
.film-kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.film-line { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-weight: 340; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: clamp(36px, 5vw, 72px); letter-spacing: -.03em; line-height: 1; }

/* ---------- manifesto ---------- */
.manifesto { max-width: 1100px; margin: 0 auto; padding: clamp(110px, 16vw, 200px) var(--gutter); }
.manifesto-text {
  margin: 0; font-family: var(--serif); font-weight: 360;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-size: clamp(30px, 4.3vw, 60px); line-height: 1.14; letter-spacing: -.025em;
}
.manifesto-text .w { opacity: .14; transition: opacity .2s; }

/* ---------- three kinds ---------- */
.kinds { padding: 40px 0 120px; }
.kinds-grid { max-width: var(--max); margin: 60px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.kind { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .7s var(--ease); }
.kind.is-active { opacity: 1; }
.kind-num { font-family: var(--mono); font-size: 14px; color: var(--burgundy); letter-spacing: .1em; }
.kind-icon { width: 60px; height: 60px; margin: 18px 0 22px; border-radius: 18px; background: var(--accent-fill); display: grid; place-items: center; }
.kind-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--burgundy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kind h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -.035em; line-height: 1; font-variation-settings: "opsz" 144, "SOFT" 50; }
.kind p { margin: 18px 0 0; max-width: 30em; font-size: 18px; color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); font-size: 14px; color: var(--text); }
.app-quote { margin: 28px 0 0; padding: 18px 22px; border-left: 3px solid var(--burgundy); background: var(--accent-fill); border-radius: 0 14px 14px 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--burgundy); font-variation-settings: "opsz" 40, "SOFT" 100; }
.app-quote cite { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--text-2); }
.phone-inline { display: none; }

.kinds-stage { position: relative; }
.stage-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.stage-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(126, 41, 64, .18), transparent 65%); filter: blur(10px); }
.phone-stage { --w: clamp(260px, 22vw, 320px); }
.stage-video { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.stage-video.is-active { opacity: 1; transform: scale(1); }
.stage-progress { position: relative; display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.stage-progress li { display: flex; align-items: center; gap: 8px; transition: color .4s; }
.stage-progress span { width: 22px; height: 3px; border-radius: 3px; background: var(--border); transition: width .6s var(--ease), background .4s; }
.stage-progress li.is-active { color: var(--burgundy); font-weight: 600; }
.stage-progress li.is-active span { width: 40px; background: var(--burgundy); }

/* ---------- priority alarm ---------- */
.alarm {
  position: relative; overflow: hidden;
  padding: clamp(110px, 14vw, 180px) var(--gutter);
  background: radial-gradient(900px 700px at 70% 50%, #2a1219, var(--charcoal) 70%);
  color: var(--cream);
}
.alarm-rings { position: absolute; top: 50%; left: 72%; width: 0; height: 0; pointer-events: none; }
.alarm-rings i { position: absolute; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; border: 1.5px solid rgba(126, 41, 64, .55); opacity: 0; }
.alarm.is-ringing .alarm-rings i { animation: ring 3.2s var(--ease) infinite; }
.alarm-rings i:nth-child(2) { animation-delay: .8s !important; }
.alarm-rings i:nth-child(3) { animation-delay: 1.6s !important; }
.alarm-rings i:nth-child(4) { animation-delay: 2.4s !important; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }

.alarm-inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.alarm-points { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.alarm-points li { padding-left: 26px; position: relative; color: rgba(248, 238, 220, .7); }
.alarm-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: #C2566F; }
.alarm-points b { color: var(--cream); font-weight: 600; }
.try-hint { display: inline-flex; align-items: center; gap: 10px; margin: 34px 0 0; padding: 10px 16px; border-radius: 999px; background: rgba(248, 238, 220, .07); box-shadow: inset 0 0 0 1px rgba(248, 238, 220, .12); font-size: 14px; color: rgba(248, 238, 220, .85); }
.try-hint.dark { background: var(--accent-fill); box-shadow: none; color: var(--burgundy); margin-top: 20px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #E05A7A; animation: ping 1.8s infinite; }

.alarm-demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.alarm-screen {
  width: min(100%, 400px); aspect-ratio: 9 / 16;
  display: flex; flex-direction: column; align-items: center;
  padding: 18% 7% 8%;
  border-radius: 46px; background: #000;
  box-shadow: 0 0 0 10px #151113, 0 0 0 11.5px rgba(255, 255, 255, .08), 0 60px 120px -40px rgba(97, 15, 38, .8);
  font-family: -apple-system, "SF Pro Rounded", var(--sans);
}
.alarm.is-ringing .alarm-screen { animation: buzz 3.2s infinite; }
@keyframes buzz { 0%, 8%, 100% { transform: translateX(0); } 1%, 5% { transform: translateX(-2px) rotate(-.3deg); } 3%, 7% { transform: translateX(2px) rotate(.3deg); } }
.alarm-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; color: rgba(255, 255, 255, .6); }
.alarm-title svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.alarm-time { margin: 6px 0 0; font-size: clamp(86px, 10vw, 128px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; display: flex; font-feature-settings: "tnum"; }
.alarm-time .colon { animation: blink 1s steps(1) infinite; padding: 0 .02em; }
.alarm.is-stopped .alarm-time .colon { animation: none; }
@keyframes blink { 50% { opacity: .25; } }
.alarm-app { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, .45); }
.alarm-actions { margin-top: auto; width: 100%; display: grid; gap: 12px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.alarm-snooze { height: 64px; border: 0; border-radius: 999px; background: #7E2940; color: #fff; font-size: 19px; font-weight: 600; transition: transform .3s var(--ease), background .3s; }
.alarm-snooze:hover { background: #8f3049; }
.alarm-snooze:active { transform: scale(.97); }
.alarm-slider { position: relative; height: 64px; border-radius: 999px; background: #1c1c1e; overflow: hidden; touch-action: none; outline: none; }
.alarm-slider:focus-visible { box-shadow: 0 0 0 3px rgba(224, 90, 122, .6); }
.slider-text {
  position: absolute; inset: 0; display: grid; place-items: center; padding-left: 40px;
  font-size: 18px; color: rgba(255, 255, 255, .55);
  background: linear-gradient(90deg, rgba(255,255,255,.35) 0%, #fff 50%, rgba(255,255,255,.35) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 2.6s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.slider-knob { position: absolute; top: 5px; left: 5px; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #3a3a3c, #1a1a1a); box-shadow: 0 0 0 1.5px rgba(255,255,255,.12), 0 4px 14px rgba(0,0,0,.5); display: grid; place-items: center; cursor: grab; }
.slider-knob:active { cursor: grabbing; }
.slider-knob i { width: 20px; height: 20px; border-radius: 4px; background: #fff; }
.alarm-status { min-height: 1.5em; margin: 14px 0 0; font-size: 16px; font-weight: 500; color: #F1C9D2; text-align: center; }
.alarm.is-stopped .alarm-actions { opacity: .25; transform: translateY(8px); pointer-events: none; }
.ring-again { margin-left: 8px; padding: 4px 12px; border: 0; border-radius: 999px; background: rgba(248, 238, 220, .12); color: var(--cream); font-size: 14px; }
.demo-caption { margin: 0; font-size: 13px; color: rgba(248, 238, 220, .45); }

/* ---------- make my day ---------- */
.mmd { padding: clamp(110px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); background: linear-gradient(180deg, var(--canvas), var(--cream) 60%, var(--canvas)); overflow: hidden; }
.sparkle { width: 16px; height: 16px; fill: var(--burgundy); }
.mmd-flow { position: relative; max-width: var(--max); margin: 70px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 40px; align-items: center; }
.mmd-art { position: relative; }
.mmd-illustration { width: 100%; filter: drop-shadow(0 30px 40px rgba(97, 15, 38, .18)); }
.mmd-steps { display: grid; gap: 14px; }
.mmd-card { padding: 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-soft), 0 0 0 1px var(--border); }
.step-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.step-label b { width: 22px; height: 22px; border-radius: 50%; background: var(--burgundy); color: var(--cream); display: grid; place-items: center; font-size: 12px; letter-spacing: 0; }
.typed { margin: 12px 0 0; min-height: 3.2em; font-size: 16px; line-height: 1.55; color: var(--text); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--burgundy); animation: blink 1s steps(1) infinite; }
.picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pick { padding: 6px 12px; border-radius: 999px; font-size: 13px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-2); transition: background .4s, color .4s, box-shadow .4s; }
.pick.on { background: var(--burgundy); color: var(--cream); box-shadow: none; }
.window { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.window-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--accent-fill); position: relative; overflow: hidden; }
.window-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--burgundy-soft), var(--burgundy)); border-radius: 6px; }
.plan { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.plan li { display: flex; gap: 12px; align-items: baseline; padding: 7px 10px; border-radius: 10px; background: var(--canvas); font-size: 14.5px; }
.plan .mono { color: var(--burgundy); font-size: 13px; }
.accept { display: inline-flex; margin-top: 12px; padding: 8px 16px; border-radius: 999px; background: var(--burgundy); color: var(--cream); font-size: 13px; font-weight: 600; }
.mmd .demo-caption { color: var(--text-2); opacity: .7; }
.phone-mmd { --w: clamp(220px, 18vw, 270px); justify-self: center; }

.disclosure { max-width: 760px; margin: 70px auto 0; padding: 22px 26px; display: flex; gap: 18px; align-items: flex-start; border-radius: 20px; background: rgba(255, 252, 248, .7); box-shadow: 0 0 0 1px var(--border); margin-left: max(var(--gutter), calc(50% - 380px)); margin-right: max(var(--gutter), calc(50% - 380px)); }
.disclosure svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--burgundy); stroke-width: 1.7; margin-top: 2px; }
.disclosure p { margin: 0; font-size: 15px; color: var(--text-2); }
.disclosure b { color: var(--text); }

/* ---------- today ---------- */
.today { padding: clamp(110px, 14vw, 180px) 0; }
.today-grid { max-width: var(--max); margin: 70px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.today-widget { max-width: 440px; padding: 24px; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-soft), 0 0 0 1px var(--border); }
.tw-head { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 22px; background: var(--canvas); }
.tw-ring { width: 84px; height: 84px; transform: rotate(-90deg); flex: none; }
.tw-ring circle { fill: none; stroke-width: 9; }
.tw-ring .track { stroke: var(--accent-fill); }
.tw-ring .fill { stroke: var(--burgundy); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1s var(--ease); }
.tw-count { position: absolute; left: 16px; width: 84px; text-align: center; line-height: 1.05; }
.tw-count b { display: block; font-size: 20px; font-weight: 600; }
.tw-count small { font-size: 12px; color: var(--text-2); }
.tw-status { margin: 0; font-size: 19px; font-weight: 600; }
.tw-summary p:last-child { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
.tw-section { display: flex; justify-content: space-between; margin: 22px 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.tw-section span { font-weight: 400; letter-spacing: 0; text-transform: none; }
.tw-list { margin: 0; padding: 0; list-style: none; border-radius: 18px; background: var(--canvas); overflow: hidden; }
.tw-list li + li { border-top: 1px solid var(--border); }
.tw-list button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; background: transparent; text-align: left; color: var(--text); transition: background .3s; }
.tw-list button:hover { background: var(--accent-fill); }
.tw-list .mono { font-size: 15px; color: var(--text-2); }
.tw-list .t { font-size: 16px; transition: color .3s; position: relative; }
.tw-list .done .t { color: var(--text-2); text-decoration: line-through; text-decoration-color: var(--burgundy-soft); }
.tw-list .done .chk { animation: pop .45s var(--ease); }
@keyframes pop { 50% { transform: scale(1.25); } }
.tw-anytime { margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--canvas); font-size: 15px; color: var(--text-2); }

.today-phone { position: relative; display: flex; justify-content: center; }
.phone-today { --w: clamp(260px, 22vw, 310px); }
.callouts { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.co { position: absolute; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft), 0 0 0 1px var(--border); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.co::before { content: ""; position: absolute; top: 50%; width: 40px; height: 1.5px; background: var(--burgundy); opacity: .45; }
.co-1 { top: 10%; right: calc(50% + 165px); } .co-1::before { left: 100%; }
.co-2 { top: 22%; left: calc(50% + 165px); } .co-2::before { right: 100%; }
.co-3 { top: 42%; right: calc(50% + 165px); } .co-3::before { left: 100%; }
.co-4 { top: 66%; left: calc(50% + 165px); } .co-4::before { right: 100%; }
.co-5 { top: 84%; right: calc(50% + 165px); } .co-5::before { left: 100%; }

/* ---------- band ---------- */
.band { position: relative; height: 110vh; min-height: 640px; overflow: hidden; display: flex; align-items: center; }
.band-media { position: absolute; inset: -10% 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 247, 240, .92) 0%, rgba(251, 247, 240, .7) 40%, rgba(251, 247, 240, 0) 75%); }
.band-copy { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.band-quote { margin: 0; font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144, "SOFT" 60; font-size: clamp(48px, 8vw, 120px); line-height: .96; letter-spacing: -.045em; }
.band-caption { margin: 28px 0 0; max-width: 26em; font-size: 18px; color: var(--text-2); }

/* ---------- reminders ---------- */
.reminders { position: relative; height: 300vh; }
.rem-pin { position: sticky; top: 0; height: 100vh; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rem-legend { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rem-legend li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; color: var(--text-2); transition: background .5s var(--ease), color .5s; }
.rem-legend .mono { font-size: 14px; padding: 4px 8px; border-radius: 8px; background: var(--accent-fill); color: var(--burgundy); }
.rem-legend li.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft), 0 0 0 1px var(--border); }

.lock {
  position: relative; justify-self: center;
  width: min(100%, 380px); aspect-ratio: 9 / 18.5;
  border-radius: 54px; overflow: hidden;
  padding: 70px 18px 30px;
  background: radial-gradient(120% 80% at 50% 0%, #7E2940 0%, #4A0B1D 45%, #181416 100%);
  box-shadow: 0 0 0 10px #151113, 0 0 0 11.5px rgba(255,255,255,.08), var(--shadow-phone);
  display: flex; flex-direction: column; align-items: center; color: var(--cream);
}
.lock-glow { position: absolute; top: -20%; left: 50%; width: 140%; height: 70%; transform: translateX(-50%); background: radial-gradient(circle, rgba(248, 238, 220, .18), transparent 60%); }
.lock-date { position: relative; margin: 0; font-size: 18px; font-weight: 500; opacity: .85; }
.lock-time { position: relative; margin: 0; font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: clamp(76px, 8vw, 104px); line-height: 1; letter-spacing: -.03em; color: #F3D9A6; font-feature-settings: "tnum"; }
.notifs { position: relative; margin-top: auto; width: 100%; height: 130px; }
.notif {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start;
  padding: 14px; border-radius: 22px;
  background: rgba(40, 32, 36, .62); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  font-family: -apple-system, var(--sans);
  opacity: 0; transform: translateY(30px) scale(.96);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.notif.is-active { opacity: 1; transform: none; }
.notif.is-past { opacity: 0; transform: translateY(-20px) scale(.94); }
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif b { font-size: 15px; font-weight: 600; color: #fff; }
.notif p { margin: 2px 0 0; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.85); }
.notif small { font-size: 12px; color: rgba(255,255,255,.5); }

/* ---------- trust bento ---------- */
.trust { padding: clamp(110px, 14vw, 180px) 0; background: var(--cream); }
.bento { max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { padding: 30px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-soft), 0 0 0 1px var(--border); }
.tile h3 { margin: 0; font-family: var(--serif); font-weight: 420; font-size: 28px; letter-spacing: -.025em; line-height: 1.1; font-variation-settings: "opsz" 72, "SOFT" 50; }
.tile p { margin: 10px 0 0; color: var(--text-2); font-size: 16px; }
.tile-icon { width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; background: var(--accent-fill); display: grid; place-items: center; }
.tile-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--burgundy); stroke-width: 1.7; stroke-linecap: round; }
.tile-device { grid-column: span 2; }
.tile-signin { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; background: var(--burgundy); color: var(--cream); }
.tile-signin h3 { font-size: clamp(32px, 3.4vw, 46px); }
.tile-signin p { color: rgba(248, 238, 220, .72); }
.auth-demo { margin-top: auto; padding-top: 34px; display: grid; gap: 12px; max-width: 380px; }
.auth { height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; font-family: -apple-system, var(--sans); font-size: 17px; font-weight: 600; }
.auth svg { width: 20px; height: 20px; }
.auth-apple { background: #000; color: #fff; } .auth-apple svg { fill: #fff; }
.auth-google { background: #fff; color: #1f1f1f; }
.auth-email { background: rgba(248, 238, 220, .1); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(248, 238, 220, .25); }
.auth-email svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.tile-guest { grid-column: span 2; }
.tile-lang { grid-column: span 6; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.tile-lang p { margin: 0; }
.langs { position: relative; height: 1.2em; overflow: hidden; font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4vw, 56px); color: var(--burgundy); font-variation-settings: "opsz" 144, "SOFT" 100; line-height: 1.2; }
.lang { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(100%); transition: transform .8s var(--ease), opacity .8s var(--ease); }
.lang.is-active { opacity: 1; transform: none; }
.lang.is-out { opacity: 0; transform: translateY(-100%); }

/* ---------- pricing ---------- */
.pricing { padding: clamp(110px, 14vw, 180px) 0 60px; }
.plans { max-width: 860px; margin: 60px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan-card { position: relative; padding: 36px 32px 32px; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-soft), 0 0 0 1px var(--border); display: flex; flex-direction: column; }
.plan-card h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.price { margin: 18px 0 0; font-family: var(--serif); font-weight: 400; font-size: 76px; line-height: 1; letter-spacing: -.04em; font-variation-settings: "opsz" 144, "SOFT" 50; }
.price .cur { font-size: .5em; vertical-align: .55em; margin-right: 4px; }
.price .per { font-family: var(--sans); font-size: 17px; letter-spacing: 0; color: var(--text-2); margin-left: 6px; }
.price-note { margin: 12px 0 30px; color: var(--text-2); }
.plan-card .btn { margin-top: auto; }
.plan-card.featured { background: var(--burgundy); color: var(--cream); box-shadow: 0 30px 60px -30px rgba(97, 15, 38, .7); }
.plan-card.featured h3, .plan-card.featured .per, .plan-card.featured .price-note { color: rgba(248, 238, 220, .72); }
.badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--burgundy); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.readonly-note { max-width: 680px; margin: 34px auto 0; padding: 0 var(--gutter); display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.readonly-note svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--burgundy); stroke-width: 1.7; stroke-linecap: round; margin-top: 1px; }

/* ---------- faq ---------- */
.faq { max-width: 980px; margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--gutter); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.faq .section-head { padding: 0; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--burgundy), var(--burgundy)) center / 100% 1.6px no-repeat, linear-gradient(var(--burgundy), var(--burgundy)) center / 1.6px 100% no-repeat; transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: -6px 0 22px; max-width: 36em; color: var(--text-2); }

/* ---------- final cta ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; background: radial-gradient(900px 500px at 50% 0%, #7E2940, var(--burgundy) 55%, var(--burgundy-deep)); color: var(--cream); }
.cta-ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-icon { position: relative; border-radius: 24px; box-shadow: 0 20px 50px -14px rgba(0,0,0,.5); margin-bottom: 34px; }
.cta .lede { margin-left: auto; margin-right: auto; }
.cta-form { justify-content: center; margin-left: auto; margin-right: auto; width: 100%; }
.cta-form input { background: rgba(248, 238, 220, .1); border-color: rgba(248, 238, 220, .3); color: var(--cream); }
.cta-form input::placeholder { color: rgba(248, 238, 220, .5); }
.cta-form input:focus { border-color: var(--cream); box-shadow: 0 0 0 5px rgba(248, 238, 220, .12); }
.cta .form-done { color: var(--cream); text-align: center; margin-left: 0; }
.soon-badge { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 0; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(248, 238, 220, .3); font-size: 14px; color: rgba(248, 238, 220, .85); }
.soon-badge .dot { background: var(--cream); }

/* ---------- footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 50px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 10px; }
.footer-name { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.footer-tag { margin: 0; font-size: 14px; color: var(--text-2); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--text-2); font-size: 15px; }
.footer-links a:hover { color: var(--burgundy); }
.footer-copy { margin: 0; width: 100%; font-size: 13px; color: var(--text-2); opacity: .7; }

/* ---------- reveal helpers (JS adds .is-in) ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .mmd-flow { grid-template-columns: 1fr 1fr; }
  .mmd-art { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; }
  .co { display: none; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { padding: 0 0 20px; }
  .chip-a { left: 0; } .chip-b { right: 0; } .chip-c { left: 2%; }
  .float-chip { font-size: 12.5px; padding: 10px 14px 10px 12px; }

  .kinds-grid { grid-template-columns: 1fr; }
  .kinds-stage { display: none; }
  .kind { min-height: 0; opacity: 1; padding: 50px 0; }
  .phone-inline { display: block; --w: min(70vw, 280px); margin: 40px auto 0; }

  .alarm-inner { grid-template-columns: 1fr; }
  .alarm-rings { left: 50%; top: 72%; }

  .mmd-flow { grid-template-columns: 1fr; }
  .phone-mmd { --w: min(64vw, 260px); }

  .today-grid { grid-template-columns: 1fr; }
  .today-widget { margin: 0 auto; width: 100%; }

  .band { height: 90vh; }
  .band::after { background: linear-gradient(180deg, rgba(251, 247, 240, .2) 0%, rgba(251, 247, 240, .92) 70%); }
  .band { align-items: flex-end; padding-bottom: 80px; }

  .film { height: 160vh; }
  .reminders { height: auto; }
  .rem-pin { position: relative; height: auto; grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 110px; }

  .bento { grid-template-columns: 1fr; }
  .tile-device, .tile-signin, .tile-guest, .tile-lang { grid-column: auto; grid-row: auto; }
  .tile-lang { grid-template-columns: 1fr; gap: 12px; }

  .plans { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav { padding-left: 12px; }
  .brand span { font-size: 19px; }
  .notify-form .btn { width: 100%; }
  .chip-b { display: none; }
  .price { font-size: 64px; }
  .alarm-screen { border-radius: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .manifesto-text .w { opacity: 1; }
}
