:root {
  --ink: #30271c;
  --paper: #fbf8f0;
  --warm: #e8d7b8;
  --gold: #b88a43;
  --gold-deep: #8f672e;
  --champagne: #f0e3c8;
  --white: #fff;
  --line: rgba(143, 103, 46, .2);
  --radius: 30px;
  --shadow: 0 24px 70px rgba(122, 88, 38, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #c6a56f;
  color: var(--white);
}
.hero-picture, .hero-picture img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture img { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(180deg, rgba(90,59,25,.02) 28%, rgba(73,47,20,.68) 100%); }
.hero-legal {
  position: absolute;
  z-index: 2;
  top: max(24px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(255,248,234,.8);
  box-shadow: 0 12px 35px rgba(58,39,17,.16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.hero-legal a {
  padding: 8px 13px;
  border-radius: 999px;
  color: #4b351c;
  font-size: .78rem;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.hero-legal a:hover, .hero-legal a:focus-visible { color: #2e2114; background: rgba(184,138,67,.18); outline: none; }
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 clamp(40px, 7vw, 90px);
}
.eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  opacity: .82;
}
.hero h1 {
  margin: 0;
  font-size: clamp(4.2rem, 11vw, 9.5rem);
  font-weight: 650;
  line-height: .84;
  letter-spacing: -.075em;
}
.hero-copy p { max-width: 600px; margin: 28px 0 34px; font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.4; }
.scroll-cue { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.55); text-decoration: none; font-size: .92rem; }
.link-section { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: clamp(90px, 13vw, 170px) 0; }
.section-heading { max-width: 750px; margin-bottom: 64px; }
.eyebrow.dark { color: var(--gold-deep); }
.section-heading h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.06em; }
.section-heading p { max-width: 580px; margin: 24px 0 0; color: #796b58; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.55; }
.link-grid { display: grid; gap: 14px; }
.link-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.76);
  box-shadow: 0 2px 0 rgba(255,255,255,.55) inset;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s, box-shadow .35s;
}
.link-card.primary { color: var(--ink); background: linear-gradient(135deg, #ead6ad, #f7eedc); border-color: rgba(143,103,46,.28); box-shadow: var(--shadow); }
.link-card:hover { transform: translateY(-5px) scale(1.008); background: #fffdf8; border-color: rgba(143,103,46,.34); box-shadow: var(--shadow); }
.link-card.primary:hover { background: linear-gradient(135deg, #e1c58f, #f5e7c9); }
.card-number { align-self: start; padding-top: 5px; color: var(--gold-deep); font-size: .72rem; letter-spacing: .1em; }
.card-copy { display: grid; gap: 7px; }
.card-copy strong { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.035em; }
.card-copy small { color: #7b6e5b; font-size: .96rem; }
.primary .card-copy small, .primary .card-number { color: #795b2f; }
.arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #76562a; background: rgba(184,138,67,.13); font-size: 1.2rem; transition: transform .3s; }
.primary .arrow { background: rgba(184,138,67,.2); }
.link-card:hover .arrow { transform: rotate(45deg); }
footer { padding: 64px 24px 36px; text-align: center; color: var(--ink); background: linear-gradient(145deg, #ead8b6, #f8f0df); border-top: 1px solid rgba(143,103,46,.18); }
.footer-brand { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 650; letter-spacing: -.065em; }
footer p { color: #7b6b54; }
footer nav { display: flex; justify-content: center; gap: 24px; margin: 38px 0 46px; }
footer nav a { text-underline-offset: 5px; }
footer nav .stats-link { opacity: .62; font-size: .88rem; }
footer nav .stats-link:hover, footer nav .stats-link:focus-visible { opacity: 1; }
footer small { color: #99856a; }
.back-to-top {
  position: fixed;
  z-index: 20;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 14px));
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(143,103,46,.32);
  border-radius: 50%;
  color: #4b351c;
  background: rgba(244,229,199,.9);
  box-shadow: 0 14px 35px rgba(91,63,29,.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font: 600 1.25rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover, .back-to-top:focus-visible { background: #ead6ad; outline: 2px solid #b88a43; outline-offset: 3px; }
.privacy-note {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 14px));
  width: min(820px, calc(100% - 32px));
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(143,103,46,.28);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(255,251,241,.94);
  box-shadow: 0 24px 70px rgba(78,53,23,.22);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.privacy-note.hidden { opacity: 0; visibility: hidden; transform: translate(-50%, 16px); }
.privacy-note-copy { display: flex; gap: 14px; align-items: flex-start; }
.privacy-note-icon { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--gold); font-weight: 700; }
.privacy-note strong { display: block; margin: 2px 0 5px; font-size: 1rem; }
.privacy-note p { margin: 0; color: #74644f; font-size: .88rem; line-height: 1.5; }
.privacy-note a { color: #65471f; font-weight: 650; text-underline-offset: 3px; }
.privacy-note-close { flex: 0 0 auto; min-height: 46px; padding: 0 19px; border: 0; border-radius: 999px; color: #fff; background: var(--gold-deep); font: 650 .88rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; transition: background .2s, transform .2s; }
.privacy-note-close:hover { background: #745025; transform: translateY(-1px); }
.privacy-note-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 680px) {
  .hero-legal { top: max(14px, env(safe-area-inset-top)); right: 14px; }
  .hero-legal a { padding: 7px 10px; font-size: .72rem; }
  .hero-copy { width: calc(100% - 32px); padding-bottom: 38px; }
  .hero-picture img { object-position: center; }
  .hero h1 { font-size: clamp(3.8rem, 21vw, 6.5rem); }
  .hero-copy p { margin: 20px 0 28px; max-width: 330px; }
  .link-section { width: calc(100% - 28px); padding: 82px 0 94px; }
  .section-heading { margin: 0 8px 44px; }
  .link-card { min-height: 120px; grid-template-columns: 1fr auto; padding: 22px; border-radius: 25px; }
  .card-number { display: none; }
  .card-copy small { max-width: 240px; line-height: 1.4; }
  .arrow { width: 42px; height: 42px; }
  .back-to-top { right: 14px; width: 44px; height: 44px; }
  .privacy-note { width: calc(100% - 24px); bottom: max(12px, env(safe-area-inset-bottom)); display: grid; gap: 16px; padding: 18px; border-radius: 22px; }
  .privacy-note-close { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
