:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #59647a;
  --soft: #e7ebf3;
  --paper: #fbfcfe;
  --blue: #315be8;
  --blue-dark: #2447c0;
  --gold: #f0b34c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: #f1f4f9;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-dark); }
a:focus-visible, .wordmark:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.wordmark {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -.07em;
  text-decoration: none;
}

.wordmark span { color: var(--blue); }

.language-nav { display: flex; gap: .35rem; }
.language-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .4rem .65rem;
  text-decoration: none;
}
.language-nav a:hover { background: #e4e9f4; color: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  margin: 38px 0 20px;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 7vw, 6rem);
}
.hero::after {
  position: absolute;
  right: -95px;
  top: -145px;
  width: 360px;
  height: 360px;
  border: 72px solid rgba(49, 91, 232, .35);
  border-radius: 50%;
  content: "";
}
.hero > * { position: relative; z-index: 1; }

.eyebrow, .card-kicker {
  color: var(--blue);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #b9c8ff; display: flex; align-items: center; gap: .55rem; }
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; font-size: clamp(2.5rem, 7vw, 5.3rem); line-height: 1.01; letter-spacing: -.065em; margin: 1rem 0 1.25rem; }
.hero-copy { color: #c9d1e4; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 550px; }
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.6rem;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
  padding: .8rem 1.1rem;
  text-decoration: none;
}
.contact-button:hover { background: #e9edff; }

.notice-grid, .translation-grid { display: grid; gap: 20px; }
.notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notice-card, .translation-card {
  border: 1px solid var(--soft);
  border-radius: 18px;
  background: var(--paper);
  padding: clamp(1.35rem, 3vw, 2rem);
}
.notice-card { min-height: 190px; }
.notice-card .card-kicker { color: var(--blue); margin-bottom: .7rem; }
.notice-card h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.03em; margin-bottom: .45rem; }
.notice-card p:last-child, .translation-card p { color: var(--muted); margin-bottom: 0; }
.accent-card { background: #e8edff; border-color: #d2dcff; }

.language-section { padding: clamp(4rem, 9vw, 7rem) 0 3.5rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-heading .card-kicker { margin-bottom: 0; }
.section-heading h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); letter-spacing: -.045em; margin-bottom: 0; }
.translation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.translation-card { min-height: 260px; }
.language-label { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.language-label span:first-child { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--ink); color: #fff; font-size: .7rem; }
.translation-card h3 { font-size: 1.35rem; letter-spacing: -.03em; margin: 1.25rem 0 .55rem; }
.translation-card .acquisition { border-top: 1px solid var(--soft); font-size: .92rem; margin-top: 1.35rem; padding-top: 1rem; }
.translation-card .acquisition strong { color: var(--ink); }
.translation-card .acquisition a { font-weight: 750; }

.site-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--soft); color: var(--muted); font-size: .8rem; padding: 1.2rem 0 2.2rem; }
.site-footer span:first-child { color: var(--ink); font-weight: 850; letter-spacing: -.03em; }

@media (max-width: 680px) {
  .page-shell { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 72px; }
  .hero { border-radius: 20px; margin-top: 20px; }
  .hero::after { right: -170px; top: -110px; }
  .notice-grid, .translation-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading .card-kicker { margin-bottom: .55rem; }
  .notice-card, .translation-card { min-height: 0; }
}

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