:root {
  color-scheme: light;
  --brand-navy: #163a59;
  --brand-blue: #1f6fb2;
  --brand-aqua: #5db7d8;
  --brand-mint: #7bcfa6;
  --brand-yellow: #f4c95d;
  --brand-sky-50: #f3f8fc;
  --brand-sky-100: #e8f1f8;
  --neutral-900: #183246;
  --neutral-700: #486274;
  --neutral-300: #d5e2ec;
  --surface: #ffffff;
  --surface-alt: var(--brand-sky-100);
  --accent: var(--brand-blue);
  --accent-soft: #dceefe;
  --success-soft: rgba(123, 207, 166, 0.18);
  --shadow-sm: 0 10px 30px rgba(22, 58, 89, 0.08);
  --shadow-md: 0 20px 45px rgba(22, 58, 89, 0.1);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --content-max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--neutral-900);
  background: linear-gradient(180deg, #eef6fb 0%, var(--brand-sky-50) 100%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-shell {
  width: min(var(--content-max), calc(100% - 32px));
  margin: 0 auto;
  padding: var(--space-8) 0 var(--space-14);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-header__logo {
  width: min(220px, 52vw);
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link,
.language-switcher__link,
.footer-link {
  text-decoration: none;
  color: var(--neutral-700);
  font-weight: 600;
}

.nav-link:hover,
.language-switcher__link:hover,
.footer-link:hover,
.inline-link:hover {
  color: var(--brand-blue);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--neutral-300);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.language-switcher__link {
  padding: 8px 12px;
  border-radius: 999px;
}

.language-switcher__link[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--brand-blue);
}

.hero,
.card,
.stat-card,
.feature-card,
.timeline-card,
.contact-card,
.faq-card,
.notice-card {
  background: var(--surface);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.hero {
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.hero__copy {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.hero__visual {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.hero__visual img,
.hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 6px);
  border: 1px solid var(--neutral-300);
  background: linear-gradient(180deg, #f7fbfe 0%, #e8f1f8 100%);
}

.footer-mark {
  width: 64px;
  height: 64px;
}

.hero__visual-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: calc(var(--radius-md) - 6px);
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-sky-100) 100%);
  border: 1px solid rgba(31, 111, 178, 0.14);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 0;
}

p,
li {
  color: var(--neutral-700);
  line-height: 1.7;
}

.lead {
  font-size: clamp(1.04rem, 1.2vw, 1.15rem);
  max-width: 62ch;
}

.section-header p,
.notice-card .section-header p,
.contact-card p,
.faq-card > p,
.faq-card details p {
  max-width: 68ch;
}

.hero-actions,
.section-actions,
.contact-actions,
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

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

.button--primary {
  color: #fff;
  background: var(--brand-blue);
  box-shadow: 0 12px 25px rgba(31, 111, 178, 0.22);
}

.button--secondary {
  color: var(--brand-blue);
  background: #fff;
  border-color: rgba(31, 111, 178, 0.25);
}

.button--ghost {
  color: var(--neutral-700);
  background: transparent;
  border-color: var(--neutral-300);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge--info {
  background: rgba(31, 111, 178, 0.12);
  color: var(--brand-blue);
}

.badge--success {
  background: var(--success-soft);
  color: #2f8a57;
}

.badge--reward {
  background: rgba(244, 201, 93, 0.26);
  color: var(--brand-navy);
}

.badge--neutral {
  background: rgba(72, 98, 116, 0.12);
  color: var(--neutral-700);
}

.section {
  margin-top: var(--space-12);
}

.section-header {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--stats,
.grid--features,
.grid--faq,
.grid--contact,
.grid--timeline,
.grid--footer {
  grid-template-columns: 1fr;
}

.card,
.stat-card,
.feature-card,
.timeline-card,
.contact-card,
.faq-card,
.notice-card {
  padding: 24px;
}

.stat-card,
.feature-card,
.timeline-card,
.contact-card,
.faq-card {
  display: grid;
  gap: 12px;
}

.stat-card__value {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: var(--brand-navy);
}

.feature-card__icon,
.contact-card__icon,
.timeline-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--brand-blue);
  font-weight: 800;
}

.timeline-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.quote {
  padding: 18px 20px;
  border-left: 4px solid var(--brand-aqua);
  background: rgba(93, 183, 216, 0.08);
  border-radius: var(--radius-sm);
}

.list {
  padding-left: 18px;
  margin-bottom: 0;
}

.notice-card {
  background: linear-gradient(180deg, #ffffff 0%, rgba(123, 207, 166, 0.08) 100%);
}

.faq-card details {
  border-top: 1px solid rgba(213, 226, 236, 0.8);
  padding-top: 14px;
}

.faq-card details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--neutral-900);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  float: right;
  color: var(--brand-blue);
}

.faq-card details[open] summary::after {
  content: "−";
}

.contact-reveal {
  display: grid;
  gap: 12px;
  align-items: start;
}

.contact-reveal__output {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(31, 111, 178, 0.35);
  background: rgba(31, 111, 178, 0.05);
  color: var(--brand-navy);
  font-weight: 700;
  word-break: break-word;
}

.contact-reveal__hint {
  font-size: 0.95rem;
}

.contact-reveal [data-email-link-host] {
  min-height: 24px;
}

.contact-reveal [data-email-link-host] a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100% - 32px));
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 111, 178, 0.14);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  z-index: 50;
}

.language-toast[hidden] {
  display: none;
}

.language-toast p {
  margin-bottom: 12px;
}

.site-footer {
  margin-top: var(--space-12);
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-meta {
  color: var(--neutral-700);
  font-size: 0.95rem;
}

.small {
  font-size: 0.94rem;
}

.inline-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 700;
}

.page-hero-simple {
  margin-bottom: var(--space-8);
}

.page-hero-simple.hero {
  gap: var(--space-4);
}

.page-hero-simple .hero__copy {
  max-width: 72ch;
}

.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 (min-width: 760px) {
  .grid--stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--features,
  .grid--contact,
  .grid--faq,
  .grid--timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.92fr);
    align-items: center;
  }

  .grid--features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

