:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #0d1118;
  --surface: #111722;
  --surface-2: #f7f9fd;
  --text: #f8fbff;
  --text-dark: #0d1118;
  --muted: #9ba7b7;
  --muted-dark: #697486;
  --border: rgba(255, 255, 255, 0.14);
  --border-dark: rgba(11, 17, 28, 0.12);
  --blue: #1fa8ff;
  --violet: #6a55ee;
  --pink: #f5389f;
  --green: #45d38a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 12%, rgba(31, 168, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(245, 56, 159, 0.16), transparent 34%),
    linear-gradient(180deg, #05070b 0%, #0a0d13 48%, #07090d 100%);
  color: var(--text);
  font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

section,
.signup-shell {
  scroll-margin-top: 118px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #05070b;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 214px;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a,
.secondary-action {
  color: rgba(248, 251, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
}

.header-nav a:hover,
.secondary-action:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-cta,
.header-login,
.primary-action,
.secondary-button {
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta,
.primary-action {
  color: #ffffff;
  background: linear-gradient(100deg, var(--blue), var(--violet) 48%, var(--pink));
  box-shadow: 0 14px 34px rgba(91, 100, 239, 0.26);
}

.header-cta,
.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-login {
  min-height: 40px;
  color: #ffffff;
  background:
    linear-gradient(#05070b, #05070b) padding-box,
    linear-gradient(100deg, var(--blue), var(--violet) 48%, var(--pink)) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 12px 28px rgba(31, 168, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.primary-action.full {
  width: 100%;
}

.header-cta:hover,
.header-login:hover,
.primary-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(91, 100, 239, 0.36);
}

.header-login:hover {
  color: #ffffff;
  border-color: transparent;
  background:
    linear-gradient(100deg, rgba(31, 168, 255, 0.22), rgba(106, 85, 238, 0.24) 48%, rgba(245, 56, 159, 0.24)) padding-box,
    linear-gradient(100deg, var(--blue), var(--violet) 48%, var(--pink)) border-box;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--text-dark);
  background: #ffffff;
  border: 1px solid var(--border-dark);
}

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

.hero-section,
.why-section,
.signup-section,
.principles-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 64px;
  padding: 54px 0 72px;
}

.availability {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 7.2vw, 94px);
  line-height: 0.93;
  font-weight: 300;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(248, 251, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 251, 255, 0.76);
  font-size: 13px;
  line-height: 1;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip svg,
.privacy-note svg {
  width: 18px;
  height: 18px;
}

.hero-product {
  position: relative;
  min-height: 590px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(13, 17, 24, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-chrome {
  display: flex;
  gap: 8px;
  padding: 6px 2px 18px;
}

.browser-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.journey-preview {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.preview-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.preview-step strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

.preview-step.active strong {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  border: 0;
}

.preview-rail {
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 168, 255, 0.52), rgba(245, 56, 159, 0.5));
}

.hero-card {
  margin-top: 46px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.card-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-card h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  font-weight: 300;
}

.hero-card p:last-child {
  margin: 22px 0 0;
  color: rgba(248, 251, 255, 0.74);
  font-size: 17px;
  line-height: 1.54;
}

.why-section {
  padding: 82px 0 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 30px;
}

.section-heading h2,
.signup-intro h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-weight: 300;
}

.section-heading p,
.signup-intro p {
  margin: 0;
  color: rgba(248, 251, 255, 0.7);
  font-size: 17px;
  line-height: 1.55;
}

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

.benefit-card {
  min-height: 252px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  margin-bottom: 34px;
}

.benefit-icon svg,
.panel-icon svg,
.setup-item svg {
  width: 24px;
  height: 24px;
}

.benefit-icon.blue {
  background: linear-gradient(135deg, #229fff, #2d6eff);
}

.benefit-icon.violet {
  background: linear-gradient(135deg, #8461ff, #a33eea);
}

.benefit-icon.pink {
  background: linear-gradient(135deg, #ff5cad, #e62891);
}

.benefit-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.16;
}

.benefit-card p {
  margin: 14px 0 0;
  color: rgba(248, 251, 255, 0.68);
  font-size: 15px;
  line-height: 1.55;
}

.signup-section {
  padding: 82px 0 54px;
}

.signup-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.72fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 28px;
}

.signup-intro .availability {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.signup-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.flow-sidebar {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px;
  border-radius: 7px;
  color: rgba(248, 251, 255, 0.62);
}

.flow-step + .flow-step {
  margin-top: 8px;
}

.flow-step span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: #ffffff;
  font-weight: 800;
}

.flow-step strong,
.flow-step small {
  display: block;
}

.flow-step strong {
  color: inherit;
  font-size: 14px;
}

.flow-step small {
  margin-top: 4px;
  color: currentColor;
  font-size: 12px;
}

.flow-step.current {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.flow-step.current span {
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--pink));
}

.flow-step.done span {
  border: 0;
  background: rgba(69, 211, 138, 0.18);
  color: var(--green);
}

.flow-card {
  position: relative;
  min-height: 650px;
  padding: 34px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: var(--shadow);
}

.flow-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 28px;
  max-width: 610px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}

.flow-brand img {
  display: block;
  width: min(254px, 58vw);
  height: auto;
}

.flow-brand span {
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.flow-panel {
  display: none;
  max-width: 610px;
  margin: 0 auto;
}

.flow-panel.is-active {
  display: block;
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: var(--violet);
  border: 1px solid rgba(106, 85, 238, 0.26);
  background: linear-gradient(135deg, rgba(31, 168, 255, 0.12), rgba(245, 56, 159, 0.12));
}

.panel-icon.success {
  color: var(--green);
  border-color: rgba(69, 211, 138, 0.28);
}

.flow-panel h3 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1.1;
}

.flow-panel > p {
  max-width: 430px;
  margin: 12px auto 26px;
  color: var(--muted-dark);
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

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

.signup-form label {
  display: grid;
  gap: 7px;
  color: #202a39;
  font-size: 13px;
  font-weight: 800;
}

.signup-form label span,
.signup-form small {
  color: var(--muted-dark);
  font-weight: 500;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid var(--border-dark);
  border-radius: 7px;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 15px;
  outline: 0;
}

.signup-form input,
.signup-form select {
  height: 44px;
  padding: 0 13px;
}

.signup-form textarea {
  resize: vertical;
  min-height: 88px;
  padding: 12px 13px;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: rgba(106, 85, 238, 0.72);
  box-shadow: 0 0 0 4px rgba(106, 85, 238, 0.12);
}

.form-status {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.form-status.is-error {
  color: #b91c1c;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 2px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.35;
}

.next-steps,
.ready-summary {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: #f7f9fd;
}

.next-steps h4 {
  margin: 0 0 18px;
  font-size: 15px;
}

.next-steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #253044;
  font-size: 14px;
}

.next-steps div + div {
  margin-top: 14px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--violet);
  background: rgba(106, 85, 238, 0.1);
  font-weight: 900;
  font-size: 12px;
}

.panel-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.consent-box {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  margin: 4px 0 2px;
}

.consent-box legend {
  margin-bottom: 8px;
  color: #202a39;
  font-size: 13px;
  font-weight: 800;
}

.consent-box label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: #374254;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.consent-box input {
  width: 16px;
  height: 16px;
  accent-color: var(--violet);
}

.setup-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.setup-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
}

.setup-item:hover,
.setup-item.is-complete {
  border-color: rgba(106, 85, 238, 0.38);
  background: #f7f9fd;
}

.setup-item span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(31, 168, 255, 0.1);
  color: #2174f8;
  font-size: 13px;
  font-weight: 900;
}

.setup-item.is-complete span {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.setup-item strong,
.setup-item small {
  display: block;
}

.setup-item strong {
  font-size: 15px;
}

.setup-item small {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.35;
}

.ready-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}

.ready-summary span {
  padding: 12px 10px;
  border-radius: 7px;
  background: #ffffff;
  color: #253044;
  font-size: 13px;
  font-weight: 800;
}

.principles-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 60px;
  padding: 1px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--pink));
  overflow: hidden;
}

.principle {
  min-height: 126px;
  padding: 26px;
  background: rgba(5, 7, 11, 0.95);
}

.principle strong,
.principle span {
  display: block;
}

.principle strong {
  font-size: 18px;
}

.principle span {
  margin-top: 8px;
  color: rgba(248, 251, 255, 0.68);
  font-size: 14px;
  line-height: 1.42;
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    width: 176px;
  }

  .header-nav {
    display: none;
  }

  .hero-section,
  .section-heading,
  .signup-intro,
  .signup-shell {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 28px;
    padding-top: 28px;
  }

  .hero-product {
    min-height: 460px;
  }

  .benefit-grid,
  .principles-section {
    grid-template-columns: 1fr;
  }

  .flow-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .flow-step {
    min-height: 86px;
    display: grid;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero-section,
  .why-section,
  .signup-section,
  .principles-section {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    padding: 10px 12px;
  }

  .brand {
    width: 148px;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 12px;
  }

  .header-actions .header-cta {
    display: none;
  }

  .header-login {
    padding: 10px 12px;
    font-size: 12px;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-actions,
  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .secondary-action {
    text-align: center;
  }

  .trust-strip {
    display: grid;
  }

  .hero-product {
    min-height: 390px;
    padding: 14px;
  }

  .hero-card {
    margin-top: 28px;
    padding: 22px;
  }

  .hero-card h2 {
    font-size: 34px;
  }

  .journey-preview {
    grid-template-columns: 1fr;
  }

  .preview-rail {
    display: none;
  }

  .why-section,
  .signup-section {
    padding-top: 54px;
  }

  .section-heading,
  .signup-intro {
    gap: 18px;
  }

  .signup-intro .availability {
    margin-bottom: 0;
  }

  .flow-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .flow-card {
    min-height: 0;
    padding: 24px 18px;
  }

  .flow-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
  }

  .flow-brand img {
    width: min(230px, 72vw);
  }

  .ready-summary {
    grid-template-columns: 1fr;
  }
}
