:root {
  --ink: #202631;
  --muted: #64748b;
  --line: rgba(31, 41, 55, 0.12);
  --yellow: #facc15;
  --orange: #f59e0b;
  --green: #22c55e;
  --dark: #111827;
  --white: #ffffff;
  --max: 1180px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Bahnschrift", "Aptos Display", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f8f4;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

svg {
  display: block;
}

.landing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -8%, rgba(250, 204, 21, 0.24), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(34, 197, 94, 0.18), transparent 24%),
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    #f7f8f4;
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
  overflow: hidden;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.top-rail {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(31, 41, 55, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  color: #020617;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #fde047, #facc15 54%, rgba(34, 197, 94, 0.28));
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.24);
}

.brand__mark svg {
  width: 24px;
  height: 24px;
}

.brand__title,
.brand__subtitle {
  display: block;
}

.brand__title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__subtitle {
  color: var(--muted);
  font-size: 0.86rem;
}

.top-cta {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: #020617;
  font-weight: 800;
  background: linear-gradient(135deg, #fde68a, var(--yellow), var(--orange));
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.26);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.56fr);
  gap: 32px;
  align-items: center;
  padding: 58px 0 24px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #334155;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.08);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--yellow));
}

h1 {
  max-width: 15ch;
  margin: 18px 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 64ch;
  margin: 0;
  color: #475569;
  font-size: 1.13rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  border-radius: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

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

.button--primary {
  color: #020617;
  background: linear-gradient(135deg, #fde68a 0%, var(--yellow) 42%, var(--orange) 100%);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.34);
}

.button--full {
  width: 100%;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: #253041;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.08);
}

.proof-row svg,
.support-grid svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.carousel-card {
  position: relative;
  min-height: 470px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(9, 13, 22, 0.98);
  border: 1px solid rgba(31, 41, 55, 0.18);
  box-shadow: 0 28px 74px rgba(31, 41, 55, 0.2);
  display: flex;
  flex-direction: column;
}

.carousel-track-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 22px;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex: 0 0 100%;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
  color: #111827;
}

.carousel-btn:hover {
  background: white;
  transform: scale(1.05);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.form-panel {
  margin-top: 22px;
  padding: 24px;
  color: #f8fafc;
  border: 1px solid rgba(250, 204, 21, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(10, 15, 25, 0.94)),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), transparent 36%);
  box-shadow: 0 28px 74px rgba(31, 41, 55, 0.22);
}

.form-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.form-heading h2 {
  margin: 0;
  font-size: 1.8rem;
}

.form-heading p {
  margin: 6px 0 0;
  color: #94a3b8;
  line-height: 1.6;
}

.form-heading > span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #fde68a;
  border: 1px solid rgba(250, 204, 21, 0.24);
  background: rgba(245, 158, 11, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
}

.capture-status {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.1);
}

.capture-status span {
  color: #d1fae5;
}

.lead-form,
.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form {
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field-grid--three {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.lead-form label > span {
  color: #dbeafe;
  font-size: 0.92rem;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 13px 14px;
  color: #f8fafc;
  outline: none;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.58);
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.12);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.62);
}

.checkbox-row input {
  margin-top: 3px;
}

.fineprint {
  margin: 0;
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.55;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
}

.legal-links a {
  color: #fde68a;
  font-size: 0.9rem;
  text-decoration: none;
  text-underline-offset: 3px;
}

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

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

.support-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(31, 41, 55, 0.1);
}

.support-grid article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.support-grid h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.support-grid p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

footer {
  display: grid;
  gap: 8px;
  padding: 28px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.6;
}

.toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}

.toast {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  color: #f8fafc;
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.28);
}

.toast span {
  color: #cbd5e1;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .carousel-card {
    min-height: 360px;
  }

  .support-grid,
  .field-grid--three {
    grid-template-columns: 1fr;
  }
}

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

  .top-rail,
  .form-heading {
    align-items: stretch;
    flex-direction: column;
    border-radius: 24px;
  }

  .top-cta,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .proof-row,
  .hero-actions {
    flex-direction: column;
  }

  .proof-row span {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
