/* Curious Axle — curiousaxle.com
   Brand: near-black ground, reel yellow, Anton display, Montserrat body. */
:root {
  --bg: #0b0d0f;
  --bg-2: #101317;
  --panel: #151a1f;
  --panel-2: #1b2127;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f4efe6;
  --muted: #a3acb5;
  --dim: #6f7882;
  --yellow: #ffd23f;
  --orange: #f26f2e;
  --green: #3ddc84;
  --cyan: #3cc4ff;
  --red: #ff5a48;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --r: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* atmosphere: glow, contour lines, grain */
.atmo { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 82% -8%, rgba(255, 210, 63, 0.13), transparent 60%),
    radial-gradient(700px 520px at -6% 18%, rgba(242, 111, 46, 0.10), transparent 62%),
    linear-gradient(180deg, #0d1013 0%, var(--bg) 40%);
}
.atmo::before { content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600' fill='none' stroke='%23ffffff' stroke-opacity='.05'%3E%3Cpath d='M-20 90c120-60 210 30 330-10s180-110 300-70 190 90 320 40'/%3E%3Cpath d='M-20 150c130-50 220 40 340 0s170-100 290-60 200 80 330 30'/%3E%3Cpath d='M-20 220c110-40 230 50 350 10s160-90 280-50 210 70 340 20'/%3E%3Cpath d='M-20 310c140-70 200 40 320 20s200-120 310-60 190 60 330 10'/%3E%3Cpath d='M-20 380c150-60 190 50 310 30s210-110 320-50 180 50 320 0'/%3E%3Cpath d='M-20 470c120-50 240 30 360 0s150-80 270-40 220 60 340 10'/%3E%3Cpath d='M-20 540c130-40 230 40 350 10s160-70 280-30 210 50 340 0'/%3E%3C/svg%3E");
  background-size: 900px 600px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.atmo::after { content: ""; position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(11, 13, 15, 0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); }
.brand span { font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: 0.03em; }
.nav a.link { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--ink); }
.nav .links { display: flex; gap: 26px; align-items: center; }
@media (max-width: 760px) { .nav .links a.link { display: none; } }

/* buttons, tags */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, background 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-y { background: var(--yellow); color: #111; box-shadow: 0 10px 34px rgba(255, 210, 63, 0.26); }
.btn-y:hover { box-shadow: 0 16px 44px rgba(255, 210, 63, 0.36); }
.btn-o { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.btn-o:hover { background: rgba(255, 255, 255, 0.08); }
.btn-d { background: #111; color: var(--yellow); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--yellow); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--yellow); }
.box { background: var(--yellow); color: #111; padding: 0.02em 0.16em 0; border-radius: 0.08em; display: inline-block; transform: rotate(-1.6deg); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; }
.lede b, .lede strong { color: var(--ink); font-weight: 700; }

/* hero */
.hero { padding: clamp(36px, 5vw, 70px) 0 clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(56px, 8.6vw, 122px); line-height: 0.9; margin: 20px 0 24px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.phone { position: relative; width: min(330px, 78vw); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2a3138, #0f1215 60%); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 120px rgba(255, 210, 63, 0.12); transform: rotate(3deg); }
.phone video, .phone img.poster { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; background: #000; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; border-radius: 12px; background: #050607; transform: translateX(-50%); }
.float { position: absolute; font-family: var(--display); text-transform: uppercase; font-size: 22px; padding: 8px 14px 3px; border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55); white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float.f1 { left: -64px; top: 20%; background: var(--yellow); color: #111; transform: rotate(-5deg); }
.float.f2 { right: -46px; top: 52%; background: #111; color: var(--ink); border: 1px solid var(--line-2); transform: rotate(-3deg); animation-delay: -2s; }
.float.f3 { left: -38px; bottom: 13%; background: var(--red); color: #fff; transform: rotate(-4deg); animation-delay: -4s; }
.float small { font-family: var(--body); font-weight: 800; font-size: 11px; letter-spacing: 0.14em; display: block; opacity: 0.7; margin-bottom: 2px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { transform: rotate(2deg); margin-top: 10px; }
  .float.f1 { left: -18px; } .float.f2 { right: -14px; } .float.f3 { left: -10px; }
}

/* stats */
.stats { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 30px 10px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.4vw, 68px); line-height: 1; display: block; color: var(--yellow); }
.stat span { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.note { font-size: 12px; color: var(--dim); text-align: center; padding: 10px 0 0; }
@media (max-width: 560px) { .stat { padding: 22px 4px; } .stat span { font-size: 10.5px; letter-spacing: 0.08em; } }

/* sections */
section { padding: clamp(60px, 8vw, 116px) 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.head h2 { font-size: clamp(40px, 5.6vw, 76px); margin-top: 16px; }
.head p { color: var(--muted); max-width: 30em; }

/* reels */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reel { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; text-decoration: none; background: var(--panel); border: 1px solid var(--line); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(6, 8, 10, 0.92) 100%); }
.reel:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55); border-color: rgba(255, 210, 63, 0.5); }
.reel:hover img { transform: scale(1.05); }
.reel .meta { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.reel .meta b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 21px; line-height: 1.05; display: block; }
.reel .meta span { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.reel .play { position: absolute; top: 14px; right: 14px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: rgba(8, 10, 12, 0.6); backdrop-filter: blur(6px); display: grid; place-items: center; border: 1px solid var(--line-2); }
.reel .play svg { width: 14px; height: 14px; margin-left: 2px; }
@media (max-width: 900px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62vw; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: center; }
}

/* topic cards */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.card h3 { font-size: 30px; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card .ico { width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 210, 63, 0.1); border: 1px solid rgba(255, 210, 63, 0.3); display: grid; place-items: center; color: var(--yellow); }
.card .ico svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr; } }

/* split feature (app, calculator) */
.feature { background: linear-gradient(135deg, #131a22 0%, #0f1317 55%, #17120c 100%); border: 1px solid var(--line); border-radius: 32px; padding: clamp(26px, 4.4vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; overflow: hidden; position: relative; }
.feature h2 { font-size: clamp(40px, 5vw, 70px); margin: 16px 0 18px; }
.feature ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; color: var(--ink); font-weight: 600; font-size: 16px; }
.feature li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b0d0f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(60, 196, 255, 0.12); color: var(--cyan); border: 1px solid rgba(60, 196, 255, 0.35); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.shots { position: relative; padding-bottom: 26px; }
.shots .scene { border-radius: 26px; border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); width: 86%; }
.shots .rollcard { position: absolute; right: 0; bottom: -18px; width: 40%; border-radius: 22px; border: 1px solid var(--line-2); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7); transform: rotate(4deg); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* calculator teaser + page */
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 34px); }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select { width: 100%; background: #0c0f12; border: 1px solid var(--line-2); border-radius: 14px; color: var(--ink); font: 700 20px var(--body); padding: 14px 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.15); }
.field input.bad { border-color: var(--red); }
.field small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 6px; min-height: 1.3em; }
.result { margin-top: 20px; border-radius: 18px; background: linear-gradient(135deg, rgba(255, 210, 63, 0.14), rgba(255, 210, 63, 0.03)); border: 1px solid rgba(255, 210, 63, 0.35); padding: 22px; }
.result .big { font-family: var(--display); font-size: clamp(34px, 5vw, 56px); line-height: 1; color: var(--yellow); text-transform: uppercase; }
.result p { color: var(--ink); font-weight: 600; margin-top: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.kv { background: #0c0f12; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.kv span { font-size: 11.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); display: block; }
.kv b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.15; display: block; margin-top: 4px; }
.kv em { font-style: normal; font-size: 13px; color: var(--dim); display: block; }
.up { color: var(--green); } .down { color: var(--red); }
@media (max-width: 620px) { .calc .row, .grid2 { grid-template-columns: 1fr; } }

/* brands band */
.band { background: var(--yellow); color: #111; border-radius: 32px; padding: clamp(30px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; }
.band h2 { font-size: clamp(38px, 5vw, 70px); }
.band p { font-weight: 600; margin-top: 14px; max-width: 34em; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } }

/* article pages */
.page { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.page h1 { font-size: clamp(46px, 7vw, 96px); margin: 18px 0 20px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 34px; margin: 46px 0 14px; }
.prose h3 { font-family: var(--body); font-weight: 800; text-transform: none; font-size: 19px; letter-spacing: 0; line-height: 1.3; margin: 26px 0 8px; }
.prose p, .prose li { color: #cfd5db; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--yellow); }
.callout { border-left: 3px solid var(--yellow); background: rgba(255, 210, 63, 0.07); padding: 16px 20px; border-radius: 0 14px 14px 0; margin: 22px 0; color: var(--ink); font-weight: 600; }
.draft { border: 1px dashed var(--orange); background: rgba(242, 111, 46, 0.08); color: #ffd9c4; border-radius: 14px; padding: 14px 18px; font-weight: 600; font-size: 15px; margin-bottom: 26px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; font-family: var(--display); font-size: 26px; line-height: 0.8; color: var(--yellow); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: #cfd5db; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--ink); }

/* entrances: opacity + rise + blur, staggered by --i */
.rise { opacity: 0; transform: translateY(24px) scale(0.98); filter: blur(8px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.rise.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; filter: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* calculator: steps, ratio chips, gear table */
.step { display: flex; align-items: center; gap: 12px; font-family: var(--display); text-transform: uppercase; font-size: 24px; margin: 26px 0 14px; }
.step:first-child { margin-top: 0; }
.step i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: #111; display: grid; place-items: center; font-size: 18px; flex: none; padding-top: 2px; }
.step em { font-family: var(--body); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; color: var(--dim); }
.row3 { display: grid; grid-template-columns: 1fr 0.8fr 1.6fr; gap: 14px; }
.swap { background: none; border: 0; color: var(--muted); font: 700 13px var(--body); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; padding: 6px 0; }
.swap:hover { color: var(--yellow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips button { background: #0c0f12; border: 1px solid var(--line-2); color: var(--ink); font: 700 15px var(--body); padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.chips button:hover { border-color: var(--yellow); }
.chips button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #111; }
.need { margin-top: 16px; border: 1px dashed var(--line-2); border-radius: 16px; padding: 16px 18px; color: var(--muted); font-weight: 600; }
.gears { margin-top: 26px; }
.gears h3 { font-size: 34px; margin-bottom: 14px; }
.result.alt { margin-top: 0; background: linear-gradient(135deg, rgba(61, 220, 132, 0.14), rgba(61, 220, 132, 0.03)); border-color: rgba(61, 220, 132, 0.4); }
.result.alt .big { color: var(--green); font-size: clamp(28px, 4vw, 44px); }
.tablewrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; }
.gears table { width: 100%; border-collapse: collapse; min-width: 520px; }
.gears th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; background: #0c0f12; }
.gears td { padding: 14px 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15.5px; }
.gears td.r { font-family: var(--display); font-size: 26px; line-height: 1; }
.gears td.more { color: var(--green); } .gears td.less { color: var(--red); } .gears td.flat { color: var(--muted); }
.gears td.tag { color: var(--muted); font-size: 13.5px; }
.gears tr.best td { background: rgba(61, 220, 132, 0.09); }
.gears tr.best td.tag { color: var(--green); font-weight: 800; }
.gears tr.cur td.tag { color: var(--yellow); font-weight: 800; }
.fine { color: var(--dim); font-size: 13px; margin-top: 10px; }
.prose code { background: #0c0f12; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
@media (max-width: 620px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 .field:last-child { grid-column: 1 / -1; } }

/* waitlist */
.band:has(.wait) { grid-template-columns: 1fr; }
.wait { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wait input, .wait select { flex: 1 1 220px; min-width: 0; background: #fff8dc; border: 2px solid #111; border-radius: 999px; padding: 14px 20px; font: 700 16px var(--body); color: #111; outline: none; }
.wait select { flex: 0 1 190px; }
.wait input:focus, .wait select:focus { box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.25); }
.wait input.bad { border-color: #b3261e; background: #ffe7e3; }
.wait button { border: 0; cursor: pointer; font-family: var(--body); }
.wait button:disabled { opacity: 0.6; cursor: default; }
.waitmsg { min-height: 1.6em; font-weight: 700; margin-top: 12px; }
.waitmsg.bad { color: #8c1d18; }

/* calculator: simple first, gearing behind "Going further" */
.hint { color: var(--muted); font-size: 14px; margin-top: 2px; }
.hint b { color: var(--ink); }
.hint .swap { margin-left: 8px; }
.result .at { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 210, 63, 0.25); }
.result .at label { font-size: 12px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.result .at input, .result .at select { background: #0c0f12; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); font: 700 17px var(--body); padding: 9px 12px; outline: none; }
.result .at input { width: 92px; }
.result .at input:focus, .result .at select:focus { border-color: var(--yellow); }
.result .at input.bad { border-color: var(--red); }
.pro { margin-top: 22px; border: 1px solid var(--line-2); border-radius: 20px; background: #0f1317; overflow: hidden; padding: 0; }
.pro summary { display: grid; gap: 4px; padding: 20px 56px 20px 22px; cursor: pointer; position: relative; list-style: none; }
.pro summary::-webkit-details-marker { display: none; }
.pro summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 34px; color: var(--yellow); line-height: 1; }
.pro[open] summary::after { content: "–"; }
.pro summary:hover { background: rgba(255, 255, 255, 0.03); }
.pro summary b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
.protag { font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.prosub { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.probody { padding: 4px 22px 24px; border-top: 1px solid var(--line); }
.explain { color: #cfd5db; font-size: 15px; margin: 18px 0 20px; padding: 14px 16px; background: rgba(255, 255, 255, 0.04); border-radius: 14px; }
.explain b { color: var(--ink); }
.pro .gears { margin-top: 18px; }

/* unit switch, presets, content tables */
.seg { display: inline-flex; background: #0c0f12; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; color: var(--muted); font: 800 14px var(--body); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.seg button[aria-pressed="true"] { background: var(--yellow); color: #111; }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--dim); letter-spacing: 0.04em; }
.presets a { text-decoration: none; color: var(--ink); background: #0c0f12; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-weight: 700; transition: border-color 0.2s; }
.presets a:hover { border-color: var(--yellow); }
.tablewrap.seo { margin: 16px 0 8px; }
.tablewrap.seo table { width: 100%; border-collapse: collapse; }
.tablewrap.seo th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; background: #0c0f12; }
.tablewrap.seo td { padding: 12px 16px; border-top: 1px solid var(--line); font-weight: 600; }
.tablewrap.seo td.r { font-family: var(--display); font-size: 22px; line-height: 1; }
.tablewrap.seo td b { color: var(--yellow); font-family: var(--display); font-weight: 400; font-size: 22px; }
.tablewrap.seo td span { color: var(--dim); font-size: 12.5px; margin-left: 6px; white-space: nowrap; }

.crawlrow { grid-template-columns: 1fr 1fr 1.3fr; }
.where { display: block; color: var(--dim); font-size: 12.5px; margin-top: 12px; }
.pro + .pro { margin-top: 12px; }
#crawlTable td.r { font-size: 22px; }

.brand span { white-space: nowrap; }

/* very narrow phones: keep the header on one line */
@media (max-width: 400px) {
  .nav .wrap { gap: 10px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 19px; overflow: hidden; text-overflow: clip; }
  .btn-sm { padding: 9px 14px; font-size: 12px; }
}
@media (max-width: 360px) {
  .btn { white-space: normal; text-align: center; padding: 13px 18px; font-size: 14px; }
  .hero h1 { font-size: 50px; }
}

.stats .wrap.two { grid-template-columns: repeat(2, 1fr); }
