:root {
  --ink: #171717;
  --ink-soft: #343434;
  --muted: #6c665f;
  --paper: #f6f0e7;
  --white: #ffffff;
  --fog: #e9e2d8;
  --line: #d7cfc3;
  --green: #0f6a52;
  --green-dark: #0a4536;
  --brick: #b94f3e;
  --mustard: #d8a63a;
  --blue: #315f7d;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.16);
}

* {
  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.55;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(23, 23, 23, 0.82);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 0 20px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.button-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(76svh - 68px);
  align-items: end;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 64px);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.88), rgba(15, 15, 15, 0.58) 48%, rgba(15, 15, 15, 0.22)),
    linear-gradient(0deg, rgba(15, 15, 15, 0.62), rgba(15, 15, 15, 0.08) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

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

.hero .eyebrow,
.delivery-section .eyebrow {
  color: #f2c15a;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

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

.hero-text {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

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

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

.hero-stats div {
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(23, 23, 23, 0.52);
}

.hero-stats dt {
  font-size: 1.18rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.signal-strip span {
  min-height: 62px;
  border-right: 1px solid var(--line);
  padding: 18px clamp(14px, 3vw, 24px);
  color: var(--ink-soft);
  font-weight: 900;
}

.signal-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 64px);
}

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

.section-heading p:not(.eyebrow),
.feature p,
.sample-doc p,
.quality-panel li,
.delivery-steps p,
.price-panel p,
.faq-grid p,
.setup-note p {
  color: var(--muted);
}

.offer-section {
  background: var(--paper);
}

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

.feature,
.faq-grid article,
.sample-doc,
.quality-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.feature-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.feature:nth-child(2) .feature-number {
  background: var(--green);
}

.feature:nth-child(3) .feature-number {
  background: var(--blue);
}

.feature:nth-child(4) .feature-number {
  background: var(--brick);
}

.sample-section {
  background: var(--fog);
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: stretch;
}

.sample-doc {
  box-shadow: var(--shadow);
}

.doc-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.doc-label {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 8px;
  padding: 5px 9px;
  background: var(--paper);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-doc h3 {
  max-width: 620px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.doc-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.doc-meta div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--paper);
}

.doc-meta strong,
.doc-meta span {
  display: block;
}

.doc-meta strong {
  margin-bottom: 5px;
  color: var(--brick);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.quality-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quality-panel ul,
.price-panel ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.delivery-section {
  background: var(--ink);
  color: var(--white);
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-steps li {
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

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

.delivery-steps p {
  color: rgba(255, 255, 255, 0.72);
}

.price-section {
  background: var(--paper);
}

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr) auto;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.1);
}

.price-panel h2 {
  margin-bottom: 8px;
  color: var(--green-dark);
}

.price-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.text-link {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

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

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

.setup-note {
  border-top: 1px solid var(--line);
  background: var(--fog);
}

code {
  border-radius: 6px;
  padding: 3px 6px;
  background: var(--white);
  color: var(--green-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  text-decoration: none;
}

.hidden {
  display: none !important;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .feature-grid,
  .delivery-steps,
  .price-panel {
    grid-template-columns: 1fr 1fr;
  }

  .price-actions {
    grid-column: 1 / -1;
    justify-items: stretch;
  }

  .price-actions .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 142px;
    line-height: 1.12;
  }

  .button-small {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 14, 14, 0.92), rgba(14, 14, 14, 0.64)),
      linear-gradient(0deg, rgba(14, 14, 14, 0.62), rgba(14, 14, 14, 0.16));
  }

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

  .hero-stats,
  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats div {
    min-height: 66px;
  }

  .signal-strip span {
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
  }

  .signal-strip span:nth-child(2n) {
    border-right: 0;
  }

  .feature-grid,
  .sample-layout,
  .delivery-steps,
  .price-panel,
  .doc-meta,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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