:root {
  --bg: #021115;
  --surface: #031b22;
  --line: #2a4147;
  --text: #bad2dd;
  --muted: #a7b7be;
  --white: #ffffff;
  --green: #00ff6e;
  --green-soft: #d8ffc8;
  --display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --button: "Koulen", "Geist", sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.45;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Backdrop: a faint hex lattice and one low green glow — the wired2scale.com hero, turned way down. */
.backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(0, 255, 110, 0.10), transparent 70%),
    radial-gradient(40% 30% at 50% 100%, rgba(0, 255, 110, 0.04), transparent 70%),
    var(--bg);
}
.backdrop::after {
  content: ""; position: absolute; inset: 0; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23bad2dd' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.wrap { width: min(1004px, 100% - 32px); margin-inline: auto; }

/* Nav pill */
header { padding-top: 20px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 24px 0 28px;
  border: 1px solid rgba(186, 210, 221, 0.22);
  border-radius: 32px;
  background: rgba(3, 27, 34, 0.55);
  backdrop-filter: blur(10px);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--button); font-size: 26px; line-height: 1; letter-spacing: 0.01em;
  color: var(--white); padding-top: 4px;
}
.wordmark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(0, 255, 110, 0.7); margin-top: -4px; }
.nav-links { display: flex; gap: 32px; font-weight: 700; font-size: 16px; }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--white); }

/* Hero */
.hero { padding: 128px 0 112px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
h1 {
  margin-top: 28px;
  font-weight: 600; font-size: clamp(40px, 7vw, 64px); line-height: 1.15; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--white);
}
h1 .accent { color: var(--green-soft); }
.lede { max-width: 600px; margin: 28px auto 0; font-size: 20px; line-height: 29px; }
.lede strong { color: var(--white); font-weight: 600; }
.cta-row { margin-top: 44px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 4px 22px 0; border-radius: 6px;
  font-family: var(--button); font-size: 22px; line-height: 1; text-transform: uppercase;
  transition: transform .15s, box-shadow .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--green); color: var(--surface); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0, 255, 110, 0.28); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--white); }

/* Sections */
section { padding: 72px 0; border-top: 1px solid rgba(42, 65, 71, 0.6); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
h2 {
  margin-top: 14px;
  font-weight: 600; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--white);
}
.section-intro { margin-top: 16px; max-width: 620px; }

.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(0, 255, 110, 0.55); transform: translateY(-2px); }
.card .domain { font-family: var(--mono); font-size: 13px; color: var(--green); }
.card h3 { font-weight: 600; font-size: 26px; letter-spacing: -0.01em; color: var(--white); }
.card p { color: var(--text); font-size: 17px; }
.card .go {
  margin-top: auto; padding-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--white);
}
.card .go svg { transition: transform .2s; }
.card:hover .go svg { transform: translate(2px, -2px); }

.ownership {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.ledger { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ledger-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; border-top: 1px solid var(--line);
}
.ledger-row:first-child { border-top: 0; }
.ledger-row .k { font-family: var(--mono); font-size: 13px; color: var(--white); }
.ledger-row .v { font-size: 15px; color: var(--muted); text-align: right; }
.ledger-row .v b { color: var(--green-soft); font-weight: 600; }

footer { padding: 36px 0 48px; border-top: 1px solid rgba(42, 65, 71, 0.6); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot a:hover { color: var(--white); }
.foot-links { display: flex; gap: 24px; }

@media (max-width: 760px) {
  .nav { padding: 0 18px 0 20px; height: 56px; }
  .wordmark { font-size: 22px; }
  .nav-links { gap: 18px; font-size: 14px; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 88px 0 72px; }
  .lede { font-size: 18px; line-height: 27px; }
  .cards, .ownership { grid-template-columns: 1fr; }
  .ownership { gap: 28px; }
  section { padding: 56px 0; }
  .ledger-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ledger-row .v { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- shared additions: app pages, prose, forms (Wired2Scale Reporting, 2026-11-20) ---- */
.nav-links a[aria-current="page"] { color: var(--white); }
.page-hero { padding: 96px 0 56px; }
.page-hero h1 { margin-top: 20px; font-size: clamp(34px, 6vw, 54px); }
.page-hero .lede { margin: 22px 0 0; text-align: left; }
.app-id { display: inline-flex; align-items: center; gap: 14px; }
.app-id img { width: 56px; height: 56px; border-radius: 14px; }
.app-id .name { font-weight: 600; font-size: 22px; color: var(--white); }
.app-id .by { font-size: 14px; color: var(--muted); }
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3.4vw, 32px); margin-top: 0; }
.prose h3 { margin-top: 28px; font-size: 20px; font-weight: 600; color: var(--white); }
.prose p, .prose li { font-size: 17px; line-height: 1.6; }
.prose p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose a, .link { color: var(--green-soft); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--white); font-weight: 600; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.feature-list { margin-top: 32px; display: grid; gap: 16px; }
.feature { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.feature .role { font-family: var(--mono); font-size: 12px; color: var(--green); letter-spacing: 0.04em; text-transform: uppercase; }
.feature h3 { margin-top: 8px; font-size: 20px; font-weight: 600; color: var(--white); }
.feature p { margin-top: 8px; font-size: 16px; }
.form { margin-top: 28px; display: grid; gap: 16px; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.form label { display: grid; gap: 6px; align-content: start; font-size: 14px; font-weight: 600; color: var(--white); }
.form label .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--white); font: inherit; font-size: 16px;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { font-size: 13px; color: var(--muted); }
.form button { border: 0; cursor: pointer; justify-self: start; }
.notice { display: none; margin-top: 20px; padding: 14px 16px; border-radius: 10px; font-size: 15px; max-width: 640px; }
.notice.show { display: block; }
.notice.ok { border: 1px solid rgba(0, 255, 110, 0.5); color: var(--green-soft); background: rgba(0, 255, 110, 0.06); }
.notice.err { border: 1px solid #ff8a7a; color: #ffd1ca; background: rgba(255, 90, 70, 0.08); }
/* Quote form: Google's "I'm not a robot" check after Send. A plain overlay (not a modal <dialog>) so Google's
   picture puzzle, which it adds at the end of the page above everything, stays clickable. */
.captcha-overlay {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(2, 17, 21, 0.78);
}
.captcha-overlay[hidden] { display: none; }
.captcha {
  width: min(100%, 380px); padding: 24px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); outline: none;
}
.captcha h3 { margin: 0; color: var(--white); font-size: 20px; }
.captcha p { margin: 8px 0 0; font-size: 15px; }
.captcha .captcha-box { margin-top: 18px; min-height: 78px; }
.captcha .captcha-note { min-height: 20px; font-size: 14px; color: var(--muted); }
.captcha .captcha-cancel { margin-top: 14px; background: transparent; cursor: pointer; }
/* Google's box is a fixed 304 px wide: shrink it on the narrowest phones. */
@media (max-width: 400px) { .captcha { padding: 18px; } }
@media (max-width: 370px) { .captcha .captcha-box { transform: scale(0.88); transform-origin: 0 0; } }
@media (max-width: 340px) { .captcha .captcha-box { transform: scale(0.8); } }
.contact-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; }
.disclaimer { margin-top: 10px; font-size: 13px; color: var(--muted); max-width: 760px; }
@media (max-width: 760px) {
  .form .row, .contact-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 72px 0 40px; }
}
