:root {
  --bg-soft:      #faf6ed;
  --bg:           #f5f1e8;
  --bg-elevated:  #ebe5d6;
  --bg-deepest:   #e0d8c8;
  --maple:        #c8102e;
  --maple-glow:   #e63946;
  --maple-soft:   rgba(230, 57, 70, 0.16);
  --maple-mist:   rgba(230, 57, 70, 0.06);
  --ink:          #1a1614;
  --ink-soft:     #5c5248;
  --ink-dimmer:   #6f655b;
  --gold:         #7b4f22;
  --line:         rgba(26, 22, 20, 0.10);
  --line-strong:  rgba(26, 22, 20, 0.18);
  --container:    860px;
  --pad-x:        clamp(1.25rem, 5vw, 3rem);
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--maple); color: #fff; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1.25rem;
  top: 0.75rem;
  z-index: 300;
  padding: 0.55rem 1rem;
  background: var(--maple);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus { clip-path: none; width: auto; height: auto; overflow: visible; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(26,22,20,0.1));
}
.brand-mark em { font-style: italic; color: var(--ink-soft); font-weight: 400; }
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  text-decoration: none;
}
.nav-back:hover { color: var(--maple); }
.nav-back svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 5rem var(--pad-x) 3.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    160deg,
    var(--maple-mist) 0%,
    transparent 40%
  ), var(--bg-soft);
  max-width: var(--container);
  margin: 0 auto;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--maple);
}
.page-hero-meta {
  font-size: 0.83rem;
  color: var(--ink-dimmer);
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.page-hero-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* ── MAIN CONTENT ── */
.page-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem var(--pad-x) 6rem;
}

/* DISCLAIMER BOX */
.disclaimer-box {
  padding: 1.65rem 1.65rem 1.65rem 1.55rem;
  border-radius: 10px;
  border: 1px solid rgba(200, 16, 46, 0.30);
  border-left: 5px solid var(--maple);
  background: linear-gradient(98deg, rgba(200,16,46,0.10) 0%, var(--bg-soft) 42%, var(--bg-soft) 100%);
  box-shadow: 0 10px 36px rgba(26,22,20,0.07);
  margin-bottom: 3rem;
}
.disclaimer-box-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maple);
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.disclaimer-box p {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

/* SECTION DIVIDERS */
.policy-section {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line);
}
.policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.policy-section h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.policy-section h2 .num {
  font-style: italic;
  font-weight: 300;
  color: var(--maple);
  margin-right: 0.5rem;
}
.policy-section h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.75rem 0 0.5rem;
  letter-spacing: -0.01em;
}
.policy-section h3:first-of-type { margin-top: 0.5rem; }
.policy-section p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul,
.policy-section ol {
  margin: 0.5rem 0 1rem 1.35rem;
}
.policy-section li {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.policy-section a {
  color: var(--maple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-section a:hover { color: var(--maple-glow); }
strong { color: var(--ink); font-weight: 600; }

/* RIGHTS TABLE */
.rights-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
}
.rights-table th {
  text-align: left;
  padding: 0.65rem 0.85rem;
  background: var(--bg-elevated);
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 2px solid var(--line-strong);
}
.rights-table td {
  padding: 0.65rem 0.85rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}
.rights-table tr:last-child td { border-bottom: none; }
.rights-table tr:hover td { background: var(--bg-soft); }

/* CONTACT CARD */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  margin-top: 1.25rem;
}
.contact-card-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.contact-card-row svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--maple);
  margin-top: 2px;
}
.contact-card-row a { color: var(--maple); text-decoration: underline; text-underline-offset: 2px; }

/* TEMPLATE NOTICE */
.template-notice {
  margin-top: 3rem;
  padding: 1.1rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--ink-dimmer);
  line-height: 1.55;
  font-style: italic;
}

/* ── FOOTER ── */
.page-footer {
  border-top: 1px solid var(--line);
  padding: 2rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--ink-dimmer);
  max-width: var(--container);
  margin: 0 auto;
}
.page-footer a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.page-footer a:hover { color: var(--maple); }

@media (max-width: 640px) {
  .page-hero { padding: 3rem var(--pad-x) 2.5rem; }
  .page-content { padding: 2.5rem var(--pad-x) 4rem; }
  .rights-table { font-size: 0.82rem; }
  .rights-table th, .rights-table td { padding: 0.5rem 0.6rem; }
}
