:root {
  --spec-blue-900: #0b2f63;
  --spec-blue-800: #0f3d7a;
  --spec-blue-700: #14529a;
  --spec-blue-600: #1d66b1;
  --spec-blue-500: #2f7cc4;
  --spec-red-600: #d91f2d;
  --spec-red-500: #e62a37;
  --spec-ink: #112033;
  --spec-muted: #667085;
  --spec-border: #d9e1ea;
  --spec-surface: #f7f9fc;
  --spec-white: #ffffff;
  --spec-shadow: 0 18px 50px rgba(17, 32, 51, 0.10);
  --spec-radius-sm: 12px;
  --spec-radius-md: 18px;
  --spec-radius-lg: 28px;
  --spec-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--spec-ink);
  background: var(--spec-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--spec-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 225, 234, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-logo {
  width: 300px;
  max-width: 46vw;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--spec-blue-900);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--spec-red-500);
  transition: right 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--spec-border);
  border-radius: 999px;
  background: var(--spec-white);
}

.language-switch a {
  min-width: 42px;
  padding: 7px 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--spec-blue-900);
}

.language-switch a[aria-current="page"] {
  background: var(--spec-blue-900);
  color: var(--spec-white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 90% 10%, rgba(47, 124, 196, 0.11), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8vw 0 auto;
  width: 48vw;
  height: 7px;
  background: linear-gradient(90deg, transparent, var(--spec-blue-500) 30%, var(--spec-red-500) 92%);
  transform: skewX(-24deg);
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--spec-blue-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--spec-red-500);
}

.hero h1 {
  margin: 0;
  max-width: 860px;
  color: var(--spec-blue-900);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 720px;
  color: var(--spec-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--spec-blue-900), var(--spec-blue-600));
  color: var(--spec-white);
  box-shadow: 0 12px 30px rgba(20, 82, 154, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(20, 82, 154, 0.28);
}

.btn-secondary {
  border-color: var(--spec-border);
  background: var(--spec-white);
  color: var(--spec-blue-900);
}

.hero-panel {
  padding: 30px;
  border: 1px solid var(--spec-border);
  border-radius: var(--spec-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--spec-shadow);
}

.hero-panel h2 {
  margin: 0 0 10px;
  color: var(--spec-blue-900);
  font-size: 24px;
}

.hero-panel p {
  margin: 0;
  color: var(--spec-muted);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
}

.check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--spec-blue-700);
  font-weight: 900;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--spec-surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  color: var(--spec-blue-900);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--spec-muted);
  font-size: 18px;
}

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

.card {
  padding: 28px;
  border: 1px solid var(--spec-border);
  border-radius: var(--spec-radius-md);
  background: var(--spec-white);
  box-shadow: 0 10px 30px rgba(17, 32, 51, 0.06);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--spec-blue-800);
  font-weight: 900;
}

.card h3 {
  margin: 20px 0 10px;
  color: var(--spec-blue-900);
  font-size: 22px;
}

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

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.spec-chip {
  padding: 22px;
  border-radius: var(--spec-radius-sm);
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
  border: 1px solid var(--spec-border);
}

.spec-chip strong {
  display: block;
  color: var(--spec-blue-900);
  font-size: 18px;
}

.spec-chip span {
  color: var(--spec-muted);
  font-size: 14px;
}

.portal-callout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--spec-radius-lg);
  background: linear-gradient(135deg, var(--spec-blue-900), var(--spec-blue-700));
  color: var(--spec-white);
  box-shadow: var(--spec-shadow);
}

.portal-callout h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.portal-callout p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.portal-callout .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--spec-white);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--spec-border);
  background: var(--spec-white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--spec-muted);
  font-size: 14px;
}

.footer-brand {
  color: var(--spec-blue-900);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.form-card {
  max-width: 760px;
  margin-inline: auto;
  padding: 34px;
  border: 1px solid var(--spec-border);
  border-radius: var(--spec-radius-lg);
  background: var(--spec-white);
  box-shadow: var(--spec-shadow);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--spec-blue-900);
  font-weight: 800;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--spec-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--spec-ink);
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--spec-blue-500);
  box-shadow: 0 0 0 4px rgba(47, 124, 196, 0.12);
}

.upload-box {
  padding: 24px;
  border: 2px dashed #b9c9db;
  border-radius: 16px;
  background: #f8fbff;
  text-align: center;
  color: var(--spec-muted);
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--spec-red-500);
  border-radius: 10px;
  background: #fff7f8;
  color: #653138;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 76px;
  }

  .main-nav {
    display: none;
  }

  .brand-logo {
    width: 250px;
    max-width: 62vw;
  }

  .hero {
    padding: 72px 0;
  }

  .hero-grid,
  .portal-callout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--spec-max));
  }

  .header-inner {
    gap: 12px;
  }

  .brand-logo {
    width: 210px;
    max-width: 66vw;
  }

  .language-switch a {
    min-width: 36px;
    padding: 6px 8px;
  }

  .hero {
    padding: 56px 0 60px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cards,
  .spec-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .portal-callout,
  .form-card,
  .hero-panel {
    padding: 24px;
  }

  .field-full {
    grid-column: auto;
  }
}
