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

:root {
  --white: #FDFCFB;
  --beige: #E1D2C9;
  --gold: #C09068;
  --red: #EB2E49;
  --dark: #2A2220;
  --mid: #6B5E59;
  --light-bg: #F7F3F0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif { font-family: 'Cormorant Garamond', serif; }

/* ── SUBPAGE HEADER (nav-sub) ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 252, 251, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige);
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon { height: 34px; width: auto; display: block; }
.nav-logo-img { height: 24px; width: auto; display: block; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.back-link svg { transition: transform 0.2s; }
.back-link:hover { color: var(--red); gap: 14px; }
.back-link:hover svg { transform: translateX(-3px); }

@media (max-width: 900px) {
  .nav-logo { flex-direction: column; align-items: center; gap: 5px; }
  .nav-logo-icon { height: 26px; }
  .nav-logo-img { height: 17px; }
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 140px 40px 120px;
}

.legal-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

.legal h1 {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.legal > p.legal-lead {
  color: var(--mid);
  font-size: 16px;
  margin-bottom: 56px;
}

.legal section { margin-bottom: 48px; }

.legal h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--beige);
}

.legal h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin: 32px 0 10px;
}

.legal h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--mid);
  margin: 22px 0 6px;
}

.legal p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 16px;
}

.legal p strong { color: var(--dark); font-weight: 600; }

.legal address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark);
  margin: 8px 0 16px;
}

.legal a { color: var(--red); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

.legal ul.legal-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.legal ul.legal-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid);
  padding-left: 18px;
  position: relative;
}
.legal ul.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.legal-dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6px 24px;
  margin-bottom: 8px;
}
.legal-dl dt {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--dark);
  padding-top: 1px;
}
.legal-dl dd {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
}

@media (max-width: 600px) {
  .legal { padding: 120px 24px 90px; }
  .legal-dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-dl dt { margin-top: 12px; }
}

/* ── AGB TABS ── */
.agb-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--beige);
}
.agb-tab {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 4px;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.agb-tab:hover { color: var(--dark); }
.agb-tab[aria-selected="true"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.agb-panel[hidden] { display: none; }

/* ── AGB NUMBERED LIST (hierarchical counters) ── */
.agb-list {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.agb-list > li {
  counter-increment: item;
  position: relative;
  padding-left: 3.2em;
  margin-bottom: 22px;
}
.agb-list > li::before {
  content: counters(item, ".") ".";
  position: absolute;
  left: 0;
  top: 0;
  min-width: 2.6em;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.75;
}
/* nested lists indent a little less */
.agb-list .agb-list > li { padding-left: 3em; }

.agb-item-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.5;
}
.agb-list .agb-list .agb-item-title { font-size: 14px; }

.agb-list p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 12px;
}
.agb-list p:last-child { margin-bottom: 0; }
.agb-list .agb-list { margin-top: 14px; }

.agb-bullets {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
}
.agb-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 4px;
}
.agb-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 600px) {
  .agb-tabs { flex-direction: column; gap: 0; }
  .agb-list > li { padding-left: 2.6em; }
  .agb-list > li::before { min-width: 2.2em; }
}

/* ── FOOTER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

footer {
  background: #505050;
  padding: 72px 0 40px;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { height: 30px; width: auto; display: block; }
.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
}
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--red); color: #fff; background: var(--red); }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
