/* =========================================================
   TOKENS: set these per client. All other CSS should use them.
   ========================================================= */
:root {
  --bg: #eef3f0;
  --surface: #ffffff;
  --ink: #1f2421;
  --muted: #59615c;
  --line: #dce3df;
  --brand: #23584f;
  --brand-dark: #1a4640;
  --brand-ink: #ffffff;

  --font-head: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --radius: 6px;
  --max: 1120px;
}

/* =========================================================
   RESET AND BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }
.skip-link:focus { left: 8px; }

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

/* =========================================================
   SITE STYLES: build below this line
   ========================================================= */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow > * { max-width: 760px; }

h1 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 20px; }
h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 24px; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  background: var(--brand);
  color: var(--brand-ink);
  border: 2px solid var(--brand);
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; white-space: nowrap; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--brand-ink); }
.btn-light { background: var(--surface); color: var(--brand); border-color: var(--surface); }
.btn-light:hover { background: var(--bg); border-color: var(--bg); color: var(--brand-dark); }
.text-link { font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  margin: 0;
}
.logo span { color: var(--brand); }
.site-nav { display: none; }
.header-call { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; white-space: nowrap; }
.call-full { display: none; }
.header-inner .btn-small { display: none; }

@media (min-width: 480px) {
  .header-inner .btn-small { display: inline-flex; }
}

/* Hero */
.hero { padding: 48px 0 8px; }
.hero-grid { display: grid; gap: 40px; }
.lead { font-size: 1.15rem; max-width: 640px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero-note { color: var(--muted); margin: 28px 0 0; }

.chat { display: grid; gap: 12px; align-content: center; }
.bubble { max-width: 85%; margin: 0; padding: 14px 18px; border-radius: 18px; font-size: 1.05rem; line-height: 1.4; }
.bubble-them { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-me { justify-self: end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 4px; }

/* Sections: sage and white take turns */
.section { padding: 56px 0; }
.section-tint { background: var(--surface); }
.section-intro { max-width: 640px; margin: -8px 0 28px; }

/* Sound familiar? */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.quotes li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
}
.after-quotes { font-size: 1.1rem; margin: 28px 0 0; max-width: 640px; }

/* Steps: a real sequence, so they're numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li {
  counter-increment: step;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.steps p, .included p, .example-text > p { margin: 0; color: var(--muted); }

/* Prices */
.price-cards { display: grid; gap: 20px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.price-card-main { border: 2px solid var(--brand); }
.price { margin: 0 0 16px; color: var(--muted); }
.price strong { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--ink); }
.price s { display: block; font-size: .95rem; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; flex-grow: 1; }
.ticks li { padding: 6px 0 6px 28px; position: relative; border-top: 1px solid var(--line); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.price-card .btn { align-self: flex-start; }
.price-notes { margin: 28px 0 0; padding-left: 20px; }

/* What's included: the domain is the main point, the rest a plain list */
.included { display: grid; gap: 32px; }
#included h2 { margin-bottom: 36px; }
.included-lead h3 { font-size: clamp(1.5rem, 5vw, 2.4rem); font-weight: 800; line-height: 1.1; color: var(--brand); margin: 0 0 12px; }
.included-lead p { font-size: 1.15rem; max-width: 460px; color: var(--ink); }
.included-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.included-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.included-list h3 { font-size: 1.1rem; margin: 0 0 4px; }

/* Examples: one wide feature block */
.example {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.example-screen { padding: 16px 16px 0; background: var(--bg); }
.example-shot { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 360px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.example-text { padding: 24px; }
.example-text h3 { font-size: 1.5rem; }
.example-text h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 20px 0 8px; }
.example-text .ticks { margin: 0; }
.example-text .example-link { margin-top: 20px; font-weight: 600; color: var(--ink); }
.example-link a { display: inline-flex; align-items: center; min-height: 44px; }
.examples-note { color: var(--muted); font-size: .95rem; margin: 16px 0 0; }

/* About */
.about { display: grid; gap: 28px; }
.about p { max-width: 640px; }

/* Questions */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 12px;
  font-size: 1.6rem;
  color: var(--brand);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Contact */
.section-brand { background: var(--brand); color: var(--brand-ink); }
.section-brand a { color: var(--brand-ink); }
.contact { display: grid; gap: 28px; }
.contact-form {
  display: grid;
  gap: 6px;
  background: var(--brand-dark);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.contact-form label { font-weight: 600; margin-top: 10px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}
.contact-form .btn { justify-self: start; margin-top: 8px; }
.form-note { font-size: .95rem; margin: 12px 0 0; }
.contact-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 8px; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }
.contact h3 { margin-top: 28px; }
.botcheck { display: none; }

/* Footer */
.site-footer { padding: 36px 0; color: var(--muted); }
.footer-inner p { margin: 0 0 8px; }
.footer-inner a { display: inline-block; padding: 10px 0; }

/* Privacy page */
.page { padding: 48px 0 64px; }
.page h2 { font-size: 1.4rem; margin: 32px 0 8px; }

/* =========================================================
   WIDER SCREENS
   ========================================================= */
@media (min-width: 700px) {
  .quotes { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .quotes li:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .price-cards { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
}

@media (min-width: 960px) {
  .logo { font-size: 1.25rem; }
  .site-nav { display: flex; gap: 28px; margin-left: auto; }
  .header-call { margin-left: 8px; }
  .call-short { display: none; }
  .call-full { display: inline; }
  .site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
  .site-nav a:hover { color: var(--brand); }
  .hero { padding: 88px 0 16px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
  .section { padding: 88px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .example { grid-template-columns: 1fr 1fr; }
  .example-screen { padding: 32px; display: flex; align-items: center; }
  .example-shot { aspect-ratio: 4 / 3; max-height: 340px; }
  .example-text { padding: 40px; align-self: center; }
  .contact { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 56px; }
}
