:root {
  color-scheme: dark;
  --bg: #0b0d11;
  --panel: rgba(17, 22, 30, 0.72);
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: #98a3b7;
  --accent: #1677ff;
  --accent-strong: #49a0ff;
  --radius: 14px;
  --content: 680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(73, 160, 255, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 62%, transparent 100%);
  opacity: 0.55;
}

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

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

.page-shell {
  width: min(calc(100% - 28px), var(--content));
  margin: 0 auto;
  padding: 16px 0 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.button-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 30px rgba(22, 119, 255, 0.28);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 36px rgba(22, 119, 255, 0.34);
}

.hero {
  display: block;
  padding: 32px 0 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #8eb9ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-head h2,
 .pricing-row h3,
 .legal-content h2 {
  font-family: "Space Grotesk", sans-serif;
}

.hero-copy h1 {
  margin: 0 0 8px;
  max-width: 10ch;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lead,
 .support-card p,
 .legal-content p,
 .legal-content li {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 34ch;
  margin: 0;
  font-size: 0.94rem;
}

.micro-copy {
  margin: 10px 0 0;
  color: #c1cada;
  font-size: 0.84rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.section {
  padding: 16px 0 0;
}

.section-head {
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  letter-spacing: -0.03em;
}

.legal-content article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.pricing-row h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pricing-list {
  display: grid;
  max-width: 520px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.pricing-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pricing-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b7c3d8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-row strong {
  white-space: nowrap;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.pricing-row-trial {
  color: #ebfff3;
  background: linear-gradient(90deg, rgba(54, 171, 102, 0.14), rgba(54, 171, 102, 0));
}

.pricing-row-trial .pricing-label {
  border-color: rgba(123, 215, 157, 0.28);
  color: #dff8e8;
}

.pricing-row-featured {
  background: linear-gradient(90deg, rgba(73, 160, 255, 0.12), rgba(73, 160, 255, 0));
}

.pricing-row-featured .pricing-label {
  border-color: rgba(142, 185, 255, 0.28);
  color: #dbe9ff;
}

.pricing-list .pricing-row:last-child {
  border-bottom: 0;
}

.pricing-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.support-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  padding: 0;
  border: 0;
  background: transparent;
}

.support-card p {
  margin: 0;
}

.header-link,
.text-link {
  color: var(--muted);
  font-size: 0.95rem;
}

.header-link:hover,
.text-link:hover,
.header-link:focus-visible,
.text-link:focus-visible {
  color: var(--text);
}

.header-link {
  padding: 10px 0;
}

.support-link {
  font-weight: 700;
  color: #dfe8f8;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 16px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-body {
  max-width: 860px;
}

.legal-body .hero {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 42px 0 28px;
}

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

.legal-content {
  display: grid;
  gap: 12px;
}

.legal-content h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.return-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.return-card {
  width: min(calc(100% - 32px), 520px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
}

.return-card h1 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.return-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .support-card,
  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions,
  .footer-links {
    flex-wrap: wrap;
  }

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

  .pricing-row strong {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--content));
  }

  .site-header {
    align-items: flex-start;
  }
}
