:root {
  --ink: #231b18;
  --muted: #756964;
  --line: #e8ded8;
  --paper: #fffdf9;
  --warm: #f7f0e9;
  --accent: #a51f2d;
  --accent-dark: #761421;
  --accent-soft: #f8e8e8;
  --shadow: 0 20px 60px rgba(61, 34, 26, 0.08);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 0.16em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--accent-dark);
  border-radius: 10px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(232, 222, 216, 0.9);
  backdrop-filter: blur(16px);
}
.header-inner, .nav-inner, .footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 18px;
}
.language-switcher { display: inline-flex; gap: 4px; padding: 4px; background: var(--warm); border-radius: 999px; }
.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  padding: 4px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.language-switcher button.is-active { color: white; background: var(--accent); box-shadow: 0 5px 14px rgba(165, 31, 45, 0.2); }
.language-switcher button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(165, 31, 45, 0.28); outline-offset: 3px; }
.site-nav { border-top: 1px solid rgba(232, 222, 216, 0.65); }
.nav-inner { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a {
  flex: 0 0 auto;
  padding: 12px 0 10px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.nav-inner a:hover, .nav-inner a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.home-shell, .page-shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow-shell { max-width: 920px; }
.hero {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 80px;
  padding: 74px 0 60px;
}
.eyebrow, .document-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero h1, .legal-document h1, .support-intro h1, .not-found h1 {
  margin: 10px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.hero h1 { font-size: clamp(58px, 9vw, 112px); }
.hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.5; }
.hero-seal {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, white 0, var(--warm) 65%, #efe3da 100%);
  box-shadow: var(--shadow);
}
.hero-seal span { color: var(--accent); font-family: Georgia, serif; font-size: clamp(64px, 8vw, 104px); line-height: 1; }
.hero-seal small { margin-top: 12px; color: var(--muted); font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-bottom: 38px; }
.legal-card {
  min-height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(61, 34, 26, 0.045);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.legal-card:hover { transform: translateY(-3px); border-color: #d8beb7; box-shadow: var(--shadow); }
.legal-card > span { color: var(--accent); font-size: 12px; font-weight: 850; }
.legal-card h2 { margin: 30px 34px 10px 0; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 34px); font-weight: 500; line-height: 1.1; }
.legal-card p { max-width: 480px; margin: auto 42px 0 0; color: var(--muted); font-size: 14px; }
.legal-card b { position: absolute; right: 28px; top: 28px; color: var(--accent); font-size: 22px; }
.legal-card:last-child { grid-column: 1 / -1; }
.home-note { margin: 20px 0 80px; padding: 26px 30px; color: var(--muted); background: var(--warm); border-radius: 18px; }
.home-note p { margin: 0; }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 70px; padding: 70px 0 100px; }
.legal-layout > div, .legal-document { min-width: 0; }
.document-aside { position: relative; }
.aside-card { position: sticky; top: 150px; padding: 22px; background: var(--warm); border: 1px solid var(--line); border-radius: 18px; }
.aside-card span { display: block; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.aside-card strong { display: block; margin: 12px 0 10px; font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.aside-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.legal-document { padding: 70px 0 100px; }
.legal-layout .legal-document { padding: 0; }
.legal-document h1, .support-intro h1 { font-size: clamp(42px, 6vw, 68px); }
.legal-document h2 { margin: 48px 0 13px; font-family: Georgia, serif; font-size: clamp(25px, 3.3vw, 34px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.16; }
.legal-document p, .legal-document li { color: #3d332f; }
.legal-document p { margin: 0 0 18px; }
.legal-list { margin: 16px 0 24px; padding-left: 1.25em; }
.legal-list li { margin: 8px 0; padding-left: 6px; }
.legal-list li::marker { color: var(--accent); }
.table-wrap { width: 100%; margin: 26px 0 34px; overflow-x: auto; contain: inline-size; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; min-width: 720px; border-collapse: collapse; background: white; font-size: 14px; line-height: 1.5; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--accent-dark); background: var(--warm); font-size: 12px; letter-spacing: 0.03em; }
tr:last-child td { border-bottom: 0; }
.placeholder { color: var(--accent-dark); background: var(--accent-soft); border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 1px 4px; font-weight: 700; }
.legal-document a, .placeholder { overflow-wrap: anywhere; }

.deletion-copy { padding-bottom: 30px; }
.step-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 22px; margin: 20px 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.step-card .step-number { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--accent); border-radius: 50%; font-size: 12px; font-weight: 850; }
.step-card h2 { margin: 2px 0 10px; font-size: 28px; }
.step-card p { margin: 0; }
.request-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 50px; margin: 20px 0 100px; padding: 40px; background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius); }
.request-copy h2 { margin: 10px 0 14px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; line-height: 1.1; }
.request-copy > p { color: var(--muted); }
.safety-note { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; padding: 17px 18px; color: var(--accent-dark); background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 10px; font-size: 14px; }
.safety-note.wide { margin: 0 0 90px; }
.request-form { display: grid; gap: 16px; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.request-form label { display: grid; gap: 7px; color: #4b3e39; font-size: 13px; font-weight: 750; }
.request-form input, .request-form select, .request-form textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: var(--paper); border: 1px solid #d9cbc4; border-radius: 10px; font-weight: 450; }
.request-form textarea { resize: vertical; min-height: 120px; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; color: white; background: var(--accent); border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; }
.primary-button:hover { background: var(--accent-dark); }
.primary-button:disabled { color: #9a8d87; background: #e8dfda; cursor: not-allowed; }
.configuration-note, .form-status { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.support-intro { padding: 75px 0 46px; }
.support-intro .lead { max-width: 760px; color: var(--muted); font-size: 19px; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 50px; }
.support-card { min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.support-card > span { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; }
.support-card strong { font-family: Georgia, serif; font-size: 19px; font-weight: 500; line-height: 1.4; }
.support-links { margin-bottom: 38px; border-top: 1px solid var(--line); }
.support-links a { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 21px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.support-links a::after { content: "↗"; color: var(--accent); font-size: 20px; }
.support-links span { color: var(--accent); font-size: 12px; font-weight: 850; }
.support-links strong { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }

.not-found { min-height: 65vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found > span { color: var(--accent); font-weight: 850; letter-spacing: 0.12em; }
.not-found h1 { font-size: clamp(44px, 7vw, 76px); }
.not-found p { margin-top: 0; color: var(--muted); }
.not-found .primary-button { margin-top: 18px; }

.site-footer { color: #e9ddd7; background: #211816; }
.footer-inner { min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner p { margin: 0; font-size: 14px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-inner a { color: #c9bbb4; font-size: 12px; text-decoration: none; }
.footer-inner a:hover { color: white; }

@media (max-width: 820px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding: 66px 0; }
  .hero-seal { width: min(72vw, 330px); justify-self: center; }
  .legal-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 40px; }
  .document-aside { display: none; }
  .legal-layout .legal-document { padding-bottom: 70px; }
  .request-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .header-inner, .nav-inner, .footer-inner, .home-shell, .page-shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 62px; }
  .brand-mark { width: 30px; height: 30px; }
  .language-switcher button { min-width: 37px; padding-inline: 7px; }
  .nav-inner { flex-wrap: wrap; gap: 0 18px; overflow-x: visible; padding-bottom: 3px; }
  .nav-inner a { padding-top: 8px; padding-bottom: 7px; font-size: 12px; }
  .hero { padding: 52px 0; }
  .hero h1 { font-size: clamp(52px, 19vw, 82px); }
  .hero p { font-size: 18px; }
  .cards { grid-template-columns: 1fr; }
  .legal-card, .legal-card:last-child { grid-column: auto; min-height: 200px; padding: 24px; }
  .legal-card h2 { margin-top: 24px; }
  .legal-document { padding: 52px 0 70px; }
  .legal-document h1, .support-intro h1 { font-size: clamp(38px, 12vw, 54px); }
  .legal-document h2 { margin-top: 38px; }
  .table-wrap { width: calc(100vw - 28px); }
  th, td { padding: 13px; }
  .step-card { grid-template-columns: 1fr; padding: 22px; }
  .request-section { margin-bottom: 70px; padding: 22px; gap: 28px; }
  .request-form { padding: 18px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-intro { padding-top: 55px; }
  .footer-inner { min-height: 210px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-inner nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
