/* ============================================================
   KuotaKit — landing styles (brutalist)
   Retheme the whole page by changing --acc below.
   ============================================================ */

:root {
  --paper:    #FCFCFA;   /* background */
  --ink:      #0A0A0A;   /* text, borders */
  --ink-soft: #3A3A3A;   /* body copy */
  --muted:    #6A6A6A;   /* labels */
  --line:     #262626;   /* code header divider */
  --acc:      #E5FF00;   /* acid accent — single source of truth */

  --font-display: 'Space Grotesk', sans-serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--acc); color: var(--ink); }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.025em; }
p { margin: 0; }

/* Helpers ---------------------------------------------------- */
.wrap   { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 28px; }
.mono   { font-family: var(--font-mono); }
.muted  { color: var(--ink-soft); }
.hl     { background: var(--acc); padding: 0 6px; }
.badge  { background: var(--acc); padding: 2px 6px; font-family: var(--font-mono); font-size: 12px; }
.eyebrow{ font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  border-radius: 0; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--paper); border: 2px solid var(--ink); }
.btn-primary:hover { background: var(--paper); color: var(--ink); }
.btn-ghost  { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--acc); }

/* Nav -------------------------------------------------------- */
.nav { border-bottom: 2px solid var(--ink); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.brand .sq { width: 14px; height: 14px; background: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Hero ------------------------------------------------------- */
.hero { border-bottom: 2px solid var(--ink); }
.hero-inner { padding-top: 72px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-col { flex: 1 1 400px; min-width: 0; }
.hero h1 { font-size: 54px; line-height: 0.98; margin-top: 20px; }
.hero-sub { font-size: 18px; line-height: 1.55; margin-top: 24px; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { font-size: 13px; margin-top: 20px; }

/* Code block ------------------------------------------------- */
.code { background: var(--ink); border-radius: 10px; overflow: hidden; }
.code-head { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: #9A9A9A; }
.code-head .dot { width: 9px; height: 9px; border-radius: 2px; }
.code-body { padding: 16px 20px; overflow-x: auto; }
.code-body pre { margin: 0; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; color: var(--paper); }
.str { color: var(--acc); }
.com { color: #9A9A9A; }

/* Sections --------------------------------------------------- */
.section { padding-block: 56px; border-top: 2px solid var(--ink); }
.section h2 { font-size: 36px; margin-top: 14px; }
.platforms { padding-block: 44px; }

/* Platform bar ----------------------------------------------- */
.plat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; margin-bottom: 16px; }
.plat-bar { display: flex; flex-wrap: wrap; border: 2px solid var(--ink); }
.plat-bar span { padding: 14px 20px; font-weight: 500; border-right: 2px solid var(--ink); }
.plat-bar span:last-child { border-right: 0; }

/* Cards / grid ----------------------------------------------- */
.grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.card { flex: 1 1 300px; min-width: 0; background: #fff; border: 2px solid var(--ink); border-radius: 0; padding: 22px; }
.card h3 { font-size: 18px; margin-top: 14px; }
.card p { margin-top: 10px; line-height: 1.55; font-size: 15px; }
.idx { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 24px; background: var(--acc); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 600; }

/* Quick start ------------------------------------------------ */
.steps { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.step { flex: 1 1 340px; min-width: 0; }
.steplabel { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }

/* How it works ----------------------------------------------- */
.flow { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-top: 34px; }
.flow .card { flex: 1 1 240px; }
.flow .card h3 { font-size: 17px; margin-top: 12px; }
.flow .card p { font-size: 14px; line-height: 1.5; margin-top: 8px; }
.arrow { flex: 0 0 auto; align-self: center; font-size: 24px; font-weight: 700; }

/* CTA -------------------------------------------------------- */
.cta { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--acc); }
.cta-inner { padding-block: 64px; text-align: center; }
.cta h2 { font-size: 38px; }
.cta p { margin-top: 12px; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* Footer ----------------------------------------------------- */
.foot-top { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-brand { max-width: 300px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot-col h4 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; font-weight: 500; }
.foot-col div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-bottom { border-top: 2px solid var(--ink); }
.foot-bottom-inner { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-family: var(--font-mono); font-size: 12.5px; }

/* Mobile — brutalist thick borders need breathing room ------- */
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .hero-inner { padding-top: 52px; padding-bottom: 48px; gap: 32px; }
  .hero h1 { font-size: 40px; }
  .section { padding-block: 44px; }
  .section h2, .cta h2 { font-size: 28px; }
}
