:root {
  --legal-ink: #080706;
  --legal-ink-2: #11100d;
  --legal-ink-3: #181510;
  --legal-paper: #f7f0e5;
  --legal-paper-2: #efe1c7;
  --legal-muted: #bbae98;
  --legal-dim: #847865;
  --legal-gold: #d39b27;
  --legal-gold-2: #f0c15e;
  --legal-line: rgba(247, 240, 229, 0.14);
  --legal-line-strong: rgba(211, 155, 39, 0.28);
  --legal-max: 1180px;
  --legal-radius: 10px;
  --legal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Shared institutional footer */
.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--legal-line);
  background:
    radial-gradient(circle at 12% 0%, rgba(211, 155, 39, 0.09), transparent 31rem),
    #060504;
  color: var(--legal-paper);
  padding: 64px 0 92px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--legal-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 1.9fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
}

.footer-intro {
  min-width: 0;
}

.footer-brand,
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--legal-paper);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-brand i,
.legal-brand i {
  color: var(--legal-gold-2);
  font-style: normal;
}

.footer-mark,
.legal-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(211, 155, 39, 0.52);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 155, 39, 0.13), rgba(211, 155, 39, 0.035));
  box-shadow: inset 0 0 0 3px rgba(8, 7, 6, 0.42), 0 8px 24px rgba(211, 155, 39, 0.08);
}

.footer-mark svg,
.legal-brand-mark svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.45;
  color: var(--legal-gold-2);
}

.footer-copy {
  max-width: 38ch;
  margin-top: 22px;
  color: var(--legal-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-product {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--legal-gold-2);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-product::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-col h2 {
  margin: 0 0 17px;
  color: var(--legal-paper);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col button {
  width: fit-content;
  display: block;
  border: 0;
  padding: 5px 0;
  background: none;
  color: var(--legal-muted);
  font: inherit;
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--legal-gold-2);
  transform: translateX(2px);
}

.footer-company {
  margin-top: 42px;
  border: 1px solid var(--legal-line);
  border-radius: var(--legal-radius);
  background: rgba(247, 240, 229, 0.025);
}

.footer-company-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--legal-line);
}

.footer-company-head strong {
  color: var(--legal-paper);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-company-head span {
  color: var(--legal-dim);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-company-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.5fr 1.2fr;
}

.footer-company-item {
  min-width: 0;
  padding: 17px 18px 18px;
  border-right: 1px solid var(--legal-line);
}

.footer-company-item:last-child {
  border-right: 0;
}

.footer-company-item small {
  display: block;
  margin-bottom: 6px;
  color: var(--legal-dim);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-company-item b {
  display: block;
  overflow-wrap: anywhere;
  color: var(--legal-muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.55;
}

.footer-company-item b[data-pending] {
  color: var(--legal-gold-2);
}

.footer-note {
  margin-top: 15px;
  color: var(--legal-dim);
  font-size: 0.68rem;
  line-height: 1.65;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--legal-line);
}

.footer-bottom p {
  max-width: 84ch;
  margin: 0;
  color: var(--legal-dim);
  font-size: 0.69rem;
  line-height: 1.65;
}

.footer-bottom p + p {
  margin-top: 7px;
}

.footer-bottom-copy {
  width: 100%;
}

.footer-product-note {
  max-width: 96ch !important;
}

.footer-identity {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
  margin: 17px 0 14px;
  padding: 14px 0;
  border-block: 1px solid rgba(247, 240, 229, 0.09);
}

.footer-identity p {
  max-width: none;
  margin: 0 !important;
}

.footer-identity-name {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 11px;
  align-items: baseline;
}

.footer-identity-name strong {
  color: var(--legal-paper-2);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 560;
}

.footer-identity-name span,
.footer-identity-address {
  color: var(--legal-dim);
  font-size: 0.65rem;
  line-height: 1.55;
}

.footer-identity a {
  color: #a99572;
  font-size: 0.67rem;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-identity a:hover {
  color: var(--legal-gold-2);
}

.footer-copyright {
  color: #706655 !important;
}

.footer-cookie-button {
  border: 1px solid var(--legal-line-strong);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(211, 155, 39, 0.05);
  color: var(--legal-gold-2);
  font: inherit;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.footer-cookie-button:hover {
  background: rgba(211, 155, 39, 0.11);
}

/* Editorial footer — mirrors the wine and aged-bronze header signature */
.site-footer {
  border-top-color: rgba(211, 155, 39, 0.2);
  background:
    radial-gradient(circle at 50% -18%, rgba(106, 32, 37, 0.34), transparent 34rem),
    radial-gradient(circle at 8% 12%, rgba(211, 155, 39, 0.075), transparent 27rem),
    linear-gradient(180deg, #0b0807 0%, #060504 72%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 3%, rgba(106, 32, 37, 0.82) 32%, rgba(211, 155, 39, 0.68) 50%, rgba(106, 32, 37, 0.82) 68%, transparent 97%);
  opacity: 0.72;
}

.footer-brand {
  gap: 14px;
  color: #f2e8d6;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 560;
  letter-spacing: -0.012em;
  text-transform: none;
}

.footer-brand b {
  font-weight: 560;
}

.footer-brand i {
  color: #d5a246;
  font-style: normal;
}

.footer-mark {
  width: 42px;
  height: 42px;
  border-color: rgba(211, 155, 39, 0.56);
  background:
    radial-gradient(circle at 50% 38%, rgba(135, 42, 47, 0.72), rgba(67, 18, 21, 0.52) 57%, rgba(10, 7, 6, 0.8));
  box-shadow:
    inset 0 0 0 3px rgba(7, 5, 4, 0.55),
    inset 0 0 0 4px rgba(211, 155, 39, 0.12),
    0 9px 26px rgba(0, 0, 0, 0.32);
}

.footer-mark svg {
  width: 20px;
  height: 20px;
  color: #e0b75e;
  stroke-width: 1.22;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-copy {
  margin-top: 20px;
  color: #aa9b85;
}

.footer-product {
  margin-top: 19px;
  color: #c99942;
  letter-spacing: 0.095em;
}

.footer-product::before {
  background: linear-gradient(90deg, #76262b, currentColor);
}

.footer-col h2 {
  position: relative;
  margin-bottom: 15px;
  padding-top: 12px;
  color: #d7aa55;
}

.footer-col h2::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, #7c292e, rgba(211, 155, 39, 0.76));
}

.footer-col a,
.footer-col button {
  color: #aa9b85;
}

.footer-col a:hover,
.footer-col button:hover {
  color: #e0b75e;
}

.footer-bottom {
  border-top-color: rgba(211, 155, 39, 0.16);
}

.footer-identity {
  border-block-color: rgba(118, 38, 43, 0.42);
}

.footer-identity-name strong {
  color: #e2d3bb;
}

.footer-identity a {
  color: #bd9142;
}

/* Legal pages */
.legal-page {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--legal-ink);
  color: var(--legal-paper);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.legal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.legal-page a {
  color: inherit;
}

.legal-page a:focus-visible,
.legal-page button:focus-visible,
.legal-page input:focus-visible {
  outline: 2px solid var(--legal-gold-2);
  outline-offset: 4px;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--legal-line);
  background: rgba(8, 7, 6, 0.92);
  backdrop-filter: blur(18px);
}

.legal-nav-inner {
  width: 100%;
  max-width: var(--legal-max);
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding-inline: 24px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--legal-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-back svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.legal-back:hover {
  color: var(--legal-gold-2);
}

.legal-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--legal-max);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 98px) 24px clamp(80px, 10vw, 130px);
}

.legal-hero {
  max-width: 880px;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--legal-gold);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.legal-hero h1 {
  max-width: 15ch;
  margin: 18px 0 20px;
  color: var(--legal-paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.legal-hero > p {
  max-width: 69ch;
  margin: 0;
  color: var(--legal-muted);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.8;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--legal-dim);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  margin-top: clamp(54px, 8vw, 90px);
}

.legal-toc {
  position: sticky;
  top: 104px;
  min-width: 0;
  padding-top: 8px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 14px;
  color: var(--legal-paper);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.59rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  border-left: 1px solid var(--legal-line);
  padding: 7px 0 7px 14px;
  color: var(--legal-dim);
  font-size: 0.74rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
  border-color: var(--legal-gold);
  color: var(--legal-gold-2);
}

.legal-content {
  min-width: 0;
  border: 1px solid var(--legal-line);
  border-radius: var(--legal-radius);
  background: linear-gradient(145deg, rgba(247, 240, 229, 0.035), rgba(247, 240, 229, 0.012));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.policy-intro {
  padding: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid var(--legal-line);
  color: var(--legal-muted);
  font-size: 0.94rem;
}

.policy-section {
  scroll-margin-top: 108px;
  padding: clamp(28px, 4.5vw, 48px);
  border-bottom: 1px solid var(--legal-line);
}

.policy-section:last-child {
  border-bottom: 0;
}

.policy-section h2 {
  max-width: 22ch;
  margin: 0 0 18px;
  color: var(--legal-paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 3.3vw, 2.55rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.policy-section h3 {
  margin: 27px 0 9px;
  color: var(--legal-paper-2);
  font-size: 0.91rem;
  letter-spacing: 0.015em;
}

.policy-section p {
  margin: 0;
  color: var(--legal-muted);
  font-size: 0.9rem;
}

.policy-section p + p {
  margin-top: 14px;
}

.policy-section ul,
.policy-section ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: var(--legal-muted);
  font-size: 0.88rem;
}

.policy-section li::marker {
  color: var(--legal-gold);
}

.policy-section a {
  color: var(--legal-gold-2);
  text-decoration-color: rgba(240, 193, 94, 0.35);
  text-underline-offset: 3px;
}

.legal-callout {
  margin-top: 22px;
  border-left: 2px solid var(--legal-gold);
  border-radius: 0 var(--legal-radius) var(--legal-radius) 0;
  padding: 18px 20px;
  background: rgba(211, 155, 39, 0.065);
  color: var(--legal-paper-2);
  font-size: 0.84rem;
  line-height: 1.7;
}

.legal-warning {
  margin-top: 24px;
  border: 1px solid rgba(240, 193, 94, 0.28);
  border-radius: var(--legal-radius);
  padding: 20px;
  background: rgba(211, 155, 39, 0.055);
}

.legal-warning strong {
  display: block;
  margin-bottom: 8px;
  color: var(--legal-gold-2);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-warning p {
  color: var(--legal-paper-2);
  font-size: 0.82rem;
}

.placeholder {
  color: var(--legal-gold-2);
  font-weight: 700;
}

.legal-table-wrap {
  max-width: 100%;
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--legal-line);
  border-radius: var(--legal-radius);
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--legal-muted);
  font-size: 0.77rem;
}

.legal-table th,
.legal-table td {
  padding: 13px 15px;
  border-right: 1px solid var(--legal-line);
  border-bottom: 1px solid var(--legal-line);
  text-align: left;
  vertical-align: top;
}

.legal-table th:last-child,
.legal-table td:last-child {
  border-right: 0;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  background: rgba(247, 240, 229, 0.035);
  color: var(--legal-paper);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.57rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.contact-card {
  min-width: 0;
  border: 1px solid var(--legal-line);
  border-radius: var(--legal-radius);
  padding: 18px;
  background: rgba(247, 240, 229, 0.02);
}

.contact-grid > .contact-card:only-child {
  grid-column: 1 / -1;
}

.contact-card small {
  display: block;
  color: var(--legal-dim);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-card b {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: var(--legal-paper-2);
  font-size: 0.86rem;
}

.legal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 21px;
  border: 1px solid var(--legal-line-strong);
  border-radius: 4px;
  padding: 0 19px;
  background: var(--legal-gold);
  color: var(--legal-ink) !important;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-transform: uppercase;
  cursor: pointer;
}

.legal-action:hover {
  background: var(--legal-gold-2);
}

/* Cookie consent */
.cookie-consent[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent-card {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(240, 193, 94, 0.3);
  border-radius: 12px;
  padding: 20px;
  background: rgba(12, 10, 8, 0.97);
  color: var(--legal-paper);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(20px);
  pointer-events: auto;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
}

.cookie-copy p {
  max-width: 69ch;
  margin: 0;
  color: var(--legal-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.cookie-copy a {
  color: var(--legal-gold-2);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cookie-btn {
  min-height: 42px;
  border: 1px solid var(--legal-line-strong);
  border-radius: 4px;
  padding: 0 14px;
  background: transparent;
  color: var(--legal-paper);
  font: inherit;
  font-size: 0.67rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-btn:hover {
  border-color: var(--legal-gold);
  color: var(--legal-gold-2);
}

.cookie-btn-primary {
  background: var(--legal-gold);
  color: var(--legal-ink);
}

.cookie-btn-primary:hover {
  background: var(--legal-gold-2);
  color: var(--legal-ink);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.76);
}

.cookie-dialog {
  width: min(100%, 590px);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  border: 1px solid rgba(240, 193, 94, 0.3);
  border-radius: 12px;
  background: var(--legal-ink-2);
  color: var(--legal-paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.cookie-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 23px 19px;
  border-bottom: 1px solid var(--legal-line);
}

.cookie-dialog-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.1;
}

.cookie-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--legal-line);
  border-radius: 50%;
  background: none;
  color: var(--legal-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.cookie-dialog-body {
  padding: 21px 23px 8px;
}

.cookie-dialog-body > p {
  margin: 0 0 18px;
  color: var(--legal-muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid var(--legal-line);
}

.cookie-option strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.84rem;
}

.cookie-option p {
  margin: 0;
  color: var(--legal-dim);
  font-size: 0.72rem;
  line-height: 1.55;
}

.cookie-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

.cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-switch span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--legal-line-strong);
  border-radius: 999px;
  background: #26211a;
  cursor: pointer;
  transition: 0.2s ease;
}

.cookie-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--legal-muted);
  transition: 0.2s ease;
}

.cookie-switch input:checked + span {
  border-color: var(--legal-gold);
  background: rgba(211, 155, 39, 0.26);
}

.cookie-switch input:checked + span::after {
  transform: translateX(20px);
  background: var(--legal-gold-2);
}

.cookie-switch input:disabled + span {
  cursor: not-allowed;
  opacity: 0.7;
}

.cookie-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 23px 23px;
}

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

  .footer-copy {
    max-width: 58ch;
  }

  .footer-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-company-item:nth-child(2) {
    border-right: 0;
  }

  .footer-company-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--legal-line);
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
    border: 1px solid var(--legal-line);
    border-radius: var(--legal-radius);
    padding: 16px;
    background: rgba(247, 240, 229, 0.02);
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }

  .legal-toc a {
    border-left: 0;
    padding-inline: 0;
  }

  .cookie-consent-card {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding: 52px 0 82px;
  }

  .footer-shell,
  .legal-nav-inner,
  .legal-main {
    padding-inline: 20px;
  }

  .footer-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-company-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .footer-company-grid {
    grid-template-columns: 1fr;
  }

  .footer-company-item {
    border-right: 0;
    border-bottom: 1px solid var(--legal-line);
  }

  .footer-company-item:nth-child(3) {
    border-bottom: 1px solid var(--legal-line);
  }

  .footer-company-item:last-child {
    border-bottom: 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-identity {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-block: 15px 13px;
    padding-block: 13px;
  }

  .footer-identity-name {
    gap: 3px 9px;
  }

  .footer-identity-address {
    max-width: 46ch !important;
  }

  .footer-identity a {
    width: fit-content;
    white-space: normal;
  }

  .footer-cookie-button {
    width: fit-content;
  }

  .legal-nav-inner {
    min-height: 66px;
  }

  .legal-brand {
    font-size: 0.76rem;
    letter-spacing: 0.025em;
  }

  .legal-brand-mark {
    width: 32px;
    height: 32px;
  }

  .legal-back {
    font-size: 0.62rem;
  }

  .legal-back span {
    display: none;
  }

  .legal-main {
    padding-top: 50px;
  }

  .legal-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.8rem);
  }

  .legal-layout {
    margin-top: 46px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .policy-intro,
  .policy-section {
    padding: 24px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    inset: auto 10px 10px;
  }

  .cookie-consent-card {
    gap: 16px;
    padding: 17px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-actions .cookie-btn-primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .cookie-btn {
    width: 100%;
    white-space: normal;
  }

  .cookie-dialog-head,
  .cookie-dialog-body,
  .cookie-dialog-actions {
    padding-inline: 18px;
  }

  .cookie-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-col a,
  .footer-col button,
  .cookie-switch span,
  .cookie-switch span::after {
    transition: none;
  }
}
