:root {
  --bg: #0f0d0a; --bg2: #17130e; --panel: #1d1812; --line: #3a3024;
  --text: #efe6d2; --muted: #b7a98e; --gold: #c9a24e; --gold2: #e2c477; --red: #d7614e;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--serif); font-size: 17px; line-height: 1.6; }
a { color: var(--gold2); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.kicker { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-weight: normal; letter-spacing: 0.04em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 36px); text-transform: uppercase; margin: 8px 0 18px; }
.rule { width: 48px; height: 2px; background: var(--gold); margin: 14px 0 22px; }

/* header */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { color: var(--text); text-decoration: none; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; }
.brand b { color: var(--gold); font-weight: normal; }
.nav { display: flex; gap: 18px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--gold2); }

/* hero */
.hero { position: relative; min-height: min(100vh, 880px); display: flex; align-items: center; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: url(../img/hero.jpg) center / cover no-repeat; }
.hero .bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,8,6,0.95) 0%, rgba(10,8,6,0.82) 45%, rgba(10,8,6,0.45) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(15,13,10,0) 30%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); text-transform: uppercase; margin: 10px 0 12px; }
.hero .sub { font-style: italic; font-size: 20px; color: var(--muted); margin: 0 0 22px; }
.hero p.lead { color: #d9ceb6; margin: 0 0 24px; max-width: 34em; }

/* founders counter */
.counter { background: rgba(29,24,18,0.85); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 14px 16px; margin-bottom: 18px; }
.counter .num { font-size: 22px; color: var(--gold2); }
.counter .bar { height: 6px; background: #2c2419; margin-top: 10px; border-radius: 3px; overflow: hidden; }
.counter .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); width: 0%; transition: width 0.8s; }
.counter small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* form */
form.claim { display: grid; gap: 10px; max-width: 460px; }
.field input { width: 100%; padding: 14px 14px; font: inherit; font-size: 16px; color: var(--text); background: rgba(10,8,6,0.75);
  border: 1px solid var(--line); border-radius: 3px; }
.field input:focus { outline: none; border-color: var(--gold); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--gold); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button.cta, a.cta { display: inline-block; text-align: center; padding: 15px 22px; font: inherit; font-size: 15px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #1a1408; background: linear-gradient(180deg, var(--gold2), var(--gold)); border: 0; border-radius: 3px;
  cursor: pointer; text-decoration: none; }
button.cta:disabled { opacity: 0.6; cursor: wait; }
a.ghost { display: inline-block; padding: 12px 18px; border: 1px solid var(--gold); color: var(--gold2); text-decoration: none; border-radius: 3px; font-size: 14px; letter-spacing: 0.1em; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 460px; }
.msg { margin-top: 6px; padding: 16px 16px; border: 1px solid var(--line); background: rgba(29,24,18,0.92); max-width: 460px; display: none; }
.msg.show { display: block; }
.msg.err { border-color: var(--red); color: #f2c3b9; }
.msg h3 { font-size: 22px; color: var(--gold2); margin-bottom: 6px; }
.msg .serial { font-family: 'Courier New', monospace; font-size: 18px; color: var(--text); letter-spacing: 0.06em; }
.msg .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* book stack */
.stack { position: relative; height: 560px; }
.stack img { position: absolute; width: 62%; box-shadow: 0 30px 60px rgba(0,0,0,0.6); border-radius: 2px; }
.stack .cert { right: 0; top: 40px; transform: rotate(5deg); opacity: 0.95; }
.stack .front { left: 4%; top: 0; transform: rotate(-3deg); }

/* sections */
section.block { padding: 72px 0; border-top: 1px solid #221c14; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid #2a2219; overflow: hidden; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card .t { padding: 12px 14px 14px; }
.card .t .kicker { font-size: 11px; }
.card .t h3 { font-size: 18px; margin-top: 4px; }
.card .t p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.two { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: center; }
.two img { box-shadow: 0 24px 50px rgba(0,0,0,0.5); }
ul.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
ul.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; color: #d9ceb6; }
ul.ticks li::before { content: '◆'; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 5px; }
.eps .card a { color: inherit; text-decoration: none; }
footer { padding: 36px 0 48px; border-top: 1px solid #221c14; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* simple pages (verify, privacy) */
.page { padding: 120px 0 60px; min-height: 80vh; }
.page .narrow { max-width: 680px; }
.verify-box { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.verify-box input { flex: 1 1 260px; padding: 14px; font: inherit; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); background: #120f0b; border: 1px solid var(--line); border-radius: 3px; font-family: 'Courier New', monospace; }
.result { margin-top: 18px; padding: 22px; border: 1px solid var(--line); background: var(--panel); display: none; }
.result.show { display: block; }
.result.ok { border-color: var(--gold); }
.result .big { font-size: 30px; color: var(--gold2); }
.result.bad { border-color: var(--red); }
.prose p, .prose li { color: #d9ceb6; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 90px; }
  .stack { height: 380px; max-width: 420px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .nav { gap: 12px; font-size: 13px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .brand { font-size: 11px; letter-spacing: 0.2em; }
  .nav a.hide-s { display: none; }
  .stack { height: 330px; }
}
