:root {
  color-scheme: light dark;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: rgba(255, 255, 255, 0.9);
  --line: rgba(29, 29, 31, 0.11);
  --soft: #f2f0ec;
  --accent: #c96d24;
  --accent-soft: rgba(201, 109, 36, 0.11);
  --shadow: 0 24px 70px rgba(42, 37, 31, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 190, 165, 0.2), transparent 32rem),
    linear-gradient(145deg, #f7f5f1, #efede8);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-underline-offset: 0.18em; }

.landing-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
}

.brand-panel,
.language-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 8rem);
}

.brand-panel { background: rgba(255, 255, 255, 0.38); }

.mark {
  position: relative;
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: 2.8rem;
}

.paper {
  position: absolute;
  inset: 0.3rem 0.55rem 0;
  border-radius: 1.15rem 0.3rem 0.5rem 0.5rem;
  background: #252525;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.paper::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  border-top: 1.25rem solid #f7f5f1;
  border-left: 1.25rem solid transparent;
}

.nib {
  position: absolute;
  left: 1.67rem;
  bottom: -0.18rem;
  width: 1rem;
  height: 2.3rem;
  background: #f7f5f1;
  clip-path: polygon(50% 0, 100% 72%, 60% 100%, 40% 100%, 0 72%);
}

.nib::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: 0;
  width: 16%;
  height: 55%;
  background: var(--accent);
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .18em;
}

.brand-panel h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.brand-panel h1 span { color: #8d8a84; }

.intro {
  max-width: 35rem;
  margin: 2.3rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.trust-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-row span {
  padding: .38rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  font-size: .83rem;
  font-weight: 650;
}

.language-panel { gap: .9rem; max-width: 45rem; width: 100%; justify-self: center; }

.language-card {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 7px 28px rgba(42,37,31,.05);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.language-card:hover,
.language-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(201,109,36,.38);
  box-shadow: var(--shadow);
}

.language-code {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: .95rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 760;
}

.language-card strong,
.language-card small { display: block; }
.language-card strong { font-size: 1.08rem; }
.language-card small { color: var(--muted); }
.arrow { color: var(--accent); font-size: 1.45rem; }
.effective { margin: 1.5rem 0 0; color: var(--muted); font-size: .86rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.2rem;
  padding: .8rem max(1.2rem, calc((100vw - 860px) / 2));
  background: rgba(247, 245, 241, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

.wordmark { font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.wordmark span { margin-left: .45rem; color: var(--muted); font-weight: 520; }
.site-header nav { display: flex; gap: 1rem; font-size: .88rem; }
.site-header nav strong { color: var(--accent); }
.site-header nav a { color: var(--muted); text-decoration: none; }

.policy-shell { width: min(calc(100% - 2rem), 860px); margin: 2.3rem auto 5rem; }
.policy-shell article {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.policy-title { padding: clamp(2rem, 7vw, 5.5rem); background: linear-gradient(140deg, rgba(255,255,255,.85), rgba(242,240,236,.62)); }
.policy-title h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.08; letter-spacing: -.055em; }
.lede { max-width: 42rem; margin: 1.5rem 0 2rem; color: var(--muted); font-size: 1.1rem; }
.meta { display: flex; flex-wrap: wrap; gap: 1.3rem 2.5rem; margin: 0; }
.meta div { display: grid; flex: 1 1 15rem; min-width: 0; gap: .05rem; }
.meta dt { color: var(--muted); font-size: .74rem; }
.meta dd { margin: 0; font-size: .86rem; font-weight: 650; overflow-wrap: anywhere; }

.policy-shell section { padding: 2.25rem clamp(1.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.policy-shell h2 { display: flex; align-items: baseline; gap: .75rem; margin: 0 0 1rem; font-size: 1.34rem; letter-spacing: -.025em; }
.policy-shell h2 span { color: var(--accent); font-size: .68rem; letter-spacing: .12em; }
.policy-shell p { margin: .75rem 0; }
.policy-shell p,
.policy-shell li,
.policy-title h1 { overflow-wrap: anywhere; }
.policy-shell ul { margin: .7rem 0; padding-left: 1.25rem; }
.policy-shell li + li { margin-top: .55rem; }
.summary-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.summary-list li { margin: 0 !important; padding: 1rem; border-radius: 1rem; background: var(--soft); }
.summary-list strong { display: block; margin-bottom: .2rem; }
.policy-shell section a { color: #a95417; font-weight: 620; }
.support-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem 1rem;
  color: #fff !important;
  border-radius: .85rem;
  background: var(--accent);
  text-decoration: none;
  font-weight: 720;
}
.support-button:hover,
.support-button:focus-visible { filter: brightness(.93); }
.policy-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.6rem clamp(1.5rem, 7vw, 5.5rem); color: var(--muted); border-top: 1px solid var(--line); font-size: .82rem; }
.policy-footer a { color: inherit; }

@media (max-width: 760px) {
  .landing-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: 55vh; }
  .language-panel { padding-top: 3rem; padding-bottom: 4rem; }
  .brand-panel h1 { font-size: clamp(3.25rem, 16vw, 5.4rem); }
  .summary-list { grid-template-columns: 1fr; }
  .meta { display: grid; grid-template-columns: minmax(0, 1fr); }
  .wordmark span { display: none; }
  .policy-shell { width: min(calc(100% - 1rem), 860px); margin-top: .5rem; }
  .policy-shell article { border-radius: 1.25rem; }
  .policy-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .language-card { transition: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f2;
    --muted: #aaa7a2;
    --paper: rgba(32, 31, 29, .92);
    --line: rgba(255,255,255,.11);
    --soft: #2b2926;
    --accent: #ed8a3c;
    --accent-soft: rgba(237,138,60,.13);
    --shadow: 0 25px 80px rgba(0,0,0,.28);
  }
  body { background: radial-gradient(circle at 12% 8%, rgba(126,87,54,.19), transparent 32rem), #1b1a18; }
  .brand-panel { background: rgba(255,255,255,.015); }
  .paper { background: #ece9e3; }
  .paper::after, .nib { border-top-color: #1b1a18; background: #1b1a18; }
  .trust-row span { background: rgba(255,255,255,.045); }
  .site-header { background: rgba(27,26,24,.82); }
  .policy-title { background: linear-gradient(140deg, rgba(255,255,255,.035), rgba(0,0,0,.08)); }
  .policy-shell section a { color: #f19a55; }
}
