/* Tollu Labs site. Static, no frameworks, no tracking. Fonts are the game's own (OFL, see assets/fonts). */
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/BricolageGrotesque-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/BricolageGrotesque-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("/assets/fonts/JetBrainsMono-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --ship: #ff6b3d;
  --ship-soft: #ff8a5c;
  --mint: #7fe0d1;
  --violet: #7c6cf2;
  --bg: #10142400;
  --night: #101424;
  --panel: #181d33;
  --panel-2: #1f2540;
  --line: #2c3352;
  --ink: #f2f4fa;
  --muted: #a9b0c9;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Bricolage", "Figtree", -apple-system, "Segoe UI", sans-serif;
  --mono: "JBMono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 85% -120px, rgba(124, 108, 242, 0.22), transparent 70%),
    radial-gradient(700px 420px at 0% 0%, rgba(255, 107, 61, 0.13), transparent 70%),
    var(--night);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
a { color: var(--ship-soft); text-underline-offset: 3px; }
a:hover { color: #ffb08f; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ship); outline-offset: 3px; border-radius: 6px; }

/* Top bar */
header.top { position: sticky; top: 0; z-index: 5; background: rgba(16, 20, 36, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
header.top img.logo { width: 34px; height: 34px; border-radius: 9px; }
header.top a.brand { color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
nav.lang { margin-left: auto; font-size: 0.9rem; }
nav.lang a { color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; }
nav.lang a:hover { color: var(--ink); border-color: var(--muted); }

/* Type */
main { padding: 0 0 72px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.06; margin: 0 0 18px; }
h1 em { font-style: normal; color: var(--ship); }
h2 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; margin: 72px 0 14px; }
h3 { font-weight: 600; font-size: 1.08rem; margin: 0 0 6px; }
p { margin: 0 0 14px; }
p.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.kicker { font-family: var(--mono); font-size: 0.85rem; color: var(--mint); letter-spacing: 0.02em; margin: 0 0 14px; }
.kicker::before { content: "$ "; color: var(--ship); }
main > .wrap > p, main > .wrap > ul { max-width: 46em; }
main > .wrap > p { color: #d5d9e8; }

/* Hero */
.hero { padding: 64px 0 8px; }
.hero.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero img.banner { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); margin-top: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.hero .phone { justify-self: center; width: min(280px, 70vw); }
.phone img { width: 100%; height: auto; display: block; border-radius: 34px; border: 6px solid #0a0d18; outline: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04); transform: rotate(2deg); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); background: var(--panel); }
.btn:hover { color: var(--ink); border-color: var(--muted); }
.btn.primary { background: var(--ship); border-color: var(--ship); color: #1a0d07; }
.btn.primary:hover { background: #ff7d55; color: #1a0d07; }
.soon { display: inline-block; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 6px 14px; margin-top: 18px; }

/* Cards */
.card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin: 22px 0; }
.card .row { display: flex; gap: 20px; align-items: flex-start; }
.card img.appicon { width: 92px; height: 92px; border-radius: 22px; flex: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.card h2 { margin: 0 0 6px; font-size: 1.5rem; }
.card p { color: var(--muted); }
.card .mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.card .mini img { width: 100%; height: auto; border-radius: 18px; border: 4px solid #0a0d18; outline: 1px solid var(--line); }
.badge { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 6px 14px; }
.more { display: inline-block; margin-top: 4px; font-weight: 600; }

/* Screenshot strip */
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 24px 22px; margin: 28px -24px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.strip figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.strip img { width: 100%; height: auto; display: block; border-radius: 28px; border: 5px solid #0a0d18; outline: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); background: #000; }

/* Steps */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
ol.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 54px 20px 20px; position: relative; color: var(--muted); }
ol.steps li strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.08rem; margin-bottom: 4px; }
ol.steps li::before { content: "0" counter(step); position: absolute; left: 20px; top: 18px; font-family: var(--mono); font-size: 0.9rem; color: var(--ship); }

/* Grids */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.grid section { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: border-color 0.15s, transform 0.15s; }
.grid section:hover { border-color: #46507a; transform: translateY(-2px); }
.grid p { margin: 0; font-size: 0.96rem; color: var(--muted); }
.grid.learn section { border-top: 3px solid var(--ship); }
.grid.learn section:nth-child(2) { border-top-color: #ffb03d; }
.grid.learn section:nth-child(3) { border-top-color: var(--mint); }
.grid.learn section:nth-child(4) { border-top-color: #5aa9ff; }
.grid.learn section:nth-child(5) { border-top-color: var(--violet); }
.grid.learn section:nth-child(6) { border-top-color: #e36bd2; }
.grid.learn h3 { font-family: var(--mono); font-weight: 400; font-size: 0.9rem; color: var(--ink); letter-spacing: 0.02em; margin-bottom: 10px; }

/* Roadmap */
ul.roadmap { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: none !important; }
ul.roadmap li { background: var(--panel); border: 1px dashed #46507a; border-radius: 16px; padding: 44px 20px 20px; color: var(--muted); position: relative; font-size: 0.96rem; }
ul.roadmap li strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.08rem; margin-bottom: 4px; }
ul.roadmap li::before { content: attr(data-tag); position: absolute; left: 20px; top: 16px; font-family: var(--mono); font-size: 0.75rem; color: var(--mint); border: 1px solid rgba(127, 224, 209, 0.4); border-radius: 999px; padding: 1px 10px; }

.badges { border: 1px dashed var(--line); border-radius: 16px; padding: 18px 22px; color: var(--muted); margin-top: 18px; }
.badges p { margin: 0; }
.note { color: var(--muted) !important; font-size: 0.95rem; }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 0.92rem; }
footer p { margin: 4px 0; }
footer nav a { margin-right: 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .grid section { transition: none; } .grid section:hover { transform: none; } }
@media (max-width: 820px) {
  .hero.split { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .grid, ol.steps, ul.roadmap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .strip { margin: 22px -16px 0; padding-left: 16px; padding-right: 16px; }
  .strip figure { flex-basis: 180px; }
  .card { padding: 20px; }
  .card .row { flex-direction: column; }
  .grid, ol.steps, ul.roadmap { grid-template-columns: 1fr; }
  h2 { margin-top: 52px; }
}
