/* Forge IP pages. Structure and restraint follow the captured Acquisition.com opt-in
   (centered hero copy, one accent color, soft panel, rounded form card, thin dividers).
   Palette and type are the Forge's (BRAND.md). Harsh, Oct 29: "clean, subtle, crisp". */
:root {
  --paper: #FAF7EE; --card: #FFFDF8; --bone: #F5F1E8; --elev: #EFEADB; --ink: #0C0A08;
  --muted: #5C544A; --soft: #8A8277; --border: #E5DFD1; --border-strong: #C7BDA8;
  --gold: #D4B254; --gold-light: #E8C96E; --gold-deep: #A88838; --gold-text: #8C6F24; --ember: #D9542B;
  --peach: #F3E4CF; --tint: #F1EADB;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 1px 2px rgba(12, 10, 8, .04), 0 18px 48px -12px rgba(12, 10, 8, .14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--display); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -.028em; margin: 0; }
.acc { color: var(--gold-text); }
.kicker { font: 700 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
.kicker.muted { color: var(--soft); }

/* top bar + header */
.topbar { background: var(--ink); color: #E9E3D6; text-align: center; font: 500 14px/1.4 var(--display); padding: 10px 16px; }
.topbar b { color: var(--gold); font-weight: 800; }
.hdr { background: #16130F; }
.hdr .wrap { display: flex; align-items: center; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--paper); font: 800 15px/1 var(--display); letter-spacing: .01em; }
.brand img { width: 22px; height: 22px; }

/* HERO */
.hero { padding: 44px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: start; }
.hero-copy { text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--card); border: 1.5px solid var(--gold); border-radius: 999px; padding: 8px 14px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(212, 178, 84, .25); }
.hero h1 { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.06; margin: 22px auto 18px; max-width: 13em; }
.hero .sub { font-size: 17px; color: var(--muted); max-width: 31em; margin: 0 auto 28px; }
.hero .sub strong { color: var(--ink); font-weight: 700; }
.visual { position: relative; background: var(--tint); border-radius: 16px; height: 400px; overflow: hidden; }
.visual .book { position: absolute; border-radius: 6px; box-shadow: 0 24px 40px -16px rgba(12, 10, 8, .45); }
.visual .cover { width: 40%; left: 15%; top: 34px; transform: rotate(-4deg); z-index: 2; }
.visual .inside { width: 36%; right: 14%; top: 54px; transform: rotate(4deg); z-index: 1; }
.vlabel { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; white-space: nowrap; background: var(--ink); color: var(--paper); font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: 9px 16px; }

/* FORM CARD */
.card { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.card-strip { background: var(--ink); color: var(--gold); text-align: center; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 13px 12px; }
.card-body { padding: 26px 26px 20px; }
.step { display: none; animation: rise .45s var(--ease); }
.step.on { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } html { scroll-behavior: auto; } }
.step h2 { font-size: 26px; line-height: 1.12; text-align: center; margin: 0 0 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { margin: 0 0 12px; }
.field label { display: block; font: 600 13.5px/1.3 var(--display); margin: 0 0 6px; }
.field label .req { color: var(--ember); }
input, select { width: 100%; font: 500 16px/1.3 var(--display); color: var(--ink); background: var(--bone); border: 1.5px solid var(--border); border-radius: 8px; padding: 13px 14px; appearance: none; -webkit-appearance: none; transition: border-color .15s, background .15s; }
input::placeholder { color: var(--soft); text-transform: uppercase; font-size: 13.5px; letter-spacing: .03em; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
input:focus, select:focus { outline: none; border-color: var(--gold); background: var(--card); box-shadow: 0 0 0 3px rgba(212, 178, 84, .25); }
.phone { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.btn { display: block; width: 100%; font: 800 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--gold); border: 0; border-radius: 10px; padding: 19px 18px; cursor: pointer; text-align: center; text-decoration: none; transition: background .15s, transform .15s var(--ease); }
.btn:hover { background: var(--gold-light); }
.btn:active { transform: scale(.99); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.prev { display: block; margin: 14px auto 0; background: none; border: 0; font: 500 14px/1 var(--display); text-decoration: underline; color: var(--muted); cursor: pointer; }
.micro { text-align: center; font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.err { color: var(--ember); font: 600 13.5px/1.4 var(--display); min-height: 0; margin: 0; text-align: center; }
.err:not(:empty) { margin: 0 0 10px; }
.hp { position: absolute; left: -9999px; }
.inside { margin: 18px 0 0; background: var(--bone); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.inside .kicker { margin-bottom: 12px; }
.inside ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.inside li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.4; }
.inside li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--gold-text); font-weight: 800; }
.legal { font-size: 11.5px; line-height: 1.55; color: var(--soft); margin: 14px 2px 0; }

/* SECTIONS */
.sec { padding: 72px 0; }
.sec + .sec { padding-top: 24px; }
.sec h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; max-width: 18em; }
.sec .lede { font-size: 17px; color: var(--muted); max-width: 34em; margin: 14px 0 0; }
.said { margin: 40px 0 44px; padding: 30px 32px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; max-width: 760px; }
.said-k { font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin: 0 0 16px; }
.said p:not(.said-k) { font: 600 19px/1.45 var(--display); letter-spacing: -.01em; margin: 0 0 10px; }
.said p:last-child { margin: 0; }
.lists { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.lists > div { padding: 26px 32px 6px 0; }
.lists > div + div { padding-left: 32px; border-left: 1px solid var(--border); }
.lists ul { list-style: none; margin: 0; padding: 0; }
.lists li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.mk { font: 800 14px/1.5 var(--display); }
.mk.yes { color: var(--gold-text); }
.mk.no { color: var(--soft); font-weight: 500; }
.lists div + div li { color: var(--muted); }

.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.proof { border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; }
.proof blockquote { margin: 0 0 12px; font: 600 20px/1.4 var(--display); letter-spacing: -.01em; }
.proof cite { font: 500 13px/1.4 var(--display); color: var(--muted); font-style: normal; }
.about { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); max-width: 820px; }
.about img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--gold); }
.about p { margin: 0; font-size: 14.5px; color: var(--muted); }
.about b { color: var(--ink); }

.ftr { padding: 34px 0 44px; text-align: center; font-size: 12.5px; color: var(--soft); }
.ftr nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; color: var(--muted); }
.ftr a { text-decoration: none; }

/* THANK-YOU */
.ty-band { background: #16130F; color: var(--paper); text-align: center; padding: 30px 20px 52px; }
.ty-band .brand { margin-bottom: 34px; }
.ty-chip { display: inline-block; background: var(--gold); color: var(--ink); font: 700 15px/1.2 var(--display); border-radius: 6px; padding: 10px 18px; }
.ty-band h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; margin: 22px auto 14px; max-width: 18em; }
.ty-band h1 .acc { color: var(--gold); }
.ty-band p { color: #CFC7B7; margin: 0; font-size: 17px; }
.ty-main { text-align: center; padding: 52px 20px 64px; }
.ty-main h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; max-width: 24em; margin: 0 auto; }
.ty-main h2 .start { display: block; }
.ty-main .lead { font-size: 17px; color: var(--muted); max-width: 31em; margin: 16px auto 30px; }
.ty-cover { width: 280px; margin: 0 auto 32px; border-radius: 6px; box-shadow: 0 28px 50px -18px rgba(12, 10, 8, .45); }
.ty-actions { max-width: 520px; margin: 0 auto; }
.ty-actions .btn { border: 1.5px solid var(--ink); }
.ty-alt { display: inline-block; margin-top: 16px; font: 600 14px/1 var(--display); color: var(--muted); }
.fit { max-width: 640px; margin: 48px auto 0; text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 28px 30px; display: none; }
.fit.on { display: block; }
.fit h3 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
.fit p { margin: 0 0 18px; color: var(--muted); }
.fit .btn { display: inline-block; width: auto; padding: 16px 24px; font-size: 14px; }

/* LIBRARY */
.lib-head { text-align: center; padding: 56px 0 8px; }
.lib-head h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; margin: 20px auto 14px; }
.lib-head .sub { font-size: 17px; color: var(--muted); max-width: 32em; margin: 0 auto; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0 40px; }
.tile { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .tile-img { background: var(--tint); padding: 26px 0 0; height: 220px; overflow: hidden; }
.tile .tile-img img { width: 52%; margin: 0 auto; border-radius: 5px; box-shadow: 0 18px 30px -14px rgba(12, 10, 8, .5); }
.tile div.tile-body { padding: 18px 20px 22px; }
.tile h3 { font-size: 19px; line-height: 1.2; margin: 0 0 6px; }
.tile p { margin: 0; font-size: 14.5px; color: var(--muted); }
.tile .kicker { margin-bottom: 10px; }

@media (max-width: 960px) {
  /* phones and tablets: headline, then the form, then the guide image */
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .pill { align-self: center; }
  .hero h1, .hero .sub { text-align: center; }
  .hero-form { order: 2; max-width: 520px; margin: 0 auto 32px; width: 100%; }
  .visual { order: 3; width: 100%; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 28px 0 48px; }
  .visual { height: 300px; }
  .card-body { padding: 22px 18px 18px; }
  .step h2 { font-size: 23px; }
  .row2, .inside ul, .lists, .proof-grid { grid-template-columns: 1fr; }
  .lists > div { padding-right: 0; }
  .lists > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .said { padding: 22px 20px; }
  .said p:not(.said-k) { font-size: 17px; }
  .hub-grid { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }
}
