/* Shared stylesheet for legal/utility pages (privacy, terms, disclaimer, accessibility).
   Matches the design system introduced on index.html: white background, navy/orange/
   teal/gold accents, Playfair Display / Inter / DM Mono typography. */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  color: #12436D;
  overflow-x: hidden;
}

/* ============ NAV ============ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.5rem;
  background: #FFFFFF;
  border-bottom: 1px solid #ECE6D8;
  position: sticky;
  top: 0;
  z-index: 110;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-word {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #12436D;
  letter-spacing: 0.02em;
}

.logo-word span {
  color: #F46A25;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  color: #5B6B78;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #12436D;
}

.nav-db {
  color: #12436D !important;
  font-weight: 500;
  border: 1px solid #D8CFBE;
  padding: 0.42rem 0.95rem;
  border-radius: 4px;
}

.nav-cta {
  background: #F46A25;
  color: #FBF5EC !important;
  font-weight: 500;
  padding: 0.46rem 1.05rem;
  font-size: 0.78rem;
  border-radius: 4px;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  outline: none;
  z-index: 120;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #12436D;
  transition: all 0.2s ease-in-out;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 980px) {
  .hamburger-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    background: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 115;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* ============ PAGE HERO ============ */
.page-hero {
  background: #FBF9F4;
  border-bottom: 1px solid #ECE6D8;
  padding: 3rem 2.5rem 2.5rem;
}

.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #28A197;
  margin-bottom: 0.85rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #12436D;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.hero-sub {
  font-size: 0.85rem;
  color: #6B5E52;
  line-height: 1.75;
  margin-top: 0.75rem;
  max-width: 580px;
}

.hero-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9A8B7A;
  margin-top: 0.75rem;
}

/* ============ CONTENT TYPOGRAPHY ============ */
.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 5rem;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #28A197;
  margin-bottom: 0.4rem;
  margin-top: 2.5rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #12436D;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

p {
  font-size: 0.85rem;
  color: #6B5E52;
  line-height: 1.82;
  margin-bottom: 0.85rem;
}

p strong {
  color: #12436D;
  font-weight: 600;
}

p a,
li a {
  color: #12436D;
  font-weight: 600;
}

ul {
  margin: 0.5rem 0 0.85rem 0;
  padding-left: 1.25rem;
}

ul li {
  font-size: 0.84rem;
  color: #6B5E52;
  line-height: 1.75;
  margin-bottom: 0.35rem;
}

.divider {
  height: 1px;
  background: #ECE6D8;
  margin: 2rem 0;
}

/* ============ CALLOUT BOXES ============ */
.info-box {
  border: 1px solid #ECE6D8;
  background: #FBF9F4;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.info-box-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A8B7A;
  margin-bottom: 0.5rem;
}

.info-box p {
  margin-bottom: 0;
}

/* Warning / primary-disclaimer boxes use a distinct wine accent — reserved
   exclusively for legal "read this first" callouts, not used elsewhere in
   the brand system, so it can't be mistaken for a CTA or status color. */
.warning-box {
  border: 1px solid rgba(128, 22, 80, 0.3);
  background: rgba(128, 22, 80, 0.04);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 3px solid #801650;
  border-radius: 0 8px 8px 0;
}

.warning-box p {
  margin-bottom: 0;
  color: #4a1a30;
}

.primary-disclaimer {
  border: 2px solid #801650;
  background: rgba(128, 22, 80, 0.04);
  padding: 2rem;
  margin: 1.5rem 0 2rem;
  border-radius: 10px;
}

.primary-disclaimer-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #801650;
  margin-bottom: 1rem;
}

.primary-disclaimer p {
  font-size: 0.88rem;
  color: #3a1020;
  line-height: 1.82;
  margin-bottom: 0.85rem;
}

.primary-disclaimer p:last-child {
  margin-bottom: 0;
}

.primary-disclaimer strong {
  color: #801650 !important;
}

/* Acceptance confirmation strip — navy card, same weight as the site's call-section */
.acceptance-strip {
  background: #12436D;
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
  border-radius: 10px;
}

.acceptance-strip-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fd6c4;
  margin-bottom: 0.65rem;
}

.acceptance-strip p {
  font-size: 0.82rem;
  color: rgba(251, 245, 236, 0.75);
  line-height: 1.72;
  margin-bottom: 0;
}

/* ============ FOOTER ============ */
footer {
  background: #FFFFFF;
  border-top: 1px solid #ECE6D8;
  padding: 2.5rem 2.5rem 2rem;
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #12436D;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 1.3rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: #6B5E52;
  text-decoration: none;
}

.footer-links a:hover {
  color: #12436D;
}

.footer-disc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.68rem;
  color: #9A8B7A;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  .page-hero {
    padding: 2rem 1.5rem;
  }

  .content {
    padding: 2.5rem 1.5rem 4rem;
  }

  .primary-disclaimer {
    padding: 1.25rem;
  }
}
