:root {
  --font-body: "Golos Text", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --font-display: "Onest", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --bg: #f5f8fc;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --surface-soft: #eef5fb;
  --text: #132033;
  --muted: #627287;
  --line: rgba(106, 132, 161, 0.22);
  --accent: #20c3d7;
  --accent-strong: #0fa4b8;
  --accent-soft: rgba(32, 195, 215, 0.16);
  --accent-fade: rgba(32, 195, 215, 0.08);
  --shadow: 0 24px 60px rgba(22, 39, 59, 0.12);
  --shadow-soft: 0 18px 40px rgba(23, 54, 77, 0.08);
  --shadow-glow: 0 28px 70px rgba(20, 164, 182, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  background: linear-gradient(180deg, #f7fbff 0%, #f3f7fb 50%, #edf4fb 100%);
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.9;
}

.orb-a {
  top: -8rem;
  right: -4rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(32, 195, 215, 0.24), rgba(32, 195, 215, 0));
  animation: drift 16s ease-in-out infinite;
}

.orb-b {
  left: -10rem;
  top: 22rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(152, 176, 198, 0.22), rgba(152, 176, 198, 0));
  animation: drift 18s ease-in-out infinite reverse;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 150, 179, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 150, 179, 0.09) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(233, 243, 251, 0.72));
}

.section-accent {
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 248, 252, 0.72);
  border-bottom: 1px solid rgba(107, 137, 168, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo {
  width: 3.7rem;
  height: 3.7rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(9, 31, 57, 0.12));
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(107, 137, 168, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.header-nav a,
.footer-links a,
.footer-meta a,
.footer-bottom a {
  color: var(--muted);
  transition: color 180ms ease;
}

.header-nav a:hover,
.footer-links a:hover,
.footer-meta a:hover,
.footer-bottom a:hover {
  color: var(--text);
}

.hero {
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 520px);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.feature-card,
.pricing-card,
.step-card,
.legal-card,
.notice-shell,
.legal-article,
.legal-summary {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-copy::before,
.hero-panel::before,
.feature-card::before,
.pricing-card::before,
.step-card::before,
.legal-card::before,
.notice-shell::before,
.legal-article::before,
.legal-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  opacity: 0.95;
  z-index: -1;
}

.hero-copy {
  padding: 2.6rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 250, 255, 0.78)),
    radial-gradient(circle at top right, rgba(32, 195, 215, 0.08), transparent 36%);
}

.eyebrow,
.section-kicker,
.panel-label,
.pricing-badge,
.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker,
.panel-label {
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-strong);
}

.hero-copy h1,
.section-heading h2,
.notice-shell h2,
.legal-article h1 {
  font-family: var(--font-display);
  margin: 1.1rem 0 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 8.8ch;
  font-size: clamp(2.2rem, 3.8vw, 4.2rem);
}

.hero-text,
.section-heading p,
.feature-card p,
.pricing-card p,
.step-card p,
.legal-card p,
.notice-text,
.footer-text,
.legal-article p,
.legal-article li,
.legal-summary p,
.panel-note {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  font-family: var(--font-display);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.3), transparent 80%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.button:hover::after {
  transform: translateX(120%);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #17bfd4 0%, #0fa2b5 100%);
  box-shadow: 0 18px 38px rgba(20, 164, 182, 0.28);
}

.button-primary:hover {
  box-shadow: 0 22px 44px rgba(20, 164, 182, 0.32);
}

.button-secondary,
.button-ghost,
.button-card {
  border-color: rgba(107, 137, 168, 0.22);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.button-small {
  min-height: 2.9rem;
  padding-inline: 1rem;
}

.hero-points,
.footer-links,
.footer-meta,
.legal-article ul {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points {
  display: grid;
  gap: 0.75rem;
}

.hero-points li,
.legal-article ul li {
  position: relative;
  padding-left: 1.4rem;
}

.hero-points li::before,
.legal-article ul li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(32, 195, 215, 0.45);
}

.hero-scene {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 43rem;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art-core {
  position: absolute;
  top: -0.2rem;
  right: 0.4rem;
  width: min(28rem, 70%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle, rgba(32, 195, 215, 0.14), rgba(32, 195, 215, 0) 72%);
  filter: blur(8px);
}

.hero-art-logo {
  position: absolute;
  top: -0.85rem;
  right: 0.8rem;
  width: min(25rem, 62%);
  opacity: 0.4;
  filter:
    drop-shadow(0 24px 36px rgba(9, 31, 57, 0.08))
    drop-shadow(0 0 34px rgba(32, 195, 215, 0.12));
  transform: none;
  mask-image: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.3) 78%, transparent 100%);
}

.hero-panel {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  margin-top: 19rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 253, 0.86)),
    radial-gradient(circle at top right, rgba(32, 195, 215, 0.12), transparent 34%);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.panel-glow {
  position: absolute;
  inset: auto -4rem -7rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 195, 215, 0.28), rgba(32, 195, 215, 0));
  animation: pulseGlow 10s ease-in-out infinite;
}

.hero-panel-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-status {
  padding: 0.45rem 0.75rem;
  background: rgba(18, 172, 122, 0.12);
  color: #16996f;
}

.hero-price-list {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 254, 0.9));
  border: 1px solid rgba(120, 149, 177, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.price-row:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 195, 215, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 28px rgba(22, 39, 59, 0.08);
}

.price-row span {
  color: var(--muted);
}

.price-row strong,
.pricing-value {
  font-size: 1.4rem;
  line-height: 1;
}

.price-row-featured {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(221, 248, 251, 0.88));
  border-color: rgba(32, 195, 215, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(32, 195, 215, 0.08),
    0 22px 40px rgba(32, 195, 215, 0.12);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.notice-shell h2,
.legal-article h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.feature-grid,
.steps-grid,
.legal-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card,
.step-card,
.legal-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.8)),
    radial-gradient(circle at top right, rgba(32, 195, 215, 0.06), transparent 36%);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.feature-card:hover,
.step-card:hover,
.legal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 195, 215, 0.22);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.feature-index,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.feature-card h3,
.step-card h3,
.pricing-card .pricing-term,
.legal-card h3,
.footer-grid h3,
.legal-article h2 {
  margin: 1rem 0 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.84)),
    radial-gradient(circle at top right, rgba(32, 195, 215, 0.08), transparent 38%);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 195, 215, 0.2);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.pricing-term,
.feature-card h3,
.step-card h3,
.legal-card h3,
.footer-grid h3,
.legal-article h2 {
  font-family: var(--font-display);
}

.pricing-term {
  font-size: 1rem;
  font-weight: 800;
}

.pricing-card p {
  flex: 1;
  margin: 0;
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(222, 247, 250, 0.88));
  border-color: rgba(32, 195, 215, 0.28);
  transform: translateY(-0.35rem);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.pricing-badge {
  width: fit-content;
  padding: 0.45rem 0.7rem;
  color: #ffffff;
  background: linear-gradient(135deg, #1ec1d6, #0f9fb2);
}

.notice-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 2.2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(226, 246, 249, 0.88)),
    linear-gradient(120deg, transparent 0%, rgba(32, 195, 215, 0.08) 48%, transparent 100%);
}

.legal-grid {
  display: grid;
  gap: 2rem;
}

.legal-card {
  display: block;
}

.legal-card span {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.site-footer {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(107, 137, 168, 0.14);
  background: rgba(244, 248, 252, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 1.5rem;
}

.brand-footer {
  margin-bottom: 1rem;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 0.8rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(107, 137, 168, 0.14);
  color: var(--muted);
}

.legal-page .site-header {
  position: relative;
}

.legal-main {
  padding: 2.5rem 0 5rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 1.5rem;
  align-items: start;
}

.legal-article,
.legal-summary {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.legal-article h2 {
  font-size: 1.35rem;
}

.legal-article p,
.legal-article li {
  margin: 0.9rem 0 0;
}

.legal-summary {
  position: sticky;
  top: 1.5rem;
}

.summary-links {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.summary-links a {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(107, 137, 168, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.summary-links a:hover {
  transform: translateY(-2px);
  color: var(--text);
  border-color: rgba(32, 195, 215, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.5rem, -1rem, 0) scale(1.08);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@media (max-width: 1160px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  }

  .hero-art-logo {
    width: min(28rem, 80%);
  }

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

@media (max-width: 960px) {
  .header-inner,
  .hero-grid,
  .notice-shell,
  .footer-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: grid;
  }

  .header-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-scene {
    min-height: auto;
  }

  .hero-art {
    position: relative;
    min-height: 15rem;
    margin-bottom: -0.8rem;
  }

  .hero-art-core {
    top: 0.2rem;
    right: calc(50% - min(11rem, 40vw));
    width: min(20rem, 68vw);
  }

  .hero-art-logo {
    top: -0.3rem;
    right: calc(50% - min(9.8rem, 37vw));
    width: min(18rem, 56vw);
    opacity: 0.42;
  }

  .hero-panel {
    margin-top: 0;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .feature-grid,
  .steps-grid,
  .legal-cards,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    width: min(var(--container), calc(100% - 1.2rem));
  }

  .feature-grid,
  .steps-grid,
  .legal-cards,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-nav {
    display: none;
  }

  .hero-copy,
  .hero-panel,
  .pricing-card,
  .feature-card,
  .step-card,
  .legal-card,
  .notice-shell,
  .legal-article,
  .legal-summary {
    padding: 1.35rem;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .brand-text {
    font-size: 1rem;
  }

  .brand-logo {
    width: 3.3rem;
    height: 3.3rem;
  }

  .hero-art {
    min-height: 11rem;
    margin-bottom: -0.2rem;
  }

  .hero-art-logo {
    right: calc(50% - min(8.4rem, 38vw));
    width: min(15rem, 60vw);
    opacity: 0.36;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
