:root {
  color-scheme: light;
  --blue: #087fc4;
  --blue-dark: #053562;
  --sky: #08a5cc;
  --ink: #18212a;
  --muted: #5d6974;
  --paper: #ffffff;
  --soft: #eef7fc;
  --line: #d9e4ea;
  --max-width: 780px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--soft);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(8, 165, 204, 0.16), transparent 32rem),
    var(--soft);
  line-height: 1.65;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 228, 234, 0.86);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.page,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: cover;
  border-radius: 0.8rem;
}

.language-link {
  font-size: 0.92rem;
  font-weight: 650;
  white-space: nowrap;
}

.page {
  padding-block: clamp(2rem, 6vw, 4.5rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 17rem);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-bottom: 2.5rem;
}

.hero-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2.1rem;
  box-shadow: 0 1.2rem 3rem rgba(5, 53, 98, 0.2);
}

.eyebrow {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 4.25rem);
  margin: 0.35rem 0 1rem;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  margin: 2.6rem 0 0.75rem;
}

h3 {
  font-size: 1.08rem;
  margin: 1.6rem 0 0.35rem;
}

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

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

.card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  color: var(--ink);
  padding: 1.4rem;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.8rem rgba(5, 53, 98, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 2.2rem rgba(5, 53, 98, 0.12);
}

.card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.card span,
.meta,
.note {
  color: var(--muted);
}

.document {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: clamp(1.4rem, 5vw, 3.25rem);
  box-shadow: 0 0.8rem 2.5rem rgba(5, 53, 98, 0.08);
}

.document h1 {
  font-size: clamp(2rem, 6vw, 3.3rem);
}

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

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

.summary {
  background: var(--soft);
  border-radius: 1.1rem;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0 2rem;
}

.summary p {
  margin: 0;
}

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 0.75rem;
  padding: 0.65rem 1.15rem;
  background: var(--blue);
  border-radius: 999px;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.contact:hover {
  background: var(--blue-dark);
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

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

  .hero-art {
    grid-row: 1;
    width: min(72vw, 16rem);
    justify-self: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
