:root {
  --bg: #f3f7fc;
  --bg-strong: #e9f0f9;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.66);
  --fg: #10203b;
  --fg-strong: #0b1730;
  --muted: #6d7d94;
  --line: rgba(146, 164, 190, 0.22);
  --line-strong: rgba(146, 164, 190, 0.34);
  --primary: #2c6cf6;
  --primary-strong: #1857dd;
  --primary-soft: rgba(44, 108, 246, 0.12);
  --accent: #1d9b6c;
  --danger: #d44f54;
  --warning: #d98922;
  --shadow-lg: 0 28px 80px rgba(30, 55, 90, 0.16);
  --shadow-md: 0 16px 42px rgba(36, 58, 94, 0.1);
  --shadow-sm: 0 8px 22px rgba(60, 83, 120, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--fg);
  background:
    radial-gradient(circle at top left, rgba(120, 168, 255, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.95), transparent 28%),
    radial-gradient(circle at 70% 10%, rgba(98, 151, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eff4fb 48%, #e8eff8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 32%),
    radial-gradient(circle at 18% 0%, rgba(103, 175, 255, 0.1), transparent 28%);
}

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

.shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(22px);
  background: rgba(244, 248, 253, 0.68);
  border-bottom: 1px solid rgba(146, 164, 190, 0.12);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #70a5ff 0%, var(--primary) 58%, var(--primary-strong) 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(44, 108, 246, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  position: relative;
}

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

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(146, 164, 190, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
  color: var(--fg-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 24px rgba(55, 77, 109, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(120, 140, 170, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 28px rgba(55, 77, 109, 0.1);
}

.btn-primary {
  border-color: rgba(44, 108, 246, 0.16);
  background: linear-gradient(180deg, #4d8dff 0%, var(--primary) 58%, var(--primary-strong) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 34px rgba(44, 108, 246, 0.26);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 253, 0.98) 100%);
}

.hero {
  padding: 84px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(44, 108, 246, 0.14);
  background: rgba(44, 108, 246, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-card,
.panel,
.policy-card,
.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.hero-card {
  padding: 34px;
}

.hero-card::before,
.panel::before,
.policy-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 24%);
}

.hero h1,
.page-header h1 {
  margin: 16px 0 14px;
  color: var(--fg-strong);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero p,
.page-header p,
.policy-body p,
.policy-body li {
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.metric {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(146, 164, 190, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--fg-strong);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.signal-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

.signal-window {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(146, 164, 190, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 247, 252, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.signal-window-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(146, 164, 190, 0.16);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot.red {
  background: #ff8e95;
}

.dot.yellow {
  background: #ffcc62;
}

.dot.green {
  background: #4ad390;
}

.signal-body {
  padding: 18px;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.signal-pill.red {
  color: var(--danger);
  background: rgba(212, 79, 84, 0.1);
  border: 1px solid rgba(212, 79, 84, 0.12);
}

.signal-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(146, 164, 190, 0.14);
  color: var(--muted);
  font-size: 14px;
}

.signal-list li strong {
  color: var(--fg-strong);
  font-weight: 800;
}

.signal-list li:last-child {
  border-bottom: 0;
}

.section {
  padding: 32px 0 78px;
}

.section-title {
  margin-bottom: 22px;
}

.section-title h2 {
  margin: 0;
  color: var(--fg-strong);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.05em;
}

.section-title p {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.68;
}

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

.panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.panel h3 {
  margin: 0 0 12px;
  color: var(--fg-strong);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.price-card.featured {
  border-color: rgba(44, 108, 246, 0.26);
  background:
    linear-gradient(180deg, rgba(239, 245, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 100%);
  box-shadow:
    0 22px 52px rgba(44, 108, 246, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(44, 108, 246, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.price-card h3 {
  margin: 18px 0 10px;
  color: var(--fg-strong);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.price-value {
  color: var(--fg-strong);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.price-value span {
  margin-left: 8px;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0;
}

.price-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.pricing-note {
  margin-bottom: 20px;
}

.pricing-status {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-status[data-tone="success"] {
  color: var(--accent);
}

.pricing-status[data-tone="error"] {
  color: var(--danger);
}

.page-header {
  padding: 76px 0 18px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
}

.policy-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(146, 164, 190, 0.16);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.policy-nav a {
  display: block;
  padding: 11px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.policy-nav a:hover {
  color: var(--fg-strong);
}

.policy-card {
  position: static;
  padding: 30px;
}

.policy-body h2 {
  margin: 26px 0 10px;
  color: var(--fg-strong);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.policy-body ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.success-card {
  max-width: 780px;
}

.hidden-block {
  display: none;
}

.success-key {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px dashed rgba(146, 164, 190, 0.34);
  background: rgba(255, 255, 255, 0.74);
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.status-copy {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.72;
}

.success-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.success-meta div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(146, 164, 190, 0.16);
}

.success-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.success-meta strong {
  color: var(--fg-strong);
  font-size: 17px;
}

.steps {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}

.info-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(44, 108, 246, 0.16);
  background: rgba(44, 108, 246, 0.08);
  color: #43658f;
  line-height: 1.72;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--fg-strong);
  font-size: 14px;
  font-weight: 700;
}

.text-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(146, 164, 190, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--fg);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 4px 12px rgba(83, 105, 137, 0.06);
}

.text-input::placeholder {
  color: #95a3b7;
}

.text-input:focus {
  border-color: rgba(44, 108, 246, 0.36);
  box-shadow:
    0 0 0 4px rgba(44, 108, 246, 0.12),
    0 12px 22px rgba(44, 108, 246, 0.08);
}

.footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .hero-grid,
  .features,
  .pricing-grid,
  .policy-layout,
  .success-meta {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--max), calc(100% - 24px));
  }

  .topbar-inner {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-card,
  .signal-card,
  .panel,
  .price-card,
  .policy-card {
    padding: 22px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-header h1 {
    font-size: clamp(36px, 11vw, 56px);
  }
}
