/* GreenElephantOnline: white, dark grey, one green */
:root {
  --white: #ffffff;
  --ink: #2b302d;
  --muted: #545c57;
  --line: #8a938e;
  --hairline: #dde2df;
  --green: #0a6b3b;
  --green-dark: #07522d;
  --green-tint: #edf6f0;
  --error: #a1261b;
  --display: Bahnschrift, "DIN Alternate", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}

a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

p { margin: 0 0 1em; }

[hidden] { display: none !important; }

h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 700; }

h1 { margin: 0 0 .4em; font-size: clamp(2.5rem, 8vw, 4.25rem); line-height: 1.04; letter-spacing: -.01em; }

h2 { margin: 0 0 .6em; font-size: clamp(1.75rem, 4.5vw, 2.5rem); line-height: 1.12; }

h3 { margin: 0 0 .35em; font-size: 1.3125rem; line-height: 1.2; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.narrow > * { max-width: 720px; }

.section { margin-top: 72px; }

.section-tight { margin-top: 32px; }

.lead { max-width: 34em; color: var(--muted); font-size: 1.1875rem; }

.note { color: var(--muted); font-size: .9375rem; }

.skip { position: absolute; left: -9999px; }

.skip:focus { left: 16px; top: 16px; z-index: 10; padding: 8px 16px; border-radius: 999px; background: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font: 700 1.0625rem/1.3 var(--body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { border-color: var(--green-dark); background: var(--green-dark); color: var(--white); }

.btn[disabled] { opacity: .7; cursor: progress; }

.btn-outline { background: var(--white); color: var(--green); }

.btn-small { min-height: 44px; padding: 8px 18px; font-size: 1rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.actions + p { margin-top: 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--hairline); }

.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }

.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 700 1.25rem/1.2 var(--display); text-decoration: none; }

.brand:hover { color: var(--ink); }

.brand-icon { flex: none; color: var(--green); }

.site-nav { order: 3; display: flex; flex-wrap: wrap; gap: 0 18px; width: 100%; }

.site-nav a { padding: 8px 0; color: var(--ink); font-weight: 600; text-decoration: none; }

.site-nav a:hover { color: var(--green); }

.site-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Hero */
.hero { display: grid; gap: 40px; padding-top: 48px; }

.callog { margin: 0; padding: 20px; border: 1px solid var(--hairline); border-radius: 24px; }

.callog figcaption { margin-bottom: 14px; color: var(--muted); font-size: .9375rem; }

.callog time { display: block; margin-top: 4px; font-size: .8125rem; opacity: .8; }

.callog-missed {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  font-weight: 700;
}

.callog-missed time { margin: 0; color: var(--muted); }

.bubble { max-width: 88%; margin-bottom: 10px; padding: 10px 14px; border-radius: 18px; line-height: 1.4; }

.bubble-out { margin-left: auto; border-bottom-right-radius: 4px; background: var(--green); color: var(--white); }

.bubble-in { margin-bottom: 0; border-bottom-left-radius: 4px; background: var(--green-tint); }

/* Content blocks */
.ruled-columns { display: grid; gap: 24px; }

.ruled-columns > div { padding-top: 14px; border-top: 3px solid var(--ink); }

.ruled-columns p, .card p:last-child, .steps p { margin-bottom: 0; }

.cards { display: grid; gap: 16px; }

.card { padding: 24px; border: 1px solid var(--hairline); border-radius: 18px; }

.steps { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }

.steps li { position: relative; padding-left: 56px; counter-increment: step; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font: 700 1.125rem/1 var(--display);
}

.table-wrap { overflow-x: auto; }

.compare { width: 100%; min-width: 440px; border-collapse: collapse; }

.compare th, .compare td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }

.compare thead th { border-bottom: 3px solid var(--ink); font: 700 1.125rem/1.25 var(--display); }

.compare thead td { border-bottom: 3px solid var(--ink); }

.compare-cards { display: none; gap: 12px; }

.compare-cards dl { margin: 0; }

.compare-cards dl div + div { margin-top: 10px; }

.compare-cards dt { color: var(--muted); font-size: .9375rem; }

.compare-cards dd { margin: 0; font-weight: 600; }

.compare-cards + .note { margin-top: 12px; }

@media (max-width: 599px) {
  .table-wrap { display: none; }
  .compare-cards { display: grid; }
}

.promise { padding: clamp(28px, 6vw, 56px); border-radius: 24px; background: var(--green); color: var(--white); }

.promise h2 { margin-bottom: .4em; color: var(--white); font-size: 1.25rem; }

.promise p { max-width: 22em; margin: 0; font: 700 clamp(1.875rem, 5vw, 3rem)/1.12 var(--display); }

details { border-top: 1px solid var(--hairline); }

details:last-of-type { border-bottom: 1px solid var(--hairline); }

summary { padding: 14px 0; font-weight: 600; cursor: pointer; }

details p { padding-bottom: 4px; }

.final-cta { margin-bottom: 24px; }

.details-list { margin: 0; }

.details-list div { padding: 12px 0; border-top: 1px solid var(--hairline); }

.details-list div:last-child { border-bottom: 1px solid var(--hairline); }

.details-list dt { color: var(--muted); font-size: .9375rem; }

.details-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Inner pages */
.page-head { padding-top: 48px; }

.switcher { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 0; padding: 0; border: 0; }

.switcher legend { float: left; margin-right: 8px; padding: 8px 0; font-weight: 600; }

.switcher label { cursor: pointer; }

.switcher input { position: absolute; opacity: 0; }

.switcher span { display: block; padding: 8px 18px; border: 2px solid var(--green); border-radius: 999px; color: var(--green); font-weight: 700; }

.switcher input:checked + span { background: var(--green); color: var(--white); }

.switcher input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

.price-card h3 { margin-bottom: .3em; font-size: 1.375rem; }

.price { margin-bottom: .4em; color: var(--green); font: 700 2.75rem/1.1 var(--display); font-variant-numeric: tabular-nums; }

.price small { color: var(--muted); font-size: 1.0625rem; font-weight: 600; }

.prose h2 { margin: 1.5em 0 .4em; font-size: 1.5rem; }

.prose ul { padding-left: 1.2em; }

.draft-note { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--green-tint); font-weight: 700; }

/* Forms */
.form { margin-top: 32px; }

.field { margin-bottom: 20px; }

.field label { display: block; margin-bottom: 6px; font-weight: 600; }

.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: 500 1.0625rem/1.4 var(--body);
}

.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }

.check input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--green); }

.trap { position: absolute; left: -9999px; }

.message { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--green); background: var(--green-tint); }

.message:empty { display: none; }

.message.is-error { border-left-color: var(--error); color: var(--error); background: var(--white); }

/* Footer */
.site-footer { margin-top: 80px; padding: 24px 0; border-top: 1px solid var(--hairline); color: var(--muted); font-size: .9375rem; }

.site-footer p { margin-bottom: 6px; overflow-wrap: anywhere; }

@media (min-width: 760px) {
  .ruled-columns, .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .steps li { padding: 56px 0 0; }
}

@media (min-width: 900px) {
  .header-row { flex-wrap: nowrap; }
  .site-nav { order: 0; width: auto; margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 56px; padding-top: 72px; }
  .section { margin-top: 96px; }
}
