:root {
  --ink: #171717;
  --muted: #5f625f;
  --paper: #fbfaf7;
  --soft: #efeee8;
  --line: #dad7ce;
  --coral: #e75f4d;
  --coral-dark: #b93628;
  --sage: #9ebc74;
  --blue: #286b82;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(20, 22, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.1) 100%),
    url("assets/demo-product-visuals-collage.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0), var(--paper));
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--coral), var(--sage)),
    var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.38);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

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

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd6ce;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 8vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--coral);
  color: var(--white);
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.offer-card .button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 126px));
  gap: 12px;
  max-width: 470px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.proof-band {
  width: min(1180px, calc(100% - 32px));
  margin: -40px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-item {
  padding: 22px;
  background: var(--white);
}

.proof-item span,
.comparison-list span,
.standard,
.demo-frame figcaption {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-item strong,
.comparison-list strong {
  display: block;
  margin-top: 4px;
  font-size: 1.02rem;
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow),
.comparison-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.gallery-grid,
.offer-grid,
.process-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-frame,
.offer-card,
.process-grid article,
.faq-grid details,
.comparison-list div,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.demo-frame {
  margin: 0;
  overflow: hidden;
}

.demo-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.demo-frame figcaption {
  padding: 14px 16px 16px;
}

.offer-section {
  border-top: 1px solid var(--line);
}

.offer-card {
  padding: 28px;
}

.offer-card.featured {
  border-color: rgba(231, 95, 77, 0.48);
  box-shadow: 0 18px 50px rgba(231, 95, 77, 0.14);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #f4e5df;
  color: var(--coral-dark);
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin-bottom: 2px;
}

.price span {
  font-size: 2.4rem;
  font-weight: 800;
}

.offer-card ul {
  margin: 24px 0;
  padding-left: 19px;
  color: var(--muted);
}

.offer-card li + li {
  margin-top: 10px;
}

.process-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: #eaf0ea;
}

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

.process-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
}

.comparison-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

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

.comparison-list div {
  padding: 22px;
}

.inquiry-section {
  border-top: 1px solid var(--line);
}

.lead-form {
  padding: 24px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 107, 130, 0.13);
}

textarea {
  resize: vertical;
  margin-top: 16px;
}

.form-footer {
  justify-content: space-between;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.form-footer p,
.form-note {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.hidden-field {
  display: none;
}

.faq-section {
  padding-top: 24px;
}

.faq-grid details {
  padding: 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 52px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

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

.success-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

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

.success-wrap h1 {
  margin-top: 36px;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.success-wrap p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-stats,
  .proof-band,
  .gallery-grid,
  .offer-grid,
  .process-grid,
  .comparison-section,
  .comparison-list,
  .form-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .proof-band {
    margin-top: -24px;
  }

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

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats {
    max-width: none;
  }

  .lead-form,
  .offer-card {
    padding: 18px;
  }
}
