:root {
  --black: #000;
  --white: #fff;
  --gray: #757575;
  --gray-mid: #a9a9a9;
  --gray-light: #f2f2f2;
  --line: #1f1f1f;
  --line-light: #dbdbdb;
  --panel: #0a0a0a;
  --t: 160ms ease;
}

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

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

button,
input,
select,
textarea {
  border-radius: 0;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo,
.footer__logo {
  height: 34px;
  width: auto;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar__nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gray-mid);
  transition: color var(--t), opacity var(--t);
}

.topbar__nav a:hover,
.topbar__nav a:focus-visible {
  color: var(--white);
}

.topbar__cta {
  color: var(--white) !important;
  border: 1px solid #2c2c2c;
  padding: 10px 14px;
}

.hero,
.section,
.footer {
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: 88px 0 78px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.eyebrow,
.section-tag,
.panel-kicker,
.card__num,
.plan-name,
.req {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow,
.section-tag,
.panel-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  margin: 0 0 18px;
}

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

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
}

.hero-sub {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--gray-mid);
  font-size: 1.03rem;
  line-height: 1.78;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-proof {
  margin: 18px 0 0;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-proof::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--white);
  vertical-align: middle;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 36px;
  max-width: 620px;
}

.kpi {
  background: var(--black);
  padding: 20px 22px;
}

.kpi strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-bottom: 5px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.kpi span {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.hero__aside {
  display: flex;
  justify-content: flex-end;
}

.hero-panel {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #090909, #040404);
  padding: 28px;
}

.hero-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

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

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--gray-mid);
  line-height: 1.6;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--white);
}

.panel-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.panel-note span,
.card-meta span,
.spotlight__stat span {
  display: block;
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.panel-note strong,
.card-meta strong,
.spotlight__stat strong {
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section {
  padding: 88px 0;
}

.section--light {
  background: var(--white);
  color: var(--black);
  border-bottom-color: var(--line-light);
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
}

.section h2 {
  margin-bottom: 32px;
}

.hero__ctas + .hero-proof,
.hero-proof + .kpis {
  margin-top: 0;
}

.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.spotlight__copy > p:not(.section-tag),
.lead-pitch > p,
.highlight-text,
.card > p:not(.card__num),
.step div p,
.spotlight__note {
  color: inherit;
  margin: 0;
}

.section--spotlight h2 {
  margin-bottom: 18px;
}

.spotlight__copy > p:not(.section-tag) {
  max-width: 60ch;
  color: #4d4d4d;
  line-height: 1.72;
}

.spotlight__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 10px;
}

.spotlight__chips span {
  border: 1px solid var(--line-light);
  padding: 8px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #fff;
}

.spotlight__note {
  font-size: 0.85rem;
  color: #6a6a6a;
  margin-top: 6px;
}

.spotlight__card {
  background: #0a0a0a;
  color: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.card-badge,
.plan-badge {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: 4px 8px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.spotlight__stat {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.spotlight__stat:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.spotlight__stat strong {
  line-height: 1.45;
}

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

.section--light .grid-3 {
  background: var(--line-light);
  border-color: var(--line-light);
}

.card {
  background: var(--black);
  padding: 28px;
  min-height: 230px;
}

.section--light .card {
  background: var(--white);
  color: var(--black);
}

.featured-card {
  outline: 1px solid var(--white);
  outline-offset: -1px;
}

.card__num {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gray);
  margin: 0 0 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.35;
}

.card > p:not(.card__num) {
  color: var(--gray-mid);
  line-height: 1.68;
}

.section--light .card > p:not(.card__num) {
  color: #525252;
}

.card-meta {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card-meta strong {
  font-size: 0.95rem;
}

.steps {
  max-width: 760px;
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 28px 32px;
  background: var(--white);
}

.step__num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #c7c7c7;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.step div p {
  color: #555;
  line-height: 1.7;
}

.faq {
  max-width: 760px;
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.faq details {
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: #7c7c7c;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  padding: 0 24px 22px;
  color: #555;
  line-height: 1.7;
}

.lead-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.lead-pitch h2 {
  margin-bottom: 16px;
}

.lead-pitch > p {
  max-width: 55ch;
  color: var(--gray-mid);
  line-height: 1.78;
  margin-bottom: 24px;
}

form {
  background: #060606;
  border: 1px solid var(--line);
  padding: 28px;
}

label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gray-mid);
}

.req {
  color: var(--gray);
  font-weight: 500;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: #111;
  color: var(--white);
  border: 1px solid #2a2a2a;
  padding: 11px 14px;
  transition: border-color var(--t), background var(--t);
  appearance: none;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 1px), calc(100% - 12px) calc(1em + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

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

input:hover,
select:hover,
textarea:hover {
  border-color: #3a3a3a;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--white);
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #ff8b8b !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 13px 22px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}

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

.btn--lg {
  padding: 15px 28px;
  font-size: 1rem;
}

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

.btn--primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--primary:hover {
  background: #e0e0e0;
  border-color: #e0e0e0;
}

.btn--outline:hover,
.btn--ghost:hover {
  background: var(--white);
  color: var(--black);
}

.btn--ghost {
  border-color: #343434;
}

.btn--dark {
  border-color: var(--black);
  color: var(--black);
}

.btn--dark.btn--primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btn--dark.btn--primary:hover {
  background: #222;
  border-color: #222;
  color: var(--white);
}

.btn--dark.btn--outline:hover,
.btn--dark.btn--ghost:hover {
  background: var(--black);
  color: var(--white);
}

.feedback {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.feedback.success { color: #96e6a4; }
.feedback.error { color: #ff9c9c; }

.footer {
  padding: 22px 0 26px;
  border-bottom: 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gray);
}

.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
  z-index: 60;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #2a2a2a;
  background: rgba(0, 0, 0, 0.94);
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.dock-label {
  font-size: 0.84rem;
  font-weight: 800;
}

.dock-btn--proposal {
  background: rgba(255, 255, 255, 0.98);
  color: var(--black);
  border-color: var(--white);
}

.dock-btn:focus-visible,
.btn:focus-visible,
.topbar__nav a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero__grid,
  .spotlight,
  .lead-wrap {
    grid-template-columns: 1fr;
  }

  .hero__aside {
    justify-content: flex-start;
  }

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

  .kpis {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 68px;
  }

  .hero h1 {
    max-width: 100%;
  }

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

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mobile-dock {
    display: inline-flex;
  }

  .footer__inner {
    padding-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
