:root {
  --ink: #17202a;
  --ink-soft: #3d4a58;
  --muted: #6b7885;
  --paper: #f7f5f0;
  --paper-alt: #efece3;
  --line: #ddd8cc;
  --brand: #7a2e2e;
  --brand-deep: #5c2020;
  --accent: #b98a3a;
  --white: #fffdf9;
  --ok: #2f6f4f;
  --warn: #9a5b1e;
  --danger: #8a2b2b;
  --shadow: 0 1px 2px rgba(23, 32, 42, 0.05), 0 8px 28px rgba(23, 32, 42, 0.08);
  --radius: 10px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--brand);
  color: var(--white);
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand-name {
  font-family: "Fraunces", serif;
  font-size: 19px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--brand);
  text-decoration: none;
}
.nav-cta {
  padding: 7px 14px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: var(--brand) !important;
}
.nav-cta:hover {
  background: var(--brand);
  color: var(--white) !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.06s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--brand-deep);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink-soft);
}
.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

/* Hero */
.hero {
  background:
    radial-gradient(
      1000px 500px at 80% -10%,
      rgba(185, 138, 58, 0.14),
      transparent 60%
    ),
    linear-gradient(180deg, var(--paper), var(--paper-alt));
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  padding: 84px 24px 76px;
  max-width: 900px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand);
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* Sections */
.section {
  padding: 78px 0;
}
.section-alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin: 0 0 16px;
  max-width: 760px;
}
.section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 36px;
}

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.card-num {
  font-family: "Fraunces", serif;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.card h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
}
.card p {
  color: var(--ink-soft);
  margin: 0 0 12px;
  font-size: 15.5px;
}
.card-deliverable {
  font-size: 13.5px !important;
  color: var(--muted) !important;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 0 !important;
}

/* Why-now facts */
.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.facts li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  padding: 18px 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.facts strong {
  color: var(--ink);
}
.disclaimer-inline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* Demo form */
.exposure-form {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin-bottom: 12px;
}
.exposure-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.exposure-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(122, 46, 46, 0.12);
}
.form-hint {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 8px;
}

/* Results */
.results {
  margin-top: 28px;
  max-width: 860px;
}
.result-status {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}
.result-status.loading {
  border-left: 3px solid var(--accent);
}
.result-status.error {
  border-left: 3px solid var(--danger);
  color: var(--danger);
}
.result-interpretation {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--ink);
}
.result-domain {
  font-family: "Fraunces", serif;
  font-weight: 600;
}
.crawl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.crawl {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 18px 16px;
}
.crawl-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.crawl-id {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.crawl-count {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand);
}
.crawl-count.zero {
  color: var(--ok);
}
.crawl-label {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.crawl-samples {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.crawl-samples li {
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crawl-samples .ts {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.crawl-note {
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
  margin-top: 8px;
}
.crawl.err {
  border-left: 3px solid var(--warn);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.steps li {
  display: flex;
  gap: 16px;
}
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-family: "Fraunces", serif;
  font-size: 18px;
}
.steps h3 {
  font-size: 1.2rem;
  margin: 4px 0 6px;
}
.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.tier {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.tier-featured {
  border-color: var(--brand);
  box-shadow: 0 10px 34px rgba(122, 46, 46, 0.16);
}
.tier-flag {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--brand);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.tier h3 {
  font-size: 1.3rem;
  margin: 0 0 10px;
}
.tier-price {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0 0 6px;
}
.tier-price span {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}
.tier-desc {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 16px;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.tier li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* CTA */
.section-cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.cta-inner {
  max-width: 720px;
}
.section-cta h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 14px;
}
.section-cta p {
  color: #c9cdd3;
  font-size: 1.08rem;
  margin: 0 0 26px;
}
.cta-alt {
  font-size: 14.5px !important;
  margin: 20px 0 0 !important;
}
.cta-alt a {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: #10161d;
  color: #9aa3ac;
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-family: "Fraunces", serif;
  font-size: 17px;
}
.footer-note {
  font-size: 13px;
  max-width: 760px;
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .cards,
  .pricing {
    grid-template-columns: 1fr;
  }
  .facts,
  .steps {
    grid-template-columns: 1fr;
  }
  .site-nav {
    gap: 16px;
  }
  .site-nav a:not(.nav-cta) {
    display: none;
  }
}
@media (max-width: 560px) {
  .section {
    padding: 56px 0;
  }
  .hero-inner {
    padding: 60px 24px 52px;
  }
  .exposure-form {
    flex-direction: column;
  }
}
