:root {
  color-scheme: light;
  --ink: #13221c;
  --muted: #5c6b64;
  --paper: #f5f1e8;
  --surface: #fffdf7;
  --line: #d9d5ca;
  --accent: #e4562e;
  --accent-dark: #b6371b;
  --green: #174f3a;
  --gold: #e7b648;
  --shadow: 0 18px 50px rgb(34 45 39 / 10%);
}

* { box-sizing: border-box; }

html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgb(231 182 72 / 24%), transparent 24rem),
    linear-gradient(180deg, #faf7ef 0%, var(--paper) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--green); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }

.site-header,
footer {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header { min-height: 5.5rem; }
.site-header nav { display: flex; gap: 1.25rem; font-weight: 700; }
.site-header nav a, .brand { text-decoration: none; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); font-weight: 900; letter-spacing: -0.025em; }
.brand-mark { display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 0.75rem; background: var(--green); color: #fff; box-shadow: 0.3rem 0.3rem 0 var(--gold); }

main { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; }

.language-switcher { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.45rem; margin: 1rem 0; }
.language-switcher button { border: 1px solid var(--line); border-radius: 999px; background: rgb(255 253 247 / 80%); color: var(--ink); padding: 0.45rem 0.8rem; font: inherit; font-size: 0.875rem; font-weight: 750; cursor: pointer; }
.language-switcher button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }

.prelaunch { border: 1px solid #cf9c25; border-radius: 0.8rem; background: #fff4cf; padding: 0.75rem 1rem; font-weight: 700; }

.hero { max-width: 60rem; padding: clamp(4rem, 11vw, 8rem) 0 clamp(3rem, 8vw, 6rem); }
.eyebrow { margin: 0 0 1rem; color: var(--accent-dark); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
h1 { max-width: 18ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 7.5vw, 6.7rem); line-height: 0.98; letter-spacing: -0.055em; }
.lede { max-width: 47rem; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border: 2px solid var(--green); border-radius: 0.8rem; padding: 0.7rem 1rem; font-weight: 850; text-decoration: none; }
.button.primary { background: var(--green); color: white; }
.button.secondary { background: transparent; color: var(--green); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: 5rem; }
.feature-card { position: relative; min-height: 16rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.2rem; background: rgb(255 253 247 / 82%); padding: 1.5rem; box-shadow: var(--shadow); }
.feature-card h2 { margin: 4.2rem 0 0.6rem; font-size: 1.35rem; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-number { position: absolute; top: 0.6rem; right: 1rem; color: rgb(19 34 28 / 10%); font-family: Georgia, serif; font-size: 5rem; font-weight: 900; line-height: 1; }

.document-layout { display: grid; min-width: 0; grid-template-columns: minmax(12rem, 17rem) minmax(0, 48rem); gap: clamp(2rem, 8vw, 7rem); padding: 3rem 0 6rem; align-items: start; }
.document-intro { position: sticky; top: 2rem; }
.document-intro h1 { max-width: 8ch; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.document-intro p { color: var(--muted); }
.document { min-width: 0; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); padding: clamp(1.25rem, 4vw, 3rem); box-shadow: var(--shadow); }
.document p, .document li, .document a { overflow-wrap: anywhere; }
.document section + section { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.5rem; }
.document h2 { margin: 0 0 0.7rem; font-size: 1.35rem; line-height: 1.25; }
.document h3 { margin-bottom: 0.35rem; }
.document p, .document li { color: #394941; }
.document ul { padding-left: 1.25rem; }
.status-card { border-left: 0.35rem solid var(--accent); background: #fff4ef; padding: 1rem 1.1rem; }
.contact-card { border-radius: 1rem; background: var(--green); color: white; padding: 1.5rem; }
.contact-card a, .contact-card p { color: white; }
.contact-email { font-size: clamp(1.05rem, 3vw, 1.35rem); font-weight: 850; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); min-height: 6rem; color: var(--muted); font-size: 0.9rem; }

.js [data-locale-panel][hidden],
.js [data-support-email-link][hidden],
.js [data-support-pending][hidden],
.js [data-prelaunch-notice][hidden] { display: none; }

@media (max-width: 760px) {
  .site-header { align-items: center; flex-wrap: wrap; padding: 1rem 0; }
  .site-header nav { width: 100%; justify-content: flex-end; }
  .site-header nav { gap: 0.75rem; font-size: 0.9rem; }
  .language-switcher { justify-content: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 12rem; }
  .document-layout { grid-template-columns: 1fr; padding-top: 1rem; }
  .document-intro { position: static; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 1rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
