/* Gildpress preview — letterpress-studio-meets-engineering.
   Palette + type per 09-visual/output/visual-direction.md. */

:root {
  --navy: #1b2a4a;
  --gold: #c4973b;
  --cream: #faf8f5;
  --copper: #b06835;
  --ink: #2d2d2d;
  --muted: #5b6474;
  --paper: #ffffff;
  --hairline: #ece6dc;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.prose {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
}
h3 {
  font-size: 20px;
}
p {
  margin: 0 0 1.2em;
}
a {
  color: var(--copper);
}

/* gold hairline ornament above every h2 */
h2::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}
section h2,
header h1 {
  text-align: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}

/* ---------- banner ---------- */
.banner {
  background: var(--navy);
  color: var(--cream);
  font-size: 14px;
  text-align: center;
  padding: 10px 16px;
}
.banner a {
  color: var(--gold);
}

/* ---------- bands ---------- */
.band-cream {
  padding: 96px 0;
}
.band-paper {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 112px 0;
}
.band-navy {
  background: var(--navy);
  color: var(--cream);
  padding: 128px 0;
}
.band-navy h2,
.band-navy h3 {
  color: var(--cream);
}
.band-navy p {
  color: #e8e4dc;
}
.band-navy a {
  color: var(--gold);
}

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 96px;
}
.hero .subhead {
  font-size: 20px;
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--ink);
}

/* hero artifact mock: pure CSS, nothing fake rasterized */
.artifact-pair {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 56px;
  perspective: 900px;
  flex-wrap: wrap;
}
.doc {
  background: var(--paper);
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 45px rgba(27, 42, 74, 0.14);
  border-radius: 3px;
  width: 300px;
  padding: 26px 24px;
  text-align: left;
}
.doc .nameblock {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 2px;
}
.doc .roleline {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.doc .rule {
  height: 2px;
  background: var(--gold);
  width: 56px;
  margin-bottom: 16px;
}
.doc .line {
  height: 7px;
  border-radius: 3px;
  background: #e5e0d8;
  margin: 8px 0;
}
.doc .line.w60 {
  width: 60%;
}
.doc .line.w80 {
  width: 80%;
}
.doc .line.w90 {
  width: 90%;
}
.doc .line.w40 {
  width: 40%;
}
.doc .line.hl {
  background: #ead9b8;
}
.doc.report {
  width: 270px;
  background: var(--navy);
  border: none;
  color: var(--cream);
}
.doc.report .rpt-title {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--cream);
  margin-bottom: 4px;
}
.doc.report .rpt-sub {
  font-size: 10.5px;
  color: #9aa4b8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.score-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(250, 248, 245, 0.12);
}
.score-row .lbl {
  font-size: 12.5px;
  color: #c9cfdb;
}
.score-row .val {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--gold);
}
.score-note {
  font-size: 10.5px;
  color: #9aa4b8;
  margin-top: 14px;
  line-height: 1.5;
}

/* ---------- chips ---------- */
.chip-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0 8px;
}
.chip {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 9px 16px;
}
.band-navy .chip {
  background: transparent;
  color: var(--gold);
}

/* ---------- standalone hinge line ---------- */
.hinge {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--navy);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 24px;
}

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--navy);
  text-align: center;
  max-width: 560px;
  margin: 40px auto;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  margin: 44px 0 8px;
}
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  border-radius: 8px;
  padding: 15px 32px;
  min-height: 52px;
  transition: all 0.15s ease;
}
.btn-ghost {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper);
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border: none;
}
.btn-navy:hover {
  background: #24365c;
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: none;
}
.btn-gold:hover {
  background: var(--copper);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.micro {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}
.band-navy .micro {
  color: #9aa4b8;
}

/* ---------- 3-step diagram ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 48px;
}
.step {
  text-align: center;
}
.step .num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  line-height: 46px;
  margin: 0 auto 18px;
}
.step h3 {
  margin-bottom: 10px;
}
.step p {
  font-size: 16px;
  color: var(--muted);
  text-align: left;
}

/* ---------- commitment cards ---------- */
.cards2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  padding: 30px 28px;
}
.card p {
  font-size: 16.5px;
  margin-bottom: 0;
}
.card p:first-child {
  margin-bottom: 1em;
}

/* ---------- deliverable cards ---------- */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 44px 0;
}
.dcard {
  background: var(--paper);
  border: 1px solid var(--navy);
  border-radius: 4px;
  padding: 26px 24px;
}
.dcard h3 {
  font-size: 18px;
}
.dcard p {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- portraits ---------- */
.portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-top: 44px;
}
.portrait h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.portrait p {
  font-size: 16.5px;
  margin-bottom: 0;
}
.notfor {
  max-width: 680px;
  margin: 48px auto 0;
  color: var(--muted);
  font-size: 16.5px;
}

/* ---------- comparison table ---------- */
.tablewrap {
  overflow-x: auto;
  margin-top: 44px;
}
table.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 15.5px;
}
.compare th {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  padding: 14px 18px;
  text-align: left;
}
.compare th:last-child {
  color: var(--gold);
}
.compare td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
}
.compare td:first-child {
  color: var(--ink);
  font-weight: 500;
}
.compare td:last-child {
  color: var(--navy);
  font-weight: 500;
  background: rgba(196, 151, 59, 0.07);
}

/* ---------- pricing ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 52px;
  align-items: start;
}
.tier {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 34px 30px;
  text-align: left;
}
.tier.featured {
  border-top: 4px solid var(--gold);
  box-shadow: 0 14px 36px rgba(27, 42, 74, 0.1);
  transform: translateY(-6px);
}
.tier .flag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.tier h3 {
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.tier .price {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--navy);
}
.tier .tagline {
  color: var(--muted);
  font-size: 15.5px;
  margin: 6px 0 18px;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.tier li {
  font-size: 15.5px;
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px solid var(--hairline);
}
.tier li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-weight: 700;
}
.tier .btn {
  width: 100%;
  text-align: center;
  padding: 13px 0;
}

.price-context {
  max-width: 680px;
  margin: 44px auto 0;
  font-size: 16.5px;
  color: var(--muted);
}

/* ---------- guarantee ---------- */
.spec {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 28px;
  max-width: 640px;
  margin: 36px auto;
  text-align: left;
}
.spec p {
  font-size: 17.5px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 720px;
  margin: 44px auto 0;
  text-align: left;
}
.faq h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 36px 0 10px;
}
.faq p {
  font-size: 16.5px;
}

/* ---------- crossroads ---------- */
.fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 44px;
  text-align: left;
}
.fork .left p {
  color: var(--muted);
}
.fork .right p {
  color: var(--navy);
}
.fork-coda {
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  margin-top: 40px;
}

/* ---------- PS ---------- */
.ps {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
}
.ps p {
  margin-bottom: 1.4em;
}

/* ---------- footer ---------- */
footer {
  background: var(--navy);
  color: #9aa4b8;
  text-align: center;
  padding: 44px 24px;
  font-size: 14px;
}
footer a {
  color: var(--gold);
  text-decoration: none;
}
footer p {
  margin: 0 0 8px;
}

/* ---------- notes page ---------- */
.notes-body {
  padding: 72px 0;
}
.notes-body .wrap {
  max-width: 760px;
}
.notes-body h1 {
  font-size: 34px;
  text-align: left;
}
.notes-body h2 {
  font-size: 24px;
  text-align: left;
  margin-top: 44px;
}
.notes-body h2::before {
  margin: 0 0 16px;
}
.notes-body li {
  margin-bottom: 10px;
  font-size: 16.5px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards3,
  .tiers {
    grid-template-columns: 1fr;
  }
  .tier.featured {
    transform: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step p {
    text-align: center;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }
  .band-cream {
    padding: 72px 0;
  }
  .band-paper {
    padding: 80px 0;
  }
  .band-navy {
    padding: 88px 0;
  }
  .cards2,
  .portraits,
  .fork {
    grid-template-columns: 1fr;
  }
  .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
  .artifact-pair .doc {
    width: min(300px, 86vw);
  }
}
