/* ===== Design tokens ===== */
:root {
  --brand-900: #143D2E;
  --brand-800: #1F5A43;
  --brand-600: #2E7A5B;
  --brand-100: #E8F1EC;
  --accent: #E0A93B;
  --accent-dark: #C48F25;
  --ink: #1A1F1C;
  --text: #4B5550;
  --muted: #7A847F;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F5;
  --border: #E2E6E3;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(20, 61, 46, 0.10);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-800); }
img, svg { display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8em;
}
.eyebrow.dark { color: var(--brand-600); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head.light h2 { color: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; text-align: center;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-800); color: #fff; }
.btn-primary:hover { background: var(--brand-900); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 500;
  color: var(--brand-800); text-decoration: none;
}
.logo strong { font-weight: 700; }
.logo-mark { width: 34px; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--ink); text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--brand-600); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-600) 100%);
  color: rgba(255,255,255,.85);
  padding: 80px 0 110px;
}
.hero-art { position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; }
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.hero h1 span { color: var(--accent); }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-points li { position: relative; padding-left: 26px; font-weight: 700; color: #fff; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8l3 3 5-6' stroke='%231A1F1C' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Forms ===== */
.offer-card, .contact-form {
  background: #fff; color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px;
}
.offer-card { box-shadow: 0 25px 60px rgba(0,0,0,.25); }
.offer-card h2 { font-size: 1.45rem; margin-bottom: .2em; }
.form-note { color: var(--muted); font-size: .95rem; }
label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 14px; }
.optional { font-weight: 400; color: var(--muted); }
input, textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-alt);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus {
  outline: none; background: #fff;
  border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(46,122,91,.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hidden-field { display: none; }
.form-status { margin: 12px 0 0; font-weight: 700; color: var(--brand-600); min-height: 1em; }

/* ===== Features ===== */
.features { margin-top: -50px; position: relative; z-index: 2; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; border-top: 4px solid var(--accent);
}
.feature p { margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--brand-100); display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg, .contact-list svg, .letter-icon svg {
  width: 26px; height: 26px; fill: none; stroke: var(--brand-800);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual svg { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }

/* ===== Comparison ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-family: var(--font-head); font-size: .95rem; background: var(--ink); color: #fff; }
.compare-table thead th.us { background: var(--brand-800); }
.compare-table tbody th { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.compare-table td.us { background: var(--brand-100); color: var(--brand-900); font-weight: 700; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }

.example { margin-top: 60px; text-align: center; }
.example-note { color: var(--muted); font-size: .9rem; }
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; text-align: left; }
.example-col { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.example-col.us { border: 2px solid var(--brand-600); box-shadow: var(--shadow); }
.example-col h4 { font-size: 1.1rem; }
.example-col dl { margin: 0; }
.example-col dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.example-col dd { margin: 0; font-weight: 700; color: var(--ink); }
.example-col dd.neg { color: #B4443A; }
.net { margin: 18px 0 0; font-size: 1.1rem; }
.net strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.example-col.us .net strong { color: var(--brand-800); }

/* ===== Promise ===== */
.promise-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.list-card { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; }
.check, .cross { list-style: none; padding: 0; margin: 0; }
.check li, .cross li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check li::before, .cross li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 20px; height: 20px; border-radius: 50%;
  background-position: center; background-repeat: no-repeat; background-size: 12px;
}
.check li::before {
  background-color: var(--brand-800);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' stroke='white' stroke-width='2.4' fill='none'/%3E%3C/svg%3E");
}
.cross li::before {
  background-color: #F3DCD9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='%23B4443A' stroke-width='2.4'/%3E%3C/svg%3E");
}

/* ===== Process ===== */
.dark-section { background: var(--brand-900); color: rgba(255,255,255,.78); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li {
  position: relative; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 24px;
}
.steps h3 { color: #fff; }
.steps p { margin: 0; font-size: .98rem; }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px;
}

/* ===== Letter ===== */
.letter { padding: 70px 0; }
.letter-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  background: var(--brand-100); border-radius: 18px; padding: 40px;
}
.letter-inner h2 { font-size: 1.6rem; }
.letter-inner p { margin: 0; }
.letter-icon { width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.letter-icon svg { width: 32px; height: 32px; }

/* ===== FAQ ===== */
.faq-list details {
  background: #fff; border-radius: 10px; margin-bottom: 12px;
  border: 1px solid var(--border); transition: box-shadow .2s;
}
.faq-list details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; transition: transform .2s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 24px 20px; margin: 0; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-weight: 700; color: var(--ink); }
.contact-list svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--brand-100); }
.contact-list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand-600); }
.contact-form { border: 1px solid var(--border); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.logo-light { color: #fff; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:not(.logo) { color: rgba(255,255,255,.75); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:not(.logo):hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; padding-bottom: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hero-inner, .about-grid, .promise-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-visual { max-width: 520px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-call { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 50px 0 90px; }
  .feature-grid, .example-grid, .lists, .steps, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .offer-card, .contact-form { padding: 24px; }
  .letter-inner { grid-template-columns: 1fr; text-align: left; padding: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

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

/* ===== Comparison table: compact on phones ===== */
@media (max-width: 720px) {
  .table-wrap { overflow: visible; }
  .compare-table { min-width: 0; table-layout: fixed; }
  .compare-table th, .compare-table td {
    padding: 10px 8px; font-size: .8rem; line-height: 1.35;
    vertical-align: top;
  }
  .compare-table thead th { font-size: .75rem; vertical-align: bottom; }
  .compare-table tbody th { font-size: .78rem; }
  .compare-table th:first-child { width: 30%; padding-left: 12px; }
}
@media (max-width: 360px) {
  .compare-table th, .compare-table td { font-size: .72rem; padding: 9px 6px; }
  .compare-table th:first-child { padding-left: 10px; width: 35%; }
}
