:root {
  color-scheme: dark;
  --page: #070d38;
  --page-deep: #050922;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --header-bg: rgba(5, 9, 34, 0.86);
  --summary-bg: rgba(10, 18, 68, 0.9);
  --topic-bg: rgba(255, 255, 255, 0.045);
  --hero-bg: #080d3b;
  --text: #ffffff;
  --muted: #c5d0f6;
  --cyan: #42c5df;
  --pink: #f183be;
  --violet: #ae8be9;
  --line: rgba(255, 255, 255, 0.17);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] {
  color-scheme: light;
  --page: #f8fbff;
  --page-deep: #eef4fb;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(7, 13, 56, 0.08);
  --header-bg: rgba(248, 251, 255, 0.88);
  --summary-bg: rgba(255, 255, 255, 0.94);
  --topic-bg: rgba(7, 13, 56, 0.04);
  --hero-bg: #080d3b;
  --text: #111936;
  --muted: #52617d;
  --cyan: #087f9c;
  --pink: #c83d88;
  --violet: #7353c7;
  --line: rgba(17, 25, 54, 0.14);
  --shadow: 0 22px 55px rgba(33, 45, 76, 0.13);
}

* {
  box-sizing: border-box;
}

.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;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 10%, rgba(241, 131, 190, 0.18), transparent 28rem),
    radial-gradient(circle at 14% 42%, rgba(66, 197, 223, 0.13), transparent 24rem),
    linear-gradient(180deg, var(--page) 0%, var(--page-deep) 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border: 0.32rem solid var(--pink);
  border-right-color: var(--cyan);
  border-bottom-color: var(--violet);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.55rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 0.13rem;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.45rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.45rem) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.55rem;
  padding: 0.35rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--cyan);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 0.25rem;
}

.theme-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--muted);
}

.theme-icon-sun {
  border: 0.18rem solid currentColor;
  border-radius: 50%;
  transform: scale(0.68);
  box-shadow:
    0 -0.72rem 0 -0.46rem currentColor,
    0 0.72rem 0 -0.46rem currentColor,
    0.72rem 0 0 -0.46rem currentColor,
    -0.72rem 0 0 -0.46rem currentColor,
    0.5rem 0.5rem 0 -0.48rem currentColor,
    -0.5rem 0.5rem 0 -0.48rem currentColor,
    0.5rem -0.5rem 0 -0.48rem currentColor,
    -0.5rem -0.5rem 0 -0.48rem currentColor;
}

.theme-icon-moon {
  border-radius: 50%;
  background: currentColor;
}

.theme-icon-moon::after {
  content: "";
  position: absolute;
  top: -0.08rem;
  right: -0.08rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--header-bg);
}

.theme-switch-track {
  position: relative;
  width: 3.1rem;
  height: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.theme-switch-thumb {
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.24);
  transform: translateX(1.52rem);
  transition: transform 180ms ease;
}

html[data-theme="light"] .theme-switch-thumb {
  transform: translateX(0);
  background: linear-gradient(135deg, #f7b84b, var(--pink));
}

html[data-theme="light"] .theme-icon-sun {
  color: #d18a00;
}

html[data-theme="dark"] .theme-icon-moon {
  color: var(--cyan);
}

.hero {
  width: 100%;
  background: var(--hero-bg);
}

.hero picture {
  display: block;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: -2.3rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
  position: relative;
  z-index: 2;
}

.summary-item {
  min-height: 8rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--summary-bg);
  box-shadow: var(--shadow);
}

.summary-item span,
.eyebrow,
.price-card span {
  display: block;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  font-size: clamp(1.55rem, 2.25vw, 2.35rem);
  line-height: 1.16;
  text-transform: none;
}

.summary-item strong {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.35;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3.6rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
}

.section-title {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

h4,
h5 {
  margin-top: 0;
  line-height: 1.3;
}

p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.4rem, 5vw, 4rem);
  align-items: start;
}

.section-heading {
  display: grid;
  gap: 0.65rem;
}

.news-post {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.news-post-header {
  max-width: 760px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.news-label {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.65rem;
  background: rgba(241, 131, 190, 0.16);
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-post h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.news-post h4 {
  margin-bottom: 0.85rem;
  padding-top: 0.55rem;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.news-post h5 {
  margin-bottom: 0.45rem;
  color: var(--cyan);
  font-size: 1rem;
}

.news-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.news-topics section {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--topic-bg);
}

.news-topics p,
.news-post p:last-child {
  margin-bottom: 0;
}

.read-more {
  margin-top: 1.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.read-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.05rem;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  list-style: none;
}

.read-more summary::-webkit-details-marker {
  display: none;
}

.read-more summary::after {
  content: "+";
  margin-left: 0.7rem;
  color: var(--cyan);
  font-size: 1.2rem;
  line-height: 1;
}

.read-more[open] summary {
  margin-bottom: 1.2rem;
}

.read-more[open] summary::after {
  content: "-";
}

.read-more-close,
.read-more[open] .read-more-open {
  display: none;
}

.read-more[open] .read-more-close {
  display: inline;
}

.read-more-content {
  padding-top: 0.2rem;
}

.news-closing {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}

.content-panel,
.price-card,
details {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.content-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--pink), var(--violet) 48%, var(--cyan));
  color: #040824;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.pricing-grid-in-details {
  margin-top: 1rem;
}

.price-card {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}

.price-card h3 {
  margin-top: 0.8rem;
  color: var(--text);
}

.price-card strong {
  color: var(--pink);
  font-size: 2.05rem;
  line-height: 1;
}

.account-number {
  display: block;
  margin: 0.8rem 0 1rem;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.subpage-main {
  min-height: calc(100vh - 14rem);
}

.registration-page {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: start;
}

.registration-notice {
  border-left: 0.42rem solid var(--pink);
}

.registration-notice h2,
.registration-aside h2 {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  line-height: 1.15;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.34rem 0.7rem;
  background: rgba(241, 131, 190, 0.16);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button-secondary {
  background: var(--panel-strong);
  color: var(--text);
  border: 1px solid var(--line);
}

.info-list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.info-list div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.info-list dt {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.info-list dd {
  margin: 0.3rem 0 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

details {
  padding: 1.1rem 1.25rem;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

details p {
  margin: 0.8rem 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  padding: 2rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .site-header {
    position: static;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions {
    display: none;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 0.4rem;
  }

  .header-actions.is-open {
    display: flex;
  }

  .nav {
    display: grid;
    width: 100%;
    gap: 0;
    overflow-x: visible;
    padding-bottom: 0;
    border: 1px solid var(--line);
    background: var(--panel);
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .summary,
  .intro,
  .split-section,
  .pricing-grid,
  .registration-layout,
  .news-topics {
    grid-template-columns: 1fr;
  }

  .summary {
    margin-top: 0;
    padding: 0;
  }

  .summary-item {
    min-height: 0;
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.86rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
