/* ─── LEGAL PAGES (Privacy Policy / Cookie Policy) ─── */

.legal-hero {
  padding: 160px 60px 80px;
  border-bottom: 1px solid var(--border);
}

.legal-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
}

.legal-hero-tag::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--green);
}

.legal-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}

.legal-hero h1 em {
  font-style: italic;
  color: var(--green);
}

.legal-meta {
  font-size: .8rem;
  color: var(--gray);
  letter-spacing: .06em;
}

/* ─── BODY ─── */
.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 60px 120px;
}

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

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section-num {
  display: inline-block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.legal-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.legal-section p {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.legal-section ul li {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.8;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--border-2);
}

.legal-section ul li:last-child {
  border-bottom: none;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 1px;
  background: var(--green);
}

.legal-section a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green-pale);
  transition: border-color .2s;
}

.legal-section a:hover {
  border-color: var(--green);
}

.legal-highlight {
  background: var(--bg-2);
  border-left: 2px solid var(--green);
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-highlight p {
  margin-bottom: 0;
  font-size: .88rem;
}

/* ─── COOKIE TABLE ─── */
.cookie-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}

.cookie-table th {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.cookie-table td {
  padding: 14px 16px;
  color: var(--ink-2);
  font-size: .88rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border-2);
  vertical-align: top;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table tr:hover td {
  background: var(--bg-2);
}

/* ─── BACK LINK ─── */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color .3s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding: 8px 0;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .legal-hero { padding: 140px 32px 60px; }
  .legal-body  { padding: 60px 32px 100px; }
}

@media (max-width: 640px) {
  .legal-hero { padding: 120px 20px 48px; }
  .legal-body  { padding: 48px 20px 80px; }
  .cookie-table th,
  .cookie-table td { padding: 10px 12px; }
}
