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

:root {
  --bg: #0b0f14;
  --bg-elevated: #101824;
  --bg-card: #151e2b;
  --text: #ecf1f8;
  --text-muted: #9fb0c7;
  --accent: #18b6a3;
  --accent-hover: #129484;
  --line: rgba(159, 176, 199, 0.22);
  --error: #ff7c7c;
  --success: #0f3f36;
  --radius: 12px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 800px at 10% -10%, #1a2c45 0%, transparent 55%),
    radial-gradient(900px 600px at 100% 0%, #18322e 0%, transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

.container {
  width: min(1000px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(11, 15, 20, 0.8);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 0.55rem;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.link-secondary:hover {
  color: var(--text);
}

.site-nav .btn-primary,
.site-nav .btn-primary:hover,
.site-nav .btn-primary:visited {
  color: #07231f;
}

main.container {
  padding: 3.2rem 0 2.5rem;
}

.hero {
  padding: 1.2rem 0 2.5rem;
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 700;
  max-width: 14ch;
  margin: 0 auto;
}

.subheadline {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 68ch;
  margin: 1rem auto 1.8rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.proof-row {
  margin: 1.4rem auto 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.proof-row li {
  border: 1px solid var(--line);
  background: rgba(16, 24, 36, 0.7);
  border-radius: 999px;
  padding: 0.33rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #07231f;
  padding: 0.74rem 1.15rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.68;
  cursor: not-allowed;
  transform: none;
}

.btn-nav {
  padding: 0.52rem 0.9rem;
}

.link-secondary {
  color: var(--text-muted);
  text-underline-offset: 2px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0;
}

.section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-muted);
  max-width: 65ch;
}

.section p + p {
  margin-top: 0.75rem;
}

.section-legal a {
  color: var(--accent);
}

.card-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

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

.card {
  background: linear-gradient(180deg, rgba(24, 33, 47, 0.85), rgba(16, 24, 36, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
}

.section-cta {
  margin-top: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cta-copy {
  margin-bottom: 1.4rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label,
.form-group legend {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.93rem;
}

fieldset {
  border: 0;
}

input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: #0d141f;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(24, 182, 163, 0.14);
}

.form-group.field-invalid input,
.form-group.field-invalid select {
  border-color: var(--error);
}

.form-group.field-valid input,
.form-group.field-valid select {
  border-color: var(--accent);
}

.required {
  color: var(--accent);
}

.optional {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.error-msg {
  color: var(--error);
  font-size: 0.82rem;
  min-height: 1.1rem;
  display: block;
  margin-top: 0.3rem;
}

.form-disclaimer {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 0.8rem;
}

.btn-submit {
  width: 100%;
  min-height: 48px;
  gap: 0.55rem;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(7, 35, 31, 0.35);
  border-top-color: #07231f;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}

.btn-submit.is-loading .btn-spinner {
  display: inline-block;
}

.success-msg {
  background: var(--success);
  border: 1px solid rgba(24, 182, 163, 0.35);
  border-radius: var(--radius);
  padding: 1rem;
  color: #d7fff6;
  font-weight: 600;
}

.tally-embed {
  border: 1px solid rgba(159, 176, 199, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #101a28, #0d141f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.tally-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #ffffff;
}

.hidden {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 840px) {
  .card-grid,
  .card-grid-tight {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .section-cta {
    padding: 1.35rem;
  }

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

@media (max-width: 700px) {
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-top: 0.6rem;
    border: 1px solid var(--line);
    background: rgba(16, 24, 36, 0.92);
    border-radius: var(--radius);
    padding: 0.75rem;
  }

  .site-header.nav-open .site-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 0.9rem;
  }

  .site-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .site-nav .btn-nav {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  main.container {
    padding-top: 2.2rem;
  }

  .site-nav {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-actions .link-secondary {
    width: min(100%, 320px);
    justify-content: center;
  }

  .section {
    padding: 2rem 0;
  }

  input[type="email"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px;
  }

  .proof-row {
    gap: 0.5rem;
  }

  .footer-inner nav {
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
  }
}
