:root {
  color-scheme: light;
  --ink: #112039;
  --muted: #65748a;
  --line: #dce5ef;
  --paper: #ffffff;
  --wash: #f3f7fb;
  --accent: #1c6aa3;
  --accent-soft: #dff2ff;
  --shadow: 0 18px 45px rgba(17, 32, 57, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(100% - 2rem, 70rem);
  margin: 0 auto;
}

.shell--article { width: min(100% - 2rem, 56rem); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.9rem;
  background: var(--ink);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.brand-name {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.92rem;
  font-weight: 750;
}

.nav a:hover,
.nav a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible { color: var(--accent); }

.hero { padding: 5rem 0 3.5rem; }

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 19ch;
  margin-bottom: 1.3rem;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.hero p:not(.eyebrow) {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

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

.card,
.article,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card {
  display: block;
  min-height: 14rem;
  padding: 2rem;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  border-color: #9fc8e3;
  outline: none;
}

.card h2 { margin-bottom: 0.75rem; font-size: 1.55rem; line-height: 1.2; }
.card p { color: var(--muted); }
.card .arrow { display: inline-block; margin-top: 0.7rem; color: var(--accent); font-weight: 850; }

.article { padding: clamp(1.4rem, 4vw, 2.7rem); }

.section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.section:first-child { padding-top: 0; border-top: 0; }
.section:last-child { padding-bottom: 0; }
.section h2 { margin-bottom: 0.8rem; font-size: 1.25rem; line-height: 1.3; }
.section p { margin-bottom: 0.9rem; color: #526178; }
.section p:last-child { margin-bottom: 0; }

.inline-link { color: var(--ink); font-weight: 800; text-decoration-thickness: 0.1em; }

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

.faq-card { padding: 1.7rem; box-shadow: 0 14px 36px rgba(17, 32, 57, 0.05); }
.faq-card h2 { margin-bottom: 0.75rem; font-size: 1.18rem; line-height: 1.35; }
.faq-card p { margin-bottom: 0; color: var(--muted); }

.contact {
  margin-top: 1.4rem;
  padding: clamp(1.7rem, 4vw, 2.5rem);
  border-radius: 1.6rem;
  background: var(--ink);
  color: #fff;
}

.contact .eyebrow { color: #a9d9f4; }
.contact h2 { margin-bottom: 0.65rem; font-size: 1.8rem; line-height: 1.2; }
.contact p { max-width: 45rem; color: #d9e4ef; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.button:hover,
.button:focus-visible { background: var(--accent-soft); }

.english {
  margin-top: 1.4rem;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: #fff;
}

.english h2 { margin-bottom: 0.7rem; }
.english p { margin-bottom: 0; color: var(--muted); }

.site-footer {
  padding: 2.5rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .site-header { align-items: flex-start; }
  .brand-name { letter-spacing: 0.12em; }
  .nav { flex-direction: column; align-items: flex-end; gap: 0.25rem; }
  .hero { padding: 3.8rem 0 2.6rem; }
  .grid, .faq-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}

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