/* ============================================================
   MendMySite — styles
   Theme tokens (accent + corner radius) are the two knobs the
   design exposes; everything else keys off them.
   ============================================================ */

:root {
  --accent: #0e7a5c;
  --accent-dark: #0a5c46;
  --accent-light: #6fcbb0;
  --radius: 10px;

  --bg: #fbfaf8;
  --ink: #1c1b19;
  --muted: #55524c;
  --faint: #8a867e;
  --line: #eceae4;
  --line-strong: #dedbd4;

  --dark-bg: #17211d;
  --dark-card: #1d2924;
  --dark-border: #2c3a34;
  --dark-btn-border: #3d4d45;
  --dark-text: #f4f3ef;
  --dark-muted: #c4cec8;
  --dark-faint: #a8b5ae;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::placeholder {
  color: #a3a09a;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 40px);
  padding-right: clamp(20px, 5vw, 40px);
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 22px clamp(20px, 5vw, 40px);
}

.logo,
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo {
  font-size: 20px;
}

.logo-accent {
  border-bottom: 2px dashed var(--accent);
  padding-bottom: 1px;
}

.nav-cta {
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 110px) clamp(20px, 5vw, 40px) clamp(48px, 8vw, 90px);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef4f1;
  color: var(--accent-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 auto 22px;
  max-width: 780px;
  text-wrap: balance;
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16.5px;
  border-radius: var(--radius);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding: 15px 30px;
  box-shadow: 0 1px 2px rgba(14, 60, 46, 0.25);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.btn-secondary {
  color: var(--ink);
  padding: 15px 26px;
  border: 1.5px solid var(--line-strong);
}

.btn-secondary:hover {
  border-color: #b9b5ac;
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 44px);
  justify-content: center;
  margin-top: 52px;
  color: #6b675f;
  font-size: 14.5px;
  font-weight: 500;
}

/* ---------- Shared section bits ---------- */

.eyebrow {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.eyebrow-light {
  color: var(--accent-light);
}

.eyebrow-center {
  text-align: center;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  font-weight: 700;
}

/* ---------- What we fix ---------- */

.fixes-band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fixes-band .container {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.fixes-title {
  max-width: 520px;
}

.fixes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.fix-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}

.fix-num {
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.fix-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fix-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- How it works ---------- */

.steps {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.step-n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.step-line {
  flex: 1;
  height: 1px;
  border-top: 2px dashed var(--line-strong);
}

.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Pricing ---------- */

.pricing-band {
  background: var(--dark-bg);
  color: var(--dark-text);
}

.pricing-band .container {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.pricing-title {
  color: #ffffff;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.tier {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--dark-card);
  display: flex;
  flex-direction: column;
}

.tier-featured {
  border-color: var(--accent);
}

.tier h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--dark-faint);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #ffffff;
}

.tier p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dark-muted);
  flex: 1;
}

.tier-btn {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  padding: 12px;
  border-radius: var(--radius);
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--dark-btn-border);
  transition: opacity 0.15s ease;
}

.tier-btn:hover {
  opacity: 0.88;
  color: #ffffff;
}

.tier-btn-solid {
  background: var(--accent);
  border-color: var(--accent);
}

.pricing-note {
  text-align: center;
  margin: 32px 0 0;
  font-size: 15px;
  color: var(--dark-faint);
}

/* ---------- Contact ---------- */

.contact {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 40px);
}

.contact-title {
  text-align: center;
  margin-bottom: 12px;
}

.contact-sub {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 36px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 2px 12px rgba(28, 27, 25, 0.04);
}

/* Honeypot — must stay invisible to humans */
.botcheck {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #3a3833;
}

.quote-form input,
.quote-form textarea {
  font-family: inherit;
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg);
  color: var(--ink);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 122, 92, 0.12);
}

.form-submit {
  font-family: inherit;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 16.5px;
  padding: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.form-submit:hover {
  background: var(--accent-dark);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.form-fineprint {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

.form-success {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
  text-align: center;
}

.form-error {
  margin: 0;
  font-size: 14px;
  color: #b4530a;
  text-align: center;
}

.quote-form.is-sent > :not(.form-success) {
  display: none;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--faint);
  font-size: 14px;
}

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