/* gemini4argon.com: one stylesheet, no framework.
   Palette is argon plasma (lavender) + a warm amber for actions. It deliberately
   avoids Google's four-color palette and the Gemini blue-to-pink gradient: this is
   an independent site and must never look like a Google property. */
:root {
  color-scheme: dark;
  --bg: #0a0a10;
  --bg2: #0f0f18;
  --card: #13131e;
  --card2: #181826;
  --line: #242438;
  --line2: #33334f;
  --text: #ecebf5;
  --muted: #a9a8c2;
  --dim: #7a7994;
  --ar: #bba7ff;
  --ar2: #8f72ff;
  --ar-soft: rgba(143, 114, 255, .14);
  --amber: #ffb454;
  --amber2: #ffc97d;
  --amber-ink: #1c1205;
  --ok: #62e3a6;
  --warn: #ffd166;
  --radius: 14px;
  --maxw: 1140px;
  --prose: 720px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 78% -140px, rgba(143, 114, 255, .20), transparent 62%),
    radial-gradient(700px 380px at 0% 0%, rgba(255, 180, 84, .06), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* faint lab-paper grid behind the top of every page */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
  z-index: -1;
}

a { color: var(--ar); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s ease; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- not-affiliated notice: on every page, above everything ---------- */
.notice {
  background: #15131f;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  padding: 7px 16px;
}
.notice strong { color: var(--text); font-weight: 600; }
.notice a { color: var(--muted); }
.notice a:hover { color: var(--text); }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 16, .82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand .tile { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name { font-weight: 750; letter-spacing: -.01em; font-size: 16px; }
.brand-name span { color: var(--dim); font-weight: 500; }
.pill {
  font: 600 11px/1 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber2);
  border: 1px solid rgba(255, 180, 84, .35);
  background: rgba(255, 180, 84, .08);
  border-radius: 999px;
  padding: 5px 8px;
}
.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 550;
  padding: 8px 11px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: var(--text); background: var(--ar-soft); }
@media (max-width: 860px) {
  .top-in { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
  .pill { display: none; }
  .nav {
    order: 3;
    width: 100%;
    margin: 6px 0 0;
    padding-bottom: 8px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .nav a { padding: 6px 10px; font-size: 14px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  color: var(--amber-ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  box-shadow: 0 8px 26px rgba(255, 180, 84, .18), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--amber-ink); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255, 180, 84, .28), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn:active { transform: translateY(0); filter: brightness(.96); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line2);
  box-shadow: none;
}
.btn.ghost:hover { color: var(--text); background: rgba(255, 255, 255, .05); border-color: #45456a; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- home hero ---------- */
.hero { padding: 64px 0 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.eyebrow { font: 600 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ar); margin: 0 0 14px; }
.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0 0 20px;
  font-weight: 820;
}
.hero h1 .glow { color: var(--ar); text-shadow: 0 0 28px rgba(143, 114, 255, .55); }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 620px; margin: 0 0 24px; }
.hero .lede strong { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fine { color: var(--dim); font-size: 13px; margin: 18px 0 0; }

/* the periodic-table tile: the site's mark, drawn from argon's real data */
.element {
  position: relative;
  aspect-ratio: 1 / 1.08;
  max-width: 380px;
  margin-left: auto;
  border-radius: 26px;
  border: 1px solid rgba(187, 167, 255, .35);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(143, 114, 255, .30), transparent 60%),
    linear-gradient(180deg, #17142a, #0f0e1a);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 60px rgba(143, 114, 255, .18);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.element .num { font: 600 20px/1 var(--mono); color: var(--ar); }
.element .sym {
  font-size: clamp(110px, 16vw, 170px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.05em;
  margin: auto 0 6px;
  color: #f3efff;
  text-shadow: 0 0 40px rgba(143, 114, 255, .65);
}
.element .name { font-size: 22px; font-weight: 700; margin: 0; }
.element .mass { font: 500 14px/1.4 var(--mono); color: var(--dim); }
.element .tag4 {
  position: absolute;
  top: 22px;
  right: 24px;
  font: 700 12px/1 var(--mono);
  letter-spacing: .06em;
  color: var(--amber2);
  border: 1px solid rgba(255, 180, 84, .35);
  border-radius: 999px;
  padding: 6px 9px;
}
.spectrum { display: block; width: 100%; height: 34px; border-radius: 8px; margin-top: 18px; }
.spectrum-cap { font: 500 11.5px/1.3 var(--mono); color: var(--dim); margin-top: 6px; }

@media (max-width: 860px) {
  .hero { padding: 36px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .element { margin: 0; max-width: 100%; aspect-ratio: auto; min-height: 250px; }
  .element .sym { font-size: 120px; }
}

/* ---------- home sections ---------- */
.section { padding: 46px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.section h2, .section-title { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.section .sub { color: var(--muted); margin: 8px 0 0; max-width: 680px; }
.more { font-weight: 650; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 22px 0; }
/* six facts: always even rows (3+3, then 2+2+2, then one column) instead of 5+1 */
.facts.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .facts.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .facts.c3 { grid-template-columns: 1fr; } }
.fact {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact .k { font: 600 11.5px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.fact .v { font-size: 21px; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.fact .n { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* benchmark bars */
.bench { display: grid; gap: 14px; }
.bench-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; }
.bench-card h3 { margin: 0 0 2px; font-size: 18px; }
.bench-card .what { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.bar { display: grid; grid-template-columns: 138px minmax(0, 1fr) 58px; align-items: center; gap: 12px; margin: 8px 0; font-size: 14.5px; }
.bar .lbl { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .track { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar .fill { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #4a4a68; }
.bar.us .lbl { color: var(--text); font-weight: 700; }
.bar.us .fill { background: linear-gradient(90deg, var(--ar2), var(--ar)); box-shadow: 0 0 16px rgba(143, 114, 255, .5); }
.bar .val { font: 650 14px/1 var(--mono); text-align: right; }
.bench-note { color: var(--dim); font-size: 13px; margin: 12px 0 0; }
@media (max-width: 520px) { .bar { grid-template-columns: 100px minmax(0, 1fr) 50px; gap: 8px; font-size: 13.5px; } }

/* cards grid (guides, related) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { color: var(--text); border-color: rgba(187, 167, 255, .45); background: var(--card2); transform: translateY(-2px); }
.card .k { font: 600 11.5px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ar); }
.card b { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.card span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Lumeta band */
.band {
  position: relative;
  border: 1px solid rgba(255, 180, 84, .28);
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(255, 180, 84, .14), transparent 70%),
    radial-gradient(600px 260px at 0% 100%, rgba(143, 114, 255, .16), transparent 70%),
    var(--card);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 40px);
  overflow: hidden;
}
.band .eyebrow { color: var(--amber2); }
.band h2 { margin: 0 0 10px; }
.band p { color: var(--muted); max-width: 720px; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.vs { display: grid; gap: 8px; }
.vs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.vs-row b { font-weight: 700; }
.vs-row .yes { color: var(--ok); font-weight: 700; white-space: nowrap; }
.vs-row .no { color: var(--dim); white-space: nowrap; }
.vs-row.us { border-color: rgba(255, 180, 84, .4); background: rgba(255, 180, 84, .07); }

/* ---------- article pages ---------- */
.page-head { padding: 42px 0 8px; }
.crumbs { font-size: 13.5px; color: var(--dim); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.kicker { font: 600 12.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ar); margin: 0 0 10px; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 14px; max-width: 900px; font-weight: 800; }
.meta { color: var(--dim); font-size: 14px; margin: 0; }
.meta time { color: var(--muted); }

.layout { display: grid; grid-template-columns: minmax(0, var(--prose)) minmax(0, 300px); gap: 56px; justify-content: space-between; padding: 22px 0 40px; }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.side { position: relative; }
.side-in { position: sticky; top: 88px; display: grid; gap: 14px; }
@media (max-width: 1000px) { .side { display: none; } }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 12px; }
.toc p { font: 600 11.5px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.35; padding: 5px 8px; border-radius: 7px; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.side-cta { background: linear-gradient(180deg, rgba(255, 180, 84, .10), rgba(255, 180, 84, .03)); border: 1px solid rgba(255, 180, 84, .3); border-radius: var(--radius); padding: 18px; }
.side-cta b { display: block; font-size: 16.5px; line-height: 1.3; margin-bottom: 6px; }
.side-cta p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.side-cta .btn { width: 100%; min-height: 42px; font-size: 15px; }
.side-cta small { display: block; color: var(--dim); font-size: 12px; margin-top: 10px; }

.prose { min-width: 0; }
.prose > * { max-width: var(--prose); }
.prose .lede { font-size: 20px; line-height: 1.6; color: #d8d6ea; margin-top: 4px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; line-height: 1.2; margin: 46px 0 12px; }
.prose h3 { font-size: 20px; letter-spacing: -.01em; margin: 30px 0 8px; }
.prose p, .prose li { color: #d3d1e4; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--ar); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

.callout { background: var(--ar-soft); border: 1px solid rgba(187, 167, 255, .28); border-left: 3px solid var(--ar); border-radius: 12px; padding: 14px 16px; margin: 22px 0; }
.callout.warn { background: rgba(255, 209, 102, .08); border-color: rgba(255, 209, 102, .3); border-left-color: var(--warn); }
.callout.ok { background: rgba(98, 227, 166, .08); border-color: rgba(98, 227, 166, .28); border-left-color: var(--ok); }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

.steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 18px 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 56px; margin: 0; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font: 700 14px/1 var(--mono);
  color: var(--amber-ink);
  background: var(--amber);
}

pre {
  position: relative;
  background: #07070c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px;
  overflow-x: auto;
  font: 13.8px/1.6 var(--mono);
  color: #e6e3ff;
  margin: 18px 0;
  max-width: 100%;
}
pre code { font: inherit; white-space: pre; }
:not(pre) > code { font: .88em var(--mono); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: #efeaff; word-break: break-word; }
.copy {
  position: absolute;
  top: 8px;
  right: 8px;
  font: 600 12px/1 var(--sans);
  color: var(--muted);
  background: var(--card2);
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  opacity: .85;
  transition: opacity .15s ease, color .15s ease, border-color .15s ease;
}
.copy:hover { opacity: 1; color: var(--text); border-color: #4b4b70; }
.copy.done { color: var(--ok); border-color: rgba(98, 227, 166, .5); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 20px 0; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); background: var(--card2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
tr.us td { background: rgba(143, 114, 255, .08); color: var(--text); font-weight: 650; }

.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 18px 0; }
.tool { display: flex; flex-direction: column; gap: 3px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--text); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.tool:hover { color: var(--text); border-color: rgba(255, 180, 84, .5); transform: translateY(-1px); }
.tool b { font-size: 15.5px; }
.tool span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(255, 180, 84, .16), transparent 70%),
    var(--card2);
  border: 1px solid rgba(255, 180, 84, .32);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 30px 0;
}
.cta > div { flex: 1 1 280px; }
.cta h3 { margin: 0 0 4px; font-size: 19px; }
.cta p { margin: 0; color: var(--muted); font-size: 15px; }

details.qa { border: 1px solid var(--line); background: var(--card); border-radius: 12px; margin: 10px 0; transition: border-color .18s ease; }
details.qa[open] { border-color: var(--line2); }
details.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-weight: 650;
  font-size: 16.5px;
  position: relative;
  color: var(--text);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ar);
  border-bottom: 2px solid var(--ar);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
details.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.qa summary:hover { color: #fff; }
details.qa .a { padding: 0 16px 6px; }
details.qa .a p { margin: 0 0 12px; }

.src { color: var(--dim); font-size: 13.5px; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 14px; }
.src a { color: var(--muted); }

.related { margin-top: 44px; }
.related h2 { margin-top: 0; }

/* pricing calculator */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 22px 0; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.calc label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.calc input {
  font: 600 17px/1 var(--mono);
  color: var(--text);
  background: #07070c;
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 11px 12px;
  width: 100%;
  transition: border-color .15s ease;
}
.calc input:focus { outline: none; border-color: var(--ar); box-shadow: 0 0 0 3px rgba(143, 114, 255, .2); }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; }
.calc-out div { background: #0b0b13; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.calc-out span { display: block; font: 600 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.calc-out b { font: 750 24px/1.3 var(--mono); }
.calc small { display: block; color: var(--dim); margin-top: 12px; font-size: 12.5px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 38px 0 44px; background: rgba(0, 0, 0, .25); font-size: 14.5px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 22px; } }
.foot h3 { font: 600 12px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; line-height: 1.6; }
.legal strong { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
