/* Tryhard Solutions — studio site. Fonts are self-hosted, so the site makes no third-party requests. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/geist-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/geist-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;
  --paper: #F5F4F0;
  --surface: #FFFFFF;
  --surface-2: #FAF9F6;
  --ink: #151514;
  --ink-2: #4E4C47;
  --ink-3: #6B6862;
  --line: #E4E1D9;
  --line-2: #EEECE6;
  --accent: #FF5A2C;
  --accent-ink: #C8411A;
  --good: #2F9E5B;
  --shadow-sm: 0 1px 2px rgb(24 20 12 / .06), 0 2px 8px -3px rgb(24 20 12 / .08);
  --shadow-md: 0 1px 2px rgb(24 20 12 / .05), 0 14px 34px -16px rgb(24 20 12 / .24);
  --shadow-lg: 0 2px 4px rgb(24 20 12 / .05), 0 30px 64px -26px rgb(24 20 12 / .34);
  --radius: 28px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --aura-opacity: .26;
  --tint-mix: 11%;
  --tint-base: var(--surface-2);
  --deep-mix: 72%;
  --cloud: #fff;
  --cloud-opacity: .7;
  --advice: #2F8F5B;
}

/* Dark theme: follows the system, unless the visitor picked a theme with the switch (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0F0F0E;
    --surface: #191918;
    --surface-2: #1F1F1D;
    --ink: #F3F2ED;
    --ink-2: #BEBBB2;
    --ink-3: #95928A;
    --line: #2D2C29;
    --line-2: #262523;
    --accent: #FF6B3D;
    --accent-ink: #FF8A63;
    --good: #4CC27D;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4), 0 2px 8px -3px rgb(0 0 0 / .4);
    --shadow-md: 0 1px 2px rgb(0 0 0 / .4), 0 14px 34px -16px rgb(0 0 0 / .7);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 30px 64px -26px rgb(0 0 0 / .8);
    --aura-opacity: .2;
    --tint-mix: 14%;
    --tint-base: var(--surface);
    --deep-mix: 85%;
    --cloud: #3B4C5C;
    --cloud-opacity: .5;
    --advice: #5CC487;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0F0F0E;
  --surface: #191918;
  --surface-2: #1F1F1D;
  --ink: #F3F2ED;
  --ink-2: #BEBBB2;
  --ink-3: #95928A;
  --line: #2D2C29;
  --line-2: #262523;
  --accent: #FF6B3D;
  --accent-ink: #FF8A63;
  --good: #4CC27D;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4), 0 2px 8px -3px rgb(0 0 0 / .4);
  --shadow-md: 0 1px 2px rgb(0 0 0 / .4), 0 14px 34px -16px rgb(0 0 0 / .7);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 30px 64px -26px rgb(0 0 0 / .8);
  --aura-opacity: .2;
  --tint-mix: 14%;
  --tint-base: var(--surface);
  --deep-mix: 85%;
  --cloud: #3B4C5C;
  --cloud-opacity: .5;
  --advice: #5CC487;
}
:root[data-theme="light"] { color-scheme: light; }

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .container { padding-inline: 32px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3);
}

h1, h2, h3 { text-wrap: balance; }
h2 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: .98;
  font-weight: 640;
  letter-spacing: -0.05em;
}
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
h2 em { font-size: 1.06em; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 560; font-size: 15.5px; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: color-mix(in oklab, var(--ink) 32%, var(--line)); }
.btn:hover .i-down { transform: translateY(3px); }
.btn:hover .i-arrow { transform: translate(2px, -2px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; line-height: 1; }
.brand svg { width: 24px; height: 28px; flex: none; overflow: visible; }
.wordmark b { display: block; font-size: 21px; font-weight: 650; letter-spacing: -0.05em; }
.wordmark span { display: block; margin-top: 1px; font-size: 11.5px; letter-spacing: .02em; color: var(--ink-2); }
/* The flag on the T gives a small wave when you hover the logo. */
.mark-flag { transform-box: fill-box; transform-origin: 0 50%; }
.brand:hover .mark-flag { animation: wave .9s var(--ease); }
@keyframes wave { 30% { transform: skewY(-16deg) scaleX(.84); } 62% { transform: skewY(9deg); } }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 15px; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); color: var(--ink); }
.header-cta { margin-left: 4px; }
.tools { display: flex; align-items: center; gap: 8px; }
@media (max-width: 719px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
}
@media (max-width: 479px) { .header-cta { display: none; } }

.lang { display: flex; flex: none; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lang a {
  padding: 6px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; line-height: 1;
  color: var(--ink-3); text-decoration: none; transition: color .2s, background-color .2s;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* Theme switch: the knob sits on the sun in light mode and slides to the moon in dark mode. */
.theme-switch {
  position: relative; flex: none; width: 58px; height: 32px; padding: 0;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-3); cursor: pointer;
}
.theme-switch svg { position: absolute; top: 50%; z-index: 1; width: 16px; height: 16px; margin-top: -8px; transition: color .3s; }
.ts-sun { left: 7px; }
.ts-moon { right: 7px; }
.ts-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); transition: transform .4s var(--ease); }
.theme-switch[aria-checked="true"] .ts-knob { transform: translateX(26px); }
.theme-switch[aria-checked="false"] .ts-sun, .theme-switch[aria-checked="true"] .ts-moon { color: var(--paper); }
.theme-switch:focus-visible, .lang a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
html:not(.js) .theme-switch { display: none; }
/* Theme changes crossfade the page; the switch stays live so its knob visibly slides. */
.theme-switch { view-transition-name: theme-switch; }
::view-transition-old(theme-switch) { display: none; }
::view-transition-new(theme-switch) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

/* Logo mark colours (used in header, hero core, footer) */

/* ---------- Hero ---------- */

.hero { position: relative; overflow-x: clip; padding: clamp(36px, 6vw, 88px) 0 clamp(64px, 8vw, 120px); }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 30px; padding: 6px 14px 6px 11px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}
.pill i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--good) 20%, transparent);
}

h1 {
  margin: 0;
  font-size: clamp(50px, 8.6vw, 116px);
  line-height: .93;
  font-weight: 640;
  letter-spacing: -0.055em;
}
.try { position: relative; display: inline-block; white-space: nowrap; }
.try em { font-size: 1.1em; line-height: .8; padding-right: .03em; }
.swoosh {
  position: absolute; left: 0; bottom: -.1em;
  width: 100%; height: .3em; overflow: visible;
  color: var(--accent); pointer-events: none;
}
.swoosh path {
  fill: none; stroke: currentColor; stroke-width: .07em; stroke-linecap: round;
  /* Dash of 2 (pathLength is 1) so the line still reaches the end when the SVG is stretched wide. */
  stroke-dasharray: 2; stroke-dashoffset: 2;
  animation: draw 1.1s .45s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.lead { margin: 30px 0 0; max-width: 33em; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.55; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-meta { list-style: none; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px 36px; margin: 48px 0 0; padding: 0; font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 520px) { .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; font-size: 13px; } }
.hero-meta b { display: block; font-size: 30px; font-weight: 640; letter-spacing: -0.045em; line-height: 1.1; color: var(--ink); }

/* Orbit: the studio mark in the middle, the apps circling it. */
.hero-art { display: flex; justify-content: center; }
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; container-type: inline-size; }
.aura {
  position: absolute; inset: 20%; border-radius: 50%;
  background: conic-gradient(from 20deg, #6E9B5A, #3D9BD6, #9A5BE0, #F07446, #E9A800, #6E9B5A);
  filter: blur(52px); opacity: var(--aura-opacity);
  animation: spin 40s linear infinite;
}
.layer { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed color-mix(in oklab, var(--ink) 18%, transparent);
  animation: spin var(--dur) linear infinite;
}
.ring-outer { inset: 6%; --dur: 150s; }
.ring-inner { inset: 26%; --dur: 110s; animation-direction: reverse; }
.planet {
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  width: 15.5cqi; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  text-decoration: none; border-radius: 24%;
}
.ring-inner .planet { width: 13.5cqi; }
.planet-body { position: relative; display: block; width: 100%; height: 100%; animation: spin var(--dur) linear infinite reverse; }
.ring-inner .planet-body { animation-direction: normal; }
.planet img {
  width: 100%; height: 100%; border-radius: 23%;
  background: var(--surface); box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.planet:hover img, .planet:focus-visible img { transform: scale(1.14); box-shadow: var(--shadow-lg); }
.planet-label {
  position: absolute; left: 50%; top: calc(100% + 10px);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 560;
  opacity: 0; transform: translate(-50%, -4px); pointer-events: none;
  transition: opacity .2s, transform .3s var(--ease);
}
.planet:hover .planet-label, .planet:focus-visible .planet-label { opacity: 1; transform: translate(-50%, 0); }
.orbit:hover .ring, .orbit:hover .planet-body, .orbit:hover .aura,
.orbit:focus-within .ring, .orbit:focus-within .planet-body, .orbit:focus-within .aura { animation-play-state: paused; }
.core {
  position: absolute; left: 50%; top: 50%; width: 23cqi; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 24%;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 24px 48px -14px rgb(0 0 0 / .4);
}
.core svg { width: 47%; height: 54%; }
.orbit-hint { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); margin: 0; white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 10vw, 136px); }
.section-head { display: grid; gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4.5vw, 60px); }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.section-sub { margin: 0; max-width: 31em; font-size: 17.5px; color: var(--ink-2); }
.hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.hint svg { width: 15px; height: 15px; }

/* ---------- Bento of apps ---------- */

.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-steps, .t-pet, .t-kids { grid-column: span 2; }
}
@media (min-width: 1060px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .t-steps, .t-pet { grid-column: span 7; }
  .t-novo, .t-kids { grid-column: span 5; }
  .t-air, .t-habit, .t-jobs { grid-column: span 4; }
}

.tile {
  --tint: color-mix(in oklab, var(--app) var(--tint-mix), var(--tint-base));
  --app-deep: color-mix(in oklab, var(--app) var(--deep-mix), #000);
  position: relative; display: flex; flex-direction: column;
  padding: 10px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  scroll-margin-top: 92px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
@media (hover: hover) {
  .tile:hover {
    transform: translateY(-4px);
    border-color: color-mix(in oklab, var(--app) 38%, var(--line));
    box-shadow: 0 34px 64px -36px color-mix(in oklab, var(--app) 70%, transparent), var(--shadow-sm);
  }
  .tile:hover .tile-icon { transform: rotate(-7deg) scale(1.06); }
}
.tile.flash { animation: flash 1.8s var(--ease); }
@keyframes flash {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  25% { box-shadow: 0 0 0 7px color-mix(in oklab, var(--app) 45%, transparent); }
}

.tile-head { display: flex; align-items: center; gap: 14px; padding: 8px 10px 14px; }
.tile-icon { width: 52px; height: 52px; flex: none; border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease); }
.tile-title { min-width: 0; }
.tile-title h3 { margin: 0; font-size: 21px; font-weight: 640; letter-spacing: -0.03em; line-height: 1.15; }
.tile-title p { margin: 2px 0 0; font-size: 14px; color: var(--ink-3); }
.status {
  margin-left: auto; flex: none;
  padding: 5px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--ink-2);
  border: 1px solid var(--line);
}
.status.soon { border-color: transparent; background: color-mix(in oklab, var(--app) 22%, var(--surface)); color: var(--ink); }

.stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: 300px; padding: 30px 20px;
  border-radius: 20px; background: var(--tint);
  container-type: inline-size;
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(color-mix(in oklab, var(--app) 30%, transparent) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  opacity: .6;
}

.tile-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 12px 10px; }
.tile-copy { margin: 0; max-width: 40em; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.chips li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.tile-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 2px; }
.store-badge { display: inline-flex; flex: none; border-radius: 9px; transition: transform .2s var(--ease); }
.store-badge img { display: block; width: auto; height: 40px; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.textlink {
  padding: 10px 0; border: 0; background: none; cursor: pointer;
  font-size: 14.5px; font-weight: 520; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: color-mix(in oklab, var(--ink) 25%, transparent);
}
.textlink:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Shared widget pieces */
.wcard {
  position: relative;
  background: var(--surface); border-radius: 20px;
  border: 1px solid color-mix(in oklab, var(--ink) 7%, transparent);
  box-shadow: var(--shadow-md);
}
.w-label { margin: 0; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.w-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.check {
  position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--ink) 26%, transparent);
  transition: background-color .3s, border-color .3s, transform .35s var(--ease);
}
.check::after {
  content: ""; position: absolute; left: 6px; top: 6.5px; width: 8px; height: 4.5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease);
}
.on > .check { background: var(--app-deep); border-color: var(--app-deep); transform: scale(1.06); }
.on > .check::after { transform: rotate(-45deg) scale(1); }
.mono { font-family: var(--mono); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes pop { 50% { transform: scale(1.5); } }

/* --- Dino Steps --- */
.t-steps .stage { min-height: 430px; padding-top: 84px; }
.ds-island {
  position: absolute; top: 20px; left: 50%; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 32px); height: 38px; padding: 0 6px 0 12px;
  border-radius: 999px; background: #0B0B0B; color: #F2F2F2;
  border: 1px solid rgb(255 255 255 / .06);
  font-size: 13px; box-shadow: 0 12px 26px -12px rgb(0 0 0 / .55);
  transform: translateX(-50%); transition: opacity .35s, transform .5s var(--ease);
}
.ds-island.hide { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(.85); }
.ds-island-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #7BD389; }
.ds-island-text { min-width: 0; max-width: 190px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ds-island-time { flex: none; padding: 3px 9px; border-radius: 999px; background: #232323; color: #CFF5D4; font-family: var(--mono); font-size: 12.5px; }

.ds-card { width: min(100%, 420px); padding: 18px; transform: rotate(-1deg); }
.ds-input {
  display: flex; align-items: center; gap: 3px;
  height: 48px; margin-top: 8px; padding: 0 6px 0 14px;
  border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
}
.ds-typed { overflow: hidden; white-space: nowrap; font-size: 16px; font-weight: 520; }
.ds-caret { width: 2px; height: 20px; border-radius: 2px; background: var(--app-deep); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ds-go {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 34px; margin-left: auto; padding: 0 12px; border-radius: 10px;
  background: var(--app-deep); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: transform .2s var(--ease);
}
.ds-go svg { width: 13px; height: 13px; }
/* On a narrow card the button keeps only its sparkle, so the typed task has room. */
@container (max-width: 440px) {
  .ds-go { width: 34px; padding: 0; justify-content: center; }
  .ds-go-label { display: none; }
}
.is-thinking .ds-go { transform: scale(.93); }
.ds-thinking {
  display: flex; align-items: center; gap: 5px;
  height: 0; margin: 0; overflow: hidden; opacity: 0;
  font-size: 13px; color: var(--ink-3);
  transition: height .3s, opacity .3s, margin .3s;
}
.is-thinking .ds-thinking { height: 22px; margin-top: 12px; opacity: 1; }
.ds-thinking i { width: 5px; height: 5px; border-radius: 50%; background: var(--app); animation: bob 1s infinite; }
.ds-thinking i:nth-child(2) { animation-delay: .15s; }
.ds-thinking i:nth-child(3) { animation-delay: .3s; margin-right: 4px; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.ds-list { list-style: none; display: grid; margin: 10px 0 0; padding: 0; }
.ds-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 4px; border-bottom: 1px solid var(--line-2); font-size: 15px;
  transition: opacity .35s, transform .5s var(--ease);
}
.ds-list li:last-child { border-bottom: 0; }
.ds-list li.hide { opacity: 0; transform: translateY(8px); }
.ds-list li span { transition: color .3s; }
.ds-list li.on span { color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--ink) 30%, transparent); }
.ds-grow { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--tint); }
.ds-dino { width: 42px; height: 42px; border-radius: 11px; transform: scale(calc(.8 + var(--grow, 1) * .24)); transition: transform .6s var(--ease); }
.ds-grow-main { flex: 1; min-width: 0; }
.ds-grow-row { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px; font-size: 13px; }
.ds-stage-name { font-weight: 600; }
.ds-count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.ds-bar { height: 6px; overflow: hidden; border-radius: 99px; background: color-mix(in oklab, var(--app) 20%, var(--surface)); }
.ds-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--app-deep); transition: width .7s var(--ease); }

/* --- NOVO --- */
.t-novo .stage { min-height: 430px; }
.nv { display: grid; justify-items: center; gap: 14px; width: 100%; }
.nv-svg { width: min(100%, 380px); height: auto; overflow: visible; }
.nv-tree { transform-box: fill-box; transform-origin: center; }
.nv-ring { fill: none; stroke: #8A5A36; }
.nv-bark { fill: none; stroke: #5E3B24; stroke-width: 9; }
.nv-slip { fill: none; stroke: #2B190E; stroke-width: 2.8; stroke-linecap: round; }
.nv-call line { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.nv-call circle { fill: var(--ink); }
.nv-call text { fill: var(--ink-2); font-family: var(--mono); font-size: 11.5px; }
.is-armed .nv-ring, .is-armed .nv-bark, .is-armed .nv-slip, .is-armed .nv-call { opacity: 0; }
.is-playing .nv-tree { animation: treeGrow 1.9s var(--ease) both; }
.is-playing .nv-ring { animation: fadeIn .5s both; animation-delay: calc(var(--i) * 26ms); }
.is-playing .nv-bark { animation: fadeIn .6s 1.2s both; }
.is-playing .nv-slip { animation: fadeIn .4s 1.6s both; }
.is-playing .nv-call { animation: fadeIn .5s 1.9s both; }
@keyframes treeGrow { from { transform: scale(.62); } }
.nv-stats { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; width: min(100%, 380px); }
.nv-day b { display: block; font-size: 58px; font-weight: 640; letter-spacing: -0.055em; line-height: .9; font-variant-numeric: tabular-nums; }
.nv-day span { font-size: 14px; color: var(--ink-2); }
.nv-money { text-align: right; }
.nv-money span { display: block; font-size: 12.5px; color: var(--ink-3); }
.nv-money b { font-family: var(--mono); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* --- Airlytica --- */
.t-air .stage { padding-bottom: 48px; }
.air { position: relative; width: min(100%, 320px); }
.air-cloud { position: absolute; z-index: -1; top: 6px; left: -6px; width: 120px; color: var(--cloud); opacity: var(--cloud-opacity); animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(26px); } }
.air-card { padding: 16px 18px; }
.air-top { font-size: 12.5px; color: var(--ink-3); }
.air-loc { display: inline-flex; align-items: center; gap: 5px; }
.air-loc svg { width: 13px; height: 13px; }
.air-main { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.air-num { min-width: 2ch; font-size: 70px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.air-status { display: inline-flex; align-items: center; gap: 7px; font-size: 18px; font-weight: 600; }
.air-status i { width: 9px; height: 9px; border-radius: 50%; background: #4FAE63; }
.air-sub { display: block; font-size: 13px; color: var(--ink-3); }
.air-scale { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 12px 0 14px; }
.air-scale i { height: 6px; border-radius: 9px; }
.air-scale i:nth-child(1) { background: #4FAE63; }
.air-scale i:nth-child(2) { background: #E3C14A; }
.air-scale i:nth-child(3) { background: #EE9A45; }
.air-scale i:nth-child(4) { background: #E0574B; }
.air-scale i:nth-child(5) { background: #9A5BB5; }
.air-scale i:nth-child(6) { background: #7B3A4B; }
.air-marker {
  position: absolute; top: -5px; left: 8%;
  width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--ink); box-shadow: var(--shadow-sm);
}
.is-playing .air-marker { animation: marker 1.3s var(--ease) both; }
@keyframes marker { from { left: 0%; } }
.air-pol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.air-pol div { padding: 7px 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.air-pol dt { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.air-pol dd { margin: 1px 0 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.air-pol dd small { font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
.air-advice { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; font-weight: 540; }
.air-advice svg { width: 18px; height: 18px; color: var(--advice); flex: none; }
.air-pollen { position: absolute; right: -12px; bottom: -30px; display: grid; gap: 3px; padding: 9px 13px; border-radius: 14px; font-size: 12.5px; transform: rotate(2.5deg); }
.air-pollen span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.air-pollen i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.is-armed .air-advice, .is-armed .air-pollen { opacity: 0; }
.is-playing .air-advice { animation: rise .5s 1s both; }
.is-playing .air-pollen { animation: rise .5s 1.3s both; }

/* --- Habit Node --- */
.t-habit .stage { padding-bottom: 54px; }
.hb-card { width: min(100%, 320px); padding: 16px 16px 10px; }
.hb-streak {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  background: color-mix(in oklab, #F28C28 15%, var(--surface));
  font-size: 12.5px; font-weight: 600;
}
.hb-streak svg { width: 14px; height: 14px; color: #EE7A1F; }
.hb-list { list-style: none; display: grid; margin: 8px 0 0; padding: 0; }
.hb-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.hb-name { font-size: 14.5px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-week { position: relative; display: flex; gap: 6px; }
.hb-week::before {
  content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1.5px; transform: translateY(-50%);
  background: color-mix(in oklab, var(--app) 38%, var(--line));
}
.hb-week i {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--app) 50%, var(--line)); background: var(--surface);
}
.hb-week i.f { background: var(--app); border-color: var(--app); }
.hb-week i.t { border-style: dashed; }
.hb-list li.on .hb-week i.t { background: var(--app); border-color: var(--app); border-style: solid; animation: pop .45s var(--ease); }
.hb-toast {
  position: absolute; left: 50%; bottom: -20px;
  display: flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap;
  font-size: 13px; box-shadow: var(--shadow-md);
  transform: translateX(-50%); transition: opacity .35s, transform .5s var(--ease);
}
.hb-toast svg { width: 16px; height: 16px; color: #F5C04A; }
.hb-toast.hide { opacity: 0; transform: translateX(-50%) translateY(10px); }

/* --- MyJobFlow --- */
.jf-card { width: min(100%, 320px); padding: 16px; }
.jf-funnel { display: grid; gap: 9px; margin: 12px 0 14px; }
.jf-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 13.5px; }
.jf-label { color: var(--ink-2); }
.jf-track { display: flex; align-items: center; gap: 8px; }
.jf-bar {
  width: calc((100% - 30px) * var(--p)); min-width: 10px; height: 26px; border-radius: 8px;
  background: color-mix(in oklab, var(--app) var(--k), var(--surface));
  transform-origin: left;
}
.jf-num { font-weight: 600; font-variant-numeric: tabular-nums; }
.is-playing .jf-bar { animation: barIn 1s var(--ease) both; animation-delay: var(--d); }
@keyframes barIn { from { transform: scaleX(0); } }
.jf-next { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: color-mix(in oklab, var(--app) 10%, var(--surface)); }
.jf-date { display: grid; place-items: center; align-content: center; flex: none; width: 46px; height: 50px; border-radius: 11px; background: var(--surface); box-shadow: var(--shadow-sm); }
.jf-date span { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1; color: #D9403A; }
.jf-date b { font-size: 20px; line-height: 1.15; }
.jf-what b { display: block; font-size: 14px; font-weight: 600; }
.jf-what span { font-size: 12.5px; color: var(--ink-3); }
.is-armed .jf-bar { transform: scaleX(0); }
.is-armed .jf-next { opacity: 0; }
.is-playing .jf-next { animation: rise .5s 1.1s both; }

/* --- PetKeeper --- */
.t-pet .stage { min-height: 380px; }
.pk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: start; width: min(100%, 600px); }
@container (max-width: 540px) { .pk { grid-template-columns: minmax(0, 1fr); } }
.pk-log { padding: 14px 14px 6px; }
.pk-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pk-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in oklab, var(--app) 22%, var(--surface)); color: var(--app-deep); }
.pk-avatar svg { width: 18px; height: 18px; }
.pk-top b { font-size: 15.5px; }
.pk-top .mono { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.pk-list { list-style: none; margin: 0; padding: 0; }
.pk-list li {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 9px 0; border-top: 1px solid var(--line-2);
  transition: opacity .35s, transform .5s var(--ease);
}
.pk-list li.hide { opacity: 0; transform: translateX(-10px); }
.pk-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); }
.pk-ico svg { width: 17px; height: 17px; }
.pk-what b { display: block; font-size: 14px; font-weight: 560; }
.pk-what span { font-size: 12.5px; color: var(--ink-3); }
.pk-side { display: grid; gap: 14px; }
.pk-food { padding: 14px; }
.pk-food .w-row b { font-size: 22px; font-weight: 640; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pk-food .w-row b small { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.pk-tank { height: 10px; margin: 10px 0 8px; overflow: hidden; border-radius: 99px; background: color-mix(in oklab, var(--app) 15%, var(--surface-2)); }
.pk-tank i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--app), color-mix(in oklab, var(--app) 60%, #FFD08A)); transition: width 1.4s var(--ease); }
.pk-food p { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.pk-pass { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px; }
.pk-qr { width: 74px; height: 74px; padding: 5px; border-radius: 10px; background: #fff; }
.pk-qr svg { width: 100%; height: 100%; shape-rendering: crispEdges; }
.pk-qr rect { fill: #151514; }
.pk-qr rect.w { fill: #fff; }
.is-armed .pk-qr .q { opacity: 0; }
.is-playing .pk-qr .q { animation: fadeIn .25s both; animation-delay: var(--d); }
.pk-pass b { display: block; font-size: 14px; font-weight: 600; }
.pk-pass span { display: block; font-size: 12.5px; color: var(--ink-3); }
.pk-pass .pk-exp {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 9px;
  border-radius: 999px; background: color-mix(in oklab, var(--app) 15%, var(--surface));
  font-size: 12px; font-weight: 560; color: var(--ink);
}
.pk-exp svg { width: 12px; height: 12px; }

/* --- Dino Kids: brush the sand --- */
.t-kids .stage { min-height: 380px; padding: 0; place-items: stretch; }
.t-kids .stage::before { display: none; }
.dig {
  position: relative; overflow: hidden; min-height: 380px; border-radius: 20px;
  background: radial-gradient(circle at 50% 45%, #D9BC88, #C5A26A 75%);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M28 4 16 16' stroke='%235B3A1E' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M15 15c-2-2-5-2-7 0-3 3-1 7-5 9 4 4 10 3 13-1 2-2 2-6-1-8z' fill='%23E8B44C' stroke='%235B3A1E' stroke-width='1.5'/%3E%3C/svg%3E") 4 28, crosshair;
}
.dig-fossil { position: absolute; inset: 0; width: 100%; height: 100%; }
.dig canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .9s; }
.dig.found canvas { opacity: 0; }
.dig-hint {
  position: absolute; left: 50%; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px;
  border-radius: 999px; background: rgb(255 250 240 / .92); color: #3B2A14; white-space: nowrap;
  font-size: 13.5px; font-weight: 560; box-shadow: 0 6px 18px -8px rgb(60 40 10 / .5);
  transform: translateX(-50%); pointer-events: none; transition: opacity .3s;
}
.dig-hint svg { width: 17px; height: 17px; animation: brush 1.6s ease-in-out infinite; }
@keyframes brush { 25% { transform: translateX(-3px) rotate(-12deg); } 75% { transform: translateX(3px) rotate(10deg); } }
.dig.touched .dig-hint { opacity: 0; }
.dig-found {
  position: absolute; left: 50%; top: 18px;
  display: flex; align-items: center; gap: 8px; padding: 8px 16px;
  border-radius: 999px; background: #22190D; color: #FFF3DC; white-space: nowrap;
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translate(-50%, -12px); transition: opacity .4s .3s, transform .6s .3s var(--ease);
}
.dig-found svg { width: 16px; height: 16px; color: #F5C04A; }
.dig.found .dig-found { opacity: 1; transform: translate(-50%, 0); }
.dig.found .dig-fossil .bone { animation: glow 1.6s .4s ease-out; }
@keyframes glow { 40% { filter: drop-shadow(0 0 10px rgb(255 236 180 / .95)); } }

/* ---------- Studio ---------- */

.studio-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .studio-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.studio-copy p { margin: 28px 0 0; max-width: 32em; font-size: 18px; color: var(--ink-2); }
.sig { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.sig-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 650; letter-spacing: -0.02em; }
.sig b { display: block; font-size: 16px; }
.sig span { font-size: 14px; color: var(--ink-3); }
.principles { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.principles li {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li::before {
  counter-increment: p; content: counter(p, decimal-leading-zero);
  grid-row: span 2; padding-top: 4px;
  font-family: var(--mono); font-size: 13px; color: var(--accent-ink);
}
.principles h3 { margin: 0; font-size: 20px; font-weight: 620; letter-spacing: -0.025em; }
.principles p { margin: 0; color: var(--ink-2); }

/* ---------- Support ---------- */

.support-grid { display: grid; gap: 16px; }
@media (min-width: 980px) { .support-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
/* Support picker: one row of app icons, one panel of links for the chosen app. */
.helpdesk {
  padding: clamp(20px, 2.6vw, 30px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.helpdesk-label { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.picker { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 12px); }
.pick {
  position: relative; padding: 0; border: 0; border-radius: 24%; background: none; cursor: pointer;
  opacity: .58; filter: saturate(.7); transform: scale(.9);
  transition: opacity .25s, filter .25s, transform .35s var(--ease), box-shadow .25s;
}
.pick img { display: block; width: 100%; height: auto; border-radius: inherit; }
.pick:hover { opacity: .85; filter: none; transform: scale(.97); }
.pick[aria-selected="true"] {
  opacity: 1; filter: none; transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--app), 0 12px 24px -10px color-mix(in oklab, var(--app) 70%, transparent);
}
.pick:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.help-panel { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.help-panel:not([hidden]) { animation: rise .4s var(--ease) both; }
html:not(.js) .picker, html:not(.js) .helpdesk-label { display: none; }
html:not(.js) .picker + .help-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.help-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.help-head img { width: 52px; height: 52px; border-radius: 12px; }
.help-head h3 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.15; }
.help-head p { margin: 2px 0 0; font-size: 14px; color: var(--ink-3); }
.help-links { display: grid; gap: 4px; }
.help-links a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 14px;
  margin-inline: -10px; padding: 10px; border-radius: 18px;
  color: var(--ink); text-decoration: none; transition: background-color .2s;
}
.help-links a:hover { background: color-mix(in oklab, var(--app) 9%, var(--surface)); }
.help-links b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.help-links a span span { font-size: 13.5px; color: var(--ink-3); }
.hl-ico {
  width: 44px; height: 44px; padding: 11px; border-radius: 14px;
  background: color-mix(in oklab, var(--app) 14%, var(--surface));
  color: color-mix(in oklab, var(--app) 82%, var(--ink));
}
.hl-arrow { width: 18px; height: 18px; color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.help-links a:hover .hl-arrow { color: var(--ink); transform: translate(2px, -2px); }

.contact {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(26px, 3vw, 36px); border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
}
.contact h3 { margin: 0; font-size: clamp(30px, 3vw, 40px); font-weight: 640; letter-spacing: -0.045em; line-height: 1; }
.contact p { margin: 12px 0 0; max-width: 24em; font-size: 16px; opacity: .72; }
.contact-mail { display: block; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-mail:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.contact .btn-light { background: var(--paper); color: var(--ink); }
.contact .btn-line { background: transparent; color: inherit; border-color: color-mix(in oklab, currentColor 30%, transparent); }
.contact .btn:hover { transform: translateY(-1px); }
.contact-tips { padding-top: 18px; border-top: 1px solid color-mix(in oklab, currentColor 16%, transparent); font-size: 14.5px; }
.contact-tips-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.contact-tips p { margin: 0 0 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.contact-tips-list li { display: flex; gap: 10px; align-items: baseline; opacity: .85; }
.contact-tips-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.contact-rings { position: absolute; right: -90px; top: -90px; z-index: -1; width: 300px; opacity: .14; color: currentColor; }

/* ---------- Footer ---------- */

.site-footer { overflow: hidden; padding: 56px 0 28px; border-top: 1px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot-links a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.site-footer .container { container-type: inline-size; }
/* Sized in cqi so the word spans the container exactly; filled (not outlined) so overlapping letters merge. */
.giant {
  margin: 40px 0 0; padding-bottom: .12em;
  font-size: 31.4cqi; font-weight: 700; letter-spacing: -0.065em; line-height: .8;
  color: transparent;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--ink) 13%, transparent) 20%, transparent 92%);
  -webkit-background-clip: text; background-clip: text;
  white-space: nowrap; user-select: none;
}
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Simple pages (privacy) ---------- */

.prose { max-width: 720px; padding-block: clamp(48px, 8vw, 96px); }
.prose h1 { font-size: clamp(44px, 7vw, 76px); }
.prose .updated { margin: 16px 0 40px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.prose h2 { margin: 44px 0 10px; font-size: 26px; letter-spacing: -0.03em; line-height: 1.2; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose a:not(.btn) { color: var(--ink); text-underline-offset: 4px; }

/* ---------- App pages (overview, support, privacy, terms) ---------- */

.container.narrow { max-width: 720px; }
.app-head {
  padding-top: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, color-mix(in oklab, var(--app) 11%, transparent), transparent 85%);
}
.app-id { display: flex; align-items: center; gap: 16px; }
.app-id img { width: 64px; height: 64px; flex: none; border-radius: 15px; box-shadow: var(--shadow-sm); }
.app-name { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; }
.app-tag { margin: 3px 0 0; font-size: 15px; color: var(--ink-3); }
.app-head.is-hero .app-id { gap: clamp(16px, 2.4vw, 26px); }
.app-head.is-hero .app-id img { width: clamp(72px, 9vw, 104px); height: auto; border-radius: 23%; }
.app-head.is-hero .app-name { font-size: clamp(40px, 6.4vw, 72px); line-height: .95; letter-spacing: -0.05em; }
.app-head.is-hero .app-tag { margin-top: 8px; font-size: clamp(15px, 1.5vw, 18px); }
.app-tabs { display: flex; gap: 2px; margin: clamp(22px, 3vw, 34px) -12px 0; overflow-x: auto; scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tabs a {
  position: relative; flex: none;
  padding: 10px 12px 14px; font-size: 15px; color: var(--ink-3); text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.app-tabs a:hover { color: var(--ink); }
.app-tabs a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.app-tabs a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--app);
}
.tab-lang { margin-left: 4px; font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--ink-3); }

.doc { padding-top: clamp(36px, 6vw, 64px); }
.doc h1 { font-size: clamp(38px, 5.6vw, 60px); }
.doc .updated { margin-bottom: 32px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 30px 0 8px; font-size: 19px; font-weight: 640; letter-spacing: -0.02em; line-height: 1.3; }
.doc h4, .doc h5, .doc h6 { margin: 22px 0 6px; font-size: 16.5px; font-weight: 640; letter-spacing: -0.01em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: color-mix(in oklab, var(--app) 80%, var(--ink)); }
.doc strong, .doc b { color: var(--ink); font-weight: 620; }
.doc small { font-size: 14px; color: var(--ink-3); }
.doc .note {
  margin: 26px 0; padding: 18px 22px; border-radius: 20px;
  background: color-mix(in oklab, var(--app) 8%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--app) 20%, var(--line));
}
.doc .note > :first-child { margin-top: 0; }
.doc .note > :last-child { margin-bottom: 0; }
.doc .note h2, .doc .note h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.02em; }
.doc .faq { padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc .faq > :first-child { margin-top: 0; }
.doc .faq > :last-child { margin-bottom: 0; }
.doc .btn { margin-top: 4px; }
.doc .label { margin-bottom: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.doc .label + p { margin-top: 0; }

.app-overview { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.ov-lead { margin: 0 0 22px; max-width: 30em; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.ov-action { margin-top: 30px; }
.ov-soon {
  display: inline-block; margin: 0; padding: 9px 14px; border-radius: 999px;
  background: color-mix(in oklab, var(--app) 18%, var(--surface));
  font-family: var(--mono); font-size: 13px; color: var(--ink);
}
.ov-links { padding: 22px 24px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.ov-label { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; color: var(--ink-3); }
.ov-note { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-3); }
.games { margin-top: clamp(48px, 7vw, 88px); }
.games ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: game; }
.games li {
  counter-increment: game;
  padding: 20px 22px; border-radius: 22px;
  background: color-mix(in oklab, var(--app) 9%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--app) 16%, var(--line));
}
.games li::before { content: "0" counter(game); display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; color: color-mix(in oklab, var(--app) 75%, var(--ink)); }
.games b { display: block; font-size: 18px; font-weight: 640; letter-spacing: -0.025em; }
.games span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 860px) {
  .ov-grid { grid-template-columns: 1fr; }
  .games ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .games ol { grid-template-columns: 1fr; }
  .app-tabs { margin-inline: -8px; }
  .app-tabs a { padding-inline: 8px; font-size: 14.5px; }
  .app-tabs a[aria-current="page"]::after { left: 8px; right: 8px; }
  .app-head.is-hero .app-id { align-items: flex-start; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
