:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5c6b84;
  --line: rgba(33, 74, 138, 0.14);
  --blue: #1f66d1;
  --blue-deep: #174c9a;
  --sky: #eaf4ff;
  --paper: #ffffff;
  --career: #2f75df;
  --health: #e46b8b;
  --happiness: #ef9a3c;
  --shadow: 0 18px 54px rgba(27, 66, 123, 0.11);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(100, 171, 255, 0.22), transparent 27rem),
    linear-gradient(180deg, #f5faff 0, #ffffff 36rem);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--blue-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

a:focus-visible {
  outline: 3px solid rgba(31, 102, 209, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(70rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 0.72rem;
  background: linear-gradient(145deg, #2778e9, #174c9a);
  box-shadow: 0 7px 16px rgba(31, 102, 209, 0.22);
  color: white;
  font-weight: 820;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  font-size: 0.875rem;
}

.top-nav a {
  text-decoration: none;
}

.page-shell {
  width: min(70rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6.5rem) 0 5rem;
}

.hero {
  max-width: 49rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 780;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
}

.lede {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.account-line {
  display: flex;
  width: min(20rem, 76vw);
  height: 0.42rem;
  margin-top: 1.7rem;
  overflow: hidden;
  border-radius: 999px;
}

.account-line span {
  flex: 1;
}

.account-line span:nth-child(1) { background: var(--career); }
.account-line span:nth-child(2) { background: var(--health); }
.account-line span:nth-child(3) { background: var(--happiness); }

.language-nav {
  display: inline-flex;
  gap: 0.45rem;
  margin-top: 1.6rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 30px rgba(34, 73, 131, 0.08);
}

.language-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
}

.language-nav a:first-child {
  background: var(--sky);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.document,
.link-card {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.document {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.document section + section {
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.document p,
.document li {
  color: #34445e;
}

.document ul,
.document ol {
  padding-left: 1.25rem;
}

.document li + li {
  margin-top: 0.45rem;
}

.meta {
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.callout {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--blue);
  border-radius: 0 0.8rem 0.8rem 0;
  background: var(--sky);
}

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

.link-card {
  min-height: 12rem;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(27, 66, 123, 0.16);
  color: var(--ink);
}

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

.link-arrow {
  color: var(--blue);
  font-size: 1.35rem;
}

.site-footer {
  width: min(70rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.8rem 0 2.8rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .page-shell {
    padding-top: 3.3rem;
  }

  .content-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .document[lang="en"] {
    margin-top: 0.35rem;
  }
}

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

  .link-card {
    transition: none;
  }
}

