/* legacy.css: the site v2 look for the OLDER pages (Phase 5, 2026-10-03).
   The legal pages, the guides, demo, verifier, reminders, promoter apply and the server-built verify pages were written
   for freeholdip.css (the dark navy design). They keep their markup and class names; this file gives those same
   classes the new look: cream paper, a dark leather header band, Archivo headings, Figtree body at 18px, and the phone
   dark palette from tokens.css. Served in place of /freeholdip.css on /preview2/... until Paul walks it.
   Colors are ONLY role tokens from tokens.css; never a bare dark-design color. */
@import url('/site2/tokens.css');

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 19px; } }
a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong, b { color: var(--heading); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* the old atmospheric background is not part of the new look */
.fbg { display: none; }

/* ---- layout ---- */
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px 64px; position: relative; }
.wrap.narrow { max-width: 860px; }

/* ---- icons ---- */
.ic { width: 1.5rem; height: 1.5rem; display: inline-block; vertical-align: middle; fill: none;
  stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 1.05rem; height: 1.05rem; }

/* ---- header: the page's own header, drawn as the full-width leather band of the new site ---- */
.site-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  background: var(--bark); color: var(--on-band); padding: 14px 0; margin: 0 0 40px;
  box-shadow: 0 0 0 100vmax var(--bark); clip-path: inset(0 -100vmax); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--gold); text-decoration: none;
  font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: 26px; letter-spacing: .01em; }
.brand:hover { text-decoration: none; color: var(--gold-soft); }
.brand .logo { width: 36px; height: 36px; flex: 0 0 36px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 17px; font-weight: 600; }
.nav a { color: var(--band-text); text-decoration: none; }
.nav a:hover { color: var(--gold-soft); }
.preview { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft);
  border: 1px solid var(--gold); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

/* ---- headings ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--font-display);
  font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.06; color: var(--heading); text-wrap: balance; }
h1 { font-stretch: 78%; font-size: clamp(38px, 6vw, 60px); margin: 0 0 18px; letter-spacing: -.005em; }
h2 { font-stretch: 80%; font-size: clamp(28px, 4vw, 38px); margin: 44px 0 14px; }
h3 { font-stretch: 88%; font-size: 23px; margin: 26px 0 8px; }
h4 { font-stretch: 90%; font-size: 20px; margin: 20px 0 6px; }
.hl { font-style: normal; color: var(--em); background: none; -webkit-text-fill-color: currentColor; }
p { color: var(--ink); }
.lead { font-size: 21px; line-height: 1.6; color: var(--muted); }
.shead { display: flex; align-items: baseline; gap: 12px; margin: 48px 0 20px; flex-wrap: wrap; }
.shead h2 { margin: 0; }
.shead .num { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.hero { text-align: center; padding: 16px 0 8px; }
.hero h1 { margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 42rem; margin: 0 auto 22px; }

/* ---- buttons: 52px tall, pills, as on the new pages ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font: 700 18px/1 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn .ic { width: 1.1rem; height: 1.1rem; }
/* a .btn with no variant (the intake page's "Create my key") gets the outlined look, never bare text (10/03) */
.btn:not(.gold):not(.ghost):not(.primary) { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn.gold { background: var(--gold); color: var(--bark); }
.btn.gold:hover { background: var(--gold-soft); }
.btn.ghost { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn.ghost:hover { background: var(--heading); color: var(--on-heading); }
.btn.primary { background: var(--action); color: #fff; }
.btn.primary:hover { background: var(--action-dark); }
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; }
.btnrow.center { justify-content: center; }

/* ---- cards / grid ---- */
.card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.card.lift:hover { border-color: var(--gold); }
:not(.grid) > .card + .card { margin-top: 18px; }   /* stacked cards outside a grid (the old design spaced them per page) */
.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.chip { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 44px;
  background: var(--sand); color: var(--heading); }
.who { color: var(--accent-text); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.frow { display: flex; gap: 16px; align-items: flex-start; }
ul.clean { margin: 8px 0 0; padding-left: 1.2em; }
ul.clean li { margin: 6px 0; color: var(--ink); }
ul.check { list-style: none; margin: 10px 0 0; padding: 0; }
ul.check li { position: relative; padding-left: 30px; margin: 8px 0; color: var(--ink); }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--ok-text); font-weight: 800; }

/* ---- highlight panel ---- */
.panel { background: var(--paper); border: 2px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--r);
  padding: 26px; margin: 32px 0; }
.panel h2 { margin-top: 0; }
.panel .big { font-family: var(--font-display); font-stretch: 85%; font-size: 24px; color: var(--heading); font-weight: 800; margin: 16px 0 4px; }

/* ---- prose: legal and guide bodies ---- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 3.6vw, 32px); }
.prose h3 { color: var(--heading); }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.meta { color: var(--muted); font-size: 16px; }
code, kbd { font-family: var(--font-mono); font-size: .9em; background: var(--sand); color: var(--heading); padding: 1px 6px; border-radius: 6px; }
table { border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { font-family: var(--font-display); font-stretch: 90%; color: var(--heading); background: var(--paper); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--input-bg); border: 2px solid var(--line); border-radius: 10px; }

/* ---- boxes the older pages use without styling them (10/03) ---- */
.callout { background: var(--paper); border: 2px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--r); padding: 18px 22px; margin: 22px 0; }
.card.warn { border-left: 6px solid var(--gold); }
button { font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer; }

/* ---- trust bar ---- */
.trustbar { margin-top: 48px; border: 2px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--paper); text-align: center; }
.trustbar .tlabel { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.tbadge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  background: var(--cream); border: 1px solid var(--line); font-weight: 600; font-size: 16px; color: var(--ink); }
.tbadge .ic { width: 1.3rem; height: 1.3rem; color: var(--accent-text); }

/* ---- footer: the dark band at the bottom of the new site ---- */
.site-foot { margin-top: 56px; padding: 32px 0 40px; background: var(--foot-bg); color: var(--band-text); font-size: 17px;
  box-shadow: 0 0 0 100vmax var(--foot-bg); clip-path: inset(0 -100vmax -100vmax); }
.site-foot p { color: var(--band-text); }
.site-foot b, .site-foot strong { color: var(--on-band); }
.site-foot .tag { font-style: normal; color: var(--on-band); }
.site-foot .about { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); margin-top: 10px; font-weight: 600; }
.site-foot .links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--band-text); }
.site-foot a:hover { color: var(--gold-soft); }
.wrap:has(> .site-foot:last-child) { padding-bottom: 0; }

/* ---- motion ---- */
@keyframes frise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; animation: frise .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: var(--d, 0s); }

@media (max-width: 760px) { .grid.c2, .grid.c3 { grid-template-columns: 1fr; } .brand { font-size: 23px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto; } .reveal { opacity: 1; } }

/* ---- print: the guides' PDF twins print light on white, without the bands ---- */
@media print {
  body { background: #fff; color: #111; }
  .site-head, .site-foot { box-shadow: none; clip-path: none; background: none; color: #111; }
  .brand { color: #2e1c11; }
  .site-foot p, .site-foot a, .site-foot .tag, .site-foot .about, .site-foot b, .site-foot strong { color: #333; }
  .nav, .preview, .noprint { display: none !important; }
  .card, .panel, .trustbar { background: #fff; }
}
