/* Banana Split: studio site styles.
   Dark by default; the header toggle switches to light (saved in the browser).
   Sections: fonts · tokens · base · type · buttons · header · motion · home · app pages ·
   legal · support · footer · responsive · phone mockups */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("/assets/fonts/caveat-700.woff2") format("woff2"); }
@font-face { font-family: "Patrick Hand"; font-weight: 400; font-display: swap; src: url("/assets/fonts/patrick-hand.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #0e0e0d;
  --surface: #161614;
  --surface-2: #1f1f1c;
  --ink: #f3f1ea;
  --ink-2: #bcb8ad;
  --ink-3: #8a867c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --em: #ffd43b;
  --banana: #ffd43b;
  --on-banana: #1a1503;
  --glow: rgba(255, 212, 59, 0.09);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.6);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --r: 20px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f6f1;
  --surface: #ffffff;
  --surface-2: #f0eee7;
  --ink: #15140f;
  --ink-2: #55524a;
  --ink-3: #85817a;
  --line: rgba(20, 19, 15, 0.09);
  --line-2: rgba(20, 19, 15, 0.17);
  --em: #a87a00;
  --glow: rgba(255, 212, 59, 0.22);
  --shadow: 0 1px 2px rgba(20, 19, 15, 0.04), 0 20px 40px -28px rgba(20, 19, 15, 0.25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--banana); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--banana); color: var(--on-banana); }
.i { width: 18px; height: 18px; flex: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--banana); color: var(--on-banana); font-weight: 600; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, .display-sm, .h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.display { font-size: clamp(44px, 7vw, 80px); line-height: 1.02; }
.display-sm { font-size: clamp(40px, 5.5vw, 58px); line-height: 1.05; }
.h2 { font-size: clamp(30px, 3.8vw, 42px); line-height: 1.1; }
.display em, .display-sm em, .h2 em { font-style: italic; color: var(--em); }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease), filter 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--banana); color: var(--on-banana); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-store { background: var(--ink); color: var(--bg); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.soon { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--banana); box-shadow: 0 0 0 4px var(--glow); }
.store-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pill { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 8px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.theme-toggle {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  color: var(--ink-2); transition: color 0.2s, background-color 0.2s;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--ink); background: var(--surface-2); }
.theme-toggle .i-moon, :root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }

.menu { display: none; position: relative; }
.menu summary { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu .i-close, .menu[open] .i-open { display: none; }
.menu[open] .i-close { display: block; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(300px, calc(100vw - 32px));
  padding: 8px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.menu-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.menu-panel a:hover { background: var(--surface-2); }
.menu-panel img { border-radius: 8px; }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

/* ---------- Motion ----------
   Without JavaScript everything is visible. site.js adds .js to <html> and .in on scroll. */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.hero-home { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(72px, 12vw, 128px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-home .display { max-width: 12em; margin: 18px 0 20px; }
.hero-home .lede { margin-bottom: 32px; }
.hero-home .actions { justify-content: center; }

.section { padding: clamp(40px, 6vw, 64px) 0; }
.section-head { margin-bottom: 28px; }
.section-head .muted { margin-top: 8px; font-size: 17px; }
.section-head.center, .section-head:has(> .center) { text-align: center; }

.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.app-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.35s var(--ease);
}
.app-card::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -50%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent); }
.app-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-icon { border-radius: 23%; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.app-card h3 { margin-top: 22px; font-size: 22px; }
.app-card-tagline { font: italic 400 23px/1.25 var(--serif); margin: 4px 0 10px; }
.app-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; }
.link .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.app-card:hover .link .i { transform: translateX(3px); }

.values, .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value, .feature { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.value h3, .feature h3 { margin: 16px 0 6px; font-size: 17px; }
.value .muted, .feature .muted { font-size: 15px; }
.value-icon, .step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--em); }
.step-n { font: 400 22px/1 var(--serif); }

.contact-strip, .contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 32px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
}
.contact-strip .muted { margin-top: 6px; }

/* ---------- App pages ---------- */
.app-hero::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); }
.app-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(32px, 5vw, 56px); }
.app-id { display: flex; align-items: center; gap: 14px; }
.app-id-name { font-size: 18px; font-weight: 650; }
.app-id .muted { font-size: 14.5px; }
.app-hero-copy .display { font-size: clamp(42px, 6vw, 70px); margin: 26px 0 18px; }
.app-hero-copy .lede { margin-bottom: 28px; }
.app-hero-art { display: flex; justify-content: center; }
.app-hero-art .phone { --w: clamp(230px, 24vw, 280px); }

.library { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shelf { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.shelf h3 { font-size: 15px; margin-bottom: 6px; }
.shelf .muted { font-size: 14px; line-height: 1.7; }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; }
.plan { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.plan-pro { border-color: color-mix(in srgb, var(--banana) 45%, transparent); }
.plan h3 { font: 400 30px/1.1 var(--serif); margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 10px; margin: 10px 0; color: var(--ink-2); font-size: 15px; }
.ticks .i { color: var(--em); margin-top: 3px; }
.fine { margin-top: 18px; max-width: 820px; font-size: 13.5px; color: var(--ink-3); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }

.note { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent, var(--banana)); }
.note h2 { font-size: 20px; margin-bottom: 8px; }
.more { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.more a { color: var(--ink); font-weight: 550; }
.more a:hover { color: var(--em); }

/* ---------- Legal ---------- */
.page-head { padding: clamp(56px, 9vw, 96px) 0 28px; }
.page-head .display-sm { margin-top: 12px; }
.page-head .lede { margin-top: 14px; }
.meta { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

.contents { margin-bottom: 40px; padding: 22px 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.contents-title { margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.contents ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 22px; font-size: 14.5px; }
.contents li { margin: 5px 0; break-inside: avoid; color: var(--ink-3); }
.contents a { color: var(--ink-2); }
.contents a:hover { color: var(--ink); }

.prose { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); padding-bottom: 24px; }
.prose .intro { font-size: 17.5px; }
.prose h2 { margin: 48px 0 12px; font-size: 22px; color: var(--ink); scroll-margin-top: 88px; }
.prose h2:target { color: var(--em); }
.prose h3 { margin: 26px 0 8px; font-size: 17px; color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--ink-3); }
.prose ul ul { margin: 6px 0 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--banana); }
.prose .caps { text-transform: uppercase; font-size: 14px; letter-spacing: 0.01em; line-height: 1.65; }
.summary { margin: 28px 0 8px; padding: 22px 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--banana); }
.prose .summary h2 { margin: 0 0 8px; font-size: 17px; }
.summary ul { margin: 0; }

/* ---------- Support ---------- */
.contact-card { margin-bottom: 16px; }
.contact-card h2 { font-size: 20px; margin-bottom: 6px; }
.contact-card .muted { max-width: 30em; }
.faq-title { margin: 40px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 550; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--em); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 44em; }
.faq a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.wrap.narrow .h2.center { margin-bottom: 24px; }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 12px 0 8px; color: var(--ink-3); }
.footer-brand > a:last-child { color: var(--ink-2); }
.footer-brand > a:last-child:hover { color: var(--ink); }
.footer-title { margin-bottom: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 8px 0; }
.footer li a { color: var(--ink-2); }
.footer li a:hover { color: var(--ink); }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .library { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-end { margin-left: auto; }
  .menu { display: block; }
  .app-grid, .values, .features, .plans { grid-template-columns: 1fr; }
  .app-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .app-hero-art .phone { --w: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .library { grid-template-columns: 1fr 1fr; }
  .contents ol { columns: 1; }
  .app-card, .contact-strip, .contact-card, .plan { padding: 22px; }
  .contact-strip .btn, .contact-card .btn { width: 100%; }
  .prose { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Phone mockups ----------
   Everything inside a screen is sized in container units (cqi), so the mock scales with --w. */
.phone {
  --w: 280px;
  width: var(--w);
  aspect-ratio: 9 / 19.2;
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(150deg, #3a3a3e 0%, #121214 22%, #0a0a0b 60%, #2a2a2e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 calc(var(--w) * 0.012) #050506,
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 40px 80px -30px rgba(40, 28, 5, 0.5),
    0 70px 120px -50px rgba(40, 28, 5, 0.45);
}
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.132);
  container-type: inline-size;
  display: flex; flex-direction: column;
}
.screen::before { content: ""; position: absolute; z-index: 9; top: 3.4cqi; left: 50%; width: 30cqi; height: 9cqi; border-radius: 99px; background: #000; transform: translateX(-50%); }
.status { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 15.5cqi; padding: 1cqi 8.5cqi 0 10.5cqi; font: 650 4.9cqi/1 var(--sans); letter-spacing: -0.01em; flex: none; }
.status-r { display: flex; gap: 1.6cqi; align-items: center; }
.sig { width: 5.4cqi; height: 3.6cqi; background: linear-gradient(90deg, currentColor 0 18%, transparent 0 27%, currentColor 0 45%, transparent 0 54%, currentColor 0 72%, transparent 0 81%, currentColor 0); clip-path: polygon(0 75%, 18% 75%, 18% 100%, 0 100%, 0 75%, 27% 50%, 45% 50%, 45% 100%, 27% 100%, 27% 50%, 54% 25%, 72% 25%, 72% 100%, 54% 100%, 54% 25%, 81% 0, 100% 0, 100% 100%, 81% 100%); }
.bat { width: 7.4cqi; height: 3.6cqi; border-radius: 1.1cqi; border: 0.35cqi solid color-mix(in srgb, currentColor 45%, transparent); position: relative; }
.bat::after { content: ""; position: absolute; inset: 0.45cqi; right: 1.8cqi; border-radius: 0.5cqi; background: currentColor; }

/* little hush screen */
.hush { background: #0e0d1b; color: #fff; }
.hush-sky { position: absolute; inset: 0 0 34% 0; background: url("/assets/img/hush-night.webp") 80% 0 / auto 66% no-repeat; }
.hush-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 13, 27, 0.2) 0%, rgba(14, 13, 27, 0) 30%, rgba(14, 13, 27, 0.55) 70%, #0e0d1b 100%); }
.hush > :not(.hush-sky) { position: relative; z-index: 1; }
.hush-top { padding: 2cqi 9cqi 0; }
.hush-top small { display: block; font-size: 4cqi; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.hush-top strong { display: block; font: 400 10.5cqi/1 var(--serif); letter-spacing: -0.02em; margin-top: 1cqi; }
.hush-orb { position: relative; width: 44cqi; aspect-ratio: 1; margin: 12cqi auto 9cqi; }
.hush-orb span { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0%, #e8e3ff 14%, #a99ef0 40%, #6a5cc4 70%, #3b3380 100%); box-shadow: 0 0 10cqi 1cqi rgba(160, 145, 255, 0.55), inset -3cqi -4cqi 8cqi rgba(30, 20, 90, 0.5); animation: breathe 6s var(--ease-in-out) infinite; }
.hush-orb i { position: absolute; inset: 0; border-radius: 50%; border: 0.4cqi solid rgba(190, 180, 255, 0.5); animation: ripple 6s var(--ease) infinite; }
.hush-orb i + i { animation-delay: -3s; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.75); opacity: 0; } }
.hush-now { text-align: center; }
.hush-now small { display: block; font-size: 3.8cqi; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.hush-now strong { display: block; font: 400 8.6cqi/1.1 var(--serif); margin-top: 1.6cqi; }
.eq { display: inline-flex; gap: 1cqi; align-items: flex-end; height: 5cqi; margin-top: 2.6cqi; }
.eq i { width: 1cqi; height: 100%; border-radius: 1cqi; background: #b8adff; transform-origin: bottom; animation: eq 1.2s var(--ease-in-out) infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; } .eq i:nth-child(4) { animation-delay: -0.9s; } .eq i:nth-child(5) { animation-delay: -0.45s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.hush-progress { height: 1.1cqi; margin: 6cqi 9cqi 0; border-radius: 1cqi; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.hush-progress i { display: block; height: 100%; width: 42%; border-radius: inherit; background: linear-gradient(90deg, #8d80e0, #cfc8ff); animation: grow 30s linear infinite; }
@keyframes grow { from { width: 30%; } to { width: 70%; } }
.hush-times { display: flex; justify-content: space-between; margin: 2cqi 9cqi 0; font-size: 3.4cqi; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.hush-controls { display: flex; justify-content: center; align-items: center; gap: 8cqi; margin-top: 6cqi; }
.hush-controls span { display: grid; place-items: center; width: 12cqi; height: 12cqi; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.hush-controls span .i { width: 5.4cqi; height: 5.4cqi; }
.hush-controls .big { width: 19cqi; height: 19cqi; background: #fff; color: #1d1a3a; box-shadow: 0 0 8cqi rgba(170, 155, 255, 0.5); }
.hush-controls .big .i { width: 7.5cqi; height: 7.5cqi; }
.hush-chips { display: flex; gap: 2cqi; margin-top: auto; padding: 0 5cqi 8cqi; overflow: hidden; }
.hush-chips span { flex: none; padding: 2.4cqi 4cqi; border-radius: 99px; font-size: 3.6cqi; font-weight: 550; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 0.3cqi rgba(255, 255, 255, 0.1); }
.hush-chips .on { background: #cfc8ff; color: #1d1a3a; }

/* Linkwords screen: sketchbook paper, highlighter yellow, handwritten tiles. */
.lw {
  --ink-lw: #2b2b2b;
  background:
    radial-gradient(circle, rgba(43, 43, 43, 0.09) calc(var(--w) * 0.0032), transparent calc(var(--w) * 0.0045)) 0 0 / calc(var(--w) * 0.048) calc(var(--w) * 0.048),
    #fbf8f2;
  color: var(--ink-lw);
  font-family: var(--hand);
}
.lw-head { display: flex; align-items: center; justify-content: space-between; padding: 3cqi 7cqi 0; }
.lw-head strong { font: 700 11.5cqi/1 "Caveat", var(--hand); letter-spacing: -0.01em; }
.lw-streak { display: inline-flex; align-items: center; gap: 1cqi; font-size: 5cqi; padding: 1.2cqi 3cqi; border-radius: 99px; background: #fff; box-shadow: 0 0 0 0.35cqi var(--ink-lw); }
.lw-streak .i { width: 4.4cqi; height: 4.4cqi; color: #fa5252; }
.lw-sub { margin: 1.4cqi 7cqi 0; font-size: 4.3cqi; color: #6b6b6b; }
.lw-sizes { display: flex; gap: 1.6cqi; margin: 4cqi 7cqi 6cqi; }
.lw-sizes i { display: grid; place-items: center; width: 7cqi; height: 7cqi; border-radius: 50%; font-style: normal; font-size: 3.8cqi; box-shadow: inset 0 0 0 0.35cqi var(--ink-lw); background: #fff; }
.lw-sizes i.done { background: #8fd19e; }
.lw-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.2cqi 1.8cqi; padding: 0 5cqi; }
.lw-board > span {
  display: grid; place-items: center;
  height: 16cqi;
  border-radius: 2.2cqi;
  background: #fffdf7;
  box-shadow: inset 0 0 0 0.4cqi var(--ink-lw), 0 0.7cqi 0 var(--ink-lw);
  font-size: 3.7cqi; text-transform: uppercase; letter-spacing: 0.01em;
  transform: rotate(var(--r, 0deg));
}
.lw-board > span.sel { animation: pick 7s var(--ease) infinite; animation-delay: calc(var(--n, 1) * 0.45s); }
.lw-board > span[data-n="1"] { --n: 1; } .lw-board > span[data-n="2"] { --n: 2; } .lw-board > span[data-n="3"] { --n: 3; } .lw-board > span[data-n="4"] { --n: 4; }
@keyframes pick {
  0%, 6% { background: #fffdf7; transform: rotate(var(--r)) translateY(0); }
  9%, 74% { background: #ffe066; transform: rotate(var(--r)) translateY(-0.5cqi); }
  80%, 100% { background: #fffdf7; transform: rotate(var(--r)) translateY(0); }
}
.lw-solved {
  grid-column: 1 / -1;
  display: grid; justify-items: center; gap: 0.6cqi;
  padding: 3.4cqi 2cqi;
  border-radius: 2.6cqi;
  background: #eaf7ee;
  box-shadow: inset 0 0 0 0.4cqi var(--ink-lw), 0 0.7cqi 0 var(--ink-lw);
  transform: rotate(-0.6deg);
}
.lw-solved strong { font-size: 4.2cqi; text-transform: uppercase; letter-spacing: 0.04em; }
.lw-solved span { font-size: 3.4cqi; text-transform: uppercase; color: #3d3d3d; }
.lw-mistakes { display: flex; align-items: center; gap: 1.8cqi; margin: auto 7cqi 0; font-size: 4cqi; color: #555; }
.lw-mistakes span { margin-right: auto; }
.lw-mistakes i { width: 3.4cqi; height: 3.4cqi; border-radius: 50%; background: #495057; }
.lw-mistakes i.used { background: #adb5bd; }
.lw-actions { display: flex; gap: 2cqi; margin: 5cqi 5cqi 9cqi; }
.lw-actions span { flex: 1; text-align: center; padding: 2.8cqi 0; border-radius: 99px; font-size: 4.2cqi; background: #fffdf7; box-shadow: inset 0 0 0 0.4cqi var(--ink-lw), 0 0.7cqi 0 var(--ink-lw); }
.lw-actions .go { background: #ffc9c9; }

