/* Gigatokens — the approved Developer ("Circuit") theme.
 *
 * EXTRACTED VERBATIM from design/style-v1/index.html, the CEO-approved page
 * (2026-09-03). This is a RELOCATION, not a rewrite: the design is approved
 * and is not ours to change (§4.4). Any edit here is a design change and
 * needs the owner, not a tidy-up.
 *
 * The style package is pinned by content hash in the factory manifest, so a
 * v2 of the package is a deliberate, ticketed change rather than a surprise.
 */
:root {
    --bg: #070B12;
    --surface: #0E1520;
    --surface-2: #131C2B;
    --line: #1E2A3D;
    --text: #E8EEF7;
    --muted: #8A97A8;
    --green: #00E88F;
    --blue: #2E7CF6;
    --grad: linear-gradient(120deg, #00E88F, #2E7CF6);
    --radius: 14px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, .display { font-family: 'Space Grotesk', 'Inter', sans-serif; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
  .mono { font-family: 'JetBrains Mono', monospace; }

  /* ---------- Nav ---------- */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7,11,18,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
  .logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk'; font-weight: 700; font-size: 29px; letter-spacing: 0.02em; }
  .logo .tok { color: var(--green); }
  .logo sup { font-size: 0.52em; line-height: 0; }
  .swap { position: relative; display: inline-block; }
  .swap .p1, .swap .p2, .swap .p3 { display: inline-block; }
  .swap .p2, .swap .p3 { position: absolute; right: 0; top: 0; }
  .swap .p3 { font-family: 'JetBrains Mono', monospace; font-size: 0.92em; top: 0.07em; }
  .swap .p1 { animation: swp1 12s ease-in-out infinite; }
  .swap .p2 { animation: swp2 12s ease-in-out infinite; }
  .swap .p3 { animation: swp3 12s ease-in-out infinite; }
  @keyframes swp1 { 0%, 29% { opacity: 1; transform: translateY(0); } 33%, 92% { opacity: 0; transform: translateY(-0.45em); } 93% { opacity: 0; transform: translateY(0.45em); } 100% { opacity: 1; transform: translateY(0); } }
  @keyframes swp2 { 0%, 29% { opacity: 0; transform: translateY(0.45em); } 33%, 62% { opacity: 1; transform: translateY(0); } 66%, 100% { opacity: 0; transform: translateY(-0.45em); } }
  @keyframes swp3 { 0%, 62% { opacity: 0; transform: translateY(0.45em); } 66%, 95% { opacity: 1; transform: translateY(0); } 99%, 100% { opacity: 0; transform: translateY(-0.45em); } }
  .nav-links { display: flex; gap: 32px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
  .nav-links a:hover { color: var(--text); }
  .btn {
    display: inline-block; padding: 10px 22px; border-radius: 10px;
    font-weight: 600; font-size: 14.5px; transition: all .15s ease; cursor: pointer;
  }
  .btn-primary { background: var(--grad); color: #04110B; }
  .btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
  .btn-ghost { border: 1px solid var(--line); color: var(--text); }
  .btn-ghost:hover { border-color: var(--green); }

  /* ---------- Hero ---------- */
  .hero { position: relative; padding: 28px 0; overflow: hidden; }
  @media (min-width: 900px) and (min-height: 620px) {
    .fold { display: flex; flex-direction: column; min-height: 100vh; padding-bottom: 28px; }
    .hero { flex: 1; display: flex; align-items: center; }
    .hero > .wrap { width: 100%; }
  }

  .hero::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(800px 400px at 75% 10%, rgba(46,124,246,0.16), transparent 65%),
      radial-gradient(700px 380px at 20% 90%, rgba(0,232,143,0.10), transparent 65%);
    pointer-events: none;
  }
  .hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--green); background: rgba(0,232,143,0.08);
    border: 1px solid rgba(0,232,143,0.25); border-radius: 100px; padding: 6px 14px; margin-bottom: 22px;
  }
  .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
  h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; }
  h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero p.lede { margin: 22px 0 32px; font-size: 18px; color: var(--muted); max-width: 540px; }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
  .hero-ctas .btn { padding: 14px 28px; font-size: 15.5px; }

  /* code card */
  .code-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45); overflow: hidden; font-size: 13.5px;
  }
  .code-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
  .code-head .c { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
  .code-card pre { padding: 18px 20px; overflow-x: auto; line-height: 1.7; }
  .tk-k { color: var(--blue); } .tk-s { color: var(--green); } .tk-c { color: #56637a; }
  .status-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45); overflow: hidden; font-family: 'JetBrains Mono', monospace; }
  .status-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
  .status-head .reg { color: var(--green); font-weight: 600; letter-spacing: 0.04em; }
  .status-head .reg .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); margin-right: 7px; animation: stpulse 2s ease-in-out infinite; }
  @keyframes stpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
  .status-rows { list-style: none; padding: 6px 0; }
  .status-rows li { display: flex; align-items: center; gap: 12px; padding: 8px 18px; font-size: 13px; }
  .status-rows li + li { border-top: 1px solid rgba(30,42,61,0.55); }
  .status-rows .sdot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: stpulse 2.6s ease-in-out infinite; }
  .status-rows .mname { color: var(--text); }
  .status-rows .sval { margin-left: auto; color: var(--green); font-weight: 600; font-size: 12.5px; }
  .status-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }
  .status-foot b { font-size: 16px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* ---------- Stats ---------- */
  .stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 22px 20px; text-align: center; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat .n { font-family: 'Space Grotesk'; font-size: 29px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .stat .l { font-size: 13px; color: var(--muted); margin-top: 3px; }

  /* ---------- Sections ---------- */
  section { padding: 52px 0; }
  .sec-head { max-width: 640px; margin-bottom: 56px; }
  .kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
  h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
  .sec-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

  .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  @media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
  .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; transition: border-color .2s ease, transform .2s ease;
    display: flex; flex-direction: column; align-items: flex-start;
  }
  .card:hover { border-color: rgba(0,232,143,0.4); transform: translateY(-3px); }
  .card .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 18px; font-size: 20px; }
  .card h3 { font-size: 19px; margin-bottom: 10px; }
  .card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
  .card .tag { display: inline-block; margin-top: auto; font-size: 12px; font-weight: 600; color: var(--green); background: rgba(0,232,143,0.08); border-radius: 6px; padding: 3px 9px; }

  /* ---------- Models table ---------- */
  .models-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
  th { text-align: left; padding: 14px 22px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--line); background: var(--surface-2); }
  td { padding: 16px 22px; border-bottom: 1px solid var(--line); }
  tr:last-child td { border-bottom: none; }
  tr:hover td { background: rgba(255,255,255,0.015); }
  .pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
  .pill.open { color: var(--blue); background: rgba(46,124,246,0.12); }
  .pill.bvx { color: var(--green); background: rgba(0,232,143,0.10); }
  td.price { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; color: var(--text); }
  .table-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

  /* ---------- Infra ---------- */
  .infra { }
  .infra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .checklist { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
  .checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
  .checklist li strong { color: var(--text); display: block; font-size: 15.5px; }
  .check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,232,143,0.1); color: var(--green); display: grid; place-items: center; font-size: 13px; margin-top: 2px; }
  .uk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; text-align: center; }
  .uk-card .flag { font-size: 44px; }
  .uk-card h3 { font-size: 22px; margin: 14px 0 8px; }
  .uk-card p { color: var(--muted); font-size: 14.5px; }
  .uk-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
  .uk-badges span { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; }

  /* ---------- Investors ---------- */
  .investors { text-align: center; padding: 72px 0; }
  .investors .kicker { color: var(--muted); }
  .inv-logos { display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; margin-top: 32px; }
  .inv-logos span { font-family: 'Space Grotesk'; font-size: 20px; font-weight: 700; color: #5A6778; letter-spacing: 0.01em; opacity: 0.9; transition: color .2s; }
  .inv-logos span:hover { color: var(--text); }
  .trust-band { background: var(--surface); border-bottom: 1px solid var(--line); padding: 24px 0 20px; text-align: center; }
  .trust-card { display: flex; gap: 60px; align-items: stretch; justify-content: center; flex-wrap: wrap; }
  .trust-group { text-align: center; display: flex; flex-direction: column; justify-content: center; }
  .trust-label { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
  .trust-logos { display: flex; gap: 38px; align-items: center; justify-content: center; flex-wrap: wrap; }
  .trust-logos img { display: block; filter: brightness(0) invert(1); opacity: 0.75; transition: opacity .2s; }
  .trust-logos img:hover { opacity: 1; }
  .trust-logos img.jpglogo { filter: grayscale(1) invert(1) contrast(1.05); mix-blend-mode: screen; opacity: 0.85; }
  .trust-div { width: 1px; background: var(--line); }

  /* ---------- CTA ---------- */
  .cta {
    text-align: center; border-radius: 20px; padding: 72px 40px; position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line);
  }
  .cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% 120%, rgba(0,232,143,0.14), transparent 70%);
  }
  .cta > * { position: relative; }
  .cta h2 { margin-bottom: 14px; }
  .cta p { color: var(--muted); max-width: 480px; margin: 0 auto 32px; }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 13.5px; }
  .foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
  .foot-links { display: flex; gap: 26px; }
  .foot-links a:hover { color: var(--text); }
  .draft-note { margin-top: 26px; font-size: 12px; color: #4A5568; }

  @media (max-width: 900px) {
    .hero-grid, .infra-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
    .nav-links { display: none; }
  }
  /* short laptop screens: keep the whole fold (incl. trust band) visible */
  @media (min-width: 900px) and (max-height: 780px) {
    h1 { font-size: clamp(30px, 3.6vw, 44px); }
    .hero p.lede { font-size: 15.5px; margin: 16px 0 22px; }
    .hero-ctas .btn { padding: 11px 22px; font-size: 14.5px; }
    .eyebrow { margin-bottom: 14px; }
    .status-rows li { padding: 5px 18px; font-size: 12px; }
    .status-head { padding: 8px 18px; }
    .status-foot { padding: 8px 18px; }
    .status-foot b { font-size: 14px; }
    .stat { padding: 12px 20px; }
    .stat .n { font-size: 22px; }
    .stat .l { font-size: 12px; margin-top: 1px; }
    .trust-band { padding: 12px 0 10px; }
    .trust-logos { gap: 28px; }
    .trust-card { gap: 44px; }
    .trust-logos img[alt="BlackRock"] { height: 22px !important; }
    .trust-logos img[alt="SoftBank"] { height: 22px !important; }
    .trust-logos img[alt="Citigroup"] { height: 32px !important; }
    .trust-logos img[alt="Index Ventures"] { height: 41px !important; }
    .trust-logos img[alt="Google Cloud"] { height: 25px !important; }
    .trust-logos img[alt="Civo"] { height: 18px !important; }
    .trust-label { margin-bottom: 6px; }
    .trust-band p { margin-top: 6px !important; font-size: 11px !important; }
  }
