:root {
  --bg: #0d1a1e;
  --bg-soft: #13262c;
  --card: rgba(16, 43, 49, 0.72);
  --card-strong: #11333b;
  --text: #f4fbfc;
  --muted: #a3c3c9;
  --line: rgba(141, 193, 204, 0.25);
  --accent: #0fb0c9;
  --accent-2: #24d6a6;
  --accent-3: #f8b24f;
  --danger: #ff6e6e;
  --max: 1180px;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(36, 214, 166, 0.22), transparent 60%),
    radial-gradient(700px 450px at -10% 8%, rgba(15, 176, 201, 0.18), transparent 65%),
    linear-gradient(180deg, #091217 0%, var(--bg) 100%);
  line-height: 1.55;
}

a {
  color: inherit;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 auto 26px;
  backdrop-filter: blur(8px);
  background: rgba(7, 20, 24, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(36, 214, 166, 0.65);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  border: 1px solid transparent;
  padding: 7px 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(17, 43, 49, 0.75);
}

.nav-link.cta {
  color: #031216;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-2), #8ef2d5);
}

.nav-link.cta:hover {
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(36, 214, 166, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
}

.simple-hero {
  text-align: center;
  padding: 64px 20px 48px;
  max-width: 680px;
  margin: 0 auto;
}

.simple-hero h1 {
  margin: 14px 0 12px;
}

.simple-hero .subtitle {
  margin: 0 auto;
}

.simple-hero .actions {
  justify-content: center;
}

.pillar-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 20px;
}

.pillar strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text);
}

.pillar span {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 680px) {
  .pillar-row {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 176, 201, 0.35);
  background: rgba(15, 176, 201, 0.12);
  color: #b9ecf4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.06;
}

.subtitle {
  color: var(--muted);
  max-width: 64ch;
  font-size: 17px;
}

.subtitle-tight {
  max-width: 38ch;
}

.actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #03222a;
  background: linear-gradient(135deg, var(--accent), #85f0ff);
}

.btn.primary:hover {
  box-shadow: 0 12px 24px rgba(15, 176, 201, 0.3);
}

.btn.secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(14, 35, 40, 0.7);
}

.btn.secondary:hover {
  background: rgba(17, 43, 49, 0.95);
}

.hero-side {
  padding: 24px;
}

.stat-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 11px;
  background: rgba(17, 43, 49, 0.82);
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 22px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: 16px;
  padding: 24px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 3vw, 34px);
}

.section p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.req-grid {
  margin-top: 14px;
}

.req-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.feature {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card-strong);
  padding: 16px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
}

.pro-tag {
  font-size: 11px;
  color: var(--accent-2);
  font-weight: 700;
  vertical-align: middle;
}

.strip {
  margin-top: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strip strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 18px;
  margin-bottom: 4px;
}

.strip p {
  color: var(--muted);
  margin: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  font-size: 12px;
  color: #d3f8f1;
  border: 1px solid rgba(36, 214, 166, 0.35);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(36, 214, 166, 0.12);
}

.pill-support {
  color: #fff6dc;
  border-color: rgba(248, 178, 79, 0.55);
  background: rgba(248, 178, 79, 0.18);
}

.steps {
  margin: 12px 0 0;
  padding-left: 20px;
}

.steps li {
  margin-bottom: 9px;
  color: var(--muted);
}

.steps strong {
  color: var(--text);
}

.footer {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(9, 30, 34, 0.72);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

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

.footer-links a {
  color: #c4e8ee;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.plan-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.plan {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 16px;
  background: rgba(17, 45, 52, 0.88);
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: rgba(36, 214, 166, 0.55);
  box-shadow: 0 10px 26px rgba(36, 214, 166, 0.16);
}

.plan h3 {
  margin: 0;
  font-size: 23px;
}

.plan .price {
  margin: 8px 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 38px;
}

.plan .note {
  color: var(--muted);
  font-size: 13px;
}

.plan ul {
  margin: 12px 0;
  padding-left: 18px;
  color: var(--muted);
  flex: 1;
}

.plan li {
  margin-bottom: 7px;
}

.notice {
  margin-top: 12px;
  border-left: 3px solid var(--accent-3);
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(248, 178, 79, 0.08);
  color: #fce6bb;
  font-size: 14px;
}

.faq-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.faq-item h3 {
  font-size: 18px;
}

.checklist-grid {
  margin-top: 16px;
}

input[data-api-endpoint] {
  flex: 1;
  min-width: 260px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 34, 39, 0.86);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

input[data-api-endpoint]:focus {
  outline: 2px solid rgba(36, 214, 166, 0.35);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.5s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.24s;
}

.reveal.delay-3 {
  animation-delay: 0.34s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

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

.legal-page {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.legal-tab {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 35, 40, 0.7);
  transition: all 0.2s ease;
}

.legal-tab:hover {
  color: var(--text);
  border-color: rgba(15, 176, 201, 0.45);
}

.legal-tab.is-active {
  color: #03222a;
  background: linear-gradient(135deg, var(--accent), #85f0ff);
  border-color: transparent;
}

.legal-meta {
  color: var(--muted);
  font-size: 13px;
  margin: -8px 0 22px;
}

.prose h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 6px;
}

.prose h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 22px;
  margin: 30px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.prose h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.prose h3 {
  font-size: 17px;
  margin: 18px 0 8px;
  color: var(--text);
}

.prose p {
  color: var(--muted);
  margin: 0 0 12px;
}

.prose ul,
.prose ol {
  color: var(--muted);
  padding-left: 20px;
  margin: 0 0 14px;
}

.prose li {
  margin-bottom: 6px;
}

.prose strong {
  color: var(--text);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}

.prose th,
.prose td {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.prose th {
  color: var(--text);
  background: rgba(17, 43, 49, 0.6);
}

.prose blockquote {
  margin: 0 0 14px;
  border-left: 3px solid var(--accent-3);
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(248, 178, 79, 0.08);
  color: #fce6bb;
  font-size: 14px;
}

.prose a {
  color: #7fe3f4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: center;
}

.about-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card-strong);
  padding: 24px;
  text-align: center;
}

.about-name {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.about-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.about-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(14, 35, 40, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-link:hover {
  color: var(--text);
  border-color: rgba(15, 176, 201, 0.4);
  background: rgba(15, 176, 201, 0.07);
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    text-align: left;
  }

  .about-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .page {
    padding: 16px 12px 48px;
  }

  .nav {
    border-radius: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-main,
  .hero-side,
  .section {
    padding: 18px;
  }

  h1 {
    font-size: clamp(28px, 10vw, 44px);
  }
}

/* ── Screenshots ─────────────────────────────────────────────── */
.screenshot-hero {
  margin: 0 0 16px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

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

.screenshot-features {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 16px;
}

.screenshot-feature {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}

.screenshot-feature--reverse {
  grid-template-columns: 1fr 1.6fr;
}

.screenshot-feature--reverse .screenshot-frame {
  order: 2;
}

.screenshot-feature--reverse .screenshot-caption {
  order: 1;
}

.screenshot-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-caption h3 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 10px;
}

.screenshot-caption p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  max-width: 36ch;
}

@media (max-width: 860px) {
  .screenshot-feature,
  .screenshot-feature--reverse {
    grid-template-columns: 1fr;
  }

  .screenshot-feature--reverse .screenshot-frame,
  .screenshot-feature--reverse .screenshot-caption {
    order: unset;
  }
}

/* BETA SIGNUP FORM */

.beta-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.beta-brand {
  margin-bottom: 28px;
}

.beta-heading {
  margin: 14px 0 12px;
  font-size: clamp(26px, 4.5vw, 34px);
}

.beta-form-section {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 28px;
  text-align: left;
}

.beta-footer {
  margin-top: 40px;
  padding: 0;
  border: none;
  background: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.beta-field {
  margin-bottom: 16px;
}

.beta-field label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.beta-field input[type="text"],
.beta-field input[type="email"],
.beta-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: rgba(12, 34, 39, 0.86);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.beta-field input:focus,
.beta-field select:focus {
  outline: none;
  border-color: rgba(15, 176, 201, 0.6);
  box-shadow: 0 0 0 3px rgba(15, 176, 201, 0.12);
}

.beta-field input::placeholder {
  color: rgba(163, 195, 201, 0.45);
}

.beta-submit {
  width: 100%;
  margin-top: 8px;
  border: none;
}

.beta-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.beta-privacy {
  font-size: 12px;
  color: rgba(163, 195, 201, 0.6);
  margin-top: 14px;
  line-height: 1.55;
  text-align: center;
}

#rv-beta-status {
  margin-top: 16px;
  font-size: 14px;
  border-radius: 10px;
  padding: 12px 14px;
  display: none;
  line-height: 1.5;
}

#rv-beta-status.rv-success {
  display: block;
  background: rgba(36, 214, 166, 0.1);
  border: 1px solid rgba(36, 214, 166, 0.35);
  color: var(--accent-2);
}

#rv-beta-status.rv-error {
  display: block;
  background: rgba(255, 110, 110, 0.1);
  border: 1px solid rgba(255, 110, 110, 0.35);
  color: var(--danger);
}
