/* TokenTank landing - one dark theme, one accent (the green of the icon's top bar),
   one radius scale (12px surfaces, pill buttons), system type. */
:root {
  color-scheme: dark;
  --bg: #121215;
  --bg-2: #18181c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f2f0;
  --muted: #a7a7ad;
  --faint: #6f6f77;
  --accent: #4fc86a;
  --accent-ink: #0d1a10;
  --radius: 12px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav: one line, 64px */
.nav { position: sticky; top: 0; z-index: 10; height: 64px; display: flex; align-items: center;
  background: rgba(18, 18, 21, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.lang { color: var(--faint) !important; font-size: 13px !important; }

/* buttons: pill, readable, tactile */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #63d47c; }
.btn-secondary { background: transparent; color: var(--text); border-color: rgba(255,255,255,.22); }
.btn-secondary:hover { border-color: rgba(255,255,255,.45); }
.btn-small { height: 36px; padding: 0 16px; font-size: 14px; }

/* hero: split, fits the viewport */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 18px; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); max-width: 32ch; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* image slots: real screenshots go here (see TODO comments in the HTML) */
.shot { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
  aspect-ratio: 4 / 5; display: grid; place-items: center; color: var(--faint); font-size: 13px; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* sections */
section { padding: 72px 0; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 60ch; margin: 0 0 36px; }

/* bento: five cells, one large, two with a tint, one with the image slot */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.cell { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg-2); }
.cell h3 { margin: 0 0 8px; font-size: 17px; }
.cell p { margin: 0; color: var(--muted); font-size: 15px; }
.cell .big { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 8px 0 12px; line-height: 1.15; }
.c1 { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, rgba(79,200,106,.18), rgba(79,200,106,.03) 55%, var(--bg-2)); }
.c2 { grid-column: span 2; }
.c3 { grid-column: span 2; background: linear-gradient(200deg, rgba(255,159,10,.16), var(--bg-2) 60%); }
.c4 { grid-column: span 3; }
.c5 { grid-column: span 3; padding: 0; overflow: hidden; }
.c5 .shot { border: 0; border-radius: 0; aspect-ratio: auto; min-height: 220px; height: 100%; }

/* privacy: one column of plain prose */
.privacy { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy .wrap { max-width: 720px; }
.privacy ul { padding-left: 20px; color: var(--muted); margin: 0; }
.privacy li { margin: 8px 0; }

/* pricing: two tiers, the yearly one accented */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 820px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg-2); display: flex; flex-direction: column; gap: 10px; }
.tier.featured { border-color: rgba(79,200,106,.45); }
.price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier ul { margin: 6px 0 12px; padding-left: 18px; color: var(--muted); }
.tier li { margin: 4px 0; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.note { color: var(--faint); font-size: 14px; margin-top: 14px; }

/* faq: native accordion */
.faq { max-width: 720px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 62ch; }

footer { padding: 36px 0 48px; color: var(--faint); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* legal pages */
.legal { max-width: 720px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 860px) {
  .nav-links a:not(.btn):not(.lang) { display: none; }
  .hero { padding: 40px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .shot { aspect-ratio: 4 / 3; }
  .bento { grid-template-columns: 1fr; }
  .c1, .c2, .c3, .c4, .c5 { grid-column: auto; grid-row: auto; }
  .tiers { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}

/* thank-you page: one key, one button; the states swap with [hidden] */
[hidden] { display: none !important; }
.thanks { max-width: 720px; }
.thanks .lead { max-width: none; margin-bottom: 0; }
.keybox { border: 1px solid rgba(79,200,106,.45); border-radius: var(--radius); background: var(--bg-2); padding: 22px; margin: 28px 0; }
.keybox .label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.key { font: 600 clamp(18px, 2.6vw, 26px)/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; word-break: break-all; margin: 0 0 16px; user-select: all; -webkit-user-select: all; }
.keybox .row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.copied { color: var(--accent); font-size: 14px; }
.steps { padding-left: 20px; color: var(--muted); }
.steps li { margin: 8px 0; }
.steps b { color: var(--text); font-weight: 600; }
.status { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 18px 22px; margin: 28px 0; color: var(--muted); }
.status.warn { border-color: rgba(255,159,10,.45); }
.status p { margin: 0; }
.status p + p { margin-top: 8px; }
.waiting::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.5s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@media (prefers-reduced-motion: reduce) { .waiting::after { content: "…"; animation: none; } }
