/* Shared styles for the thank-you and legal pages.
   Mobile-first; matches the landing page's fonts and palette. */
@import url("fonts.css");

:root {
  --font-display: "customhl-6aa256c41f33e377ddfddd5b-TrajanPro-Bold", "Trajan Pro", Georgia, serif;
  --font-body: "customhl-6aa256c129d4abf4cf911342-FrutigerLTStd-Roman", "Frutiger", "Helvetica Neue", Arial, sans-serif;
  --font-light: "customhl-6aa256bf0cbbd5014aa3bd6f-FrutigerLTStd-Light", "Frutiger", "Helvetica Neue", Arial, sans-serif;
  --ink: #1d1d1f;
  --ink-soft: #424040;
  --slate: #53667b;
  --slate-light: #7a90a8;
  --blush: #cbb1a8;
  --taupe: #b99e95;
  --cream: #f6f1ec;
  --paper: #ffffff;
  --accent: #4a4a4a;
  --line: #e4d9d3;
  --radius: 8px;
  --gutter: 20px;
  --maxw: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--slate-light); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.site-header .logo img { width: 104px; }
.site-header .call {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px var(--font-body); color: var(--slate); text-decoration: none;
  padding: 10px 14px; border: 1px solid var(--slate); border-radius: var(--radius);
  min-height: 44px;
}
.site-header .call svg { width: 16px; height: 16px; fill: currentColor; }

/* Typography */
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(83, 102, 123, .12); color: var(--ink);
  font: 14px/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
}
.display {
  margin: 0 0 16px;
  font: 700 clamp(28px, 7.4vw, 46px)/1.08 var(--font-display);
  text-transform: uppercase; letter-spacing: .01em; color: var(--ink);
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--accent); }
.lede { margin: 0 0 24px; font-size: 18px; color: var(--ink-soft); text-wrap: pretty; }
h2.section-title {
  margin: 0 0 18px;
  font: 700 clamp(22px, 5.6vw, 32px)/1.15 var(--font-display);
  text-transform: uppercase; text-wrap: balance;
}

/* Buttons */
.btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; padding: 14px 22px;
  border: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--slate-light), var(--slate));
  color: #fff; text-decoration: none; text-align: center;
  font: 700 17px/1.2 var(--font-body); letter-spacing: .03em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(83, 102, 123, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn small { display: block; margin-top: 4px; font: 400 13px var(--font-light); letter-spacing: .04em; opacity: .9; text-transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(83, 102, 123, .38); }
.btn-ghost { background: transparent; color: var(--slate); border: 1.5px solid var(--slate); box-shadow: none; }
.btn-ghost:hover { background: rgba(83, 102, 123, .06); box-shadow: none; }
.btn-row { display: grid; gap: 12px; }

/* Thank-you hero */
.ty-hero { padding: 36px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.ty-hero .grid { display: grid; gap: 28px; }
.check {
  width: 64px; height: 64px; margin: 0 0 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--slate); color: #fff;
  box-shadow: 0 0 0 8px rgba(83, 102, 123, .15);
}
.check svg { width: 30px; height: 30px; }
.ty-photo { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .14); aspect-ratio: 4 / 5; }
.ty-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ty-photo figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 12px 14px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  font: 14px/1.4 var(--font-body); color: var(--ink);
}
.ty-photo figcaption strong { display: block; font: 700 15px var(--font-display); text-transform: uppercase; letter-spacing: .02em; }

/* Steps */
.band { padding: 44px 0; }
.band-white { background: var(--paper); }
.band-blush { background: linear-gradient(180deg, #efe4df, #e6d6cf); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  position: relative; padding: 20px 20px 20px 72px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  counter-increment: step;
}
.band-white .steps li { background: var(--cream); }
.steps li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--slate); color: #fff; font: 700 16px var(--font-display);
}
.steps h3 { margin: 0 0 4px; font: 700 17px/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .03em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.checklist { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; font-size: 16px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--slate) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.card { background: var(--paper); border-radius: 14px; padding: 24px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.split { display: grid; gap: 24px; align-items: center; }
.split img { border-radius: 14px; }
.note { font-size: 14px; color: var(--ink-soft); }

/* Legal pages */
.legal-hero { padding: 36px 0 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-hero .display { font-size: clamp(26px, 6.4vw, 40px); }
.legal-hero p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.legal { padding: 28px 0 56px; }
.legal .wrap { max-width: 780px; }
.legal nav.toc { margin: 0 0 28px; padding: 18px 20px; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
.legal nav.toc strong { display: block; margin-bottom: 8px; font: 700 14px var(--font-body); text-transform: uppercase; letter-spacing: .06em; }
.legal nav.toc ol { margin: 0; padding-left: 20px; columns: 1; font-size: 15px; }
.legal nav.toc li { margin: 4px 0; }
.legal h2 {
  margin: 36px 0 10px; scroll-margin-top: 16px;
  font: 700 20px/1.25 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
}
.legal h3 { margin: 22px 0 6px; font: 700 17px var(--font-body); }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .callout {
  margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--slate);
  background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px;
}
.legal address { font-style: normal; }
mark.todo { background: #fff3bf; color: #5c4400; padding: 0 3px; border-radius: 3px; }

/* Footer */
.site-footer {
  padding: 36px 0 calc(28px + env(safe-area-inset-bottom));
  background: linear-gradient(135deg, var(--slate), #5d7089 50%, var(--slate));
  color: #fff; text-align: center; font-size: 14px;
}
.site-footer img { width: 96px; margin: 0 auto 14px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; max-width: 360px; margin: 10px auto; }
.site-footer nav a { color: #fff; text-decoration: none; padding: 8px 10px; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer p { margin: 6px auto; max-width: 720px; opacity: .92; }
.site-footer .fine { font-size: 12.5px; opacity: .8; }

/* Sticky mobile call bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .1);
}
.mobile-bar .btn { min-height: 48px; font-size: 15px; padding: 10px; }
.has-mobile-bar { padding-bottom: 78px; }

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .ty-hero { padding: 64px 0 72px; }
  .ty-hero .grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px; }
  .btn-row { grid-template-columns: auto auto; justify-content: start; }
  .btn { width: auto; }
  .band { padding: 72px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 64px 22px 24px; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .card { padding: 36px; }
  .legal-hero { padding: 56px 0 32px; }
  .legal nav.toc ol { columns: 2; column-gap: 32px; }
  .site-footer nav { display: flex; justify-content: center; max-width: none; }
  .site-footer nav a + a { border-left: 1px solid rgba(255, 255, 255, .45); }
  .mobile-bar { display: none; }
  .has-mobile-bar { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
