:root {
  --bg: #0F1526;
  --surface: #19213C;
  --border: #2B3560;
  --text: #F2EFE6;
  --muted: #A3A9C8;
  --accent: #43BFAE;
  --accent-ink: #0F1526;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header { padding: 20px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; }
.logo {
  display: inline-flex; align-items: center; flex-shrink: 0;
  background: #fff; padding: 7px 12px; border-radius: 10px; line-height: 0;
}
.logo img { display: block; height: 28px; width: auto; max-width: 100%; }
.logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

.hero { padding: 72px 0 88px; }
.page-hero { padding: 56px 0 64px; }
.tag {
  display: inline-block; font-size: 13px; font-weight: 500; color: var(--accent);
  border: 1px solid var(--border); background: var(--surface);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 22px;
}
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 760px; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; padding: 13px 22px; border-radius: 10px;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost {
  display: inline-block; text-decoration: none; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 12px 20px; border-radius: 10px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

section { padding: 72px 0; border-top: 1px solid var(--border); }
h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.01em; margin: 0 0 12px; }
.section-lede { color: var(--muted); max-width: 640px; margin: 0 0 40px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px;
  margin-bottom: 14px;
}

.teasers .card { display: flex; flex-direction: column; padding: 28px; }
.teasers .card h3 { font-size: 22px; }
.teasers .card p { font-size: 16px; margin-bottom: 22px; }
.teasers .card .btn-ghost { margin-top: auto; align-self: flex-start; }

.langs { display: flex; flex-wrap: wrap; gap: 12px; }
.lang {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 20px; font-weight: 600;
}
.lang small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.lang.soon { border-style: dashed; color: var(--muted); }

.contact { text-align: center; }
.contact .section-lede { margin-left: auto; margin-right: auto; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 0 0 16px; }
.email { font-size: clamp(18px, 3vw, 22px); font-weight: 600; word-break: break-all; margin: 0; }
.location { color: var(--muted); font-size: 15px; margin: 0; }

.prose { max-width: 720px; }
.prose p { color: var(--muted); margin: 0 0 18px; }
.prose h3 { font-size: 20px; margin: 36px 0 10px; color: var(--text); }
.prose ul { color: var(--muted); margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.subhead { font-size: clamp(18px, 2.6vw, 22px); color: var(--accent); font-weight: 600; margin: 0 0 24px; }
.opener { font-size: clamp(18px, 2.4vw, 21px); color: var(--text) !important; font-weight: 600; }
blockquote {
  margin: 0 0 18px; padding: 16px 20px; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 12px 12px 0; color: var(--text);
}
.callout { color: var(--text) !important; font-weight: 600; }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.social a {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 14px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 9px 16px; border-radius: 10px;
}
.social a:hover { border-color: var(--accent); color: var(--accent); }

.page-end { display: flex; flex-wrap: wrap; gap: 12px; }

footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  .hero { padding: 48px 0 64px; }
  .page-hero { padding: 40px 0 48px; }
  section { padding: 56px 0; }
  nav { gap: 6px 16px; }
}
