:root {
  --navy: #0B1F3A;
  --navy-deep: #07152A;
  --gold: #C8A96A;
  --white: #FFFFFF;
  --cream: #F8F7F2;
  --body: #1F2733;
  --muted: #5A6270;
  --line: #E2DDCD;
  --on-navy: #E6E9EE;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.navy { background: var(--navy); color: var(--white); }
.cream { background: var(--cream); }
.white { background: var(--white); }

.h1, .h2 {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--navy);
}
.navy .h1, .navy .h2 { color: var(--white); }
.h1 { font-size: 30px; line-height: 1.12; margin-top: 14px; }
.h2 { font-size: 32px; }
.bar { width: 56px; height: 4px; border-radius: 2px; background: var(--gold); margin-top: 14px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.5; color: var(--gold); }
.gold-line { font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--gold); }
.lead { margin-top: 16px; color: var(--on-navy); }
.navy p { color: var(--on-navy); }

.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; padding: 0 16px; text-align: center; line-height: 1.2;
  border: 0; border-radius: 8px;
  background: var(--gold); color: var(--navy);
  font-family: "Inter", system-ui, sans-serif; font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.cream .btn:focus-visible, .white .btn:focus-visible, .card .btn:focus-visible { outline-color: var(--navy); }

/* Hero */
.hero { padding: 28px 0 48px; }
.hero .btn { margin-top: 24px; }
.hero .gold-line { margin-top: 12px; text-align: center; }
.mockup { position: relative; width: 100%; height: 320px; max-width: 350px; margin: 40px auto 0; }
.mock-page {
  position: absolute; left: 20px; top: 12px; width: 210px; height: 272px; padding: 10px;
  border-radius: 4px; background: var(--cream); transform: rotate(-4deg);
  box-shadow: 0 24px 48px rgba(0,0,0,0.45); display: flex; flex-direction: column; gap: 12px;
}
.mock-cover { padding: 16px 14px; border-radius: 2px; background: var(--navy); display: flex; flex-direction: column; gap: 8px; }
.mock-cover small { font-size: 8px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.mock-cover strong { font-family: "Oswald", Impact, sans-serif; font-size: 21px; line-height: 1.05; color: var(--white); text-transform: uppercase; }
.mock-cover i { display: block; width: 32px; height: 3px; background: var(--gold); }
.mock-lines { display: flex; flex-direction: column; gap: 7px; padding: 0 4px; }
.mock-lines span { height: 6px; border-radius: 3px; background: #DAD6C9; }
.mock-by { margin-top: auto; padding: 0 4px; font-size: 8px; font-weight: 600; color: var(--navy); }
.mock-phone {
  position: absolute; right: 18px; top: 36px; width: 136px; height: 272px; padding: 7px;
  border-radius: 24px; background: #050E1C; border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}
.mock-screen { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: var(--cream); padding: 18px 8px 8px; display: flex; flex-direction: column; gap: 8px; }
.mock-screen .mock-cover { padding: 12px 10px; gap: 6px; }
.mock-screen .mock-cover small { font-size: 6px; }
.mock-screen .mock-cover strong { font-size: 14px; }
.mock-screen .mock-cover i { width: 22px; height: 2px; }
.mock-screen .mock-lines span { height: 5px; }
/* When the final cover is ready: replace the .mockup contents with
   <img src="guide-cover-mockup.png" alt="The Upstate Relocation Playbook on a phone and as a printed page"> */

/* Qualifier */
.qualifier { background: var(--gold); color: var(--navy); padding: 24px 0; text-align: center; }
.qualifier p { font-size: 16px; font-weight: 600; line-height: 1.5; max-width: 900px; margin: 0 auto; }

/* Problem */
.narrow { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.num { font-weight: 700; color: var(--gold); }
.tiles { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.tile { padding: 20px; border-radius: 10px; background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tile b { font-family: "Oswald", Impact, sans-serif; font-size: 40px; line-height: 1.1; color: var(--gold); }
.tile span { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--white); }
.source { font-size: 13px; line-height: 1.5; text-align: center; color: var(--muted); }

/* What's inside */
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 16px; border-radius: 10px; background: var(--white); border: 1px solid #E7E3D6; }
.checks svg { flex-shrink: 0; margin-top: 2px; }
.section-cta { margin-top: 32px; }

/* Peek */
.peek { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.peek-frame { width: 100%; max-width: 760px; transform: rotate(-2deg); border-radius: 8px; overflow: hidden; border: 1px solid #E7E3D6; box-shadow: 0 20px 44px rgba(11,31,58,0.22); background: var(--white); }
.peek-frame img { width: 100%; height: auto; }
.peek-head { padding: 16px; background: var(--navy); }
.peek-head small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.peek-head strong { font-family: "Oswald", Impact, sans-serif; font-size: 22px; line-height: 1.1; color: var(--white); }
.peek-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 14px; border-top: 1px solid #EFECE3; align-items: center; }
.peek-row.head { border-top: 0; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.peek-row span { height: 8px; border-radius: 4px; background: #E4E1D6; }
.peek-row span:first-child { background: #D8D3C4; width: 88%; }
.peek-row span:nth-child(2) { background: #E6D9B8; width: 64%; }
.peek-row span:nth-child(3) { width: 52%; }
.peek-row span:nth-child(4) { width: 46%; }
.peek-note { padding: 14px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); background: var(--cream); }
.peek-caption { max-width: 640px; font-weight: 600; text-align: center; color: var(--navy); }

/* Meet Nick */
.about { display: flex; flex-direction: column; }
.headshot { width: 160px; height: 160px; border-radius: 50%; border: 3px solid var(--gold); overflow: hidden; align-self: center; flex-shrink: 0; background: #1B3358; }
.headshot img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about .h2 { margin-top: 28px; }
.about-copy { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.about .gold-line { margin-top: 24px; letter-spacing: 0.04em; }

/* Reviews */
.quotes { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.quote { margin: 0; padding: 24px 22px; border-radius: 10px; background: var(--white); border-left: 4px solid var(--gold); box-shadow: 0 2px 10px rgba(11,31,58,0.06); display: flex; flex-direction: column; gap: 10px; }
.quote .mark { font-family: "Oswald", Impact, sans-serif; font-size: 56px; line-height: 0.8; height: 36px; color: var(--gold); }
.quote blockquote { margin: 0; }
.quote figcaption { font-size: 14px; font-weight: 600; color: var(--navy); }

/* Timeline */
.next-wrap { max-width: 760px; }
.intro { margin-top: 20px; }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; }
.timeline li { display: flex; gap: 16px; }
.rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 40px; }
.dot { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: "Oswald", Impact, sans-serif; font-weight: 700; font-size: 18px; }
.rail::after { content: ""; width: 2px; flex-grow: 1; background: var(--gold); }
.timeline li:last-child .rail::after { display: none; }
.timeline p { padding: 7px 0 28px; }
.timeline li:last-child p { padding-bottom: 0; }

/* FAQ */
.faq-wrap { max-width: 800px; }
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; line-height: 1.4; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.faq .icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq .icon::before, .faq .icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2.4px; border-radius: 2px; background: var(--gold); }
.faq .icon::after { transform: rotate(90deg); transition: transform 0.2s ease; }
.faq details[open] .icon::after { transform: rotate(0deg); }
.faq details p { padding: 0 0 20px; }

/* Final CTA + form */
.final { display: grid; grid-template-columns: 1fr; gap: 28px; }
.final .lead { margin-top: 20px; }
.card { padding: 24px; border-radius: 12px; background: var(--white); color: var(--body); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid #C3C8D0; border-radius: 8px; background: var(--white);
  font-family: inherit; font-size: 16px; color: var(--body);
}
.field select { padding: 0 12px; }
.field input::placeholder { color: #8A909A; }
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent label { font-size: 13px; line-height: 1.55; color: #3A4250; }
.consent a { color: var(--navy); }
.fine { font-size: 13px; line-height: 1.5; text-align: center; color: var(--muted); margin-top: -6px; }
.hidden { position: absolute; left: -9999px; }
.form-error { font-size: 14px; color: #9A2E2E; text-align: center; }
.success { padding: 24px 4px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.success p { font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--navy); }

/* Footer */
.footer { background: var(--navy-deep); color: var(--white); padding: 40px 0; text-align: center; font-size: 13px; line-height: 1.6; }
.footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 900px; }
.footer p { color: #D5DAE2; }
.footer p:first-child { color: var(--white); font-weight: 600; }
.footer .legal { color: #AEB6C3; }
.footer a { color: #D5DAE2; }
.eho { margin-top: 6px; display: flex; align-items: center; gap: 10px; }
.eho span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.3; text-align: left; }

/* Simple text pages */
.page { max-width: 720px; margin: 0 auto; padding: 56px 20px; }
.page h2 { font-family: "Oswald", Impact, sans-serif; font-size: 22px; text-transform: uppercase; color: var(--navy); margin: 32px 0 8px; }
.page p, .page li { margin-bottom: 12px; }

/* Desktop */
@media (min-width: 768px) {
  body { font-size: 18px; }
  .wrap { padding: 0 40px; }
  .section { padding: 96px 0; }
  .h1 { font-size: 46px; line-height: 1.08; margin-top: 16px; }
  .h2 { font-size: 44px; }
  .bar { width: 64px; margin-top: 16px; }
  .eyebrow { font-size: 13px; letter-spacing: 0.14em; }
  .btn { display: inline-flex; width: auto; padding: 0 40px; }
  .card .btn { display: flex; width: 100%; }
  .hero { padding: 96px 0; }
  .hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
  .hero .gold-line { text-align: left; }
  .hero .cta-block { display: flex; flex-direction: column; align-items: flex-start; }
  .mockup { margin: 0 auto; transform: scale(1.3); transform-origin: center; height: 340px; }
  .qualifier { padding: 28px 0; }
  .qualifier p { font-size: 18px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
  .checks li { padding: 22px; }
  .section-cta { margin-top: 40px; }
  .peek-head { padding: 24px; }
  .peek-head strong { font-size: 30px; }
  .peek-row { padding: 16px 24px; }
  .peek-row.head { font-size: 12px; }
  .peek-row span { height: 10px; }
  .about { flex-direction: row; gap: 64px; align-items: flex-start; }
  .headshot { width: 220px; height: 220px; align-self: flex-start; }
  .about .h2 { margin-top: 0; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
  .quote { padding: 32px; }
  .final { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
  .final-copy { padding-top: 24px; }
  .card { padding: 32px; }
  .footer { padding: 48px 0; }
}
