:root {
  --bg-top: #050d26;
  --bg-bottom: #00000d;
  --accent: #66ccff;
  --accent-2: #3399e6;
  --accent-rgb: 102, 204, 255;
  --accent-2-rgb: 51, 153, 230;
  --star-rgb: 179, 217, 255;
  --ink: #f2f5ff;
  --soft: #cdd6ea;
  --muted: #93a0ba;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(170, 205, 255, 0.14);
  --teal: #5ae6be;
  --yellow: #ffe04a;
  --orange: #ff9f43;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --r: 24px;
}
.theme-violet, .app--violet { --accent: #bf73ff; --accent-2: #8c40d9; --accent-rgb: 191, 115, 255; --accent-2-rgb: 140, 64, 217; }
.theme-violet { --bg-top: #140526; --bg-bottom: #080014; --star-rgb: 230, 204, 255; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-bottom); }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 70%, #000 140%);
}
.ripples { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 5; pointer-events: none; }
.sky { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; }

a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.4em; font-weight: 800; }
h1 { font-size: clamp(42px, 7.2vw, 76px); }
h2 { font-size: clamp(28px, 3.8vw, 42px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); letter-spacing: 0.06em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--soft); max-width: 34em; }
.sub { color: var(--muted); max-width: 36em; }
.fine { font-size: 14px; color: var(--muted); }
.text-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.text-link:hover { text-decoration: underline; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--ink); color: var(--bg-top); padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(3, 7, 22, 0.66); border-bottom: 1px solid var(--line); }
.theme-violet .nav { background: rgba(12, 3, 24, 0.66); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.nav-right { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.nav-links { display: flex; gap: clamp(12px, 2.2vw, 26px); font-size: 15px; }
.nav-links a, .nav-menu-panel a { text-decoration: none; color: var(--soft); }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; }
.nav-links a[aria-current] { box-shadow: 0 2px 0 var(--accent); }
.nav-cta { min-height: 42px; padding: 10px 24px; margin-left: 8px; font-size: 15px; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span, .nav-menu summary span::before, .nav-menu summary span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.nav-menu summary span::before { position: absolute; top: -6px; }
.nav-menu summary span::after { position: absolute; top: 6px; }
.nav-menu-panel { position: absolute; right: 0; top: 50px; min-width: 210px; display: grid; gap: 4px; padding: 12px; border-radius: 18px; background: #070d24; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6); }
.nav-menu-panel a { padding: 10px 12px; border-radius: 10px; }
.nav-menu-panel a:hover { background: rgba(255, 255, 255, 0.06); }

.hero { padding: clamp(28px, 4.5vw, 56px) 0 clamp(24px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero--plain .hero-grid { align-items: start; }
.hero--page { padding: clamp(60px, 12vw, 140px) 0; text-align: center; }
.hero--page h1 { font-size: clamp(26px, 5vw, 44px); color: var(--accent); }
.hero--page .lead { margin: 0 auto 1.4em; }
.hero-copy { min-width: 0; }
.hero h1 { margin-bottom: 0.12em; }
.hero--plain h1 { font-size: clamp(36px, 5.2vw, 58px); margin-bottom: 0.3em; }
.hero--home h1 { font-size: clamp(40px, 6.2vw, 68px); margin-bottom: 0.28em; }
.hero--home .lead { margin-bottom: 0; color: var(--muted); }
.drift { will-change: transform; }
.hero-stage { position: relative; display: flex; justify-content: center; padding-top: 12px; }
.hero-glow { position: absolute; inset: 4% -8% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.08) 60%, transparent); pointer-events: none; }
.hero--plain .hero-stage::before { content: ""; position: absolute; inset: 6% -6% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.24), rgba(var(--accent-rgb), 0.06) 62%, transparent); pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 20px 0 0; }
.cta-row .fine { margin: 0; }
.badge { display: inline-block; line-height: 0; transition: transform 0.15s ease; }
.badge:hover { transform: translateY(-2px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }

.phone { --w: clamp(230px, 21vw, 292px); --tilt: -4deg; width: var(--w); margin: 0; position: relative; z-index: 1; transform: rotate(var(--tilt)); filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.6)); }
.phone--flat { --tilt: 0deg; --w: clamp(210px, 20vw, 268px); }
.phone-body { background: #05070c; border-radius: calc(var(--w) * 0.17); padding: calc(var(--w) * 0.035); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18); }
.phone-screen { position: relative; border-radius: calc(var(--w) * 0.14); overflow: hidden; background: #000; }
.phone-screen::after { content: ""; position: absolute; top: calc(var(--w) * 0.028); left: 50%; transform: translateX(-50%); width: calc(var(--w) * 0.31); height: calc(var(--w) * 0.09); background: #000; border-radius: 999px; z-index: 2; }
.phone-screen img { width: 100%; display: block; }
.phone-screen--cycle img + img { position: absolute; inset: 0; opacity: 0; animation: screen-cycle 24s linear infinite; }
.phone-screen--cycle img:nth-child(2) { animation-delay: 4s; }
.phone-screen--cycle img:nth-child(3) { animation-delay: 8s; }
.phone-screen--cycle img:nth-child(4) { animation-delay: 12s; }
.phone-screen--cycle img:nth-child(5) { animation-delay: 16s; }
.phone-screen--cycle img:nth-child(6) { animation-delay: 20s; }
@keyframes screen-cycle { 0% { opacity: 0; } 3% { opacity: 1; } 16.6% { opacity: 1; } 19.6% { opacity: 0; } 100% { opacity: 0; } }


.section { padding: clamp(40px, 7vw, 88px) 0; }

.btn { appearance: none; border: 1px solid transparent; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; }
.btn-primary { background: linear-gradient(135deg, rgb(var(--accent-rgb)), var(--accent-2)); color: #03101f; min-width: 104px; }
.btn-primary:hover { filter: brightness(1.08); }

.app { position: relative; display: grid; gap: 12px; margin-top: 22px; padding: clamp(14px, 2.2vw, 20px); border-radius: 34px; border: 1px solid rgba(var(--accent-rgb), 0.2); background: radial-gradient(110% 70% at 50% 108%, rgba(var(--accent-rgb), 0.2), transparent 64%), linear-gradient(180deg, rgba(6, 13, 40, 0.86), rgba(0, 1, 13, 0.9)); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.app--violet { background: radial-gradient(110% 70% at 78% 60%, rgba(var(--accent-rgb), 0.26), transparent 64%), linear-gradient(180deg, rgba(22, 6, 40, 0.88), rgba(8, 0, 20, 0.92)); }
.app--compact { margin-top: 22px; gap: 10px; padding: 12px; border-radius: 30px; max-width: 30em; }

.msg { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 84px; padding: 14px 16px; border-radius: 20px; background: rgba(46, 50, 66, 0.42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(var(--accent-rgb), 0.24); box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.1); }
.app--compact .msg { min-height: 74px; padding: 9px 10px 9px 12px; }
.msg-letters { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 32px; min-width: 0; }
.msg-letters .word { display: flex; flex-wrap: wrap; gap: 8px; }
.ltr { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 1.6em; padding: 4px 6px; border-radius: 8px; }
.ltr b { font-family: var(--rounded); font-size: 24px; font-weight: 700; line-height: 1; color: #fff; }
.ltr i { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1.2; color: var(--accent); white-space: nowrap; }
.ltr.is-now { background: rgba(var(--accent-rgb), 0.6); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5); }
.ltr.is-now i { color: rgba(255, 255, 255, 0.9); }
.msg-hint { color: var(--muted); font-size: 15px; }
.msg-ok { align-self: center; padding: 4px 12px; border-radius: 999px; background: rgba(90, 230, 190, 0.14); color: var(--teal); font-size: 13px; font-weight: 700; white-space: nowrap; }
.round { flex: none; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(var(--accent-rgb), 0.16); color: var(--accent); cursor: pointer; }
.round:hover { background: rgba(var(--accent-rgb), 0.26); }
.round svg { width: 26px; height: 26px; fill: currentColor; }
.round--small { width: 44px; height: 44px; background: rgba(var(--accent-rgb), 0.1); color: rgba(var(--accent-rgb), 0.7); }
.round--small svg { width: 22px; height: 22px; }

.type { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--muted); cursor: text; }
.type:focus-within { border-color: rgba(var(--accent-rgb), 0.75); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.16); }
.type svg { flex: none; width: 24px; height: 24px; }
.type input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 18px; }
.type input::placeholder { color: var(--muted); }
.app--compact .type { min-height: 46px; }

.orb-stage { position: relative; display: grid; justify-items: center; gap: 10px; padding: 16px 0 10px; }
.signal .orb-stage { padding: 10px 0 8px; }
.signal .orb-stage .orb { --d: 88px; }
.orb { --d: 100px; position: relative; flex: none; display: block; width: var(--d); height: var(--d); padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; background: radial-gradient(circle, #fff 0, rgba(255, 255, 255, 0.9) 5px, rgba(255, 255, 255, 0) 13px), radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(var(--accent-rgb), 0.8) 50%, rgba(var(--accent-rgb), 0.4) 100%); box-shadow: 0 0 30px 6px rgba(var(--accent-rgb), 0.36), 0 0 100px 34px rgba(var(--accent-rgb), 0.15); transition: filter 0.08s linear; }
.orb:hover { filter: brightness(1.08); }
.orb--mini { --d: 56px; box-shadow: 0 0 22px 2px rgba(var(--accent-rgb), 0.45); }
.is-playing .orb { filter: brightness(0.5) saturate(0.85); }
.is-playing .orb.is-on { border-color: #fff; filter: brightness(1.15); }
.pad { position: relative; display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 216px; border-radius: 22px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-2-rgb), 0.03) 62%, transparent); }
.pad-rest { --d: 76px; pointer-events: none; animation: breathe 4.5s ease-in-out infinite alternate; transition: opacity 0.1s linear; }
.pad.is-down .pad-rest { opacity: 0; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05); } }
.fillring { --s: 30px; --fo: 0.6; --glow: 0.3; position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); pointer-events: none; background: radial-gradient(circle, #fff 0, rgba(255, 255, 255, 0.9) 5px, rgba(255, 255, 255, 0) 13px), radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(var(--accent-rgb), var(--fo)) 50%, rgba(var(--accent-rgb), calc(var(--fo) * 0.5)) 100%); box-shadow: 0 0 calc(var(--s) * 0.5) calc(var(--s) * 0.16) rgba(var(--accent-rgb), var(--glow)); }
.fillring.is-dash { border: 3px solid #fff; }
.orb-hint { margin: 0; font-size: 13px; color: var(--muted); }
.pattern { margin: 0; min-height: 1.5em; font-family: var(--mono); font-size: 22px; letter-spacing: 0.1em; color: var(--accent); }

.bar { display: flex; justify-content: space-around; gap: 2px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); }
.bar button { flex: 1; display: grid; justify-items: center; gap: 2px; min-height: 50px; padding: 6px 2px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 12px; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.bar button:hover { background: rgba(255, 255, 255, 0.07); }
.bar button[aria-pressed="false"] { color: var(--muted); }
.bar button[aria-pressed="false"] svg { opacity: 0.55; }
.bar svg { width: 22px; height: 22px; fill: currentColor; }
.ic-stop { display: none; }
.is-playing .ic-stop { display: inline; }
.is-playing .ic-play { display: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats b { display: block; font-family: var(--rounded); font-size: 23px; font-weight: 800; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stats div:nth-child(2) b, .stats div:nth-child(4) b { color: rgba(var(--accent-rgb), 0.72); }
.stats div:nth-child(3) b { color: rgba(var(--accent-rgb), 0.72); }
.stats div:nth-child(3) b.is-hot { color: var(--orange); }
.stats span { font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }
.lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(118px, 36%, 190px); align-items: stretch; gap: 12px clamp(10px, 2vw, 20px); padding: 2px 6px 0; }
.lesson .pad { min-height: 0; }
.ask-row { display: flex; align-items: center; gap: 14px; margin: 4px 0 10px; }
.lesson-ask { min-width: 0; }
.ask { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-family: var(--rounded); font-size: 15px; font-weight: 500; color: var(--muted); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.dots i.is-current { background: var(--accent); }
.dots i.is-done { background: var(--teal); }
.ask-letter { margin: 0; font-family: var(--rounded); font-size: clamp(54px, 7vw, 68px); font-weight: 700; line-height: 1; color: var(--accent); transition: text-shadow 0.06s linear; }
.lesson.is-sounding .ask-letter { text-shadow: 0 0 28px rgba(var(--accent-rgb), 0.85); }
.patternbox { display: grid; place-items: center; min-height: 58px; padding: 6px 12px; border-radius: 16px; background: rgba(var(--accent-rgb), 0.1); border: 1px solid transparent; font-family: var(--mono); font-size: 26px; font-weight: 500; color: var(--accent); white-space: pre; overflow: hidden; }
.box-hint { font-family: var(--rounded); font-size: 14px; font-weight: 500; color: var(--muted); white-space: normal; text-align: center; }
.patternbox.is-good { border-color: rgba(90, 230, 190, 0.6); color: var(--teal); }
.patternbox.is-bad { border-color: rgba(255, 160, 110, 0.6); color: #ffb48a; }
.pills { display: flex; gap: 10px; margin-top: 12px; }
.pill { appearance: none; min-height: 42px; padding: 10px 24px; border: 0; border-radius: 999px; background: rgba(var(--accent-rgb), 0.15); color: var(--accent); font-family: var(--rounded); font-size: 15px; font-weight: 600; cursor: pointer; }
.pill:disabled { opacity: 0.5; cursor: default; }
.pill--solid { background: var(--accent); color: var(--bg-top); }
.pill--solid:disabled { background: #8e8e93; opacity: 1; }
.pill:hover { filter: brightness(1.1); }
.status { margin: 0; min-height: 3em; padding: 0 6px; font-size: 15px; color: var(--soft); }
.status.is-good { color: var(--teal); font-weight: 700; }
.status.is-bad { color: #ffb48a; font-weight: 700; }

.phrases { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 26px; }
.phrases--small { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.phrase { display: block; text-decoration: none; padding: 16px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); transition: transform 0.15s ease, border-color 0.15s ease; }
.phrase:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.6); }
.phrase b { display: block; font-size: 18px; margin-bottom: 4px; }
.phrase span { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.08em; word-break: break-word; }

.faq { display: grid; gap: 10px; margin-top: 22px; }
.faq details { border-radius: 18px; background: var(--glass); border: 1px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--soft); margin: 0 0 16px; }

.prose h2 { margin-top: 1.6em; font-size: clamp(24px, 3vw, 32px); }
.prose h2[id] { scroll-margin-top: 88px; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 1.2em; display: grid; gap: 10px; }
.prose a:not(.badge):not(.tile):not(.phrase) { color: var(--accent); }
.breakdown { display: flex; flex-wrap: wrap; gap: 18px 26px; margin: 18px 0; }
.breakdown .word { display: flex; flex-wrap: wrap; gap: 8px; }
.tile { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 64px; padding: 10px 12px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: inherit; }
.tile b { font-size: 24px; line-height: 1; }
.tile span { font-family: var(--mono); font-size: 14px; color: var(--accent); letter-spacing: 0.1em; white-space: nowrap; }
.tile i { font-style: normal; font-size: 11px; color: var(--muted); }
.tile--play { cursor: pointer; transition: transform 0.1s ease, border-color 0.1s ease, background 0.06s linear; }
.tile--play:hover { border-color: rgba(var(--accent-rgb), 0.6); transform: translateY(-2px); }
.tile--play.is-on { background: rgba(var(--accent-rgb), 0.2); border-color: var(--accent); }
.tile--dim { opacity: 0.78; }
.chart { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin: 16px 0 34px; }
.chart--hero { grid-template-columns: repeat(6, 1fr); margin: 18px 0 0; }
.lookup { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 16px; }
.lookup th, .lookup td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.lookup thead th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.lookup td.mono { color: var(--accent); white-space: nowrap; }
.lookup tbody th { font-size: 20px; }

.section--tight { padding-top: clamp(8px, 2vw, 24px); }
.section--rows { padding: clamp(8px, 2vw, 24px) 0; }
.section-head { max-width: 40em; margin-bottom: 22px; }
.section-head p:not(.label) { color: var(--muted); margin: 0; }
.section-head--gap { margin-top: clamp(36px, 6vw, 64px); }
.after { margin-top: 22px; }
.notice { padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(255, 180, 138, 0.4); background: rgba(255, 180, 138, 0.08); color: #ffd9c2; margin: 0 0 28px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 42px); }
.trio article { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.glyph { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.34); box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.16); font-family: var(--mono); color: var(--accent); font-size: 15px; letter-spacing: 0.06em; white-space: nowrap; }
.trio h3 { margin-bottom: 4px; }
.trio p { margin: 0; color: var(--muted); font-size: 16px; }

.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); padding: clamp(28px, 4vw, 52px) 0; }
.row--flip .row-media { order: -1; }
.row h2 { margin-top: 4px; }
.row > div > p { color: var(--soft); max-width: 31em; }
.row-media { display: flex; justify-content: center; padding: clamp(20px, 3vw, 36px) 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.05) 62%, transparent); }
.row:nth-child(even) .row-media { --accent-rgb: 191, 115, 255; }

.list3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 42px); padding-top: 26px; border-top: 1px solid var(--line); }
.list3 h3 { margin-bottom: 6px; }
.list3 p { margin: 0; color: var(--muted); font-size: 16px; }
.list3 a { color: var(--accent); }
.list3--screens { border-top: 0; padding-top: 0; }
.screen-peek { display: flex; justify-content: center; height: 250px; margin-bottom: 18px; padding-top: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(80% 70% at 50% 0%, rgba(var(--accent-rgb), 0.22), rgba(6, 13, 40, 0.6)); }
.screen-peek--light { background: radial-gradient(80% 70% at 50% 0%, rgba(191, 115, 255, 0.24), rgba(6, 13, 40, 0.6)); }
.screen-peek img { align-self: flex-start; width: min(62%, 220px); height: auto; border: 6px solid #05070c; border-bottom: 0; border-radius: 30px 30px 0 0; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); }

.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool { display: block; text-decoration: none; padding: 18px 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); transition: transform 0.15s ease, border-color 0.15s ease; }
.tool:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.6); }
.tool b { display: block; font-size: 18px; margin-bottom: 4px; }
.tool span { color: var(--muted); font-size: 15px; }

.closing { position: relative; padding-top: clamp(28px, 5vw, 64px); }
.closing .wrap { position: relative; z-index: 1; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(24px, 4vw, 44px); border-radius: 34px; background: radial-gradient(90% 140% at 100% 0%, rgba(191, 115, 255, 0.22), transparent 60%), linear-gradient(135deg, rgba(51, 153, 230, 0.26), rgba(6, 13, 40, 0.7)); border: 1px solid rgba(var(--accent-rgb), 0.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--soft); }
.world { display: block; width: 100%; height: clamp(250px, 34vw, 520px); margin-top: clamp(-70px, -5vw, -24px); pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 84%, transparent 100%); }

.footer { position: relative; margin-top: clamp(-36px, -3vw, -14px); padding: 20px 0 28px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col a { color: var(--soft); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer .label { margin-bottom: 4px; }
.footer-brand .fine { margin: 10px 0 14px; }
.legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal a { color: var(--soft); }

@media (max-width: 900px) {
  .hero-grid, .row, .trio, .list3 { grid-template-columns: 1fr; }
  .row--flip .row-media, .row-media { order: 1; }
  .hero-stage { padding-top: 28px; }
  .hero-glow, .hero--plain .hero-stage::before { inset: 4% 0 0; }
  .phone { --w: clamp(210px, 52vw, 270px); }
  .tools { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .phone-screen--cycle img + img { animation: none; }
}
@media (max-width: 560px) {
  .tools { grid-template-columns: 1fr; }
  .chart--hero { grid-template-columns: repeat(4, 1fr); }
  .nav-cta { padding: 9px 18px; }
  .msg-letters { gap: 6px 20px; }
  .msg-letters .word { gap: 4px; }
  .ltr { padding: 4px 4px; min-width: 1.4em; }
  .ltr b { font-size: 21px; }
  .patternbox { font-size: 21px; }
  .bar { padding: 4px 6px; }
  .bar button { font-size: 11px; }
  .pill { padding: 10px 16px; }
  .stats b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .phone-screen--cycle img + img { animation: none; }
  body::before, .pad-rest { animation: none; }
}
