:root {
  --blue: #002f6c;
  --blue-2: #0b4ea2;
  --ice: #f6f9ff;
  --white: #ffffff;
  --ink: #0b1b33;
  --muted: rgba(11, 27, 51, 0.72);
  --border: rgba(0, 47, 108, 0.16);
  --shadow: 0 18px 42px rgba(0, 47, 108, 0.16);
  --radius: 18px;
  --container: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(1100px 680px at 12% 0%, rgba(11, 78, 162, 0.14), transparent 60%),
    radial-gradient(900px 680px at 92% 10%, rgba(0, 47, 108, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ice), var(--white));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-decoration-color: rgba(0, 47, 108, 0.35);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-2);
  text-decoration-color: rgba(11, 78, 162, 0.7);
}

:focus-visible {
  outline: 3px solid rgba(11, 78, 162, 0.35);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 12px;
  background: rgba(0, 47, 108, 0.92);
  color: white;
  border-radius: 12px;
}

.skip-link:focus {
  left: 14px;
  top: 14px;
  z-index: 9999;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246, 249, 255, 0.75);
  border-bottom: 1px solid rgba(0, 47, 108, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 10px 18px rgba(0, 47, 108, 0.18);
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(11, 27, 51, 0.88);
}

.nav-link:hover {
  background: rgba(0, 47, 108, 0.06);
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(11, 27, 51, 0.85);
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.lang-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 12px 24px rgba(0, 47, 108, 0.18);
}

.site-main {
  padding: 26px 0 56px;
}

.hero {
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(0, 47, 108, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  padding: 26px 22px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.subtitle {
  margin: 10px 0 0;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: rgba(11, 27, 51, 0.84);
}

.tagline {
  margin: 14px 0 0;
  font-size: 18px;
  color: rgba(11, 27, 51, 0.82);
  max-width: 65ch;
}

.hero-strong {
  margin: 14px 0 0;
  font-size: 18px;
}

.lede {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 72ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cta.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 14px 28px rgba(0, 47, 108, 0.18);
}

.cta.ghost {
  background: rgba(0, 47, 108, 0.06);
  color: var(--blue);
  border: 1px solid rgba(0, 47, 108, 0.14);
}

.cta-note {
  margin: 12px 0 0;
  color: rgba(11, 27, 51, 0.62);
  font-size: 14px;
}

.hero-card {
  display: grid;
  align-content: center;
}

.mock {
  border-radius: 22px;
  border: 1px solid rgba(0, 47, 108, 0.16);
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.9), rgba(255, 255, 255, 0.9));
  box-shadow: 0 20px 60px rgba(0, 47, 108, 0.14);
  overflow: hidden;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(0, 47, 108, 0.06);
  border-bottom: 1px solid rgba(0, 47, 108, 0.1);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 47, 108, 0.12);
  color: rgba(11, 27, 51, 0.82);
  font-size: 12px;
  font-weight: 650;
}

.score {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.mock-main {
  padding: 16px 14px;
  display: grid;
  gap: 12px;
}

.q,
.a {
  border-radius: 16px;
  border: 1px solid rgba(0, 47, 108, 0.12);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 12px;
}

.q-label,
.a-label {
  font-size: 12px;
  color: rgba(11, 27, 51, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.q-word {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-top: 6px;
}

.q-person {
  margin-top: 4px;
  color: rgba(11, 27, 51, 0.72);
  font-weight: 650;
}

.a-word {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
  color: var(--blue);
}

.ok {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 78, 162, 0.16);
  background: rgba(11, 78, 162, 0.08);
  color: rgba(11, 27, 51, 0.85);
  font-weight: 650;
}

.mock-bottom {
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(0, 47, 108, 0.1);
  background: rgba(246, 249, 255, 0.7);
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(11, 27, 51, 0.78);
  font-weight: 650;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.section {
  margin-top: 22px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  padding: 16px 16px;
  box-shadow: 0 12px 32px rgba(0, 47, 108, 0.1);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(11, 27, 51, 0.82);
}

.card li {
  margin: 6px 0;
}

.download {
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(0, 47, 108, 0.12);
  background: linear-gradient(135deg, rgba(0, 47, 108, 0.06), rgba(11, 78, 162, 0.08));
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px;
}

.store-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 47, 108, 0.16);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 750;
  color: rgba(11, 27, 51, 0.85);
}

.store.disabled {
  opacity: 0.8;
}

.site-footer {
  margin-top: 18px;
  color: rgba(11, 27, 51, 0.62);
  font-size: 14px;
}

.doc {
  width: min(74ch, 100%);
  margin: 0 auto;
  padding-top: 8px;
}

.doc-header h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.doc-updated {
  margin: 10px 0 0;
  color: rgba(11, 27, 51, 0.62);
  font-size: 14px;
}

.doc-lede {
  margin: 14px 0 0;
  color: rgba(11, 27, 51, 0.78);
}

.doc-section {
  margin-top: 22px;
  padding-top: 2px;
}

.doc-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.doc-section p {
  margin: 10px 0;
}

.doc-section ul {
  margin: 10px 0;
  padding-left: 18px;
}

.doc-section li {
  margin: 6px 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .download-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-row {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
