:root {
  color-scheme: dark;
  --bg: #0d1723;
  --surface: #142333;
  --section: #11202e;
  --line: #304252;
  --text: #f2f5f7;
  --muted: #a7b6c2;
  --accent: #86deeb;
  --button-text: #092b35;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f9fafb;
  --surface: #ffffff;
  --section: #f0f4f6;
  --line: #d6e0e5;
  --text: #172937;
  --muted: #5c7080;
  --accent: #177f96;
  --button-text: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Segoe UI", Arial, sans-serif;
  transition: background-color 320ms ease, color 320ms ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.brand img, .footer-brand img { border-radius: 10px; }
.brand-light { font-weight: 400; }
.site-header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}
.site-header nav a:hover, .footer-links a:hover { color: var(--accent); }
.header-controls { display: flex; align-items: center; gap: 10px; }
.header-action {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}
.header-action:hover, .theme-toggle:hover { background: var(--section); }
.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 21px;
  cursor: pointer;
}
.theme-sun, .theme-moon {
  grid-area: 1 / 1;
  transition: transform 320ms ease, opacity 320ms ease;
}
.theme-sun { opacity: 0; transform: rotate(-50deg) scale(.7); }
:root[data-theme="light"] .theme-sun { opacity: 1; transform: none; }
:root[data-theme="light"] .theme-moon { opacity: 0; transform: rotate(50deg) scale(.7); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 64px;
  padding-block: 78px 94px;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: var(--accent);
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  margin: 0;
  max-width: 670px;
  font-size: clamp(45px, 5.4vw, 71px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1.09;
}
h1 em { color: var(--accent); font-style: normal; }
.hero-lead {
  max-width: 530px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 21px;
  border-radius: 9px;
  font-weight: 700;
  text-align: center;
}
.primary { background: var(--accent); color: var(--button-text); }
.primary:hover { filter: brightness(1.1); }
.text-link { color: var(--accent); font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-note { max-width: 430px; margin: 19px 0 0; color: var(--muted); font-size: 13px; }

.hero-art {
  position: relative;
  min-height: 462px;
  overflow: hidden;
  border: 1px solid #31546a;
  border-radius: 14px;
  background:
    repeating-radial-gradient(circle at 50% 48%, transparent 0 44px, #86deeb0d 45px 46px),
    radial-gradient(circle at 50% 48%, #23465d 0, #152d40 44%, #0d1c2c 100%);
  color: #d3edf3;
}
.art-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid #8bdcea35;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.art-ring-inner {
  width: 250px;
  height: 250px;
  border-right-color: #8bdeea70;
  animation: art-orbit 18s linear infinite reverse;
}
.art-ring-inner::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b4eaf0;
  box-shadow: 0 0 12px #86deeb78;
  content: "";
  transform: translate(-50%, -50%);
}
.art-ring-outer {
  width: 430px;
  height: 430px;
  border-top-color: #8bdeea9c;
  animation: art-orbit 20s linear infinite;
}
.art-ring-outer::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a8edf3;
  box-shadow: 0 0 20px #86deeb94;
  content: "";
  transform: translate(-50%, -50%);
}
.art-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: art-breathe 8s ease-in-out infinite;
}
.art-center img { display: block; border-radius: 28px; box-shadow: 0 20px 55px #08152288; }
.art-coordinate, .art-footnote {
  position: absolute;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.art-coordinate { top: 28px; left: 28px; }
.art-footnote {
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.art-footnote-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #86deeb, #86deeb45);
}
.hero-copy > * { animation: hero-arrive 600ms both; }
.hero-copy > :nth-child(2) { animation-delay: 90ms; }
.hero-copy > :nth-child(3) { animation-delay: 160ms; }
.hero-copy > :nth-child(4) { animation-delay: 230ms; }
.hero-copy > :nth-child(5) { animation-delay: 300ms; }
.hero-art { animation: hero-arrive 750ms 150ms both; }

.steps { padding-block: 85px 95px; border-block: 1px solid var(--line); background: var(--section); }
.section-heading h2, .support-inner h2 {
  margin: 0;
  font-size: clamp(32px, 3.7vw, 46px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.section-heading > p:last-child { max-width: 580px; color: var(--muted); }
.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.step-list li { padding-top: 18px; border-top: 1px solid var(--line); }
.step-number { color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .12em; }
.step-list h3 { margin: 22px 0 8px; font-size: 21px; }
.step-list p { margin: 0; color: var(--muted); line-height: 1.7; }

.plans { padding-block: 94px 104px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.plan.plus { background: var(--section); }
.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.plan-state { color: var(--muted); }
.plan h3 { margin: 37px 0 8px; font-size: 27px; font-weight: 700; letter-spacing: -.04em; }
.plan p { margin: 0; color: var(--muted); }
.plan .plan-price { margin: 0 0 6px; color: var(--text); font-size: 22px; font-weight: 700; }
.plan .plan-price + p { margin-bottom: 18px; font-size: 13px; }
.plan ul { margin: auto 0 0; padding: 23px 0 25px; list-style: none; }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.plan a { width: fit-content; color: var(--accent); font-weight: 700; }
.plan a:hover { text-decoration: underline; text-underline-offset: 4px; }
.plan-disclaimer { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.support-band { border-block: 1px solid var(--line); background: var(--section); }
.support-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 62px; }
.support-inner p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.secondary { flex: none; border: 1px solid var(--accent); color: var(--text); }
.secondary:hover { background: var(--surface); }
.site-footer { display: flex; align-items: center; gap: 26px; min-height: 120px; }
.site-footer p { margin-left: auto; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: 14px; }

.cookie-note {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: min(880px, calc(100% - 40px));
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline: auto;
  padding: 15px 18px 15px 21px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 16px 40px #07111d30;
}
.cookie-note[hidden] { display: none; }
.cookie-note p { flex: 1; margin: 0; color: var(--muted); font-size: 14px; }
.cookie-note button {
  flex: none;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 700;
  cursor: pointer;
}

body, .steps, .plan, .support-band, .header-action, .theme-toggle, .cookie-note {
  transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease;
}
@keyframes art-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -51.5%) scale(1.025); }
}
@keyframes art-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 850px) {
  .site-header { gap: 18px; }
  .site-header nav { display: none; }
  .header-controls { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-block: 60px 76px; }
  .hero-art { min-height: 380px; }
  .step-list { grid-template-columns: 1fr; gap: 28px; }
  .step-list h3 { margin-top: 12px; }
  .support-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 74px; }
  .brand { font-size: 19px; }
  .brand img { width: 35px; height: 35px; }
  .header-action { padding: 9px 10px; font-size: 12px; }
  .theme-toggle { width: 38px; height: 38px; font-size: 19px; }
  .hero { padding-block: 50px 64px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-art { min-height: 310px; }
  .art-ring-inner { width: 190px; height: 190px; }
  .art-ring-outer { width: 330px; height: 330px; }
  .art-center img { width: 92px; height: 92px; border-radius: 22px; }
  .steps, .plans { padding-block: 66px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 25px; }
  .plan h3 { margin-top: 28px; }
  .site-footer { min-height: 150px; flex-wrap: wrap; gap: 8px; padding-block: 23px; }
  .site-footer p { margin: 0 0 0 auto; }
  .footer-links { flex-basis: 100%; }
  .cookie-note { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; }
}
@media (max-width: 380px) { .brand-light { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art-center { animation: none; }
  .art-ring-inner, .art-ring-outer { animation: none; }
  .hero-copy > *, .hero-art { animation: none; }
  body, .steps, .plan, .support-band, .header-action, .theme-toggle,
  .theme-sun, .theme-moon, .cookie-note { transition: none; }
}
