:root {
  --bg: #101c19;
  --bg-2: #17302b;
  --ink: #f4efe6;
  --muted: #b7c2bc;
  --line: rgba(244, 239, 230, 0.12);
  --green: #3d9b84;
  --gold: #e8c27a;
  --cream: #f4efe6;
  --cream-ink: #1a2421;
  --cream-muted: #4d5a55;
  --cream-line: rgba(26, 36, 33, 0.12);
  --cream-panel: #ebe4d8;
  --display: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; }
h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); line-height: .96; margin: 0 0 1rem; max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 .8rem; }
h3 { font-size: 1.35rem; margin: 0 0 .45rem; color: inherit; }

.wrap { width: min(1120px, calc(100% - 2.4rem)); margin: 0 auto; }

.band-dark {
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(61, 155, 132, 0.22), transparent 58%),
    radial-gradient(700px 420px at 100% 0%, rgba(232, 194, 122, 0.1), transparent 50%),
    var(--bg);
  color: var(--ink);
}
.band-dark .section-lede,
.band-dark p { color: var(--muted); }
.band-dark a:not(.btn) { color: var(--gold); }
.band-dark a:not(.btn):hover { color: var(--ink); }

.band-light {
  background: var(--cream);
  color: var(--cream-ink);
}
.band-light .section-lede,
.band-light p { color: var(--cream-muted); }
.band-light a:not(.btn) { color: #2a6b5c; }
.band-light a:not(.btn):hover { color: var(--cream-ink); }

.section { padding: 4.2rem 0; }
.section-lede { max-width: 40rem; font-size: 1.08rem; line-height: 1.55; margin: 0 0 2rem; }

.eyebrow {
  color: var(--gold);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
  margin: 0 0 .85rem;
}
.eyebrow.dark { color: #8a6e3a; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 28, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--ink);
  flex-shrink: 0;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #1a1610;
  font-family: var(--display);
  font-size: 1.25rem;
}
.nav-links {
  display: flex;
  gap: 1.15rem;
  color: var(--muted);
  font-size: .92rem;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .78rem 1.2rem;
  font-weight: 650;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #1a1610; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.band-light .btn-ghost { border-color: var(--cream-line); color: var(--cream-ink); }
.btn:hover { transform: translateY(-1px); }

.hero { padding: 3.6rem 0 4rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
}
.lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 0 0 1.3rem;
}
.band-dark .hero-pricing {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-size: 1.02rem;
}
.hero-pricing strong { color: var(--gold); font-weight: 700; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.brand-line {
  margin: 1.6rem 0 0;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold) !important;
  letter-spacing: -.01em;
}

.browser-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .35);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .18);
}
.browser-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 239, 230, .25);
}
.browser-chrome span:nth-child(1) { background: #c9746a; }
.browser-chrome span:nth-child(2) { background: #d4b06a; }
.browser-chrome span:nth-child(3) { background: #6aa88a; }
.browser-chrome.slim { padding: .55rem .75rem; }
.browser-url {
  margin-left: .6rem;
  flex: 1;
  font-size: .72rem;
  color: var(--muted);
  background: rgba(0, 0, 0, .22);
  border-radius: 6px;
  padding: .28rem .55rem;
}
.browser-body { padding: 1.1rem; min-height: 280px; }
.mock-nav {
  height: 10px;
  width: 55%;
  border-radius: 999px;
  background: rgba(232, 194, 122, .35);
  margin-bottom: 1rem;
}
.mock-hero-block {
  height: 88px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(61, 155, 132, .35), rgba(232, 194, 122, .18));
  border: 1px solid var(--line);
  margin-bottom: .8rem;
}
.mock-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.mock-rows div {
  height: 54px;
  border-radius: 8px;
  background: rgba(244, 239, 230, .06);
  border: 1px solid var(--line);
}
.mock-caption {
  margin: 1rem 0 0 !important;
  font-size: .8rem !important;
  color: var(--muted) !important;
  text-align: center;
}

.examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}
.examples[data-count="1"] {
  grid-template-columns: minmax(0, 34rem);
  justify-content: center;
}
.examples[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.examples.odd-tail .example:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc((100% - 1.4rem) / 2);
}
.example {
  display: grid;
  gap: .85rem;
  min-width: 0;
}
.example-preview {
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-panel);
  aspect-ratio: 16 / 10;
  min-height: 0;
  position: relative;
}
.example-preview.has-shot {
  background-image: var(--shot);
  background-size: cover;
  background-position: top center;
}
.example-preview.has-shot .example-panel { display: none; }
.example-panel {
  padding: 1.4rem 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, rgba(16, 28, 25, .04), rgba(61, 155, 132, .12));
}
.example-mark {
  font-family: var(--display);
  font-size: 3rem;
  color: #8a6e3a !important;
  margin: 0 0 .4rem !important;
  line-height: 1;
}
.example-panel h3,
.example-meta h3 {
  margin: 0 0 .2rem;
  color: var(--cream-ink);
}
.example-cat {
  margin: 0 !important;
  font-size: .92rem !important;
}
.example-meta .tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: .7rem 0 0;
  padding: 0;
}
.tags li {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  padding: .28rem .65rem;
  color: var(--cream-ink);
  background: rgba(255, 255, 255, .45);
}
.example-link {
  display: inline-block;
  margin-top: .85rem;
  font-weight: 650;
  font-size: .95rem;
  color: #2a6b5c !important;
}
.example-link:hover { color: var(--cream-ink) !important; }
a.example-preview { color: inherit; display: block; }
a.example-preview:hover { transform: translateY(-2px); transition: transform .15s ease; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 1.4rem;
  margin-top: .5rem;
}
.value-item {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.value-item h3 { color: var(--ink); }
.value-item p { margin: 0; }

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: none;
}
.process li {
  display: grid;
  gap: .7rem;
  padding-top: 1rem;
  border-top: 2px solid var(--cream-line);
  position: relative;
}
.process-num {
  font-family: var(--display);
  font-size: 1.6rem;
  color: #8a6e3a;
  line-height: 1;
}
.process h3 { font-size: 1.15rem; }
.process p { margin: 0; font-size: .92rem; }

.product {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.2rem;
}
.product-main {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 1.7rem;
  background: rgba(23, 48, 43, .55);
}
.product-price { font-size: clamp(3rem, 6vw, 4.2rem); margin: .2rem 0 .6rem; }
.product-sub { margin: 0 0 1.2rem; max-width: 32rem; }
.price { font-family: var(--display); color: var(--gold); margin: .2rem 0; }
.band-light .price { color: #8a6e3a; }
.price-sm { font-size: 2rem; }
.price-sm span { font-size: 1rem; font-family: var(--sans); color: var(--muted); margin-left: .2rem; }
.fine { font-size: .85rem; color: var(--muted); }
.band-light .fine { color: var(--cream-muted); }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.checklist li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .55rem;
  height: .55rem;
  border-radius: 2px;
  background: var(--gold);
}
.product-aside { display: grid; gap: 1rem; }
.host-block {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.host-block h3 { margin-bottom: .2rem; }
.host-block p { margin: .35rem 0 0; }

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.module {
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--cream-line);
}
.module h3 { margin-bottom: .35rem; }
.module p { margin: 0 0 .55rem; }
.module-price {
  font-family: var(--display);
  font-size: 1.45rem;
  color: #8a6e3a !important;
  margin: .7rem 0 .2rem !important;
}

.preview-cta {
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(232, 194, 122, .16), transparent 60%),
    var(--bg);
}
.preview-inner { max-width: 40rem; margin: 0 auto; }
.preview-cta .section-lede { margin-left: auto; margin-right: auto; }
.preview-cta .hero-actions { justify-content: center; }

.estimate {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 1rem;
  align-items: start;
}
.estimate-result {
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  background: rgba(255, 255, 255, .4);
}
.estimate-result .price { margin-top: 0; color: #8a6e3a; }
.estimate-result ul { margin: .6rem 0 0; padding: 0; list-style: none; }
.estimate-result li {
  padding: .45rem 0;
  border-top: 1px solid var(--cream-line);
  color: var(--cream-muted);
  font-size: .92rem;
}
.steps { margin: 0; padding: 0; list-style: none; }

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}
.form-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.25rem;
  background: rgba(23, 48, 43, .55);
}
.form-narrow { max-width: 28rem; }
label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .7rem;
}
.band-light label { color: var(--cream-muted); }
input, textarea, select {
  width: 100%;
  margin-top: .3rem;
  border: 1px solid var(--line);
  background: #0f1c1a;
  color: var(--ink);
  border-radius: 10px;
  padding: .7rem .75rem;
  font: inherit;
}
.band-light input,
.band-light textarea,
.band-light select {
  background: #fff;
  color: var(--cream-ink);
  border-color: var(--cream-line);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
  color: var(--muted);
  font-size: .92rem;
}
.footer-inner strong { color: var(--ink); display: block; margin-bottom: .35rem; }
.footer-inner p { margin: 0; max-width: 22rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .9rem; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }

.wa-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  background: #25d366;
  color: #06210f;
  font-weight: 700;
  border-radius: 999px;
  padding: .85rem 1.1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.wa-fab:hover { transform: translateY(-1px); color: #06210f; }

@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .examples[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .examples[data-count="3"] .example:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 1.4rem) / 2);
  }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: #0f1a17;
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.2rem 1rem;
  }
  .nav-links a {
    padding: .75rem 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
  }
  body.nav-open .nav-links { display: flex; }
  .nav { position: relative; }
  .nav-cta { margin-left: auto; margin-right: .4rem; padding: .65rem .9rem; font-size: .9rem; }
  .hero-grid,
  .product,
  .contact,
  .estimate,
  .examples,
  .value-grid,
  .modules,
  .process { grid-template-columns: 1fr; }
  .examples[data-count="1"],
  .examples[data-count="3"] { grid-template-columns: 1fr; }
  .examples.odd-tail .example:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
  .hero { padding-top: 2.2rem; }
  h1 { max-width: none; }
  .browser-body { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .wa-fab:hover { transform: none; }
}
