/* BoldWeb homepage (demo, Nov 2026)
   Mobile-first: the plain rules are for phones; the @media (min-width: ...)
   blocks add the tablet and desktop layout on top.
   Colours live in the :root variables below, so the brand can be changed in one place. */

:root {
  --ink: #17211b;        /* near-black text */
  --ink-soft: #4a574f;   /* secondary text (6.6:1 on stone) */
  --moor: #1d3a29;       /* dark moorland green: hero, footer, buttons */
  --moor-2: #2a5139;     /* lighter moor for back hills */
  --moss: #2e6b45;       /* links, ticks (5.8:1 on stone) */
  --gorse: #f5b800;      /* gorse yellow: the bold accent */
  --gorse-hi: #ffcd3c;
  --stone: #f7f4ec;      /* limestone page background */
  --stone-2: #efe9dc;    /* alternate section background */
  --wall: #ddd5c3;       /* borders */
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(23 33 27 / .06), 0 10px 30px rgb(23 33 27 / .10);
  --wrap: 72rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 1.0625rem/1.6 var(--font); overflow-x: hidden; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--moss); text-underline-offset: .15em; }
a:hover { color: var(--ink); }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--gorse); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gorse); color: var(--ink); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15rem; height: 1.15rem; }
.btn-gorse { background: var(--gorse); color: var(--ink); }
.btn-gorse:hover { background: var(--gorse-hi); color: var(--ink); }
.btn-dark { background: var(--moor); color: var(--white); }
.btn-dark:hover { background: var(--ink); color: var(--white); }
.btn-outline { border-color: var(--moor); color: var(--moor); background: transparent; }
.btn-outline:hover { background: var(--moor); color: var(--white); }
.btn-ghost { border-color: rgb(247 244 236 / .55); color: var(--white); }
.btn-ghost:hover { background: rgb(247 244 236 / .12); color: var(--white); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(247 244 236 / .97); border-bottom: 1px solid var(--wall); }
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgb(247 244 236 / .88); backdrop-filter: blur(10px); }
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; min-height: 4rem; padding-block: .5rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; margin-right: auto; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
@media (min-width: 560px) { .logo { font-size: 1.35rem; } }
.logo:hover { color: var(--ink); }
.logo-mark { width: 2rem; height: 2rem; }
.logo-text span { color: var(--moss); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-start { display: none; }
/* On phones the call button is just the phone icon; the number shows from 560px up */
.btn-call { width: 2.75rem; padding: 0; }
.btn-call .call-number { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.menu-toggle { display: none; }
.js .menu-toggle {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .5rem .9rem;
  border: 2px solid var(--ink); border-radius: 999px; background: transparent;
  color: var(--ink); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
}
.menu-toggle svg { width: 1.2rem; height: 1.2rem; }

/* Without JavaScript the menu simply shows as a row of links */
.site-nav { order: 3; flex-basis: 100%; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .25rem 0 .75rem; display: grid; }
.site-nav a { display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--wall); color: var(--ink); font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--moss); }
.site-nav .nav-start a { border-bottom: 0; color: var(--moss); }

@media (min-width: 560px) {
  .btn-call { width: auto; padding: .5rem 1rem; }
  .btn-call .call-number { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
@media (min-width: 1000px) {
  .js .menu-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; order: 0; flex-basis: auto; margin-right: 1rem; }
  .site-nav ul { display: flex; gap: 1.5rem; padding: 0; }
  .site-nav a { padding: .5rem 0; border: 0; font-weight: 600; }
  .site-nav .nav-start { display: none; }
  .header-start { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 3rem 0 5.5rem;
  background: radial-gradient(60rem 30rem at 85% -10%, rgb(245 184 0 / .14), transparent 60%), var(--moor);
  color: var(--stone);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2rem; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.15rem, 4.5vw + 1.1rem, 3.75rem); }
.hl { color: var(--gorse); }
.lead { max-width: 38rem; font-size: 1.15rem; color: rgb(247 244 236 / .9); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 700; font-size: .98rem; }
.ticks li { display: flex; gap: .5rem; align-items: flex-start; }
.ticks svg { width: 1.25rem; height: 1.25rem; margin-top: .15rem; color: var(--gorse); }

.hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(48px, 8vw, 110px); display: block; }
.hill-back { fill: var(--moor-2); }
.hill-front { fill: var(--stone); }

/* Phone mock-up with chat bubbles (decorative) */
.hero-art { display: none; position: relative; width: min(100%, 360px); margin-inline: auto; padding: 1.25rem 0 1.5rem; }
.phone {
  width: 232px; margin-inline: auto; padding: 10px; border-radius: 36px;
  background: #0c130f; box-shadow: 0 30px 60px rgb(0 0 0 / .35), inset 0 0 0 2px rgb(255 255 255 / .08);
  transform: rotate(2deg);
}
.screen { display: block; width: 100%; height: auto; border-radius: 27px; background: var(--white); }

.bubble {
  position: absolute; max-width: 62%; margin: 0; padding: .6rem .85rem;
  border-radius: 16px; box-shadow: 0 12px 28px rgb(0 0 0 / .28);
  font-size: .92rem; line-height: 1.35; font-weight: 700;
  animation: pop .5s cubic-bezier(.2, .9, .3, 1.3) both;
}
.bubble small { display: block; margin-bottom: .15rem; font-size: .72rem; font-weight: 600; opacity: .7; }
.bubble-in { left: 0; top: 18%; background: var(--white); color: var(--ink); border-bottom-left-radius: 4px; animation-delay: .4s; }
.bubble-out { right: 0; bottom: 14%; background: var(--gorse); color: var(--ink); border-bottom-right-radius: 4px; animation-delay: 1.3s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .hero-art { display: block; }  /* phones skip the mock-up and get straight to the point */
  .phone { width: 250px; }
}
@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 7.5rem; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 3rem; }
  .hero-art { width: 380px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--stone-2); }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw + 1rem, 2.75rem); }
.section-head p:last-child { margin-bottom: 0; }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); }

/* Plans */
.plans { display: grid; gap: 1.75rem; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.5rem; border: 1px solid var(--wall); border-radius: var(--radius);
  background: var(--white);
}
.plan-featured { border: 3px solid var(--moor); box-shadow: var(--shadow); }
.plan h3 { margin-bottom: .3rem; font-size: 1.45rem; }
.price { display: flex; align-items: baseline; gap: .4rem; margin: .25rem 0 1.25rem; }
.price-amount { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.price-per { color: var(--ink-soft); font-weight: 700; }
.price:has(+ .price-alt) { margin-bottom: .2rem; }
.price-alt { margin-bottom: 1.25rem; color: var(--ink-soft); font-size: .95rem; }
.features { list-style: none; margin: 0 0 1.75rem; padding: 1.25rem 0 0; border-top: 1px solid var(--wall); display: grid; gap: .75rem; }
.features li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .65rem; }
.features svg { width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--moss); }
.features small { display: block; margin-top: .15rem; color: var(--ink-soft); font-size: .9rem; }
.features .not-included { color: var(--ink-soft); }
.features .not-included svg { color: var(--ink-soft); }
.plan .btn { margin-top: auto; }
.small-print { max-width: 52rem; margin: 1.75rem 0 0; color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 1000px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
  .plan-featured { margin-top: -.75rem; margin-bottom: -.75rem; }
}

/* Examples */
.examples { display: grid; gap: 1.25rem; }
/* The whole card is one link: the name's link stretches over it */
.example { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--wall); border-radius: var(--radius); background: var(--white); transition: transform .15s, box-shadow .15s; }
.example:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.example:focus-within { outline: 3px solid var(--moss); outline-offset: 3px; }
.example-body { padding: 1.25rem 1.5rem 1.5rem; }
.example h3 { margin-bottom: .15rem; font-size: 1.25rem; }
.example h3 a { color: var(--ink); text-decoration: none; }
.example h3 a::after { content: ""; position: absolute; inset: 0; }
.example h3 a:focus-visible { outline: none; }
.example:hover h3 a { color: var(--moss); text-decoration: underline; }
.example .where { margin: 0; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.tag { display: inline-block; margin-bottom: .7rem; padding: .2rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tag-free { background: #e1eee5; color: #1f4d30; }
.tag-allin { background: var(--moor); color: var(--white); }
.tag-book { background: var(--gorse); color: var(--ink); }
@media (min-width: 700px) {
  .examples { grid-template-columns: 1fr 1fr; }
}

/* Screenshot of each example site on a phone, cropped to its top half */
.shot-stage { display: flex; justify-content: center; padding: 1.25rem 1.25rem 0; background: linear-gradient(180deg, var(--stone-2), #e6dfcf); }
.shot { display: block; width: 13rem; height: auto; border-radius: 18px 18px 0 0; box-shadow: 0 10px 30px rgb(23 33 27 / .16); }

/* About */
.about { display: grid; gap: 1.75rem; align-items: center; }
.portrait { margin: 0; max-width: 10rem; }
.portrait-art { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 24px; background: var(--moor); }
.portrait-initial { position: absolute; inset: 0 0 25%; display: grid; place-items: center; color: var(--gorse); font-size: 5rem; font-weight: 800; line-height: 1; }
.portrait-hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 40%; }
.portrait-photo { display: block; width: 100%; height: auto; border-radius: 24px; }
.about-copy { max-width: 40rem; font-size: 1.12rem; }
.about-copy h2 { font-size: clamp(1.8rem, 3vw + 1rem, 2.75rem); }
.about-copy p:last-child { margin-bottom: 0; }
@media (min-width: 760px) {
  .about { grid-template-columns: 14rem 1fr; gap: 3rem; }
  .portrait { max-width: none; }
  .portrait-initial { font-size: 7rem; }
}

/* FAQ */
.faq { max-width: 50rem; border-top: 1px solid var(--wall); }
.faq details { border-bottom: 1px solid var(--wall); }
.faq summary {
  position: relative; padding: 1.1rem 2.75rem 1.1rem 0;
  font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--stone-2); color: var(--moor); font-size: 1.4rem; font-weight: 600; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; background: var(--gorse); }
.faq summary:hover { color: var(--moss); }
.faq details > div { padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 44rem; }
.faq details > div p { margin: 0; }

/* Get started */
.start { display: grid; gap: 2rem; }
.start-copy h2 { font-size: clamp(1.8rem, 3vw + 1rem, 2.75rem); }
.start-copy > p { font-size: 1.12rem; color: var(--ink-soft); }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.contact-list a {
  display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem;
  border: 1px solid var(--wall); border-radius: var(--radius-sm); background: var(--white);
  color: var(--ink); font-weight: 800; text-decoration: none;
}
.contact-list a:hover { border-color: var(--moss); }
.contact-list svg { width: 1.5rem; height: 1.5rem; color: var(--moss); }

.form-card { padding: 1.5rem 1.25rem; border: 1px solid var(--wall); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label, fieldset legend { display: block; margin-bottom: .35rem; font-weight: 700; }
.hint { color: var(--ink-soft); font-weight: 500; font-size: .9rem; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  border: 2px solid var(--wall); border-radius: var(--radius-sm); background: var(--white);
  color: var(--ink); font: inherit;
}
input:focus, textarea:focus { border-color: var(--moss); outline: 3px solid rgb(46 107 69 / .25); outline-offset: 0; }
textarea { min-height: 7rem; resize: vertical; }
fieldset { min-width: 0; margin: 0 0 1.1rem; padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice label {
  display: block; height: 100%; padding: .65rem .8rem;
  border: 2px solid var(--wall); border-radius: var(--radius-sm);
  font-weight: 700; line-height: 1.3; cursor: pointer;
}
.choice label:hover { border-color: var(--moss); }
.choice input:checked + label { border-color: var(--moor); background: #eaf2ec; box-shadow: inset 0 0 0 1px var(--moor); }
.choice input:focus-visible + label { outline: 3px solid var(--moss); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: var(--radius-sm); background: #fff4cc; font-weight: 600; }
.form-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: .9rem; }

@media (min-width: 640px) {
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .form-card { padding: 2rem; }
}
@media (min-width: 1000px) {
  .start { grid-template-columns: 2fr 3fr; gap: 3.5rem; align-items: start; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 2.5rem 0 1.5rem; background: var(--ink); color: rgb(247 244 236 / .82); font-size: .95rem; }
.site-footer a { color: var(--stone); }
.site-footer a:hover { color: var(--gorse); }
.site-footer .logo { color: var(--white); }
.site-footer .logo-text span { color: var(--gorse); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-base { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgb(247 244 236 / .15); font-size: .85rem; }
.footer-base p { margin: 0; }

/* ---------- Simple inner pages (thanks, privacy) ---------- */
.page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page .wrap { max-width: 46rem; }
.page h1 { font-size: clamp(2rem, 3vw + 1rem, 2.75rem); }
.page h2 { margin-top: 2rem; font-size: 1.35rem; }
.page ul { padding-left: 1.25rem; }
.page li { margin-bottom: .35rem; }

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