:root {
  color-scheme: light;
  --ink: #1f1a17;
  --muted: #5c534c;
  --line: #e4dcd0;
  --navy: #1a2332;
  --accent: #1f4e79;
  --accent-soft: #e8f1f8;
  --bg: #f4f0e8;
  --card: #fffdf8;
  --warm: #7a4e24;
  --ok: #eef6f1;
  --ok-line: #b7d4c4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 18px/1.6 "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3, p, a, button, label { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
body { overflow-x: clip; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #8eb4d4;
  outline-offset: 2px;
}
.skip { position: absolute; left: 12px; top: -48px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 6; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.langbar .wrap, header .wrap { width: min(1280px, calc(100% - 40px)); }
.banner {
  background: #efe6d6;
  color: var(--ink);
  text-align: center;
  padding: 10px 16px;
  font-size: 15px;
}
.banner a { color: var(--navy); font-weight: 700; }
header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 4; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 0.06em; font-size: 15px; flex: 0 0 auto; }
.brand small { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
nav { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap; justify-content: flex-end; }
nav a { color: #e7e2da; text-decoration: none; font-size: 15px; }
nav a[aria-current="page"] { color: #fff; font-weight: 700; }
.nav-actions { display: flex; gap: 8px; align-items: center; margin-left: 8px; }
.soon, .signin, .join {
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
}
.soon { background: transparent; color: #fff; border: 1px solid #8d97a6; }
.signin { background: #fff; color: var(--navy); }
.join { background: var(--accent); color: #fff; text-align: center; white-space: nowrap; }
.soon, .signin { white-space: nowrap; }
.signin:hover, .join:hover, .btn:hover, button.btn:hover { filter: brightness(1.08); }
.card:hover { border-color: #cfc6b8; }
.menu {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid #465066;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
}
.hero { padding: 72px 0 24px; }
.kicker {
  color: var(--warm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 12px;
}
.hero h1 { font-size: clamp(36px, 5.5vw, 64px); margin: 0 0 16px; max-width: 22ch; }
.langbar { background: #243044; color: #e7e2da; }
.langbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; min-height: 42px; padding: 8px 0; }
.langbar span { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.langbar a { color: #fff; text-decoration: none; font-size: 15px; }
.langbar a[aria-current="true"] { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lead { font-size: 22px; color: var(--ink); max-width: 40rem; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 42rem; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn, button.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  border: 0;
  font: inherit;
  cursor: pointer;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.fine { color: var(--muted); font-size: 15px; max-width: 40rem; margin-top: 16px; }
section { padding: 36px 0; }
h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 12px; }
h3 { font-size: 24px; margin: 0 0 8px; }
.intro { color: var(--muted); max-width: 44rem; margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.card p { margin: 0; color: var(--muted); }
.card h2, .card h3 { color: var(--ink); }
.icon { color: var(--accent); display: block; margin-bottom: 10px; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 8px;
  margin-bottom: 8px;
}
.band {
  background: var(--navy);
  color: #f4f0e8;
  border-radius: 20px;
  padding: 36px 32px;
}
.band h2, .band p { color: #f4f0e8; }
.band .sub { color: #d9d3c8; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.step span { display: block; color: var(--warm); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
footer { background: var(--navy); color: #d6d1c8; padding: 32px 0; margin-top: 24px; }
footer a { color: #fff; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
form { display: grid; gap: 12px; max-width: 720px; }
label { display: grid; gap: 6px; font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { font-weight: 500; color: var(--muted); font-size: 14px; }
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.checks { display: grid; gap: 8px; }
.checks label, .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
input, textarea, select {
  font: inherit;
  padding: 12px;
  border: 1px solid #cfc6b8;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  max-width: 100%;
}
.checks input, .consent input { width: auto; margin-top: 3px; }
.status { background: var(--ok); border: 1px solid var(--ok-line); border-radius: 10px; padding: 12px; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.list { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.list li { margin: 6px 0; }
.faq-list { display: grid; gap: 10px; max-width: 46rem; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 2px 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 4px; }
.faq p { margin: 0 0 14px; color: var(--muted); }
.status[data-state="error"] { background: #fdf2f2; border-color: #e4b8b8; }
.status[data-state="success"] { background: var(--ok); border-color: var(--ok-line); }
@media (max-width: 1320px) {
  .grid, .grid.two, .steps, .split, .pair { grid-template-columns: 1fr; }
  .menu { display: inline-block; }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    padding: 8px 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  nav.open { display: flex; }
  .nav-actions { margin-left: 0; flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 40px; }
  .wrap { width: min(1120px, calc(100% - 28px)); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead { animation: rise 0.5s ease both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signin:hover, .join:hover, .btn:hover, button.btn:hover { filter: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
