:root {
  color-scheme: light;
  --ink: #17211e;
  --muted: #53615d;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d7d1c5;
  --accent: #176f5c;
  --accent-strong: #0d5547;
  --blue: #285d80;
  --gold: #b7791f;
  --shadow: 0 20px 48px rgba(23, 33, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(215, 209, 197, 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.83rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 76px;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 16, 0.84) 0%, rgba(10, 18, 16, 0.64) 42%, rgba(10, 18, 16, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 18, 16, 0.58) 0%, rgba(10, 18, 16, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #fff;
}

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

.hero .eyebrow {
  color: #86dfc6;
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.1rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-copy {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  background: #eee8dc;
  color: #35413d;
  font-weight: 720;
  text-align: center;
}

.section {
  padding: 84px clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.feature-card,
.price-card {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.process-band {
  background: #e7efe9;
  border-top: 1px solid #cbd9d0;
  border-bottom: 1px solid #cbd9d0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.steps article {
  padding: 24px;
  border: 1px solid #bed0c4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.steps span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.demo {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.code-panel {
  overflow: hidden;
  border-radius: 8px;
  background: #16211f;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #23302d;
}

.panel-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #df6d58;
}

.panel-header span:nth-child(2) {
  background: #d9b458;
}

.panel-header span:nth-child(3) {
  background: #6abf7a;
}

pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #ecf7f2;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.price {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 2.25rem;
  font-weight: 820;
}

.price-card.featured {
  border-color: rgba(23, 111, 92, 0.55);
  box-shadow: var(--shadow);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  background: #fbfaf7;
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

label {
  display: grid;
  gap: 8px;
  color: #34413d;
  font-size: 0.94rem;
  font-weight: 720;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfc8ba;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(23, 111, 92, 0.18);
  border-color: var(--accent);
}

.form-note {
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #eaf3ef;
  background: #17211e;
}

.error-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.error-page .site-header {
  position: static;
}

.error-shell {
  display: grid;
  width: min(760px, calc(100% - 36px));
  place-content: center;
  justify-items: start;
  margin: 0 auto;
  padding: 72px 0;
}

.error-code {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.error-shell h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.error-shell p {
  max-width: 590px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.error-shell .button {
  margin-top: 28px;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 76px;
  }

  h1 {
    max-width: 10ch;
  }

  .trust-strip,
  .split,
  .feature-grid,
  .steps,
  .demo,
  .pricing-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    min-height: 54px;
  }

  .section {
    padding-block: 58px;
  }
}

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

  pre {
    font-size: 0.82rem;
  }
}
