/* CrushPaper — "A day on your desk".
   The page colour follows the clock: body[data-hour] is set by whichever section is in view. */
:root {
  --bg: #F7F0E4;
  --ink: #2A2118;
  --muted: #7A6A55;
  --line: rgba(42, 33, 24, 0.12);
  --card: rgba(255, 255, 255, 0.55);
  --yellow: #FFE169;
  --green: #8EE6B4;
  --pink: #FFB3C7;
  --ember: #FF8A3D;
  --ash: #8C857C;
  --radius: 26px;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Marker Felt", cursive;
}
body[data-hour="1300"] { --bg: #EDF3F2; --ink: #1D2A2B; --muted: #5E7270; --line: rgba(29, 42, 43, 0.12); --card: rgba(255, 255, 255, 0.6); }
body[data-hour="1800"] { --bg: #2B1912; --ink: #FBEFE2; --muted: #C7A58C; --line: rgba(251, 239, 226, 0.14); --card: rgba(255, 255, 255, 0.06); }
body[data-hour="0000"] { --bg: #0D0B14; --ink: #F2EEF8; --muted: #9C95AD; --line: rgba(242, 238, 248, 0.12); --card: rgba(255, 255, 255, 0.05); }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.9s ease, color 0.9s ease;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
kbd {
  font: 600 0.82em var(--body);
  padding: 1px 6px; margin: 0 1px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--card);
}

/* Paper grain over everything */
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body[data-hour="1800"] .grain, body[data-hour="0000"] .grain { mix-blend-mode: screen; opacity: 0.035; }

/* Nav */
.nav {
  position: sticky; top: 12px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 12px auto 0; padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--line);
  transition: background-color 0.9s ease;
}
.brand { display: flex; align-items: center; gap: 10px; font: 800 17px var(--display); }
.brand img { border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav nav a:not(.btn) { color: var(--muted); transition: color 0.2s; }
.nav nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: #1a1508;
  font: 700 16px var(--body); padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(214, 160, 20, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s cubic-bezier(.3, .7, .4, 1.4);
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(0.96); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-small { padding: 9px 18px; font-size: 14px; }
.link { color: var(--muted); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

main { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.eyebrow { font: 700 13px var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 0.98; }
.section-title { font-size: clamp(38px, 5vw, 60px); font-weight: 900; margin-bottom: 28px; }

/* Hand-drawn underline on the key words */
.scribble { position: relative; white-space: nowrap; color: var(--ember); }
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.08em; height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C60 4 120 18 180 8 S270 6 297 11' fill='none' stroke='%23FF8A3D' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0.55;
}

/* ---------- HERO ---------- */
.hero { padding-top: 72px; }
.hero-copy { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.hero h1 { font-size: clamp(56px, 9.5vw, 124px); font-weight: 900; margin-bottom: 22px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cmd-chip {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 8px 8px 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.cmd-chip code { font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.copy-label { font: 700 12px var(--body); padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); flex: none; }

/* ---------- The fake Mac desk (shared by hero + stage) ---------- */
.desk, .stage {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 10; width: 100%;
  border-radius: clamp(12px, 1.6vw, 22px); overflow: hidden;
  background: #1a1410;
  box-shadow: 0 50px 100px -40px rgba(60, 35, 10, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  isolation: isolate;
}
.wall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
[data-hour="0800"] > .wall [data-wall="0800"],
[data-hour="1300"] > .wall [data-wall="1300"],
[data-hour="1800"] > .wall [data-wall="1800"],
[data-hour="0000"] > .wall [data-wall="0000"] { opacity: 1; }

.menubar {
  position: absolute; inset: 0 0 auto; height: 3.1cqw; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 1.4cqw;
  font: 500 1.25cqw var(--body); color: #fff;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.mb-left { display: flex; gap: 1.6cqw; align-items: center; }
.mb-left b { font-weight: 700; }
.mb-right { display: flex; gap: 1.3cqw; align-items: center; }
.mb-icon { display: grid; place-items: center; width: 2.4cqw; height: 2.2cqw; border-radius: 0.6cqw; }
.mb-icon svg { width: 1.5cqw; height: 1.5cqw; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.mb-crush.is-open { background: rgba(255, 255, 255, 0.24); }

.glass {
  background: rgba(28, 22, 18, 0.38);
  backdrop-filter: blur(22px) saturate(1.9); -webkit-backdrop-filter: blur(22px) saturate(1.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(255, 255, 255, 0.06), 0 2.4cqw 5cqw -1.6cqw rgba(0, 0, 0, 0.5);
}

/* Board hanging from the menu bar */
.board {
  position: absolute; z-index: 4; top: 3.6cqw; right: 3.2cqw; width: 30cqw;
  border-radius: 2.2cqw; padding: 1.4cqw 1.4cqw 1.2cqw;
  color: #fff; transform-origin: 88% 0;
  animation: drop 0.75s cubic-bezier(.2, 1.25, .35, 1) 0.5s both;
}
@keyframes drop { from { opacity: 0; transform: scale(0.88, 0.55); } to { opacity: 1; transform: none; } }
.bd-head { display: flex; align-items: center; gap: 0.6cqw; font: 800 1.35cqw var(--display); }
.bd-count { display: inline-flex; align-items: center; gap: 0.25cqw; font: 700 0.95cqw var(--body); }
.bd-count svg { width: 0.85cqw; fill: var(--ember); }
.bd-count.bump { animation: bump 0.4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 50% { transform: scale(1.35); } }
.bd-tabs { display: flex; gap: 0.4cqw; margin: 1cqw 0 0.4cqw; font: 600 0.95cqw var(--body); opacity: 0.85; }
.bd-tabs span { padding: 0.35cqw 0.9cqw; border-radius: 999px; }
.bd-tabs .on { background: var(--yellow); color: #1a1508; }
.bd-nudge { display: grid; gap: 0.35cqw; text-align: center; padding: 2cqw 0.6cqw 1.6cqw; }
.bd-nudge small { font: 700 0.8cqw var(--body); letter-spacing: 0.14em; opacity: 0.6; }
.bd-nudge strong { font: 800 1.75cqw/1.1 var(--display); letter-spacing: -0.02em; }
.bd-nudge span { font-size: 1cqw; opacity: 0.68; }
.bd-tray { display: flex; justify-content: space-between; align-items: center; font: 700 0.95cqw var(--body); }
.bd-burn { opacity: 0.7; }
.bd-burn.hot { color: var(--ember); opacity: 1; }
.bd-stick { background: var(--yellow); color: #1a1508; padding: 0.55cqw 1.2cqw; border-radius: 999px; }

/* Sticky notes on the wallpaper */
.note {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  width: 15cqw; min-height: 13cqw; padding: 1.5cqw 1.3cqw;
  border: 0; border-radius: 0.5cqw 0.5cqw 0.8cqw 2.2cqw;
  font: 700 2cqw/1.08 var(--hand); color: #3a3010; text-align: left;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 1.4cqw 2.4cqw -1cqw rgba(40, 25, 5, 0.45), inset 0 -2cqw 2cqw -2cqw rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.3, 1.5, .5, 1), box-shadow 0.25s;
}
button.note:hover { transform: rotate(0deg) translateY(-0.5cqw) scale(1.04); }
button.note:focus-visible { outline: 3px solid var(--ember); outline-offset: 4px; }
.n-yellow { background: linear-gradient(170deg, #FFF0A0, #FFE169 60%, #F5D24F); }
.n-green { background: linear-gradient(170deg, #C8F7DA, #8EE6B4 60%, #74D49C); }
.n-pink { background: linear-gradient(170deg, #FFD6E1, #FFB3C7 60%, #F59BB2); }
.note small { display: block; margin-top: 0.8cqw; font: 600 0.9cqw var(--body); opacity: 0.6; }
.note.crumpled {
  border-radius: 50%; color: transparent;
  background: radial-gradient(circle at 35% 30%, #fff8c8 0 10%, transparent 30%), radial-gradient(circle at 70% 65%, rgba(0,0,0,.18) 0 14%, transparent 34%), var(--ball, #FFE169);
}
.psst {
  position: absolute; left: 7%; top: 66%; z-index: 2;
  font: 700 2.1cqw var(--hand); color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transform: rotate(-3deg); transition: opacity 0.4s;
}
.psst::before { content: "↖ "; }

/* Dock */
.dock {
  position: absolute; left: 50%; bottom: 1.2cqw; z-index: 3; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.8cqw; padding: 0.7cqw 0.9cqw; border-radius: 1.8cqw;
}
.dock i { width: 4.2cqw; height: 4.2cqw; border-radius: 1.1cqw; background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.dock em { width: 1px; height: 3.6cqw; background: rgba(255, 255, 255, 0.3); margin: 0 0.2cqw; }
.trash { display: grid; place-items: center; width: 4.2cqw; height: 4.2cqw; border-radius: 1.1cqw; background: linear-gradient(160deg, #f4f4f6, #c9c9d1); }
.trash svg { width: 70%; }
.t-can { fill: rgba(255, 255, 255, 0.6); stroke: #6d6d78; stroke-width: 1.4; }
.t-lines { stroke: #8a8a94; stroke-width: 1.2; stroke-linecap: round; }
.t-lid { fill: #9a9aa4; transform-origin: 26px 7.7px; transition: transform 0.2s; }
.trash.gulp { animation: gulp 0.45s cubic-bezier(.3, 1.6, .5, 1); }
.trash.gulp .t-lid { transform: rotate(-24deg); }
@keyframes gulp { 40% { transform: scale(1.16, 0.9); } }

/* ---------- A DAY ON YOUR DESK ---------- */
.day-intro { text-align: center; margin-bottom: 24px; }
.dayline { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.dayline button {
  display: inline-flex; align-items: baseline; gap: 8px; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font: 700 15px var(--body); color: var(--muted); transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.dayline button b { font: 700 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ember); }
.dayline button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dayline button[aria-selected="true"] b { color: var(--yellow); }
.day-intro h2 { font-size: clamp(42px, 6vw, 76px); font-weight: 900; }
.day-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.stage { position: sticky; top: max(96px, calc(50vh - 260px)); }
.chapters { display: grid; gap: 34vh; padding: 14vh 0 24vh; }
.chapter { opacity: 0.32; transition: opacity 0.5s ease; }
.chapter.is-active { opacity: 1; }
@keyframes chapter-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chapter .time { display: inline-block; font: 700 15px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ember); margin-bottom: 10px; }
.chapter h3 { font-size: clamp(40px, 4.4vw, 58px); font-weight: 900; margin-bottom: 14px; }
.chapter p { font-size: 19px; color: var(--muted); max-width: 30ch; }
.chapter em { font-style: normal; color: var(--ink); font-weight: 600; }

.ov { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.stage[data-hour="0800"] .ov-0800, .stage[data-hour="1300"] .ov-1300,
.stage[data-hour="1800"] .ov-1800, .stage[data-hour="0000"] .ov-0000 { opacity: 1; visibility: visible; }

.board-plan { right: auto; left: 50%; top: 4cqw; width: 40cqw; margin-left: -20cqw; animation: none; padding: 1.8cqw; }
.board-plan .bd-nudge strong { font-size: 2.6cqw; }
.board-plan .bd-nudge span { font-size: 1.35cqw; }
.board-plan .bd-nudge small { font-size: 1.05cqw; }
.slots { display: flex; justify-content: center; gap: 1.6cqw; padding-bottom: 0.6cqw; }
.slots i {
  display: grid; place-items: center; width: 10cqw; height: 9cqw; padding: 0.8cqw;
  border: 0.18cqw dashed rgba(255, 225, 105, 0.5); border-radius: 1.1cqw;
  font: 700 1.7cqw/1 var(--hand); font-style: normal; color: transparent; text-align: center;
}
.slots i:nth-child(1) { transform: rotate(-2.5deg); }
.slots i:nth-child(3) { transform: rotate(2.5deg); }
.stage[data-hour="0800"] .slots i { animation: fill-slot 0.5s ease forwards; }
.stage[data-hour="0800"] .slots i:nth-child(1) { animation-delay: 0.7s; }
.stage[data-hour="0800"] .slots i:nth-child(2) { animation-delay: 1.3s; }
.stage[data-hour="0800"] .slots i:nth-child(3) { animation-delay: 1.9s; }
@keyframes fill-slot { to { background: #FFE169; color: #3a3010; border-color: transparent; box-shadow: 0 1cqw 2cqw -1cqw rgba(0,0,0,.5); } }

.fs-app { position: absolute; inset: 3.1cqw 0 0; background: #17181c; }
.fs-bar { display: flex; align-items: center; gap: 0.7cqw; height: 3.2cqw; padding: 0 1.4cqw; background: #222329; font: 500 1.1cqw var(--body); color: #8b8d96; }
.fs-bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #3a3b42; }
.fs-bar span { margin-left: 1cqw; }
.fs-code { display: grid; gap: 1.5cqw; padding: 3cqw 4cqw; }
.fs-code b { height: 1.1cqw; width: var(--w); margin-left: calc(var(--i, 0) * 3cqw); border-radius: 1cqw; background: linear-gradient(90deg, #5d6ad8 0 18%, #3d4250 18%); opacity: 0.85; }
.note.float { left: auto; right: 5cqw; top: 9cqw; --r: 2deg; cursor: default; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(1deg) translateY(-0.7cqw); } }

.pill { position: absolute; z-index: 3; left: 3cqw; bottom: 3cqw; padding: 0.8cqw 1.5cqw; border-radius: 999px; font: 700 1.3cqw var(--body); color: #fff; background: rgba(0, 0, 0, 0.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill-burn { color: #FFC08A; }
.stage-trash { position: absolute; right: 4cqw; bottom: 3cqw; z-index: 3; width: 6cqw; height: 6cqw; border-radius: 1.5cqw; }
.stage[data-hour="1800"] .loop-crush { animation: loop-crush 3.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes loop-crush {
  0%, 22% { transform: rotate(2deg); border-radius: 0.5cqw 0.5cqw 0.8cqw 2.2cqw; color: #3a3010; }
  38% { transform: scale(0.42) rotate(60deg); border-radius: 50%; color: transparent; }
  70% { transform: translate(38cqw, 4cqw) scale(0.3) rotate(320deg); border-radius: 50%; color: transparent; }
  82% { transform: translate(52cqw, 16cqw) scale(0.18) rotate(400deg); border-radius: 50%; opacity: 1; color: transparent; }
  86%, 100% { transform: translate(52cqw, 16cqw) scale(0.1); opacity: 0; color: transparent; }
}

.stage[data-hour="0000"] .charring { animation: char 4s ease-in-out infinite; }
@keyframes char {
  0% { filter: none; box-shadow: 0 1.4cqw 2.4cqw -1cqw rgba(0,0,0,.45); }
  45% { filter: sepia(0.6) brightness(0.75) contrast(1.2); box-shadow: inset 0 0 3cqw 0.6cqw #3a1300, 0 0 4cqw 0.4cqw rgba(255, 120, 40, 0.55); }
  75% { filter: grayscale(1) brightness(0.45); opacity: 0.85; transform: rotate(-2deg) scale(0.96); }
  100% { filter: grayscale(1) brightness(0.3); opacity: 0; transform: rotate(-4deg) scale(0.9) translateY(3cqw); }
}
.embers { position: absolute; inset: 0; pointer-events: none; }
.embers i { position: absolute; bottom: 8%; width: 0.6cqw; height: 0.6cqw; max-width: 6px; max-height: 6px; border-radius: 50%; background: #FFB061; box-shadow: 0 0 10px 2px rgba(255, 140, 60, 0.7); opacity: 0; animation: rise 5s linear infinite; }
.embers i:nth-child(1) { left: 22%; animation-delay: 0s; }
.embers i:nth-child(2) { left: 31%; animation-delay: 1.4s; }
.embers i:nth-child(3) { left: 44%; animation-delay: 2.6s; }
.embers i:nth-child(4) { left: 58%; animation-delay: 0.8s; }
.embers i:nth-child(5) { left: 69%; animation-delay: 3.3s; }
.embers i:nth-child(6) { left: 80%; animation-delay: 2s; }
.embers i:nth-child(7) { left: 12%; animation-delay: 4s; }
.embers i:nth-child(8) { left: 90%; animation-delay: 3.8s; }
@keyframes rise { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(2vw, -38vh); } }

/* ---------- TRIO (App Notes / Ghost / Private) ---------- */
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio-card { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.trio-card h3 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.trio-card p { color: var(--muted); font-size: 16px; }
.trio-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 225, 105, 0.14); }
.trio-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- GUIDE PAGES ---------- */
.guide { max-width: 760px; margin: 0 auto; padding: 72px 0 40px; }
.guide h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; margin-bottom: 20px; }
.guide .answer { font-size: 20px; line-height: 1.55; margin-bottom: 28px; padding: 20px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.guide h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; margin: 44px 0 14px; }
.guide p, .guide li { color: var(--muted); font-size: 17px; }
.guide p + p { margin-top: 12px; }
.guide strong { color: var(--ink); }
.guide ol, .guide ul { padding-left: 22px; display: grid; gap: 8px; }
.guide .updated { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.guide table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.guide th, .guide td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide th { font-weight: 700; color: var(--ink); }
.guide td { color: var(--muted); }
.guide .cta-box { margin: 48px 0 8px; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 138, 61, 0.14), rgba(255, 225, 105, 0.06)); border: 1px solid rgba(255, 225, 105, 0.3); display: grid; gap: 14px; justify-items: start; }
.guide .cta-box h2 { margin: 0; }
.guide details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.guide summary { cursor: pointer; font: 700 18px var(--display); color: var(--ink); }
.guide details p { margin-top: 8px; }
.guide .facts { margin: 0 0 8px; padding: 18px 22px; border-radius: 18px; border: 1px dashed rgba(255, 138, 61, 0.45); }
.guide .facts h2 { margin: 0 0 8px; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember); }
.guide .facts li { color: var(--ink); font-size: 16px; }
.guide .sources li { font-size: 15px; }
.guide .disclosure { font-size: 15px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 225, 105, 0.16); margin-bottom: 20px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.related a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a:hover { color: var(--ink); }

/* ---------- REAL APP ---------- */
.real { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: center; }
.real h2 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 900; margin-bottom: 14px; }
.real p { color: var(--muted); font-size: 18px; max-width: 34ch; }
.real-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); }

/* ---------- SMALL THINGS ---------- */
.smalls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 24px 0 72px; }
.smalls span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 15px; font-weight: 500; }

/* ---------- INSTALL + FUND ---------- */
.install-note { color: var(--muted); max-width: 52ch; margin: -12px 0 36px; font-size: 18px; }
.oneline { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); margin-bottom: 30px; }
.oneline h4 { font-size: 18px; margin-bottom: 4px; }
.oneline-head p { color: var(--muted); font-size: 15px; }
.oneline-cmd { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 16px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); }
.oneline-cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 500 15px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--yellow); scrollbar-width: none; }
.copy { flex: none; border: 0; background: none; cursor: pointer; }
.copy .copy-label { background: var(--yellow); color: #1a1508; font-size: 13px; padding: 9px 16px; }
.or { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: #1a1508; font-weight: 800; margin-bottom: 16px; }
.steps h4 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

.fund { --pct: 0%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: 36px; padding: 36px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 138, 61, 0.14), rgba(255, 225, 105, 0.05)); border: 1px solid rgba(255, 225, 105, 0.24); }
.fund h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; margin-bottom: 10px; line-height: 1.05; }
.fund-copy p { color: var(--muted); font-size: 16px; max-width: 44ch; }
.fund-meter { display: grid; gap: 14px; justify-items: start; }
.fund-numbers { display: flex; justify-content: space-between; align-items: baseline; width: 100%; gap: 12px; }
.fund-numbers strong { font: 900 34px/1 var(--display); }
.fund-numbers small { font: 500 16px var(--body); color: var(--muted); }
.fund-numbers > span { color: var(--muted); font-size: 14px; text-align: right; }
.fund-track { width: 100%; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4); }
.fund-fill { height: 100%; width: 0; min-width: 14px; border-radius: inherit; background: linear-gradient(90deg, var(--ember), var(--yellow)); box-shadow: 0 0 18px rgba(255, 166, 71, 0.55); transition: width 1.4s cubic-bezier(.2, .7, .2, 1) 0.3s; }
.fund.in .fund-fill { width: var(--pct); }
.fund.funded .fund-fill { background: linear-gradient(90deg, #06d6a0, var(--yellow)); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font: 700 19px var(--display); letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; }

/* ---------- FINAL ---------- */
.final { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 140px 0 150px; margin: 40px -24px 0; overflow: hidden; border-radius: 32px; isolation: isolate; color: #F2EEF8; }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 11, 20, 0.35) 30%, rgba(13, 11, 20, 0.2) 70%, var(--bg) 100%); }
.final-icon { border-radius: 20px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.final h2 { font-size: clamp(44px, 7vw, 88px); font-weight: 900; }
.final .meta { color: #B9B2C8; font-size: 14px; }

.footer { max-width: 1180px; margin: 0 auto; padding: 28px 24px 40px; display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }

/* Entrance */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Phone */
@media (max-width: 860px) {
  main { padding: 0 16px; }
  section { padding: 64px 0; }
  .nav { margin: 8px 12px 0; }
  .nav nav a:not(.btn) { display: none; }
  .hero { padding-top: 40px; }
  .cmd-chip code { max-width: 58vw; }
  /* Narrow: no pinned scroll — desk, then just the current moment's text (tabs/autoplay switch it). */
  .day-grid { grid-template-columns: 1fr; gap: 22px; }
  .stage { position: relative; top: auto; }
  .chapters { display: block; padding: 0; min-height: 180px; }
  .chapter { display: none; }
  .chapter.is-active { display: block; opacity: 1; animation: chapter-in 0.45s ease; }
  .chapter h3 { font-size: 36px; margin-bottom: 8px; }
  .chapter p { max-width: none; }
  .dayline { margin-bottom: 20px; }
  .dayline button { padding: 8px 12px; font-size: 14px; }
  .real { grid-template-columns: 1fr; gap: 24px; }
  .steps, .fund, .trio-grid { grid-template-columns: 1fr; }
  .guide { padding-top: 40px; }
  .guide table { font-size: 14px; display: block; overflow-x: auto; }
  .fund { gap: 24px; padding: 24px; }
  .oneline { padding: 20px; }
  .oneline-cmd { padding-left: 14px; }
  .oneline-cmd code { font-size: 13px; }
  .final { margin: 24px -16px 0; border-radius: 24px; padding: 100px 16px 110px; }
  .footer { flex-direction: column; gap: 8px; padding: 24px 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .stage[data-hour="0800"] .slots i { background: #FFE169; color: #3a3010; border-color: transparent; }
}
