/* Maison du Thé Blanc — phase 1: foundations + header */

:root {
  --paper: #faf8f5;
  --paper-deep: #f1ebe3;
  --ink: #1c2523;
  --ink-soft: #4a5654;
  --accent: #2c4a3e;
  --gold: #b8955c;
  --gold-dim: rgba(184, 149, 92, 0.35);
  --header-h: 4.5rem;
  --ribbon-h: 2.35rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(201, 169, 98, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(44, 74, 62, 0.08), transparent 50%),
    var(--paper);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

/* ---- Top ribbon (address + phone) ---- */

.site-ribbon {
  position: relative;
  z-index: 40;
  min-height: var(--ribbon-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: linear-gradient(180deg, #fff 0%, var(--paper-deep) 100%);
  border-bottom: 1px solid var(--gold-dim);
}

.site-ribbon__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(52ch, 70vw);
}

.site-ribbon__loc svg {
  flex-shrink: 0;
  opacity: 0.65;
}

.site-ribbon__sep {
  width: 1px;
  height: 1rem;
  background: var(--gold-dim);
}

.site-ribbon__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-ribbon__phone a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.site-ribbon__phone a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .site-ribbon {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .site-ribbon__sep {
    display: none;
  }
}

/* ---- Main header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-h);
  display: grid;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.65rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(44, 74, 62, 0.12);
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav cart";
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cart"
      "nav nav";
  }
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.55),
    transparent
  );
  opacity: 0.7;
  pointer-events: none;
}

.site-brand {
  grid-area: brand;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.site-brand:hover {
  color: inherit;
}

.site-brand__mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #fff, var(--paper-deep));
  border: 1px solid var(--gold-dim);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(28, 37, 35, 0.08);
}

.site-brand__mark img {
  width: 1.45rem;
  height: 1.45rem;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-brand__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-brand__tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}

.site-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  flex-wrap: nowrap;
}

.header-cart {
  grid-area: cart;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 74, 62, 0.2);
  background: linear-gradient(180deg, #fff, var(--paper-deep));
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition:
    box-shadow 0.25s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.header-cart:hover {
  box-shadow: 0 6px 20px rgba(44, 74, 62, 0.12);
}

.header-cart:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.header-cart__icon {
  display: grid;
  place-items: center;
  opacity: 0.85;
}

.header-cart__text {
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .header-cart__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.header-cart__badge {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  transition: color 0.25s var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .site-nav {
    justify-content: flex-start;
    gap: 1rem 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 92%, transparent);
  }

  .site-nav a {
    flex-shrink: 0;
    font-size: 0.88rem;
  }
}

/* ---- Layout sections ---- */

main {
  overflow-x: clip;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section__intro {
  max-width: 44rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.section__title--left {
  text-align: left;
}

.section__lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: end;
  color: #fff;
}

.hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 28, 26, 0.25) 0%,
    rgba(20, 28, 26, 0.55) 55%,
    rgba(20, 28, 26, 0.82) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
}

.hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  opacity: 0.92;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 5.5vw, 3.45rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero__lede {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  line-height: 1.65;
  opacity: 0.95;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    box-shadow 0.25s var(--ease-out),
    transform 0.2s var(--ease-out),
    background 0.25s var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.btn--light:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn--accent {
  background: linear-gradient(145deg, var(--accent), #1e342c);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--accent:hover:not(:disabled) {
  box-shadow: 0 12px 32px rgba(44, 74, 62, 0.35);
  transform: translateY(-1px);
}

.btn--accent:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn--block {
  width: 100%;
}

/* ---- Products ---- */

.section--collection {
  background: linear-gradient(180deg, var(--paper) 0%, #fff 40%, var(--paper-deep) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 72rem;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(44, 74, 62, 0.1);
  box-shadow: 0 18px 48px rgba(28, 37, 35, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(28, 37, 35, 0.1);
}

.product-card__visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
}

.product-card__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
}

.product-card__meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.product-card__price {
  margin: 0.25rem 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

/* ---- Origines ---- */

.section--origines {
  background: var(--paper);
}

.origines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
}

.origines__figure {
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 20px 60px rgba(28, 37, 35, 0.08);
}

.origines__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.origines__content p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.origines__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.origines__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.origines__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}

@media (max-width: 820px) {
  .origines {
    grid-template-columns: 1fr;
  }
}

/* ---- Infusion ---- */

.section--infusion {
  background: linear-gradient(135deg, #fff 0%, var(--paper-deep) 50%, #fff 100%);
}

.infusion {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
}

.infusion__text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.infusion__figure {
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(44, 74, 62, 0.12);
}

.infusion__figure img {
  width: 100%;
  display: block;
}

@media (max-width: 820px) {
  .infusion {
    grid-template-columns: 1fr;
  }

  .infusion__figure {
    order: -1;
  }
}

/* ---- Contact ---- */

.section--contact {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.contact-card {
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(44, 74, 62, 0.12);
  box-shadow: 0 24px 64px rgba(28, 37, 35, 0.07);
}

.contact-card__lead {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

.contact-card__details {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-card__details dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.contact-card__details dd {
  margin: 0;
  font-size: 1.05rem;
}

.contact-card__details a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.contact-card__details a:hover {
  text-decoration: underline;
}

/* ---- Footer ---- */

.site-footer {
  padding: 1.75rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--gold-dim);
}

.site-footer p {
  margin: 0;
}

/* ---- Cart drawer ---- */

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 28, 26, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cart-backdrop[hidden] {
  display: none !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(100%, 22rem);
  height: 100%;
  height: 100dvh;
  background: linear-gradient(180deg, #fff, var(--paper));
  border-left: 1px solid rgba(44, 74, 62, 0.12);
  box-shadow: -24px 0 64px rgba(28, 37, 35, 0.15);
}

.cart-drawer:not([hidden]) {
  display: flex;
  flex-direction: column;
  animation: drawer-in 0.45s var(--ease-out);
}

.cart-drawer[hidden] {
  display: none !important;
}

@keyframes drawer-in {
  from {
    transform: translateX(100%);
    opacity: 0.6;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cart-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--gold-dim);
}

.cart-drawer__top h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.cart-drawer__close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--paper-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.cart-drawer__close:hover {
  background: rgba(44, 74, 62, 0.12);
}

.cart-drawer__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem;
}

.cart-empty {
  margin: 0;
  padding: 2rem 0.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-line {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(44, 74, 62, 0.1);
}

.cart-line__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-line__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-line__meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.cart-line__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cart-line__qty {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(44, 74, 62, 0.2);
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-line__qty:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-line__qty-num {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cart-line__remove {
  margin-left: auto;
  border: none;
  background: none;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  color: var(--ink-soft);
}

.cart-line__remove:hover {
  color: var(--accent);
}

.cart-drawer__checkout {
  padding: 1rem 1.15rem 1.35rem;
  border-top: 1px solid var(--gold-dim);
  background: color-mix(in srgb, var(--paper-deep) 55%, #fff);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.cart-total-row strong {
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.field-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.field-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(44, 74, 62, 0.22);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.field-input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: transparent;
}

.field-input[aria-invalid="true"] {
  border-color: #b44;
}

.cart-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---- Order success overlay ---- */

.order-success {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 1.5rem;
}

.order-success:not([hidden]) {
  display: grid;
  place-items: center;
}

.order-success[hidden] {
  display: none !important;
}

.order-success__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 26, 0.55);
  backdrop-filter: blur(6px);
}

.order-success__panel {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 1.25rem;
  background: linear-gradient(165deg, #fff 0%, var(--paper) 100%);
  border: 1px solid rgba(44, 74, 62, 0.12);
  box-shadow: 0 28px 80px rgba(28, 37, 35, 0.2);
  text-align: center;
  animation: success-pop 0.55s var(--ease-out);
}

@keyframes success-pop {
  from {
    transform: scale(0.92) translateY(12px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.order-success__mark {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.order-success__panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.order-success__text {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer,
  .order-success__panel {
    animation: none;
  }
}

/* ---- Footer legal links ---- */

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
}

.site-footer__nav a {
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__dot {
  color: var(--gold);
  opacity: 0.75;
  user-select: none;
}

/* ---- Legal pages (terms, privacy) ---- */

.legal-page {
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 10vw, 5rem);
}

.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-doc h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.legal-doc__updated {
  margin: 0 0 2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.legal-doc h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2rem 0 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gold-dim);
}

.legal-doc h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-doc h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin-bottom: 0.45rem;
}

.legal-doc a {
  color: var(--accent);
  font-weight: 500;
}

.legal-doc address {
  font-style: normal;
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.site-header--simple {
  grid-template-columns: auto 1fr;
  grid-template-areas: "brand nav";
}

@media (max-width: 900px) {
  .site-header--simple {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav";
  }

  .site-header--simple .site-nav {
    justify-content: flex-start;
  }
}
