/* Domain landers. Black ground, Newsreader display, Plex Mono labels, hard edges, one red accent. */
:root {
  --bg: #000; --panel: #0e0e0d; --text: #eeeeec; --muted: #b5b3ad; --dim: #7a7873;
  --line: #262522; --line-strong: #3b3a37; --accent: #ef3b2d;
  --danger: #f87171;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--mono); font-size: 14px; font-weight: 300; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

h1, h2 { font-family: var(--serif); font-weight: 300; margin: 0; line-height: 0.98; letter-spacing: -0.03em; font-variation-settings: "opsz" 72; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.8rem, 10vw, 8.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); margin-top: 0.8rem; }
.lead { font-family: var(--serif); font-weight: 300; color: var(--muted); letter-spacing: -0.01em; line-height: 1.25; font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-top: 1.4rem; max-width: 34ch; }

.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }

.hero { padding-top: clamp(64px, 14vh, 160px); }
.hero h1 { margin-top: 1.2rem; }

/* The number */
form { margin-top: clamp(40px, 7vh, 90px); }
.label, .field > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); }
.label em, .field em { font-style: normal; color: var(--line-strong); margin-left: 6px; }
.amount { display: flex; align-items: baseline; gap: 0.15em; margin-top: 10px; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s; }
.amount:focus-within { border-color: var(--text); }
.cur { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); color: var(--dim); line-height: 1; padding-bottom: 0.12em; }
#f-offer { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; padding: 0 0 0.12em; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 7.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--text); caret-color: var(--accent); font-variant-numeric: tabular-nums; }
#f-offer::placeholder { color: var(--line-strong); }

.meter { display: grid; grid-template-columns: repeat(32, 1fr); gap: 3px; height: 14px; margin-top: 18px; }
.meter i { display: block; background: var(--line); transition: background 0.18s var(--ease), transform 0.18s var(--ease); transform-origin: bottom; }
.meter i.on { background: var(--text); }
.meter i.hot { background: var(--accent); }
.meter.shake i.on { animation: tick 0.25s var(--ease); }
@keyframes tick { 40% { transform: scaleY(1.6); } }

.react { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.015em; line-height: 1.15; margin-top: 18px; min-height: 1.2em; color: var(--muted); transition: color 0.2s; }
.react.hot { color: var(--text); }
.react.no { color: var(--dim); }

.buynow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; width: 100%; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; text-align: left; cursor: pointer; transition: background 0.12s, border-color 0.12s; }
.buynow:hover, .buynow.on { border-color: var(--text); background: var(--panel); }
.bn-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); }
.bn-price { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; }
.bn-price em { font-style: normal; color: var(--accent); margin-left: 6px; }
@media (max-width: 480px) { .buynow { flex-direction: column; align-items: flex-start; gap: 6px; } }

.rest { margin-top: 36px; display: grid; gap: 22px; animation: rise 0.45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .rest, .meter i { animation: none !important; transition: none !important; } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; max-width: 480px; }
input:not(#f-offer), select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 12px 0; font-size: 16px; font-weight: 300; outline: none; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(-45deg, transparent 50%, var(--dim) 50%); background-position: right 8px top 55%, right 0 top 55%; background-size: 8px 8px; background-repeat: no-repeat; cursor: pointer; }
select option { background: var(--panel); color: var(--text); }
input::placeholder { color: var(--line-strong); }
input:not(#f-offer):focus, select:focus { border-color: var(--text); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: 18px 22px; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; font-family: var(--mono); font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1; cursor: pointer; transition: background 0.12s, color 0.12s, border-color 0.12s; }
.btn:hover { background: var(--text); border-color: var(--text); color: #000; }
.btn.hot { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.hot:hover { background: var(--text); border-color: var(--text); color: #000; }
.btn:disabled { opacity: 0.5; cursor: default; }
.status { font-size: 12px; color: var(--dim); }
.status.err { color: var(--danger); }

.success { margin-top: clamp(40px, 7vh, 90px); animation: rise 0.45s var(--ease) both; }

.terms { margin-top: clamp(48px, 8vh, 100px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 0.02em; color: var(--dim); max-width: 80ch; }


footer { padding-top: 24px; padding-bottom: 44px; margin-top: clamp(80px, 16vh, 200px); font-size: 11px; line-height: 1.7; color: var(--dim); }
footer p { max-width: 72ch; }
footer p + p { margin-top: 6px; }

footer a { border-bottom: 1px solid var(--line-strong); }
footer a:hover { color: var(--text); border-color: var(--text); }

/* Terms page */
.doc { max-width: 72ch; padding-top: clamp(48px, 9vh, 110px); padding-bottom: 80px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-top: 1rem; }
.doc .lead { max-width: 60ch; }
.doc h2 { font-size: 1.5rem; margin-top: 2.6rem; letter-spacing: -0.015em; }
.doc h2 + p, .doc p + p, .doc ul + p, .doc p + ul { margin-top: 0.8rem; }
.doc p, .doc li { font-family: var(--serif); font-size: 1.05rem; line-height: 1.45; color: var(--muted); }
.doc li { margin-left: 1.2em; list-style: square; margin-top: 0.35rem; }
.doc strong { color: var(--text); font-weight: 400; }
.doc .back { display: inline-block; margin-top: 3rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.doc .updated { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); margin-top: 1.2rem; }
