/* Sites by AA. Mobile-first, no build step. */

:root {
  --green: #0b5d3b;
  --green-dark: #073d27;
  --green-soft: #e4efe8;
  --ink: #14201a;
  --muted: #4d5a53;
  --paper: #fbfaf6;
  --tint: #f2f0e8;
  --line: #dcd9cd;
  --white: #fff;
  --radius: 14px;
  --font: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue");
  size-adjust: 108%;
  ascent-override: 100%;
  descent-override: 21%;
  line-gap-override: 0%;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 108%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 76px; /* room for the sticky button */
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 8.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

a { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 80px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: inherit; font-weight: 700; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 246, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--green); color: var(--white);
  border-radius: 9px; font-size: .82rem; font-weight: 800; letter-spacing: 0;
}
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 2px; }
.nav a:hover { color: var(--green); }

/* Hero */
.hero { padding: 44px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 700; color: var(--green);
  margin-bottom: 18px;
}
.pin { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.underline { background: linear-gradient(transparent 68%, #bfe3cd 68%, #bfe3cd 94%, transparent 94%); }
.lead { font-size: 1.2rem; color: var(--muted); margin: 20px 0 28px; max-width: 34ch; }
.hero-note { margin-top: 16px; font-size: .95rem; color: var(--muted); }

/* Phone illustration */
.phone {
  width: min(100%, 330px); margin: 0 auto;
  background: var(--ink); border-radius: 38px; padding: 10px;
  box-shadow: 0 30px 60px -28px rgba(11, 61, 39, .55);
  transform: rotate(2deg);
}
.phone-screen {
  background: var(--white); border-radius: 29px; padding: 16px 14px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.phone-top {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid #eceae2;
  font-size: .78rem; font-weight: 700; color: var(--muted);
}
.phone-avatar {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: var(--white); font-size: .8rem; font-weight: 800;
}
.bubble {
  align-self: flex-start; max-width: 88%;
  background: #edece6; color: var(--ink);
  padding: 10px 14px; border-radius: 18px 18px 18px 5px;
  font-size: .92rem; line-height: 1.4;
}
.bubble-link { padding: 0; overflow: hidden; width: 88%; border-radius: 18px; }
.link-thumb { display: block; background: var(--green); padding: 12px; }
.thumb-bar { display: block; width: 40%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.thumb-hero { display: block; width: 78%; height: 14px; border-radius: 4px; background: var(--white); margin: 14px 0 12px; }
.thumb-row { display: flex; gap: 6px; }
.thumb-row i { flex: 1; height: 26px; border-radius: 5px; background: rgba(255, 255, 255, .22); }
.link-meta { display: block; padding: 10px 14px 12px; }
.link-meta strong { display: block; font-size: .9rem; }
.link-meta span { font-size: .8rem; color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.kicker {
  font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.section h2 { max-width: 20ch; margin-bottom: 36px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Included */
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.included li {
  position: relative; padding: 14px 0 14px 40px;
  font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--line);
}
.included li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 26px; transform: translateY(-50%);
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Pricing */
.price-grid { display: grid; gap: 16px; }
.price-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
}
.price-card-main { border: 2px solid var(--green); box-shadow: 0 20px 40px -30px rgba(11, 61, 39, .6); }
.price-card p { color: var(--muted); }
.price-card .btn { margin-top: auto; }
.price-card .price { color: var(--ink); margin: 2px 0 4px; }
.price-amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-term { font-weight: 700; color: var(--muted); }
.price-note { margin-top: 24px; font-weight: 700; }

/* Examples */
.example-grid { display: grid; gap: 16px; }
.example-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.example-card img { width: 100%; border-bottom: 1px solid var(--line); }
.example-body { padding: 18px 20px 20px; }
.example-label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.text-link { display: inline-block; margin-top: 8px; padding: 8px 0; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--green-soft); color: var(--green);
  font-size: 1.3rem; font-weight: 500; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); }

/* Contact */
.section-dark { background: var(--green-dark); color: var(--white); }
.section-dark .kicker { color: #9fd6b6; }
.section-dark h2 { margin-bottom: 14px; }
.contact-grid { display: grid; gap: 36px; }
.contact-copy > p { color: #d5e6dc; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list span { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fd6b6; }
.contact-list a { color: var(--white); font-size: 1.3rem; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.section-dark :focus-visible { outline-color: var(--white); }

.contact-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 24px 20px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid #8b958f; border-radius: 10px; background: var(--white);
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--green-soft); border-color: var(--green); }
.contact-form :focus-visible { outline-color: var(--green); }
.form-note { font-size: .88rem; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d3cd; padding: 28px 0; font-size: .95rem; }
.site-footer strong { color: var(--white); }
.footer-inner { display: grid; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: #c9d3cd; padding: 6px 0; }
.site-footer :focus-visible { outline-color: var(--white); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; border-radius: 999px;
  background: var(--green); color: var(--white);
  font-weight: 800; font-size: 1.08rem; text-decoration: none;
  box-shadow: 0 10px 26px -8px rgba(7, 61, 39, .7), 0 0 0 3px rgba(251, 250, 246, .9);
  transition: transform .25s, opacity .25s;
}
.sticky-cta.is-hidden { transform: translateY(90px); opacity: 0; pointer-events: none; }
.header-cta { display: none; }

/* Tablet and up */
@media (min-width: 640px) {
  .btn-row { flex-direction: row; }
  .steps, .example-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .included { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .contact-form { padding: 32px; }
}

/* Desktop */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .header-cta { display: inline-flex; }
  .nav { display: flex; gap: 26px; }
  .hero { padding: 88px 0 100px; }
  .hero-grid { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 56px; }
  .lead { font-size: 1.35rem; }
  .section { padding: 104px 0; }
  .section h2 { margin-bottom: 48px; }
  .section-dark h2 { margin-bottom: 14px; }
  .step { padding: 32px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .footer-inner { display: flex; justify-content: space-between; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
