/* =========================================================
   Pippa Gin — Main Stylesheet
   Design System: Pippa the Purple Puppy
   ========================================================= */

/* ── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: "Arvo";
  src: url("../fonts/arvo-v23-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Arvo";
  src: url("../fonts/arvo-v23-latin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --pp-purple:      #53287c;
  --pp-beige:       #f5f0e0;
  --pp-lightbrown:  #dfceac;
  --pp-brown:       #c8ac79;
  --pp-green:       #49cdb9;
  --pp-red:         #de484a;
  --pp-black:       #000000;
  --pp-white:       #ffffff;
  --pp-gray:        #e7e7e7;
  --pp-dark-gray:   #3d3d3d;

  --pp-success:         #cef5ca;
  --pp-success-dark:    #114e0b;
  --pp-warning:         #fcf8d8;
  --pp-warning-dark:    #5e5515;
  --pp-error:           #f8e4e4;
  --pp-error-dark:      #3b0b0b;

  --bg:         var(--pp-beige);
  --bg-alt:     var(--pp-lightbrown);
  --fg:         var(--pp-purple);
  --fg-2:       var(--pp-dark-gray);
  --fg-invert:  var(--pp-beige);
  --border:     rgba(83, 40, 124, 0.18);
  --border-solid: var(--pp-purple);

  --ff-headlines: "Arvo", "Courier New", serif;
  --ff-body:      "Inter", Arial, sans-serif;

  --fs-h1: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3vw, 3rem);
  --fs-h3: 2rem;
  --fs-h4: 1.5rem;
  --fs-h5: 1.25rem;
  --fs-h6: 1rem;
  --fs-p:  1.125rem;
  --fs-sm: 1rem;
  --fs-xs: 0.875rem;

  --lh-h1: 1.05;
  --lh-h2: 1.1;
  --lh-h3: 1.2;
  --lh-body: 1.5;

  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   2rem;
  --sp-lg:   3rem;
  --sp-xl:   4rem;
  --sp-xxl:  5rem;
  --sp-huge: 6rem;

  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(83, 40, 124, 0.08);
  --shadow-md: 0 6px 24px -12px rgba(83, 40, 124, 0.2);
  --shadow-lg: 0 20px 60px rgba(83, 40, 124, 0.18);

  --ease-pippa: cubic-bezier(.52, 0, .51, 1);
  --dur-fast:   160ms;
  --dur-base:   240ms;
  --dur-slow:   480ms;

  --site-width:  90rem;
  --site-margin: clamp(1rem, 0.428rem + 2.86vw, 3rem);
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page.site {
  flex: 1;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a.link {
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity var(--dur-base) var(--ease-pippa);
}
a.link:hover { opacity: 0.65; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-headlines);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.4; }
h5 { font-size: var(--fs-h5); font-weight: 700; line-height: 1.5; }
h6 { font-size: var(--fs-h6); font-weight: 700; line-height: 1.5; }

p { margin: 0 0 0.75rem; }

input, select, textarea { font: inherit; color: inherit; }

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

::selection { background: var(--pp-green); color: var(--pp-purple); }

/* ── Layout ─────────────────────────────────────────────── */
.wrap {
  max-width: var(--site-width);
  margin-inline: auto;
  padding-inline: var(--site-margin);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  font-family: var(--ff-headlines);
  font-weight: 700;
  font-size: var(--fs-xs);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: all var(--dur-base) var(--ease-pippa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0;
}
.btn.primary {
  background: var(--pp-purple);
  color: var(--pp-beige);
  border: 2px solid var(--pp-purple);
}
.btn.primary:hover {
  background: var(--pp-black);
  border-color: var(--pp-black);
  color: var(--pp-beige);
  transform: translateY(-1px);
}
.btn.ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--fg);
}
.btn.ghost:hover { background: rgba(83, 40, 124, 0.06); }
.btn.red {
  background: var(--pp-red);
  color: #fff;
  border: 2px solid var(--pp-red);
}
.btn.red:hover { background: #c23f40; border-color: #c23f40; }
.btn.big { font-size: var(--fs-sm); padding: 18px 32px; }
.btn.full { width: 100%; }

/* ── Site Header ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--site-margin);
  max-width: 1440px;
  margin-inline: auto;
}
.nav-logo img { height: 28px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur-base) var(--ease-pippa);
}
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { border-color: var(--pp-purple); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast);
  position: relative;
}
.icon-btn:hover { background: rgba(83, 40, 124, 0.08); }
.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}
.nav-cart .cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--pp-red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
}
.nav-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  padding: 16px var(--site-margin) 24px;
  border-top: 1px solid var(--border);
}
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list li + li { border-top: 1px solid var(--border); }
.mobile-nav-list a {
  display: block;
  padding: 14px 0;
  font-size: var(--fs-sm);
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ── Breadcrumbs ────────────────────────────────────────── */
.crumbs,
.woocommerce-breadcrumb {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 20px 0;
}
.crumbs a:hover,
.woocommerce-breadcrumb a:hover { color: var(--fg); }
.crumbs .sep,
.woocommerce-breadcrumb .sep { margin: 0 8px; opacity: 0.4; }

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* ── Chips / Badges ─────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
}
.chip.solid { background: var(--pp-purple); color: var(--pp-beige); border-color: var(--pp-purple); }

/* ── Trust Strip ────────────────────────────────────────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 12px;
  line-height: 1.3;
}
.trust-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--pp-purple);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 13px; font-family: var(--ff-headlines); font-weight: 700; }
@media (max-width: 600px) { .trust-strip { grid-template-columns: 1fr; } }

/* ── Site Footer ────────────────────────────────────────── */
.site-footer {
  background: var(--pp-purple);
  color: var(--pp-beige);
  padding: 3.5rem 0 0;
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-logo { height: 1.75rem; width: auto; margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--ff-headlines);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 32ch;
  color: rgba(245, 240, 224, 0.8);
  margin: 0;
}
.footer-nav { }
.footer-nav-list { list-style: none; margin: 0; padding: 0; }
.footer-nav-list li + li { margin-top: 0.25rem; }
.footer-nav-list a {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  display: block;
  padding: 0.25rem 0;
  color: rgba(245, 240, 224, 0.75);
}
.footer-nav-list a:hover { color: var(--pp-beige); }
.footer-nav-heading {
  font-family: var(--ff-headlines);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pp-beige);
  display: block;
  margin-bottom: 0.75rem;
}
.footer-bottom {
  border-top: 1px solid rgba(245, 240, 224, 0.18);
  padding: 1.25rem var(--site-margin);
  font-family: var(--ff-body);
  font-size: 0.75rem;
  color: rgba(245, 240, 224, 0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
/* Produktseite: Sticky Buy Bar (≈5.5rem) + normales padding */
.single-product .footer-bottom {
  padding-bottom: 6.5rem;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

/* ── Age Gate ───────────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 10, 22, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.age-gate.show { display: flex; }
.age-gate .box {
  background: var(--bg);
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.age-gate .mini-logo { height: 32px; margin: 0 auto 20px; }
.age-gate h3 { font-size: 2rem; line-height: 1.1; margin-bottom: 12px; font-weight: 400; }
.age-gate p { font-family: var(--ff-headlines); font-size: 15px; line-height: 1.5; color: var(--fg-2); margin-bottom: 24px; }
.age-gate .btn-row { display: flex; gap: 10px; justify-content: center; }
.age-gate .btn { flex: 1; }

/* ── Step Indicator ─────────────────────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--ff-body);
  font-size: 13px;
  margin: 16px 0 24px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-2);
}
.step-item.active { color: var(--fg); font-weight: 700; }
.step-item.done { color: var(--pp-green); }
.step-num {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: rgba(83, 40, 124, 0.1);
  display: grid;
  place-items: center;
  font-family: var(--ff-headlines);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.step-item.active .step-num { background: var(--pp-purple); color: var(--pp-beige); }
.step-item.done .step-num { background: var(--pp-green); color: #0a3d37; }
.step-sep { flex: 0 0 24px; height: 1px; background: var(--border); }

/* ── Upsell Progress Banner ─────────────────────────────── */
.shipping-progress {
  background: linear-gradient(90deg, rgba(73, 205, 185, 0.18), rgba(73, 205, 185, 0.05));
  border: 1px solid rgba(73, 205, 185, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--ff-body);
  font-size: 14px;
  color: #0a6b5d;
}
.shipping-progress svg { width: 22px; height: 22px; stroke: #0a6b5d; fill: none; stroke-width: 1.8; flex-shrink: 0; }
.shipping-progress strong { color: #083e38; }
.shipping-progress-bar { flex: 1; min-width: 140px; height: 8px; background: rgba(73, 205, 185, 0.22); border-radius: var(--radius-pill); overflow: hidden; }
.shipping-progress-fill { height: 100%; background: var(--pp-green); border-radius: var(--radius-pill); transition: width 0.4s var(--ease-pippa); }

/* ── Qty Stepper ─────────────────────────────────────────── */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}
.qty-stepper button { width: 44px; height: 52px; font-size: 18px; color: var(--fg); transition: background var(--dur-fast); }
.qty-stepper button:hover { background: rgba(83, 40, 124, 0.06); }
.qty-stepper input[type="number"] {
  width: 44px;
  text-align: center;
  border: 0;
  font-family: var(--ff-headlines);
  font-weight: 700;
  font-size: 16px;
  background: transparent;
  height: 52px;
  -moz-appearance: textfield;
}
.qty-stepper input[type="number"]::-webkit-outer-spin-button,
.qty-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Page header ─────────────────────────────────────────── */
.page-header { padding: 32px 0 8px; }
.page-header h1 { margin-bottom: 0; }

/* ── Posts grid (blog) ───────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 24px 0 48px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-pippa), box-shadow var(--dur-base);
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.post-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-title { font-size: var(--fs-h4); margin: 0; }
.post-title a:hover { color: var(--pp-red); }
.post-excerpt { font-family: var(--ff-body); font-size: 15px; color: var(--fg-2); }

/* ── WooCommerce notices (global) ───────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
}
.woocommerce-message { background: var(--pp-success); color: var(--pp-success-dark); border: 1px solid #a3e6a0; }
.woocommerce-info { background: var(--pp-warning); color: var(--pp-warning-dark); border: 1px solid #e8d96f; }
.woocommerce-error { background: var(--pp-error); color: var(--pp-error-dark); border: 1px solid #f0c0c0; }
.woocommerce-error li { list-style: none; }

/* ── Cards Section (.pcard) ─────────────────────────────── */
.section_cards { background-color: var(--pp-beige); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pcard {
  border-radius: 28px;
  padding: 32px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pcard .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 88px;
  height: 88px;
  z-index: 3;
}

.pcard h3 {
  font-family: var(--ff-headlines);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}

.pcard .meta {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 18px;
}

.pcard p {
  font-family: var(--ff-headlines);
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 24px;
  max-width: 28ch;
}

.pcard .price {
  font-family: var(--ff-headlines);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 16px;
}
.pcard .price del {
  text-decoration: line-through;
  font-size: 0.72em;
  font-weight: 400;
  opacity: 0.55;
  margin-right: 0.25em;
}
.pcard .price ins {
  text-decoration: none;
}

.pcard.purple { background: var(--pp-purple); color: var(--pp-beige); }
.pcard.green  { background: var(--pp-green);  color: var(--pp-purple); }
.pcard.red    { background: var(--pp-red);    color: var(--pp-beige); }

.pcard .bottle-wrap {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 60%;
  pointer-events: none;
}
.pcard .bottle-wrap img {
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.25));
}

.pcard .ibtn {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 240ms cubic-bezier(.52,0,.51,1);
  position: relative;
  z-index: 2;
}

/* ── Lila Card ───────────────────────────────── */
.pcard.purple .add-to-cart-btn {
  background: var(--pp-green);
  border-color: var(--pp-green);
  color: var(--pp-purple);
}
.pcard.purple .add-to-cart-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--pp-purple);
}
.pcard.purple .ibtn-details {
  background: var(--pp-purple);
  border-color: var(--pp-beige);
  color: var(--pp-beige);
}
.pcard.purple .ibtn-details:hover {
  background: var(--pp-beige);
  border-color: var(--pp-beige);
  color: var(--pp-purple);
}

/* ── Grüne Card ──────────────────────────────── */
.pcard.green .add-to-cart-btn {
  background: var(--pp-purple);
  border-color: var(--pp-purple);
  color: var(--pp-beige);
}
.pcard.green .add-to-cart-btn:hover {
  background: var(--pp-beige);
  border-color: var(--pp-beige);
  color: var(--pp-purple);
}
.pcard.green .ibtn-details {
  background: var(--pp-green);
  border-color: var(--pp-purple);
  color: var(--pp-purple);
}
.pcard.green .ibtn-details:hover {
  background: var(--pp-purple);
  border-color: var(--pp-purple);
  color: var(--pp-beige);
}

/* ── Rote Card ───────────────────────────────── */
.pcard.red .ibtn {
  border-color: var(--pp-beige);
  color: var(--pp-beige);
}
.pcard.red .ibtn:hover {
  background: var(--pp-beige);
  color: var(--pp-red);
}

.pcard h3 a {
  color: inherit;
  text-decoration: none;
}
.pcard h3 a:hover {
  text-decoration: underline;
}

.pcard-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .pcard { min-height: 420px; }
  .pcard h3 { font-size: 26px; }
}

/* ── Legal Page Template ─────────────────────────────────── */
.legal-page {
  padding-top: calc(8.5rem + clamp(2rem, 4vw, 4rem));
  padding-bottom: clamp(4rem, 8vw, 8rem);
  padding-inline: var(--site-margin);
}

.legal-page__inner {
  max-width: var(--site-width);
  margin-inline: auto;
}

.legal-page__header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-page__eyebrow {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin: 0 0 0.75rem;
}

.legal-page__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--fg);
}

/* Content area — max 72ch for comfortable line length */
.legal-page__body {
  max-width: 72ch;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--fg-2);
}

.legal-page__body h2 {
  font-family: var(--ff-headlines);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--fg);
  margin: 2.5rem 0 0.75rem;
  line-height: 1.2;
}

.legal-page__body h3 {
  font-family: var(--ff-headlines);
  font-size: var(--fs-h5);
  font-weight: 700;
  color: var(--fg);
  margin: 1.75rem 0 0.5rem;
  line-height: 1.3;
}

.legal-page__body h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--fg);
  margin: 1.5rem 0 0.375rem;
}

.legal-page__body p {
  margin: 0 0 1rem;
}

.legal-page__body ul,
.legal-page__body ol {
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.legal-page__body li {
  margin-bottom: 0.4rem;
}

.legal-page__body a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color var(--dur-base);
}

.legal-page__body a:hover {
  text-decoration-color: var(--fg);
}

.legal-page__body strong {
  font-weight: 700;
  color: var(--fg);
}

.legal-page__body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
