:root {
  --ink: #122238;
  --muted: #5d6d80;
  --paper: #f8fbff;
  --white: #ffffff;
  --line: #dbe6ef;
  --blue: #116aa8;
  --blue-deep: #0b416c;
  --green: #28d07f;
  --mint: #dff9ec;
  --gold: #ffd166;
  --coral: #ff7a6b;
  --shadow: 0 20px 70px rgba(18, 34, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img,
video {
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 42px rgba(18, 34, 56, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  width: 218px;
  height: 64px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--blue-deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 160ms ease;
}

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

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

.nav-cta,
.nav-login,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(17, 106, 168, 0.25);
}

.nav-login {
  color: var(--blue-deep);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.secondary {
  color: var(--blue-deep);
  background: var(--white);
  border: 1px solid var(--line);
}

.nav-cta:hover,
.nav-login:hover,
.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94vh;
  padding: 150px 24px 32px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(40, 208, 127, 0.28), transparent 30%),
    radial-gradient(circle at 16% 74%, rgba(255, 209, 102, 0.18), transparent 26%),
    linear-gradient(135deg, #0a365b 0%, #0e5d8f 68%, #f8fbff 68%, #eef8f4 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 51, 0.42) 0%, rgba(9, 43, 73, 0.16) 52%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 29, 51, 0.34) 0%, rgba(7, 29, 51, 0.02) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin-left: clamp(0px, 6vw, 80px);
  padding-bottom: 8vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(4.2rem, 11vw, 9.5rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.18rem, 2.2vw, 1.65rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.hero-stats span {
  min-height: 86px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.hero-stats strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1rem;
}

.confetti {
  position: absolute;
  z-index: 1;
  width: 13px;
  height: 44px;
  border-radius: 3px;
  transform: rotate(18deg);
}

.confetti-one {
  top: 22%;
  left: 55%;
  background: var(--gold);
}

.confetti-two {
  right: 10%;
  bottom: 24%;
  background: var(--green);
  transform: rotate(-22deg);
}

.confetti-three {
  top: 36%;
  right: 20%;
  background: var(--coral);
  transform: rotate(48deg);
}

.section {
  padding: 96px 24px;
  scroll-margin-top: 106px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split,
.impact-layout,
.signup-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.section h2 {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
  font-weight: 800;
}

.section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.problem {
  background: var(--white);
}

.problem-panel,
.problem-video-card,
.impact-dashboard,
.price-card,
.feature-card,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.problem-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding: 26px;
}

.problem-video-card {
  overflow: hidden;
  padding: 10px;
  background: linear-gradient(135deg, #ffffff, #eef8f4);
}

.problem-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 750;
  background: #f4f8fb;
}

.panel-row.done {
  background: var(--mint);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.status-dot.warning {
  background: var(--gold);
}

.status-dot.success {
  background: var(--green);
}

.capabilities {
  background: #eef7fb;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 278px;
  padding: 24px;
}

.feature-icon,
.plan-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--blue-deep);
  background: var(--mint);
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-card h3,
.price-card h3 {
  margin: 24px 0 10px;
  font-size: 1.45rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.98rem;
}

.product-preview {
  overflow: hidden;
  background:
    linear-gradient(180deg, #eef7fb 0%, #ffffff 100%);
}

.preview-stack {
  position: relative;
  display: grid;
  gap: 24px;
  padding-top: 10px;
  justify-items: center;
}

.app-shot {
  margin: 0;
  border: 1px solid rgba(219, 230, 239, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.app-shot img {
  display: block;
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.app-shot figcaption {
  padding: 14px 18px 16px;
  color: var(--blue-deep);
  font-size: 0.98rem;
  font-weight: 750;
}

.app-shot-large {
  width: min(980px, 100%);
}

.app-shot-offset {
  width: min(980px, 100%);
  justify-self: center;
  margin-top: -4px;
}

.impact {
  background: var(--white);
}

.impact-layout {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
}

.impact-dashboard {
  padding: 28px;
  color: var(--white);
  background: #153c5e;
}

.dashboard-top,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-top {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.metric-row {
  align-items: stretch;
}

.metric-row div {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-row strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.progress-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.progress-list div {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.progress-list i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-list i::before {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  content: "";
  animation: fillImpactBar 1.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.progress-list div:nth-child(1) i::before {
  --delay: 120ms;
}

.progress-list div:nth-child(2) i::before {
  --delay: 340ms;
}

.progress-list div:nth-child(3) i::before {
  --delay: 560ms;
}

@keyframes fillImpactBar {
  from {
    width: 0;
  }

  to {
    width: var(--width);
  }
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  content: "✓";
  font-size: 0.82rem;
}

.pricing {
  background: #f7fbf8;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 30px;
}

.price-card.featured {
  border-color: rgba(40, 208, 127, 0.5);
  background: #f5fff9;
}

.price {
  margin: 20px 0 12px;
}

.price strong {
  color: var(--blue-deep);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}

.price span {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-weight: 700;
}

.seat-note {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-deep) !important;
  font-size: 0.98rem !important;
  font-weight: 750;
}

.full {
  width: 100%;
}

.signup {
  padding-bottom: 84px;
  background: var(--blue-deep);
}

.signup h2,
.signup p {
  color: var(--white);
}

.signup p {
  color: rgba(255, 255, 255, 0.76);
}

.signup-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.signup-form input[type="hidden"] {
  display: none;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-deep);
  font-weight: 800;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.signup-form input,
.signup-form select {
  min-height: 52px;
  padding: 0 14px;
}

.signup-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--blue-deep) 50%) calc(100% - 20px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--blue-deep) 50%, transparent 50%) calc(100% - 15px) 50% / 7px 7px no-repeat,
    var(--white);
}

.signup-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(17, 106, 168, 0.14);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--blue-deep) !important;
  font-size: 0.95rem !important;
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 24px;
  color: var(--muted);
  background: var(--white);
  font-weight: 700;
}

.site-footer img {
  width: 178px;
  height: 68px;
  object-fit: contain;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 29, 51, 0.68);
  backdrop-filter: blur(10px);
}

.dialog-backdrop[hidden] {
  display: none;
}

.success-dialog {
  width: min(520px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.success-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.success-dialog p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.checkout-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 14%, rgba(40, 208, 127, 0.18), transparent 26%),
    linear-gradient(180deg, #eef7fb 0%, #ffffff 100%);
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(18, 34, 56, 0.1);
  backdrop-filter: blur(16px);
}

.checkout-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 96px;
}

.checkout-hero {
  max-width: 760px;
  margin-bottom: 34px;
}

.checkout-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 1;
}

.checkout-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 20px;
  align-items: start;
}

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

.plan-builder,
.order-summary,
.payment-form {
  padding: 28px;
}

.plan-builder {
  display: grid;
  gap: 22px;
}

.checkout-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.checkout-card h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.plan-builder p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.plan-price {
  color: var(--blue-deep);
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1;
}

.seat-control {
  display: grid;
  gap: 10px;
}

.seat-control label,
.payment-form label span {
  color: var(--blue-deep);
  font-weight: 800;
}

.seat-stepper {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seat-stepper button,
.seat-stepper input {
  min-height: 58px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 800;
}

.seat-stepper button {
  cursor: pointer;
  color: var(--blue-deep);
  background: #eef7fb;
}

.seat-stepper input {
  text-align: center;
  border-inline: 1px solid var(--line);
}

.checkout-note {
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--blue-deep);
  background: var(--mint);
  font-weight: 750;
}

.order-summary {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 20px;
}

.order-summary h2,
.payment-form h2 {
  margin: 0;
  font-size: 1.45rem;
}

.summary-lines {
  display: grid;
  gap: 12px;
}

.trial-banner {
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--blue-deep);
  background: var(--mint);
  font-weight: 800;
  line-height: 1.45;
}

.summary-lines div,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.summary-lines div {
  color: var(--muted);
}

.summary-lines strong {
  color: var(--ink);
}

.summary-total {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.summary-total strong {
  color: var(--blue-deep);
  font-size: 2rem;
}

.payment-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 20px;
}

.payment-copy {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

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

.payment-wide {
  grid-column: 1 / -1;
}

.payment-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.payment-form input:focus,
.seat-stepper input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(17, 106, 168, 0.14);
}

.success-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 102px);
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.success-card {
  width: 100%;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.success-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 2rem;
  font-weight: 800;
}

.success-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
}

.success-card p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.success-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.success-details div {
  padding: 18px;
  border-radius: 8px;
  background: #eef7fb;
}

.success-details span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-transform: uppercase;
}

.success-details strong {
  color: var(--blue-deep);
  font-size: 1.65rem;
}

.redirect-copy strong {
  color: var(--blue-deep);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 920px) {
  .site-header {
    inset: 12px 12px auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding-top: 124px;
  }

  .hero-content {
    margin-left: 0;
    padding-bottom: 5vh;
  }

  .hero-stats,
  .feature-grid,
  .pricing-grid,
  .preview-stack,
  .checkout-layout,
  .split,
  .impact-layout,
  .signup-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats span {
    min-height: auto;
  }

  .feature-card,
  .price-card {
    min-height: auto;
  }

  .app-shot-large,
  .app-shot-offset {
    width: 100%;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-left: 12px;
  }

  .brand {
    width: 156px;
    height: 56px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-cta,
  .nav-login {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 118px 16px 24px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 29, 51, 0.5) 0%, rgba(9, 43, 73, 0.24) 100%),
      linear-gradient(0deg, rgba(7, 29, 51, 0.42) 0%, rgba(7, 29, 51, 0.08) 48%);
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 16px;
  }

  .section h2 {
    font-size: 2.25rem;
  }

  .problem-panel {
    grid-template-columns: 1fr;
  }

  .metric-row {
    flex-direction: column;
  }

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

  .checkout-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .checkout-main {
    width: calc(100% - 24px);
    padding-top: 48px;
  }

  .checkout-header .button {
    width: auto;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .checkout-layout,
  .success-details,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .payment-wide {
    grid-column: auto;
  }

  .plan-builder,
  .order-summary,
  .payment-form {
    padding: 20px;
  }
}
