:root {
  --navy: #09245a;
  --navy-deep: #061737;
  --blue: #2869ed;
  --blue-soft: #dce8ff;
  --yellow: #ffc328;
  --cream: #f5f2e9;
  --paper: #fffdf8;
  --ink: #161b29;
  --muted: #64708a;
  --line: #cfd5df;
  --white: #ffffff;
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 24px 60px rgba(9, 36, 90, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(9, 36, 90, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 36, 90, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: 36px 36px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 14px 12px 16px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(9, 36, 90, 0.13);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(9, 36, 90, 0.09);
  backdrop-filter: blur(16px);
}

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

.brand img {
  display: block;
  border-radius: 12px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong,
.footer-brand strong {
  color: var(--navy);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header nav a {
  padding: 9px 14px;
  color: var(--navy);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: var(--blue-soft);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 36px;
  align-items: center;
  min-height: 690px;
  padding: 76px 0 64px;
}

.hero::before {
  position: absolute;
  top: 110px;
  left: -180px;
  width: 380px;
  height: 380px;
  background: rgba(40, 105, 237, 0.1);
  border-radius: 50%;
  filter: blur(2px);
  content: "";
  z-index: -1;
}

.eyebrow,
.section-number {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

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

.eyebrow span {
  width: 30px;
  height: 3px;
  background: var(--yellow);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--navy-deep);
  font-size: clamp(3.6rem, 7vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h1 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.14rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--navy);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(9, 36, 90, 0.16);
  outline: none;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  list-style: none;
}

.audience-list li::before {
  margin-right: 8px;
  color: var(--blue);
  content: "●";
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(40, 105, 237, 0.75), transparent 37%),
    var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel::after {
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 170px;
  height: 170px;
  border: 32px solid var(--yellow);
  border-radius: 50%;
  opacity: 0.95;
  content: "";
}

.panel-topline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 195, 40, 0.14);
}

.route-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.route-list li > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--navy-deep);
  background: var(--yellow);
  border-radius: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 900;
}

.route-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.route-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.55;
}

.quick-guide,
.faq-section,
.closing {
  margin-bottom: 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--navy);
}

.section-heading .section-number {
  margin-bottom: 6px;
}

.section-heading h2,
.closing h2 {
  margin-bottom: 4px;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 25px;
  border: 2px solid var(--navy-deep);
  border-radius: var(--radius-md);
  box-shadow: 7px 7px 0 var(--navy-deep);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover,
.guide-card:focus-visible {
  box-shadow: 12px 12px 0 var(--navy-deep);
  transform: translate(-4px, -4px);
  outline: none;
}

.guide-card-blue {
  color: var(--white);
  background: var(--blue);
}

.guide-card-yellow {
  color: var(--navy-deep);
  background: var(--yellow);
}

.guide-card-dark {
  color: var(--white);
  background: var(--navy-deep);
}

.card-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
}

.guide-icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 34px 0 32px;
  place-items: center;
  color: var(--navy-deep);
  background: var(--paper);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 500;
}

.guide-card h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.guide-card p {
  margin-bottom: 24px;
  opacity: 0.78;
  font-size: 0.91rem;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 800;
}

.card-link b {
  font-size: 1.25rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.category-nav {
  position: sticky;
  top: 112px;
  display: grid;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.category-nav p {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.category-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.category-nav a:hover,
.category-nav a:focus-visible {
  color: var(--blue);
  outline: none;
}

.category-nav span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
}

.faq-groups {
  display: grid;
  gap: 64px;
}

.faq-group {
  scroll-margin-top: 118px;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.group-title span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.69rem;
  font-weight: 900;
}

.group-title h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.35rem;
}

details {
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

details[open] {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(9, 36, 90, 0.08);
}

summary {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 66px 18px 20px;
  color: var(--navy-deep);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  content: "+";
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

details[open] summary::after {
  color: var(--navy-deep);
  background: var(--yellow);
  content: "−";
}

summary:focus-visible {
  outline: 3px solid rgba(40, 105, 237, 0.35);
  outline-offset: -3px;
}

.answer {
  padding: 0 70px 22px 20px;
}

.answer p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
  color: var(--white);
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
}

.closing::after {
  position: absolute;
  top: -90px;
  right: -30px;
  width: 270px;
  height: 270px;
  background: var(--blue);
  border-radius: 48% 52% 63% 37% / 40% 39% 61% 60%;
  content: "";
  opacity: 0.7;
}

.closing > * {
  position: relative;
  z-index: 1;
}

.closing .section-number {
  color: var(--yellow);
}

.closing h2 {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--white);
}

.closing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.closing-steps p {
  margin: 0;
  padding: 17px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  font-size: 0.85rem;
}

.closing-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
}

.closing .button-primary {
  color: var(--navy-deep);
  background: var(--yellow);
  border-color: var(--yellow);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

footer > a:last-child {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-panel {
    max-width: 650px;
  }

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

  .guide-card {
    min-height: 320px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .category-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }

  .category-nav p {
    grid-column: 1 / -1;
  }

  .closing-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
  }

  .brand-copy small,
  .site-header nav a:first-child {
    display: none;
  }

  .site-header nav a {
    padding-inline: 10px;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 80px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .route-list li {
    grid-template-columns: 40px 1fr;
    padding: 14px;
  }

  .route-list li > span {
    width: 40px;
    height: 40px;
  }

  .quick-guide,
  .faq-section,
  .closing {
    margin-bottom: 78px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guide-card {
    min-height: 350px;
  }

  .category-nav {
    grid-template-columns: 1fr;
  }

  .faq-groups {
    gap: 52px;
  }

  summary {
    padding-left: 16px;
    font-size: 0.92rem;
  }

  .answer {
    padding-right: 20px;
    padding-left: 16px;
  }

  .closing {
    border-radius: 24px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer p {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Privacy policy */
.privacy-hero {
  min-height: 640px;
  padding-bottom: 76px;
}

.privacy-page h1 {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 110px;
}

.privacy-nav {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.policy-document {
  min-width: 0;
}

.policy-intro,
.policy-section {
  scroll-margin-top: 118px;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.policy-intro {
  color: var(--white);
  background:
    radial-gradient(circle at 95% 5%, rgba(40, 105, 237, 0.85), transparent 34%),
    var(--navy-deep);
  border-color: transparent;
}

.policy-intro .section-number {
  color: var(--yellow);
}

.policy-intro h2,
.contact-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.policy-intro p:not(.section-number) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}

.policy-intro p:last-child,
.policy-section > p:last-child,
.contact-card > p:last-of-type {
  margin-bottom: 0;
}

.policy-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.policy-heading > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.policy-heading p {
  margin-bottom: 4px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-heading h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.policy-section h3 {
  margin: 30px 0 8px;
  color: var(--navy-deep);
  font-size: 1.12rem;
}

.policy-section p,
.policy-section li {
  color: #455168;
}

.policy-section a,
.contact-card a {
  color: var(--blue);
  font-weight: 750;
  text-underline-offset: 3px;
}

.policy-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 22px;
}

.policy-list li::marker,
.data-cards li::marker {
  color: var(--blue);
}

.policy-callout,
.policy-note {
  margin-top: 24px;
  padding: 20px;
  background: var(--blue-soft);
  border-left: 5px solid var(--blue);
  border-radius: 0 14px 14px 0;
}

.policy-callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-deep);
}

.policy-callout p,
.policy-note {
  margin-bottom: 0;
}

.data-cards {
  display: grid;
  gap: 14px;
}

.data-cards section {
  padding: 22px;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.data-cards h3 {
  margin: 0 0 10px;
}

.data-cards ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.contact-card {
  scroll-margin-top: 118px;
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 54px);
  color: var(--white);
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
}

.contact-card::after {
  position: absolute;
  top: -85px;
  right: -50px;
  width: 240px;
  height: 240px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
  opacity: 0.65;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card .section-number {
  color: var(--yellow);
}

.contact-card > p:not(.section-number) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 0;
}

.contact-card dl div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
}

.contact-card dt {
  margin-bottom: 6px;
  color: var(--yellow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.contact-card a {
  color: var(--white);
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-nav {
    max-height: none;
    overflow: visible;
  }

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

@media (max-width: 620px) {
  .privacy-hero {
    padding-bottom: 70px;
  }

  .privacy-page .site-header nav a:first-child {
    display: none;
  }

  .privacy-layout {
    gap: 24px;
    margin-bottom: 78px;
  }

  .policy-intro,
  .policy-section {
    padding: 22px 18px;
  }

  .policy-heading {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .policy-heading > span {
    width: 38px;
    height: 38px;
  }

  .contact-card {
    border-radius: 24px;
  }
}
