:root {
  --ink: #111120;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --slate: #606779;
  --line: #deddd8;
  --jade: #187657;
  --jade-soft: #e3f1eb;
  --rose: #a73b50;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(24, 118, 87, 0.35);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1120px, calc(100% - 2rem));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.65rem; font-weight: 700; }
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-family: var(--display);
  font-size: 1.15rem;
}
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--slate); font-size: 0.9rem; text-underline-offset: 0.25rem; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.language-switch { border-left: 1px solid var(--line); padding-left: 1.25rem; }
main { min-height: 65vh; }
.hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(3.25rem, 8vw, 6.8rem); font-weight: 400; letter-spacing: -0.045em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; letter-spacing: -0.025em; }
h3 { font-size: 1.4rem; font-weight: 500; }
.lead { max-width: 660px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--slate); }
.hero-card, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 14px 40px rgba(17, 17, 32, 0.06);
}
.status { display: flex; align-items: center; gap: 0.55rem; font-weight: 650; }
.status-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--jade); }
.muted { color: var(--slate); }
.section { border-top: 1px solid var(--line); padding: clamp(4rem, 8vw, 7rem) 0; }
.section-inner, .legal, .form-page {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.feature-number { color: var(--jade); font-family: var(--mono); font-size: 0.8rem; }
.notice {
  margin: 2rem 0;
  padding: 1.15rem 1.3rem;
  border-left: 4px solid var(--jade);
  background: var(--jade-soft);
  border-radius: 0 0.75rem 0.75rem 0;
}
.legal { max-width: 820px; padding: 4.5rem 0 6rem; }
.legal h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.legal h2 { font-size: clamp(1.7rem, 3.5vw, 2.35rem); margin-top: 3.4rem; }
.legal h3 { margin-top: 2.1rem; }
.legal p, .legal li { color: #3f4655; }
.legal li + li { margin-top: 0.45rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.94rem; }
.legal th, .legal td { padding: 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--slate); font-size: 0.9rem; }
.form-page { max-width: 760px; padding: 4.5rem 0 6rem; }
.form-page h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
form { margin-top: 2.5rem; }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: 0.45rem; font-weight: 650; }
input, textarea, select {
  width: 100%;
  border: 1px solid #c9c9c4;
  border-radius: 0.7rem;
  background: var(--surface);
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  font: inherit;
}
textarea { resize: vertical; min-height: 8rem; }
.hint { margin-top: 0.35rem; color: var(--slate); font-size: 0.88rem; }
button {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:disabled { opacity: 0.55; cursor: wait; }
.form-status { margin-top: 1rem; min-height: 1.6rem; font-weight: 650; }
.form-status[data-state="error"] { color: var(--rose); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; }
.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.8rem 1.3rem; }
.footer-links a { color: var(--slate); font-size: 0.9rem; }
.company { font-size: 0.86rem; color: var(--slate); }

@media (max-width: 760px) {
  .nav { min-height: 76px; align-items: flex-start; padding: 0.9rem 0; }
  .nav-links { gap: 0.75rem; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links .optional { display: none; }
  .language-switch { padding-left: 0.75rem; }
  .hero { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal th { padding-bottom: 0.2rem; border: 0; }
  .legal td { padding-top: 0.2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
