:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ink: #172033;
  --muted: #637083;
  --line: #dbe5f0;
  --surface: #ffffff;
  --soft: #f2f6fb;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --accent-soft: #dcfce7;
  --warm: #f59e0b;
  --shadow: 0 22px 60px rgba(21, 128, 61, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fbfdff;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 253, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 240, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: auto;
  height: 64px;
  display: block;
}

.auth-brand .brand-logo {
  height: 80px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 650;
}

.nav-links a:hover,
.form-note a,
.form-row a {
  color: var(--accent-dark);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.22);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary,
.button-ghost {
  color: var(--accent-dark);
  background: #fff;
  border-color: var(--line);
}

.button-large {
  min-height: 50px;
  padding-inline: 22px;
}

.full-width {
  width: 100%;
}

.section-band {
  background:
    radial-gradient(circle at 22% 18%, rgba(245, 158, 11, 0.14), transparent 30%),
    linear-gradient(180deg, var(--soft), #fff);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 79px);
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 5.25rem;
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 3.25rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.hero-copy > p {
  max-width: 590px;
  margin-bottom: 26px;
  font-size: 1.16rem;
}

.hero-media,
.split-media {
  padding: 10px;
  border: 1px solid rgba(219, 229, 240, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.hero-media img,
.split-media img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #41505b;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.metrics-strip,
.section,
.split-section,
.workflow,
.compact-section,
.cta-band {
  padding: clamp(54px, 7vw, 90px) clamp(20px, 5vw, 72px);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-block: 0;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.metrics-strip div {
  min-height: 120px;
  padding: 28px;
  background: #fff;
}

.metrics-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 2rem;
}

.metrics-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card,
.steps div,
.reason-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 128, 61, 0.06);
}

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

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  background: #fff;
}

.check-list,
.trial-points {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.trial-points li {
  position: relative;
  padding-left: 34px;
  color: #394954;
  line-height: 1.55;
}

.check-list li::before,
.trial-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list li::after,
.trial-points li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

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

.steps div,
.reason-grid div {
  padding: 24px;
}

.steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 900;
}

.compact-section {
  background: #fff;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: linear-gradient(135deg, #172033, var(--accent-dark));
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .eyebrow {
  color: var(--warm);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 1fr);
  background: #fff;
}

.auth-visual {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 42px;
  padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(145deg, #f0fdf4, #dcfce7);
}

.auth-brand {
  justify-self: start;
}

.auth-copy {
  align-self: center;
  max-width: 610px;
}

.auth-copy h1 {
  font-size: 4.4rem;
}

.auth-panel {
  align-self: center;
  width: min(560px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-panel h2 {
  font-size: 3rem;
}

.form-shell {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.form-shell label {
  display: grid;
  gap: 8px;
  color: #394954;
  font-weight: 700;
}

.form-shell input,
.form-shell select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-shell input:focus,
.form-shell select:focus {
  outline: 3px solid rgba(22, 163, 74, 0.18);
  border-color: var(--accent);
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.checkbox-line {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  font-weight: 650 !important;
}

.checkbox-line input {
  width: 16px;
  min-height: 16px;
}

.checkbox-line a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.pw-meter {
  height: 6px;
  margin-top: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.pw-meter-bar {
  height: 100%;
  width: 0;
  background: #ef4444;
  border-radius: 999px;
  transition: width 200ms ease, background 200ms ease;
}

.pw-meter-bar[data-strength="2"] { background: #f59e0b; }
.pw-meter-bar[data-strength="3"] { background: #facc15; }
.pw-meter-bar[data-strength="4"],
.pw-meter-bar[data-strength="5"] { background: var(--accent); }

.pw-meter-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.form-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.96rem;
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .auth-copy h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 18px;
  }

  .hero,
  .split-section,
  .auth-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .auth-panel {
    margin-block: 42px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .metrics-strip,
  .feature-grid,
  .steps,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .nav-links {
    order: 3;
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.92rem;
  }

  .nav-actions {
    order: 2;
    width: 100%;
  }

  .nav-actions .button {
    flex: 1 1 130px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2,
  .auth-panel h2 {
    font-size: 2.15rem;
  }

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

  .hero-media,
  .split-media {
    padding: 6px;
  }

  .auth-page {
    background: var(--soft);
  }

  .auth-visual {
    min-height: auto;
  }

  .auth-panel {
    width: calc(100% - 32px);
    margin-block: 24px;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header,
  .hero,
  .metrics-strip,
  .section,
  .split-section,
  .workflow,
  .compact-section,
  .cta-band,
  .auth-visual {
    padding-inline: 16px;
  }

  h1,
  .auth-copy h1 {
    font-size: 2.25rem;
  }

  h2,
  .auth-panel h2 {
    font-size: 1.85rem;
  }

  .hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .auth-panel {
    width: calc(100% - 24px);
    padding: 24px;
  }
}
