:root {
  --navy: #25245c;
  --ink: #20223a;
  --muted: #5f6475;
  --line: #e7e9f2;
  --soft: #f7f8fc;
  --green: #22b970;
  --green-dark: #168a53;
  --yellow: #f5c84b;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(37, 36, 92, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 156px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-link,
.ghost-link {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  color: var(--white);
  background: var(--green);
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.hero {
  padding: 72px 0 42px;
  background:
    linear-gradient(180deg, rgba(247, 248, 252, 0.86), rgba(255, 255, 255, 1)),
    var(--soft);
}

.page-hero {
  padding: 58px 0 36px;
  background:
    linear-gradient(180deg, rgba(247, 248, 252, 0.9), rgba(255, 255, 255, 1)),
    var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 74px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 670px;
  margin: 24px 0 0;
  font-size: 20px;
  color: var(--muted);
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.trust-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}

.hero-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #eef1fa;
}

.hero-media video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-media-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 14px;
  backdrop-filter: blur(8px);
}

.hero-media-caption strong {
  display: block;
  color: var(--navy);
}

section {
  padding: 78px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.grid-3,
.grid-2,
.steps {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.step,
.notice,
.policy-block,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card,
.step,
.policy-block {
  padding: 24px;
}

.card p,
.step p,
.policy-block p,
.policy-block li {
  color: var(--muted);
}

.card p,
.step p,
.policy-block p {
  margin: 12px 0 0;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 34px;
}

.article-body {
  max-width: 780px;
}

.article-body h2 {
  margin-top: 42px;
  font-size: clamp(26px, 3vw, 34px);
}

.article-body h3 {
  margin-top: 28px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 17px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
}

.toc a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--navy);
}

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

.link-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  background: var(--white);
}

.link-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eef8f3;
  color: var(--green-dark);
  font-weight: 900;
}

.step-number {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

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

.notice {
  padding: 22px;
  background: #fffdf4;
  border-color: #f3df9d;
}

.notice strong {
  color: var(--navy);
}

.offers-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.offers-table th,
.offers-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.offers-table th {
  color: var(--navy);
  background: var(--soft);
  font-size: 14px;
}

.offers-table td {
  color: var(--muted);
}

.offers-table tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.cta-band {
  padding: 52px 0;
  background: var(--navy);
  color: var(--white);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  padding: 38px 0;
  background: #17183b;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.site-footer img {
  width: 142px;
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.fineprint {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .steps,
  .content-layout,
  .link-grid,
  .footer-grid,
  .cta-content {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .cta-content {
    display: grid;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: 66px;
  }

  .brand img {
    width: 132px;
  }

  .ghost-link {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  section {
    padding: 54px 0;
  }

  .offers-table,
  .offers-table tbody,
  .offers-table tr,
  .offers-table td,
  .offers-table th {
    display: block;
  }

  .offers-table thead {
    display: none;
  }

  .offers-table td {
    border-bottom: 0;
    padding: 12px 16px;
  }

  .offers-table tr {
    border-bottom: 1px solid var(--line);
  }
}
