/* Career Tasting Town's homepage (chosen 3 Oct 2026 from seven looks): one dark background all the way
   down; the logo's own green (#2f7d6d) for buttons, rings and glows, with the logo's cream on the
   buttons; a brighter shade of it (--acc-text) for green words and icons, so they read on black.
   Satoshi throughout, dark glass cards. */
:root {
  --bg: #0b1018;
  --bg-2: #101722;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef1f5;
  --muted: #9aa6b5;
  --acc: #2f7d6d;
  --acc-text: #3dbf9f;
  --acc-ink: #fbf8f2;
  --acc-glow: rgba(47, 125, 109, 0.455);
  --mint: #a6e9d7;
  --wrap: 1180px;
  --font: 'Satoshi', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.hl { color: var(--acc-text); }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 2; vertical-align: -3px; }

main, .foot, .bar { position: relative; z-index: 1; }

/* the bar */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc(50% - var(--wrap) / 2 + 20px));
  background: rgba(11, 16, 24, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.bar-nav { margin-left: auto; display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.bar-nav a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-family: inherit; font-weight: 700; font-size: 16px;
  box-shadow: 0 0 0 1px rgba(47, 125, 109, 0.52), 0 8px 30px var(--acc-glow); transition: transform 0.15s ease, box-shadow 0.2s ease; border: 0; cursor: pointer; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(47, 125, 109, 0.78), 0 10px 40px rgba(47, 125, 109, 0.65); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }

/* 1. the top */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(47, 125, 109, 0.117), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  background-blend-mode: normal; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 16, 24, 0.2), var(--bg) 96%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 72px 24px 80px; display: grid; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: #d7dde6;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.6vw, 72px); max-width: 15ch; text-wrap: balance; }
.rot { display: block; color: var(--acc-text); white-space: nowrap; transition: opacity 0.18s ease, filter 0.18s ease; text-shadow: 0 0 40px rgba(47, 125, 109, 0.325); }
.rot.out { opacity: 0; filter: blur(6px); }
.hook { margin-top: 22px; max-width: 46ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; }
.hook b { color: var(--text); font-weight: 500; }
.ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.small { margin-top: 14px; font-size: 14px; color: #7f8a99; }

/* the town, in a glowing circle */
.orb-wrap { position: relative; width: min(520px, 86vw); aspect-ratio: 1; margin: 0 auto; }
.orb { position: absolute; inset: 13%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(47, 125, 109, 0.715), 0 0 60px rgba(47, 125, 109, 0.455), inset 0 0 40px rgba(0, 0, 0, 0.6); }
/* the video is the middle of the town film, cropped square at full size (9 Oct 2026): what the circle showed before, at a third of the bytes */
.orb video { width: 100%; height: 100%; object-fit: cover; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(47, 125, 109, 0.455); box-shadow: 0 0 24px rgba(47, 125, 109, 0.156), inset 0 0 24px rgba(47, 125, 109, 0.104); }
.r1 { inset: 7%; } .r2 { inset: 1%; border-color: rgba(47, 125, 109, 0.26); } .r3 { inset: -5%; border-color: rgba(47, 125, 109, 0.13); }
.chip { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--acc-text);
  background: rgba(20, 27, 38, 0.85); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); animation: float 6s ease-in-out infinite; }
.chip [data-lucide], .chip svg { width: 22px; height: 22px; }
.c1 { top: 6%; right: 16%; } .c2 { top: 40%; right: -2%; animation-delay: -1.5s; } .c3 { bottom: 8%; right: 22%; animation-delay: -3s; } .c4 { top: 30%; left: 0; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* sections */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 96px 24px; text-align: center; border-bottom: 1px solid var(--line); position: relative; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-text); }
.sec h2 { margin: 14px auto 0; font-size: clamp(30px, 3.8vw, 50px); max-width: 20ch; }
.how h2 { max-width: 24ch; }
.sub { margin: 16px auto 0; max-width: 54ch; color: var(--muted); font-size: 18px; }

/* 2. who's in town: a calm wall of names, one way */
.who { max-width: none; padding-left: 0; padding-right: 0; border-left: 0; }
.rows { margin: 44px 0 0; display: grid; gap: 12px; }
.row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; width: max-content; animation: slide 120s linear infinite reverse; }
.row:hover .track { animation-play-state: paused; }
.copy { display: flex; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pill { flex: none; margin-right: 12px; padding: 12px 20px; border-radius: 14px; white-space: nowrap; font-size: clamp(15px, 1.5vw, 18px); font-weight: 500; color: #dfe5ec;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.pill:hover { color: var(--acc-text); background: rgba(47, 125, 109, 0.078); box-shadow: inset 0 0 0 1px rgba(47, 125, 109, 0.585), 0 0 24px rgba(47, 125, 109, 0.195); }
.who .sub { margin-top: 34px; }

/* 3. how it works */
.how-grid { margin-top: 48px; display: grid; gap: 24px; text-align: left; align-items: stretch; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: center; }
.how-steps li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 18px; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px transparent; transition: background 0.25s ease, box-shadow 0.25s ease; }
.how-steps li.on { background: var(--card); box-shadow: inset 0 0 0 1px rgba(47, 125, 109, 0.52); }
.how-steps .n { font-weight: 700; color: #5d6878; font-size: 15px; padding-top: 2px; }
.how-steps li.on .n { color: var(--acc-text); }
.how-steps b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.how-steps li > div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.player { border-radius: 24px; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 80px rgba(47, 125, 109, 0.078); }
/* the room tabs above the demo: five real rooms */
.room-tabs { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.room-tabs-label { color: var(--muted); font-size: 15px; margin-right: 4px; }
.room-tabs button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; font: 600 15px/1.2 var(--font); color: #d9dfe7;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.2s ease, box-shadow 0.2s ease; }
.room-tabs button:hover, .room-tabs button:focus-visible { background: rgba(255, 255, 255, 0.08); }
.room-tabs button.on { color: var(--acc-ink); background: var(--acc); box-shadow: 0 0 22px rgba(47, 125, 109, 0.35); }
.room-tabs .more-tab { color: var(--acc-text); background: transparent; box-shadow: inset 0 0 0 1px rgba(61, 191, 159, 0.55); border: 0; }
.room-tabs .more-tab.on { color: var(--acc-ink); background: var(--acc); }
.tabs-wrap { position: relative; min-width: 0; }
.tabs-next { display: none; }
/* the "+ 305 more" wall */
.p-more[hidden], .p-pic[hidden], .p-body[hidden] { display: none; }
.p-more { display: flex; flex-direction: column; flex: 1; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: var(--bg); }
.mosaic figure { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 9px 6px; font-size: 12.5px; font-weight: 600; color: #f1f4f7;
  background: linear-gradient(180deg, transparent, rgba(11, 16, 24, 0.85)); }
.mosaic figure.swap { animation: swapin 0.7s ease both; }
@keyframes swapin { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.p-more-text { padding: 16px 24px 22px; }
.p-more-text .p-q { margin-top: 0; }
.p-more-text .p-after { margin-top: 6px; }
a.p-replay { text-decoration: none; }
.p-pic { position: relative; aspect-ratio: 16 / 7; background: var(--bg-2); }
.p-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 24, 0.55), transparent 35%, transparent 70%, rgba(11, 16, 24, 0.6)); pointer-events: none; }
.p-pic .player-top { position: absolute; left: 18px; top: 14px; z-index: 1; color: #e6eaf0; }
.p-body { flex: 1; display: flex; flex-direction: column; padding: 4px 26px 26px; }
.p-line.inner { color: #cfd6df; }
.p-reply { margin-top: 8px; font-size: 16.5px; line-height: 1.5; color: #e8ecf1; }
.player-top { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7f8a99; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 10px #ff5a5f; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.scene { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 18px; animation: rise 0.45s ease both; }
.scene[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.p-who { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.p-line { margin-top: 12px; font-size: clamp(20px, 2vw, 25px); line-height: 1.35; font-weight: 500; font-style: italic; letter-spacing: -0.01em; }
.p-next, .p-replay { all: unset; cursor: pointer; align-self: flex-start; margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--acc-text); }
.p-q { margin-top: 12px; font-size: clamp(20px, 2vw, 25px); line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--acc-text); }
.p-opts { margin-top: 16px; display: grid; gap: 8px; }
.p-opts button { all: unset; box-sizing: border-box; cursor: pointer; padding: 12px 15px; border-radius: 12px; font: 500 15.5px/1.4 var(--font); color: #e8ecf1;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.15s ease, background 0.15s ease; }
.p-opts button:hover:not(:disabled), .p-opts button:focus-visible { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.07); }
.p-opts button.picked { box-shadow: inset 0 0 0 1.5px var(--acc), 0 0 22px rgba(47, 125, 109, 0.234); background: rgba(47, 125, 109, 0.091); }
.p-opts button:disabled:not(.picked) { opacity: 0.35; cursor: default; }
.p-picked { font-size: 14px; color: #7f8a99; font-style: italic; }
.p-after { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: #9aa6b5; }
.bubble { max-width: 85%; margin-top: 10px; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.4; }
.bubble.you { align-self: flex-end; background: var(--acc); color: var(--acc-ink); font-weight: 500; border-bottom-right-radius: 4px; }
.bubble.them.said { font-style: normal; color: #e8ecf1; background: rgba(255, 255, 255, 0.09); }
.bubble.them { align-self: flex-start; background: rgba(255, 255, 255, 0.07); color: #aab4c1; font-style: italic; border-bottom-left-radius: 4px; display: flex; align-items: center; gap: 8px; }
.dots { display: inline-flex; gap: 3px; } .dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.4; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: 0.2s; } .dots i:nth-child(3) { animation-delay: 0.4s; }
.p-end { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.p-end .p-replay { margin-top: 0; align-self: center; }

/* 4. why: a bento of tiles */
.bento { margin-top: 48px; display: grid; gap: 14px; text-align: left; }
.tile { border-radius: 20px; padding: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.tile:hover { box-shadow: inset 0 0 0 1px rgba(47, 125, 109, 0.455); transform: translateY(-2px); }
.tile > [data-lucide], .tile > svg { width: 26px; height: 26px; color: var(--acc-text); }
.tile h3 { margin-top: 16px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
/* how the town was built: one strip, outlined in green, the numbers joined by arrows */
.funnel { margin-top: 14px; border-radius: 20px; padding: 22px 28px 26px; text-align: left;
  background: linear-gradient(90deg, rgba(47, 125, 109, 0.1), rgba(47, 125, 109, 0.03)); box-shadow: inset 0 0 0 1px rgba(47, 125, 109, 0.55); }
.funnel-label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-text); }
.funnel-row { margin-top: 14px; display: grid; gap: 14px; align-items: start; }
.step b { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--acc-text); text-shadow: 0 0 30px rgba(47, 125, 109, 0.325); }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--acc-text); justify-self: center;
  background: rgba(47, 125, 109, 0.18); box-shadow: inset 0 0 0 1px rgba(47, 125, 109, 0.6), 0 0 24px rgba(47, 125, 109, 0.3); }
.arrow svg { width: 20px; height: 20px; }
.hop { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hop small { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--acc-text); white-space: nowrap; }

/* 5. AI: four cards, a job title on top that keeps changing, the kind of work underneath that stays */
.eras { margin: 32px auto 0; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.eras button { all: unset; cursor: pointer; padding: 7px 16px; border-radius: 999px; font: 700 14px/1.2 var(--font); color: #7f8a99; transition: color 0.2s ease, background 0.2s ease; }
.eras button:hover { color: var(--text); }
.eras button.on { color: var(--acc-ink); background: var(--acc); box-shadow: 0 0 18px rgba(47, 125, 109, 0.45); }
.eras button:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 2px; }
.layers { margin: 16px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.layer { border-radius: 18px; overflow: hidden; display: grid; text-align: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.layer .title { display: grid; place-items: center; min-height: 64px; padding: 12px 14px; font-size: 15.5px; color: #c9d0da; transition: opacity 0.25s ease, transform 0.25s ease; }
.layer .title.out { opacity: 0; transform: translateY(-8px); }
.layer .title.future { color: #7f8a99; font-style: italic; }
.layer b { padding: 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--acc-text);
  background: rgba(47, 125, 109, 0.14); border-top: 1px solid rgba(47, 125, 109, 0.5); }
.ask { margin: 24px auto 0; max-width: 940px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 22px; text-align: left; font-size: 16px; color: var(--muted);
  background: rgba(47, 125, 109, 0.1); box-shadow: inset 0 0 0 1px rgba(47, 125, 109, 0.45); }
.ask b { color: var(--text); font-weight: 500; }
.ask svg { color: var(--acc-text); flex: none; }

/* 6. parents: the headline on the left, what parents want to know on the right */
.parents-grid { display: grid; gap: 36px; align-items: center; text-align: left; }
.parents h2, .parents .sub { margin-left: 0; }
.more { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--acc-text); }
.promises-label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.promises li { display: flex; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.promises svg { flex: none; width: 22px; height: 22px; color: var(--acc-text); margin-top: 1px; }
.promises b { display: block; font-size: 16.5px; font-weight: 700; }
.promises span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

/* 7. the end */
.finale { border-bottom: 0; }
.usual { list-style: none; margin: 22px auto 0; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.usual li { position: relative; padding: 10px 18px; border-radius: 999px; font-size: 16px; color: #c9d0da; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.4s ease, opacity 0.4s ease; }
.usual li::after { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; border-radius: 2px; background: rgba(229, 112, 122, 0.85);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s ease; }
.usual li.struck { color: #aab4c1; }
.usual li.struck::after { transform: scaleX(1); }
.menu { margin: 20px auto 0; max-width: 60ch; font-size: 18px; line-height: 1.5; color: var(--muted); }
.menu b { display: block; font-weight: 700; color: var(--text); }
.menu i { display: block; margin-top: 2px; }
.finale-card .pre { font-size: 18px; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.finale-card { max-width: 860px; margin: 32px auto 0; border-radius: 28px; padding: 44px 24px; position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 100%, rgba(47, 125, 109, 0.208), transparent 70%), var(--bg-2); box-shadow: inset 0 0 0 1px rgba(47, 125, 109, 0.39); }
.finale-card h2 { margin: 0 auto; font-size: clamp(40px, 5.5vw, 72px); }
.finale-card .btn { margin-top: 28px; }
/* a quiet line for families who can't pay (his call 8 Oct 2026): below the button, so the price stays firm */
.afford { max-width: 780px; margin: 16px auto 0; font-size: 14px; line-height: 1.55; color: #7f8a99; text-wrap: pretty; }
/* a short line between it and the button's note, so it reads as its own thing */
.afford::before { content: ''; display: block; width: 56px; height: 1px; margin: 0 auto 14px; background: rgba(47, 125, 109, 0.55); }
.afford .sig { white-space: nowrap; }
.afford a { color: #aab4c1; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(170, 180, 193, 0.4); }
.afford a:hover { color: var(--text); }

/* footer */
.foot { border-top: 1px solid var(--line); max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 40px; display: grid; gap: 12px; font-size: 14.5px; color: #7f8a99; }
.foot a:hover { color: var(--text); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* appear as you scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding: 88px 24px 100px; }
  .how-grid { grid-template-columns: 5fr 7fr; gap: 44px; align-items: center; margin-top: 0; }
  .how { text-align: left; padding-top: 64px; padding-bottom: 64px; }
  .how .how-grid { margin-top: 0; }
  .how h2 { margin-left: 0; font-size: clamp(32px, 3.3vw, 46px); max-width: 14ch; }
  .how .sub { margin-left: 0; font-size: 16.5px; }
  .how .room-tabs { justify-content: flex-start; margin-top: 22px; }
  .how .room-tabs-label { font-size: 14px; }
  .how .room-tabs button { padding: 8px 13px; font-size: 14px; }
  .how .how-steps { margin-top: 18px; gap: 4px; }
  .how .how-steps li { padding: 10px 14px; }
  .how .how-steps li > div > span { font-size: 14.5px; }
  .how .player { min-height: 0; }
  .how .p-pic { aspect-ratio: auto; height: clamp(150px, 31vh, 300px); }
  .how .p-pic { transition: height 0.4s ease; }
  .how .player.at3 .p-pic { height: clamp(90px, 15vh, 170px); }
  .how .p-body { padding: 0 24px 20px; }
  .how .scene { padding-top: 14px; }
  .how .p-line, .how .p-q { font-size: clamp(18px, 1.6vw, 22px); margin-top: 8px; }
  .how .p-opts { margin-top: 12px; gap: 6px; }
  .how .p-opts button { padding: 10px 14px; font-size: 15px; }
  .how .p-next { margin-top: 14px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .funnel-row { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 22px; }
  .funnel-row .hop { margin-top: calc(clamp(44px, 5vw, 64px) / 2 - 17px); }
  .layers { grid-template-columns: repeat(4, 1fr); }
  .parents-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .foot { grid-template-columns: auto 1fr; align-items: center; }
  .foot nav { justify-content: flex-end; }
}
@media (max-width: 899px) {
  .bar-nav { display: none; }
  .bar { gap: 12px; } .bar .btn { margin-left: auto; }
  .hero-grid { padding: 40px 20px 56px; }
  .orb-wrap { width: min(300px, 74vw); }
  .sec { padding: 72px 20px; }
  /* How it works on a phone: heading, then the rooms in one row you swipe, the three steps as a small
     strip, and the room right under them, so the steps read as the room's progress (27 Oct 2026) */
  .how-left { display: contents; }
  .how .how-grid { margin-top: 0; gap: 0; }
  .room-tabs { margin: 26px -20px 0; padding: 0 20px 4px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent); }
  .room-tabs::-webkit-scrollbar { display: none; }
  .room-tabs button { flex: none; padding: 8px 13px; font-size: 14px; }
  .room-tabs-label { flex: none; font-size: 14px; }
  /* the row goes on past the screen's edge, so a round arrow sits there to say so (and scrolls it);
     it goes once she reaches the end (29 Oct 2026) */
  .tabs-next { all: unset; display: grid; place-items: center; position: absolute; z-index: 1; right: -10px; bottom: 3px; width: 34px; height: 34px;
    border-radius: 999px; cursor: pointer; color: var(--text); background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line-2), -14px 0 16px 4px var(--bg); transition: opacity 0.2s ease; }
  .tabs-wrap.end .tabs-next { opacity: 0; pointer-events: none; }
  .how-steps { margin-top: 18px; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .how-steps li { flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 12px; }
  .how-steps li > div > span { display: none; }
  .how-steps .n { font-size: 12px; padding-top: 0; }
  .how-steps b { font-size: 13px; line-height: 1.25; letter-spacing: 0; }
  .player { min-height: 0; margin-top: 10px; }
  .p-body { padding: 0 18px 20px; }
  .p-pic { aspect-ratio: 16 / 8; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic figure:nth-child(n+7) { display: none; }
  .p-more-text { padding: 14px 18px 20px; }
  /* the three numbers side by side, smaller */
  .bento { gap: 10px; }
  .eras { flex-wrap: nowrap; gap: 2px; }
  .eras button { padding: 7px 10px; font-size: 13px; }
  .funnel { padding: 20px; }
  .step b { font-size: 40px; }
  .arrow { width: 36px; height: 36px; }
  .hop { flex-direction: row; justify-self: start; margin-left: 6px; gap: 10px; }
  .arrow svg { transform: rotate(90deg); }
}
@media (min-width: 900px) and (max-height: 820px) {
  .hero-grid { padding: 48px 24px 56px; }
  .hero h1 { font-size: clamp(36px, 4.8vw, 60px); }
  .orb-wrap { width: min(440px, 40vw); }
  .sec { padding: 56px 24px; }
  .how-grid, .bento { margin-top: 32px; }
  .player { min-height: 380px; }
  .p-pic { aspect-ratio: 16 / 5.5; }
  .how { padding-top: 28px; padding-bottom: 28px; }
  .how .how-steps li > div > span { display: none; }
  .how .how-steps li { padding: 8px 14px; }
  .how .p-pic { height: clamp(140px, 30vh, 260px); }
  .how .mosaic figure { aspect-ratio: 16 / 8; }
  .how .p-more-text { padding: 12px 22px 16px; }
  .how .bubble { margin-top: 6px; padding: 8px 12px; }
  .how .p-end { margin-top: 12px; }
  .how .p-after { margin-top: 8px; }
  .room-tabs { margin-top: 26px; }
  .how-steps li { padding: 14px 18px; }
  .tile { padding: 20px 22px; }
  .tile h3 { margin-top: 10px; }
  .step b { font-size: 52px; }
  .funnel { padding: 18px 26px 22px; }
  .funnel-row .hop { margin-top: 9px; }
  .finale-card { margin-top: 24px; padding: 28px 24px; }
  .finale-card h2 { font-size: 60px; }
  .finale-card .btn { margin-top: 22px; }
}
/* A shorter laptop screen still (his old Windows laptop, 4 Oct 2026: about 1366 x 625 once Chrome's
   bars and the taskbar are taken off): the top section's words and gaps shrink with the screen's
   height, so both buttons are on the first screen without scrolling. */
@media (min-width: 900px) and (max-height: 700px) {
  .hero-grid { padding: clamp(16px, 4.5vh, 48px) 24px clamp(20px, 5.4vh, 56px); gap: 32px; }
  .hero h1 { margin-top: clamp(10px, 2.6vh, 22px); font-size: clamp(30px, min(4.8vw, 8.4vh), 60px); }
  .hook { margin-top: clamp(10px, 2.6vh, 22px); font-size: 17px; line-height: 1.5; }
  .ctas { margin-top: clamp(14px, 3.6vh, 30px); }
  .hero .btn { padding: 12px 20px; }
  .hero .small { margin-top: 10px; }
  .orb-wrap { width: min(440px, 40vw, 62vh); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .chip, .rec, .dots i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* the side pages: who made it, refunds */
.page { position: relative; z-index: 1; min-height: calc(100vh - 160px); padding: 96px 24px; }
.narrow { max-width: 680px; margin: 0 auto; }
.page h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 56px); text-wrap: balance; }
.line { margin-top: 18px; font-size: 18px; color: var(--muted); line-height: 1.65; }
.line a { color: var(--acc-text); font-weight: 700; }
.line.muted { font-size: 15px; color: #7f8a99; }
.links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 22px; font-weight: 700; }
.links a { color: var(--acc-text); display: inline-flex; align-items: center; gap: 6px; }
.maker { display: grid; gap: 32px; align-items: start; }
.photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--acc-text);
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--acc), 0 0 40px rgba(47, 125, 109, 0.3); }
@media (min-width: 700px) { .maker { grid-template-columns: 140px 1fr; gap: 40px; } }
.line.strong { color: var(--text); font-weight: 700; text-wrap: balance; }
.links svg { width: 16px; height: 16px; }
.creds { list-style: none; margin: 22px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #d7dde6;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.creds svg { width: 16px; height: 16px; color: var(--acc-text); }
.maker h1 { font-size: clamp(32px, 4.2vw, 48px); white-space: nowrap; }
/* the call-back form (schools.html, contact.html; form.js) */
.points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.points li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #d7dde6;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.points svg { width: 17px; height: 17px; color: var(--acc-text); }
.form-title { margin-top: 40px; font-size: 26px; letter-spacing: -0.02em; }
.callback { margin-top: 16px; padding: 24px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.form-grid { display: grid; gap: 14px; }
.callback label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: #d7dde6; }
.callback .opt { color: #7f8a99; font-weight: 400; }
.callback input, .callback select, .callback textarea { font: 400 16px/1.4 var(--font); color: var(--text); padding: 11px 13px; border-radius: 12px; border: 0;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; width: 100%; }
.callback select option { color: #1f2328; }
.callback textarea { resize: vertical; }
.callback input:focus, .callback select:focus, .callback textarea:focus { box-shadow: inset 0 0 0 1.5px var(--acc-text); }
.callback .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-end { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-end .btn:disabled { opacity: 0.6; cursor: default; }
.form-note { font-size: 14px; color: #7f8a99; }
.form-note.bad { color: #f0a0a6; }
.form-done { display: none; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--muted); }
.form-done b { display: block; color: var(--text); }
.form-done a { color: var(--acc-text); font-weight: 700; }
.form-done svg { flex: none; width: 24px; height: 24px; color: var(--acc-text); }
.callback.sent .form-grid, .callback.sent .form-end { display: none; }
.callback.sent .form-done { display: flex; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .wide { grid-column: 1 / -1; } }
