:root {
  --ink: #12261f;
  --ink-soft: #4a5d56;
  --brand: #1f6b52;
  --brand-dark: #154b3a;
  --accent: #e9a23b;
  --bg: #fbfaf6;
  --tint: #f1efe6;
  --line: #e2dfd3;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 38, 31, .08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h1 em { font-style: italic; color: var(--brand); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }
.lead, .section__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 620px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--brand); color: var(--white); font-weight: 600; text-decoration: none; border: 2px solid var(--brand); cursor: pointer; font: inherit; font-weight: 600; transition: background .2s, transform .2s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: var(--white); }
.btn--small { padding: 9px 18px; font-size: .95rem; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.logo span { color: var(--ink); }
.logo .logo__light { font-weight: 400; color: var(--brand); }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav__menu a:not(.btn):hover { color: var(--brand); }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 80px 0 96px; background: radial-gradient(1000px 500px at 85% 10%, #e3efe8 0%, transparent 60%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero__chips li { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-soft); }

.dash { background: var(--white); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.dash__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 12px; }
.dash__pill { font-size: .72rem; background: var(--tint); padding: 3px 10px; border-radius: 999px; color: var(--ink-soft); font-weight: 500; }
.dash__row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; align-items: center; }
.dash__row span:first-child { color: var(--ink-soft); }
.up, .down { font-size: .8rem; font-weight: 600; color: var(--brand); min-width: 64px; text-align: right; }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 20px; }
.dash__bars i { flex: 1; background: linear-gradient(180deg, var(--brand), #3e9a78); border-radius: 6px 6px 2px 2px; }
.dash__bars i:last-child { background: var(--accent); }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #e8efe9; }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .section__lead { color: #b9c9c0; }
.section--dark a { color: var(--accent); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e3efe8; color: var(--brand); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.card p { color: var(--ink-soft); }
.card ul, .plan ul { list-style: none; padding: 0; margin: 0; }
.card li, .plan li { position: relative; padding-left: 22px; margin: 6px 0; font-size: .94rem; }
.card li::before, .plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.why__list li { background: var(--white); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); color: var(--ink-soft); }
.why__list strong { color: var(--ink); display: block; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { border-top: 3px solid var(--brand); padding-top: 20px; }
.steps span { font-family: var(--serif); font-size: 2rem; color: var(--accent); font-weight: 600; }
.steps p { color: var(--ink-soft); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan p { color: var(--ink-soft); }
.plan ul { margin-bottom: 28px; flex: 1; }
.plan__price { font-family: var(--serif); font-size: 2.4rem; color: var(--ink) !important; font-weight: 600; margin: 4px 0 8px; }
.plan__price span { font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); font-weight: 400; }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan__tag { position: absolute; top: -13px; left: 32px; background: var(--accent); color: var(--ink) !important; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__mail { margin-top: 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #1b352c; padding: 32px; border-radius: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 500; }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid #355a4b; background: #12261f; color: #fff; }
.form input::placeholder { color: #6f8a7f; }
.form button { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.form button:hover { background: #f2b65a; border-color: #f2b65a; }
.form__status { margin: 0; min-height: 1.4em; font-size: .92rem; }
.form [aria-invalid="true"] { border-color: #ef8a7a; }

/* Talk to us modal */
.hidden-field { position: absolute; left: -9999px; }
.modal { border: 0; padding: 0; border-radius: 20px; width: min(440px, 100% - 32px); box-shadow: 0 30px 80px rgba(18, 38, 31, .3); background: var(--white); color: var(--ink); }
.modal::backdrop { background: rgba(18, 38, 31, .55); backdrop-filter: blur(3px); }
.modal__form { position: relative; display: grid; gap: 14px; padding: 32px; }
.modal__form h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0; }
.modal__form .eyebrow { margin: 0; }
.modal__sub { color: var(--ink-soft); margin: 0 0 4px; }
.modal__form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 500; }
.modal__form input { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.modal__form input[aria-invalid="true"] { border-color: #d9604c; }
.modal__close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 4px 8px; }
.modal__close:hover { color: var(--ink); }
.modal .form__status { color: var(--brand); font-weight: 500; }
button.btn { font-family: var(--sans); }

/* Footer */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { color: var(--ink); text-decoration: none; }
.footer__legal { grid-column: 1 / -1; font-size: .8rem; margin: 16px 0 0; }
.logo--footer { margin-bottom: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .why, .contact { grid-template-columns: 1fr; gap: 40px; }
  .cards, .pricing { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav__menu.open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 16px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .cards, .pricing, .steps, .form { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
