:root {
  color-scheme: light;
  --ocean-deep: #063c5a;
  --ocean: #087d96;
  --aqua: #12b8b4;
  --sky: #e7fbff;
  --ink: #12303d;
  --muted: #496775;
  --orange: #f28a25;
  --orange-dark: #c85d0d;
  --yellow: #ffd85a;
  --white: #ffffff;
  --border: #cce9ed;
  --shadow: 0 18px 45px rgba(6, 60, 90, 0.14);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 216, 90, 0.36), transparent 22rem),
    linear-gradient(180deg, #d9faff 0, #f8ffff 32rem, #eef9fa 100%);
  line-height: 1.65;
}

a {
  color: var(--orange-dark);
  text-underline-offset: 0.18em;
}

a:focus-visible,
summary:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 6px;
}

.site-header {
  width: min(1120px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  background: rgba(6, 60, 90, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(6, 60, 90, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
  font-size: 1.14rem;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ocean-deep);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 950;
  font-size: 1.25rem;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 8px 12px;
  color: var(--white);
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
}

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  max-width: 850px;
  margin: 88px auto 54px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ocean-deep);
  line-height: 1.18;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.intro {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.intro-small {
  margin: -8px 0 32px;
  color: var(--muted);
  font-size: 1.1rem;
}

.badges {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.badges span {
  padding: 8px 14px;
  color: var(--ocean-deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

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

.card,
.document,
.contact-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(204, 233, 237, 0.9);
  box-shadow: var(--shadow);
}

.card {
  padding: clamp(26px, 5vw, 46px);
  border-radius: 28px;
}

.card p {
  min-height: 3.3em;
  color: var(--muted);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  background: var(--sky);
  border-radius: 18px;
  font-size: 1.9rem;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 13px;
  box-shadow: 0 9px 20px rgba(200, 93, 13, 0.21);
  font-weight: 850;
  text-decoration: none;
}

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

.contact-panel {
  margin: 26px 0 80px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 24px;
}

.contact-panel h2 {
  margin: 0;
}

.email-link {
  font-weight: 850;
  word-break: break-word;
}

.document-layout {
  width: min(890px, calc(100% - 36px));
}

.document {
  margin: 52px 0 64px;
  padding: clamp(26px, 6vw, 64px);
  border-radius: 30px;
}

.document h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.document h2 {
  margin-top: 36px;
  padding-top: 3px;
}

.document li + li {
  margin-top: 6px;
}

.updated {
  margin: -8px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.summary-box {
  margin: 28px 0 34px;
  padding: 18px 20px;
  background: var(--sky);
  border-left: 5px solid var(--aqua);
  border-radius: 12px;
}

.document-actions {
  margin-top: 42px;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.text-link {
  font-weight: 800;
}

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

details {
  overflow: hidden;
  background: #f7fdfe;
  border: 1px solid var(--border);
  border-radius: 15px;
}

summary {
  padding: 17px 20px;
  color: var(--ocean-deep);
  cursor: pointer;
  font-weight: 850;
}

details[open] summary {
  border-bottom: 1px solid var(--border);
  background: var(--sky);
}

details p,
details ol {
  margin: 0;
  padding: 17px 22px 19px;
}

details ol {
  padding-left: 42px;
}

details ol + p {
  padding-top: 0;
}

.support-contact {
  margin-top: 38px;
  padding: 24px;
  background: var(--sky);
  border-radius: 18px;
}

.support-contact h2 {
  margin-bottom: 8px;
}

footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(73, 103, 117, 0.18);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 16px;
}

@media (max-width: 700px) {
  .site-header,
  .contact-panel,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  nav {
    width: 100%;
  }

  nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    margin-top: 58px;
  }

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

  .card p {
    min-height: auto;
  }

  .document-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button:hover {
    transform: none;
  }
}
