:root {
  --bg-900: #0b1220;
  --bg-800: #111b2e;
  --card-700: #17243b;
  --text-100: #eaf2ff;
  --text-300: #b6c4de;
  --accent-cyan: #2dd4bf;
  --accent-amber: #f59e0b;
  --danger-soft: #fb7185;
  --success: #34d399;
  --border-soft: rgba(182, 196, 222, 0.22);
  --shadow-soft: 0 16px 34px rgba(7, 11, 22, 0.42);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --container: min(1120px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-100);
  background: radial-gradient(circle at 20% 0%, #1a2f54 0%, transparent 48%),
    radial-gradient(circle at 80% 12%, #0d4451 0%, transparent 44%),
    linear-gradient(158deg, var(--bg-900) 0%, var(--bg-800) 82%);
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/pattern-grid.svg");
  background-size: 220px;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.site-shell {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.85);
  border-bottom: 1px solid rgba(182, 196, 222, 0.14);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-title {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.brand-sub {
  color: var(--text-300);
  font-size: 0.8rem;
}

.nav-links {
  display: none;
  gap: 1.1rem;
  color: var(--text-300);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--text-100);
}

.hero {
  padding: 3.25rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  gap: 1.15rem;
}

.hero-text {
  background: linear-gradient(150deg, rgba(23, 36, 59, 0.76), rgba(11, 18, 32, 0.72));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
}

.kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 100%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.85);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

h1 {
  font-size: clamp(1.95rem, 5.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-sub {
  margin-top: 0.9rem;
  color: var(--text-300);
  max-width: 58ch;
  font-size: clamp(1rem, 2.4vw, 1.19rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.btn {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.015em;
  padding: 0.74rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

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

.btn-primary {
  color: #031017;
  background: linear-gradient(126deg, #5eead4, #2dd4bf);
  box-shadow: 0 10px 24px rgba(45, 212, 191, 0.26);
}

.btn-secondary {
  color: var(--text-100);
  border: 1px solid var(--border-soft);
  background: rgba(11, 18, 32, 0.4);
}

.hero-note {
  margin-top: 0.85rem;
  font-size: 0.83rem;
  color: var(--text-300);
}

.hero-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: rgba(23, 36, 59, 0.67);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}

.hero-card h2 {
  font-size: 1.08rem;
  margin-bottom: 0.85rem;
}

.metric-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.metric-list li {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.68rem 0.8rem;
  background: rgba(11, 18, 32, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.metric-label {
  color: var(--text-300);
  font-size: 0.9rem;
}

.metric-value {
  font-family: "IBM Plex Mono", "Fira Code", monospace;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.section {
  padding: 1.8rem 0;
}

.section-head {
  margin-bottom: 0.9rem;
}

.section-head h2 {
  font-size: clamp(1.36rem, 3.3vw, 2.28rem);
}

.section-head p {
  color: var(--text-300);
  margin: 0.55rem 0 0;
  max-width: 60ch;
}

.trust-grid,
.feature-grid,
.integration-grid,
.faq-grid {
  display: grid;
  gap: 0.72rem;
}

.panel {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(23, 36, 59, 0.9), rgba(17, 27, 46, 0.75));
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.panel h3 {
  font-size: 1.06rem;
  margin-bottom: 0.46rem;
}

.panel p {
  margin: 0;
  color: var(--text-300);
  font-size: 0.95rem;
}

.panel:hover {
  transform: translateY(-3px);
  transition: transform 220ms ease;
}

.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 0.77rem;
  color: var(--text-300);
  background: rgba(11, 18, 32, 0.48);
  padding: 0.35rem 0.6rem;
}

.pricing-wrap {
  display: grid;
  gap: 0.85rem;
}

.price-card {
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-xl);
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(23, 36, 59, 0.97), rgba(17, 27, 46, 0.92));
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.13);
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.6rem 0;
}

.price-tag strong {
  font-size: clamp(1.75rem, 6vw, 3rem);
  color: var(--accent-amber);
  line-height: 1;
}

.price-tag span {
  color: var(--text-300);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.98rem;
}

.compliance {
  border-left: 4px solid var(--danger-soft);
  border-radius: 9px;
  padding: 0.7rem 0.9rem;
  background: rgba(251, 113, 133, 0.08);
  color: #ffe4ea;
  font-size: 0.9rem;
}

.waitlist {
  margin-top: 0.2rem;
}

.waitlist-wrap {
  display: grid;
  gap: 0.95rem;
}

.form-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 1rem;
  background: linear-gradient(150deg, rgba(23, 36, 59, 0.93), rgba(11, 18, 32, 0.9));
}

.form-helper {
  margin: 0 0 0.95rem;
  color: var(--text-300);
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.88rem;
  color: #d8e3f8;
  font-weight: 600;
}

.input,
.select,
.textarea {
  width: 100%;
  background: rgba(11, 18, 32, 0.72);
  border: 1px solid rgba(182, 196, 222, 0.32);
  color: var(--text-100);
  border-radius: 10px;
  padding: 0.7rem 0.72rem;
  font: inherit;
}

.textarea {
  min-height: 116px;
  resize: vertical;
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--danger-soft);
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.25);
}

.field-error {
  min-height: 1.1em;
  margin: 0;
  color: #fda4af;
  font-size: 0.79rem;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
}

.form-status {
  margin: 0;
  padding: 0.6rem 0.72rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.87rem;
  width: 100%;
}

.form-status.is-idle {
  display: none;
}

.form-status.is-error {
  color: #ffe4ea;
  border-color: rgba(251, 113, 133, 0.56);
  background: rgba(251, 113, 133, 0.1);
}

.form-status.is-success {
  color: #dcfce7;
  border-color: rgba(52, 211, 153, 0.6);
  background: rgba(52, 211, 153, 0.16);
}

.footer {
  border-top: 1px solid rgba(182, 196, 222, 0.2);
  margin-top: 2rem;
  padding: 1.2rem 0 1.6rem;
  color: var(--text-300);
}

.footer-row {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  justify-content: space-between;
  font-size: 0.87rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer a:hover {
  color: var(--text-100);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 300ms ease, transform 300ms ease;
}

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

@media (max-width: 480px) {
  .header-inner {
    min-height: 64px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

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

  .brand-sub {
    display: none;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-text,
  .hero-card,
  .panel,
  .price-card,
  .form-card {
    padding: 0.9rem;
  }

  .btn {
    width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .hero {
    padding-top: 2.6rem;
  }

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

@media (min-width: 769px) {
  .nav-links {
    display: flex;
  }

  .hero {
    padding: 4rem 0 2.6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 1.1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .trust-grid,
  .feature-grid,
  .integration-grid,
  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-wrap,
  .waitlist-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: start;
  }

  .form-card {
    padding: 1.2rem;
  }

  .btn {
    width: auto;
  }
}
