:root {
  --ink: #161619;
  --ink-soft: #28252e;
  --muted: #6a6472;
  --paper: #f8f7fb;
  --paper-strong: #ffffff;
  --line: #ded9e8;
  --purple: #6c45a8;
  --purple-deep: #35245f;
  --violet: #8a54b0;
  --magenta: #9c4a91;
  --lavender: #eee8f7;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(22, 22, 25, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(22, 22, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-cta {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 3px;
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(53, 36, 95, 0.18);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-text strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.05;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.05;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--violet);
}

.header-cta {
  justify-self: end;
  padding: 9px 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(108, 69, 168, 0.22);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 15, 19, 0.92) 0%, rgba(28, 20, 43, 0.8) 34%, rgba(66, 43, 94, 0.42) 64%, rgba(16, 15, 19, 0.22) 100%),
    linear-gradient(0deg, rgba(16, 15, 19, 0.46), rgba(66, 43, 94, 0.08) 44%, rgba(16, 15, 19, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 132px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 6vw, 5.35rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
}

h3 {
  font-size: 1.16rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 2.2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(138, 84, 176, 0.72);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  box-shadow: 0 14px 32px rgba(108, 69, 168, 0.3);
}

.button-primary:hover {
  background: linear-gradient(135deg, #5b3897 0%, #873a80 100%);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 720px);
  margin: 44px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-metrics div {
  padding: 18px 20px;
  background: rgba(22, 22, 25, 0.3);
}

.hero-metrics dt {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--white);
  font-size: 1.04rem;
  font-weight: 900;
}

.section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 84px 0;
}

.section-grid,
.contact-grid,
.fit-grid,
.pricing-card,
.deliverables-inner {
  display: grid;
  gap: 42px;
}

.section-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  align-items: start;
}

.section-copy p,
.solution-band p,
.deliverables-copy p,
.pricing-copy p,
.contact-copy p,
.final-cta p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.problem-list span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(22, 22, 25, 0.05);
  font-weight: 800;
}

.solution-section {
  width: 100%;
  padding: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--purple-deep) 100%);
}

.solution-band {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 82px 0;
  color: var(--white);
}

.solution-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

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

.definition-card {
  min-height: 220px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(22, 22, 25, 0.05);
}

.definition-card h3 {
  margin-top: 22px;
}

.definition-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-number {
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
}

.timeline-section {
  padding-top: 30px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 54px 22px 22px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  border: 5px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-step {
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-top: 8px;
}

.timeline-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.deliverables-section {
  width: 100%;
  padding: 0;
  background: var(--purple-deep);
}

.deliverables-inner {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 86px 0;
  color: var(--white);
}

.deliverables-copy p {
  color: rgba(255, 255, 255, 0.73);
}

.check-list,
.fit-list,
.price-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list {
  columns: 2;
  column-gap: 18px;
}

.check-list li,
.fit-list li,
.price-panel li {
  position: relative;
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 14px 14px 14px 40px;
  border-radius: 8px;
}

.check-list li {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.check-list li::before,
.fit-list li::before,
.price-panel li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 17px;
  width: 8px;
  height: 8px;
  background: var(--violet);
  border-radius: 50%;
}

.pricing-section {
  padding-bottom: 58px;
}

.pricing-card {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: stretch;
  padding: 36px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink) 0%, #241d33 52%, var(--purple-deep) 100%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pricing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.price-panel {
  padding: 26px;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}

.price-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin: 4px 0 20px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1;
}

.price-panel li {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(108, 69, 168, 0.12);
}

.price-panel li::before {
  top: 17px;
  background: var(--purple);
}

.price-button {
  width: 100%;
  margin-top: 14px;
}

.fit-section {
  padding-top: 42px;
}

.fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit-grid > div {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fit-list {
  margin-top: 24px;
}

.fit-list li {
  background: var(--lavender);
}

.fit-list.positive li::before {
  background: var(--purple);
}

.fit-list.negative li::before {
  background: var(--magenta);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 48px 0 70px;
  border-top: 1px solid var(--line);
}

.contact-section {
  width: 100%;
  padding: 0;
  background: var(--paper-strong);
  border-top: 1px solid var(--line);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 82px 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 22, 20, 0.06);
}

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

.form-row.full,
.form-button,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--lavender);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--purple);
  font-weight: 800;
}

.form-status.error {
  color: var(--magenta);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 15, 19, 0.94) 0%, rgba(28, 20, 43, 0.8) 55%, rgba(66, 43, 94, 0.42) 100%),
      linear-gradient(0deg, rgba(16, 15, 19, 0.5), rgba(66, 43, 94, 0.1) 44%, rgba(16, 15, 19, 0.58));
  }

  .section-grid,
  .deliverables-inner,
  .pricing-card,
  .contact-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 29px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-item {
    padding-left: 66px;
  }

  .timeline-item::before {
    left: 20px;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    max-width: 150px;
  }

  .brand-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-text small {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 112px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .button {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .section,
  .solution-band,
  .deliverables-inner,
  .contact-grid,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .section {
    padding: 58px 0;
  }

  .problem-list,
  .cards-grid,
  .check-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .check-list {
    columns: 1;
  }

  .pricing-card,
  .fit-grid > div,
  .contact-form {
    padding: 20px;
  }

  .contact-form {
    display: grid;
  }

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

@media (max-width: 430px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    max-width: 116px;
  }

  .header-cta {
    font-size: 0.82rem;
  }

  .hero-subtitle,
  .section-copy p,
  .solution-band p,
  .deliverables-copy p,
  .pricing-copy p,
  .contact-copy p,
  .final-cta p {
    font-size: 1rem;
  }
}
