:root {
  --paper: #f6f3ec;
  --paper-2: #ece6da;
  --ink: #1b1f1d;
  --ink-soft: #4a514d;
  --line: #d6cfc1;
  --accent: #f2a516;
  --accent-ink: #1b1f1d;
  --deep: #18302a;
  --deep-soft: #24443b;
  --white: #ffffff;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffb52e; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-light { border-color: rgba(255,255,255,.5); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.25rem; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--deep); color: var(--accent);
  display: grid; place-items: center;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; color: var(--accent-ink); }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 mark { background: linear-gradient(transparent 60%, var(--accent) 60%); color: inherit; padding: 0 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--ink-soft); }

/* Phone mock: shows the SMS summary the craftsman receives */
.phone {
  background: var(--deep);
  border-radius: 34px;
  padding: 18px;
  box-shadow: 0 30px 60px -30px rgba(24, 48, 42, 0.6);
  max-width: 360px;
  margin-left: auto;
  transform: rotate(2deg);
}
.phone-screen { background: var(--paper); border-radius: 22px; padding: 22px 18px; }
.phone-top { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 16px; }
.bubble {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 16px;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.bubble strong { display: block; margin-bottom: 4px; }
.bubble .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  background: var(--accent); border-radius: 999px; padding: 2px 9px; margin-bottom: 8px;
}
.bubble-me { background: var(--deep); color: var(--white); border: none; border-radius: 16px 16px 4px 16px; margin-left: 40px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; transform: none; }
}

/* Problem band */
.band { background: var(--deep); color: var(--white); }
.band .eyebrow { color: var(--accent); }
.band p { color: #cfd9d4; }
.calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; background: var(--deep-soft); border-radius: var(--radius); overflow: hidden; }
.calc div { background: var(--deep); padding: 28px; }
.calc .num { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--accent); line-height: 1; }
.calc .label { margin-top: 10px; color: #cfd9d4; font-size: 0.95rem; }
.calc-note { margin-top: 14px; font-size: 0.85rem; color: #9fb1a9; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: 22px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 0.95rem; color: var(--ink-soft);
  display: block; margin-bottom: 10px;
}
.step p { color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { background: var(--paper-2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; align-items: stretch; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--deep); position: relative; }
.plan .badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--accent); font-size: 0.75rem; font-weight: 800;
  padding: 4px 12px; border-radius: 999px;
}
.plan .price { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.3rem; font-weight: 800; line-height: 1; margin: 14px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.plan .setup { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: 0.97rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--deep); }
.plan .btn { justify-content: center; }
.pricing-note { margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.trust-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.trust-item p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary {
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.08rem;
  display: flex; justify-content: space-between; gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 14px 0 0; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--deep); color: var(--white); }
.contact .eyebrow { color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact p { color: #cfd9d4; }
.contact ul { padding-left: 20px; color: #cfd9d4; }
form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); }
.consent input { width: auto; margin-top: 4px; }
.hidden { position: absolute; left: -9999px; }
form .btn { width: 100%; justify-content: center; margin-top: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: 36px 0; font-size: 0.9rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer nav { display: flex; gap: 22px; }

/* Legal pages */
.legal { padding: 64px 0 96px; max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal .placeholder { background: #fff3d1; padding: 0 4px; border-radius: 4px; }
