/* Pikni site. Look of the old piknichildcare.com: Montserrat, navy #101828 text, slate body copy, pill buttons, white
   cards, blob hero art, full-colour bands. Each user type has its own accent (body.t-<role>). Text >= 15px everywhere. */
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #101828; --text: #4a5565; --muted: #6a7282; --line: #e5e7eb; --soft: #f9fafb; --ok: #0e9f6e;
  --pink: #ff637e; --sky: #00a6f4; --sky-soft: #e8f7fe; --yellow: #f0df8a;
  --c: #ff637e; --c-soft: #fff1f3; --c-on: #101828;
  --radius: 16px; --pill: 999px; --shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --fs: 16px; --fs-small: 15px;
}
.t-parent, .t-site { --c: #ff637e; --c-soft: #fff1f3; --c-on: #101828; --dot-a: #6ab0ff; --dot-b: #ff637e; }
.t-centre { --c: #00a6f4; --c-soft: #e8f7fe; --c-on: #101828; --dot-a: #f0df8a; --dot-b: #ff637e; }
.t-home   { --c: #f5a524; --c-soft: #fff6e5; --c-on: #101828; --dot-a: #00a6f4; --dot-b: #ff637e; }
.t-agency { --c: #6d4aff; --c-soft: #f1edff; --c-on: #ffffff; --dot-a: #f0df8a; --dot-b: #00a6f4; }
.t-ece    { --c: #12b76a; --c-soft: #e8f8f0; --c-on: #101828; --dot-a: #f0df8a; --dot-b: #ff637e; }
/* Babysitters teal, nannies deep orange (Jay B7). Ink text on the accent: 4.74:1 (teal), 4.99:1 (orange). */
.t-sitter { --c: #0d9488; --c-soft: #e6f7f5; --c-on: #101828; --dot-a: #f5a524; --dot-b: #ff637e; }
.t-nanny  { --c: #ea580c; --c-soft: #fff1e8; --c-on: #101828; --dot-a: #0d9488; --dot-b: #f0df8a; }
/* Section role tint (review 3 E): a step deeper than --c-soft so it reads as clearly not-white; body text, muted text
   (#5d6676 inside the band) and the eyebrows below all pass WCAG AA (>= 4.5:1) on it. */
.t-parent { --c-band: #ffe9ed; } .t-centre { --c-band: #e3f5fd; } .t-home { --c-band: #fff0d9; }
.t-agency { --c-band: #eee9ff; } .t-ece { --c-band: #e3f6ec; } .t-sitter { --c-band: #d9f2ee; } .t-nanny { --c-band: #ffe7d6; }
.band--rt { background: var(--c-band, var(--c-soft)); --muted: #5d6676; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Montserrat", system-ui, sans-serif; color: var(--text); font-size: var(--fs); line-height: 1.6; background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 3.9vw, 52px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(25px, 2.5vw, 34px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
[id] { scroll-margin-top: 84px; }
.eyebrow { color: var(--c); font-weight: 800; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.t-parent .eyebrow { color: #c4103a; } /* AA on white and on the role tint */
.t-agency .eyebrow { color: #5b3df0; }
.t-home .eyebrow { color: #9a5b00; }
.t-ece .eyebrow { color: #08753f; }
.t-centre .eyebrow { color: #0072a8; }
.t-sitter .eyebrow { color: #0f766e; } /* 4.66:1 on the teal band */
.t-nanny .eyebrow { color: #b23a07; }  /* 5.04:1 on the orange band */
.lead { font-size: 19px; }
.note { font-size: var(--fs-small); color: var(--muted); }
.source { font-size: var(--fs-small); color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: var(--fs-small); font-weight: 700; border-radius: var(--pill);
  padding: 13px 24px; cursor: pointer; border: 1.5px solid transparent; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.btn--accent { background: var(--ink); color: #fff; }
.btn--accent:hover { background: #26324a; }
.btn--primary { background: var(--c); color: var(--c-on); }
.btn--primary:hover:not(:disabled) { filter: brightness(.94); }
.btn--primary:disabled { opacity: .55; cursor: default; }
/* Secondary: 100% white fill, dark text, a border that shows on white, grey and tinted bands (Jay, review 2). */
.btn--ghost { background: #fff; color: var(--ink); border-color: #667085; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--link { background: none; border: 0; padding: 8px 4px; color: var(--muted); text-decoration: underline; font-weight: 600; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 28px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top > .wrap { max-width: none; padding: 0 32px; } /* full-width row: logo 32px from the left edge and the CTA 32px from the right at every width, like the old site */
.top--nocta .menu-btn { margin-left: auto; }
.top__row { display: flex; align-items: center; height: 72px; gap: 20px; }
.logo img { display: block; }
.menu-btn { display: none; }
.nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: center; }
.nav > a, .drop > summary { text-decoration: none; color: var(--text); font-size: var(--fs-small); font-weight: 600; cursor: pointer; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav > a:hover, .drop > summary:hover { color: var(--ink); }
.nav > a[aria-current="page"], .drop.is-active > summary { color: var(--ink); border-bottom-color: var(--c); }
.drop { position: relative; }
.drop > summary { list-style: none; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin: 0 0 3px 8px; }
.drop__list { position: absolute; top: 40px; left: -16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 8px; display: grid; min-width: 250px; }
.drop__list a { padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: var(--fs-small); color: var(--ink); }
.drop__list a:hover, .drop__list a[aria-current="page"] { background: var(--c-soft); }
.top__cta { margin-left: auto; }
/* Wide screens: three columns so the nav sits in the true centre of the viewport, logo far left, CTA far right */
@media (min-width: 1181px) {
  .top__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .top__row > .logo { justify-self: start; }
  .top__row > .nav { grid-column: 2; }
  .top__cta { grid-column: 3; justify-self: end; margin-left: 0; }
}

/* Hero */
.hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--c-soft) 0%, #fff 60%); } /* ends 100% white */
.hero--plain { padding: 56px 0 24px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__text .note { margin-top: 14px; }
.art { position: relative; aspect-ratio: 600 / 520; max-width: 600px; justify-self: end; width: 100%; }
.art__blob { position: absolute; inset: 8% 0 0 0; width: 100%; height: 92%; }
.art img { position: absolute; left: 10%; bottom: 0; width: 80%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom; }
.art__dot { position: absolute; border-radius: 50%; }
.art__dot--a { width: 56px; height: 56px; left: 6%; top: 6%; background: var(--dot-a); }
.art__dot--b { width: 80px; height: 80px; right: 4%; top: 4%; background: var(--dot-b); border-radius: 22px; }
.chipcards { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chipcards li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 16px 56px; position: relative; display: grid; }
.chipcards li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 8px; background: var(--c); }
.chipcards li::after { content: ""; position: absolute; left: 25px; top: 24px; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.chipcards strong { color: var(--ink); }
.chipcards span { font-size: var(--fs-small); color: var(--muted); }

/* Talk (chat section) */
.band { padding: 80px 0; }
.band--soft { background: #f3f4f6; }
.band--tint { background: var(--c-soft); }
.talk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px; align-items: start; }
.talk__text h2 { margin-top: 14px; }
.talk__steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0 24px; display: grid; gap: 14px; }
.talk__steps li { counter-increment: s; position: relative; padding-left: 48px; color: var(--ink); font-weight: 600; min-height: 34px; display: flex; align-items: center; }
.talk__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--c-on);
  font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Chat */
.chat { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 28px 64px rgba(16, 24, 40, .18), 0 6px 16px rgba(16, 24, 40, .08); display: flex; flex-direction: column;
  height: min(620px, calc(100vh - 110px)); min-height: 480px; overflow: hidden; }
.chat__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; background: var(--c-soft); }
.chat__name { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.chat__name img { display: block; }
.chat__ai { background: var(--c); color: var(--c-on); font-weight: 800; font-size: 15px; line-height: 1; padding: 5px 9px; border-radius: 8px; letter-spacing: .04em; }
.chat__cheer { margin-left: auto; font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.chat__cheer.pop { animation: pop .5s ease-out; }
@keyframes pop { 0% { transform: scale(.7); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.chat__bar { height: 6px; background: var(--c-soft); border-bottom: 1px solid var(--line); }
.chat__bar span { display: block; height: 100%; width: 0; background: var(--c); border-radius: 0 6px 6px 0; transition: width .6s ease;
  background-image: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); background-size: 60px 100%; background-repeat: no-repeat;
  animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { 0% { background-position: -60px 0; } 100% { background-position: 110% 0; } }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.chat__step { font-size: var(--fs-small); color: var(--muted); font-weight: 600; }
.chat__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 8px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.chat__log::-webkit-scrollbar { display: none; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: var(--fs); line-height: 1.45; white-space: pre-line; }
.msg { animation: msgin .35s ease-out; }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg--bot { background: var(--c-soft); color: var(--ink); border-top-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--c); color: var(--c-on); border-top-right-radius: 4px; align-self: flex-end; font-weight: 600; }
.msg--note { background: var(--sky-soft); color: var(--ink); align-self: flex-start; }
.msg--typing { color: var(--muted); }
.chat__card { border-top: 1px solid var(--line); padding: 14px 18px 18px; }
.chat__hint { margin: 0 0 8px; font-size: var(--fs-small); line-height: 1.4; color: var(--muted); font-weight: 500; }
.msg--note a { color: var(--ink); text-decoration: underline; }
.chat__noscript { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: var(--fs-small); font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--pill);
  padding: 9px 16px; cursor: pointer; text-align: left; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--c-soft); border-color: var(--c); }
.chip:hover { background: var(--c-soft); }
.chip--role { width: 100%; border-radius: 12px; padding: 12px 16px; }
.chip--main { border-color: var(--c); background: var(--c-soft); }
.amount-row { margin-top: 10px; }
.amount-row .input { max-width: 240px; }
.chip--mine { border-color: var(--c); background: var(--c-soft); position: relative; animation: nudge 1.6s ease-in-out 3; }
.chip--mine::after { content: ""; position: absolute; inset: -5px; border-radius: 15px; border: 2px solid var(--c); opacity: 0; animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(.98); } 100% { opacity: 0; transform: scale(1.04); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(4px); } 40% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .chip--mine, .chip--mine::after, .msg, .chat__cheer.pop, .chat__bar span { animation: none; transition: none; } .chip--mine::after { opacity: 1; } }
.row { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.row .btn { padding: 11px 22px; }
/* Buttons never underlined (Jay): the chat's text buttons (Back, Start over, Something else) are padded, no underline */
.row .btn--link { text-decoration: none; padding: 11px 14px; border-radius: var(--pill); color: var(--ink); }
.row .btn--link:hover { background: var(--c-soft); }
.row .btn--link:first-child { margin-left: -14px; }

/* "Prefer to talk? Call" inside the chat card, bottom right of the button row (Jay 2026-11-24) */
.chat { container-type: inline-size; }
.chat__call { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; }
.chat__talk { color: var(--muted); font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.row .chat__call .btn { padding: 10px 18px; display: inline-flex; align-items: center; gap: 8px; }
@container (max-width: 470px) { .chat__talk { display: none; } }
/* narrow cards: icon-only Call (the link keeps its aria-label) */
@container (max-width: 400px) { .chat__call-txt { display: none; } .row .chat__call .btn { padding: 10px 12px; } }
/* busy rows (Back / Send / Skip / Start over): just "Call", so it stays on the same row */
.row:has(> :nth-child(4)) .chat__talk { display: none; }
/* Call on a computer (review 22 + 24): the chat goes to focused mode and this card sits centred over the message
   area (chat.js sets --call-top); phones keep the tel: link and never see it */
.chat { position: relative; }
.call { position: absolute; z-index: 5; inset-inline: 0; margin-inline: auto; top: var(--call-top, 50%); width: min(400px, calc(100% - 36px)); box-sizing: border-box;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px 20px; box-shadow: 0 24px 56px rgba(16, 24, 40, .28), 0 4px 12px rgba(16, 24, 40, .1);
  color: var(--ink); animation: msgin .2s ease-out; }
.call:focus { outline: none; }
.call__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.call__num { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .01em; user-select: all; }
.call__x { flex: none; font: inherit; font-size: 28px; line-height: 1; width: 36px; height: 36px; margin: -6px -8px 0 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; }
.call__x:hover { background: var(--c-soft); }
.call__x:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; }
.call__line, .call__note { margin: 8px 0 0; font-size: var(--fs-small); line-height: 1.45; }
.call__note { color: var(--muted); }
.call__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.call__row .btn { padding: 10px 18px; }
.call__copy.is-done { background: var(--ok); color: var(--ink); }
.call__status, .call__tmp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .call { animation: none; } }

/* Focused chat (Jay 2026-11-24): centred dialog over a dim scrim once the visitor starts; chat.js moves it (FLIP) */
.chat__close { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: var(--fs-small); font-weight: 700; color: var(--ink);
  background: #fff; border: 1.5px solid #667085; border-radius: var(--pill); padding: 8px 14px; cursor: pointer; }
.chat__close:hover { border-color: var(--ink); }
.chat__close[hidden] { display: none; }
.chat__step { white-space: nowrap; }
@container (max-width: 430px) { .chat__close { padding: 8px 10px; } .chat__close span { display: none; } }
html.chat-open, html.chat-open body { overflow: hidden; }
html.chat-lock body { position: fixed; top: var(--lock-top); inset-inline: 0; }
/* the sticky header stays where it was while the body is pinned (relative offset: no layout shift) */
html.chat-lock .top { position: relative; top: calc(-1 * var(--lock-top)); }
.chat-scrim { touch-action: none; position: fixed; inset: 0; z-index: 60; background: rgba(16, 24, 40, .6); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.chat-scrim.is-on { opacity: 1; pointer-events: auto; }
.chat.chat--focus { position: fixed; z-index: 61; inset: 0; margin: auto; width: min(560px, calc(100vw - 32px)); height: min(680px, calc(100vh - 48px));
  min-height: 0; box-shadow: 0 32px 80px rgba(16, 24, 40, .35); }
@media (max-width: 560px) {
  .chat.chat--focus { width: calc(100vw - 16px); height: calc(var(--vvh, 100dvh) - 16px); top: calc(var(--vvt, 0px) + 8px); bottom: auto; margin: 0 auto; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .chat-scrim { transition: none; } }
.input { font: inherit; font-size: var(--fs); width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.input:focus, .chip:focus-visible, .btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; }
textarea.input { resize: none; min-height: 48px; max-height: 120px; }
.field { display: grid; gap: 6px; margin-bottom: 10px; }
.field label { font-weight: 700; color: var(--ink); font-size: var(--fs-small); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.agree { margin: 6px 0 0; font-size: var(--fs-small); color: var(--muted); } /* >= 15px (Jay) */
.err { color: #c0262d; font-size: var(--fs-small); font-weight: 600; margin: 8px 0 0; }
.grid { display: grid; grid-template-columns: 46px repeat(4, 1fr); gap: 4px; font-size: var(--fs-small); }
.grid span { font-weight: 700; color: var(--ink); display: flex; align-items: center; }
.grid .grid__h { justify-content: center; font-weight: 600; color: var(--muted); }
.cell { font: inherit; font-size: var(--fs-small); border: 1.5px solid var(--line); border-radius: 8px; background: #fff; height: 30px; cursor: pointer; }
.cell[aria-pressed="true"] { background: var(--c); border-color: var(--c); }
.ts { margin-top: 10px; min-height: 0; }
/* Map card */
.map { height: 190px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; margin-bottom: 10px; background: var(--soft); }
.map .leaflet-control-attribution { font-size: 11px; }
.place-row { display: flex; gap: 8px; }
.place-row .input { flex: 1; }
.place-found { font-size: var(--fs-small); color: var(--ink); font-weight: 600; margin: 8px 0 0; min-height: 1.4em; }
.place-list:not(:empty) { margin-top: 8px; }
/* Directory search results (centre / agency name card) */
.pick-list { display: grid; gap: 8px; }
.pick-list:not(:empty) { margin-top: 8px; }
.pick { font-weight: 500; padding: 10px 14px; }
.pick-status:empty { display: none; }

/* Reality / pains */
.pains { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: #fff; border: 2px solid var(--c); border-radius: var(--radius); padding: 24px; }
.pain h3 { font-size: 20px; }
.pain p { margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps p { margin: 0; }
.steps__n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--c-on); font-weight: 800; align-items: center;
  justify-content: center; margin-bottom: 14px; }

/* Is / is not, features */
.isnot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.isnot__col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.isnot__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.isnot__col li { padding-left: 30px; position: relative; color: var(--ink); }
.isnot__col--no li::before { content: "\00d7"; position: absolute; left: 4px; top: -2px; font-weight: 800; color: #c0262d; font-size: 20px; }
.isnot__col--yes { background: var(--c-soft); border-color: transparent; }
.isnot__col--yes li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--c); }
.isnot__col--yes li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.features li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 24px 64px; position: relative; }
.features li::before { content: ""; position: absolute; left: 22px; top: 26px; width: 26px; height: 26px; border-radius: 8px; background: var(--c); }
.features li::after { content: ""; position: absolute; left: 29px; top: 32px; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.features p { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--c); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }

/* Media splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phone-art { position: relative; aspect-ratio: 1; max-width: 520px; }
.phone-art__rainbow { position: absolute; inset: 0; width: 100%; opacity: .9;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 96%), linear-gradient(to top, transparent 0, #000 25%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 55%, transparent 96%), linear-gradient(to top, transparent 0, #000 25%); mask-composite: intersect; }
.phone-art__phone { position: absolute; left: 4%; bottom: 0; width: 92%; }
/* "Your search, in your inbox": the hands rest on the section's bottom edge (no bottom padding under the art) */
.band.band--art { padding-bottom: 0; }
.split--art { align-items: end; }
.split--art .phone-art { align-self: end; }
.split--art .split__text { align-self: center; padding-bottom: 80px; }
.photo img { border-radius: 28px; display: block; }

/* Price fact */
.price { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; }
.price__fig { background: var(--c-soft); border-radius: 24px; padding: 36px; text-align: center; color: var(--ink); font-weight: 700; }
.price__big { display: block; font-size: 72px; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.price-sum { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.price-sum h2 { max-width: 700px; margin: 0; }
.price-sum .cta-row { margin-top: 0; }

/* Full-colour urgency band */
.urgent { background: var(--c); color: var(--c-on); padding: 64px 0; }
.urgent h2, .urgent p { color: var(--c-on); }
.urgent p { font-size: 18px; margin: 0; }
.urgent__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.urgent__row > div { max-width: 760px; }

/* Old-site layouts: grey bands, centred headings */
.band--grey { background: #f3f4f6; }
.center { text-align: center; }
.mx { margin-left: auto; margin-right: auto; }
.cta-row--center { justify-content: center; }
.plans { list-style: none; padding: 0; margin: 44px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
/* Each card spans 4 shared rows (title block, price line, button, ticks) via subgrid, so price lines, buttons and
   dividers line up across a row even when one title wraps to two lines. */
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 740px; }
.plans--1 { grid-template-columns: minmax(0, 1fr); max-width: 380px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px 26px; position: relative; display: grid; grid-row: span 4;
  grid-template-rows: subgrid; row-gap: 0; align-content: start;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.plan--hi { border: 2px solid var(--c); box-shadow: 0 14px 34px rgba(16, 24, 40, .13); }
.plan__badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--c); color: var(--c-on); font-size: 15px; font-weight: 700;
  padding: 4px 14px; border-radius: var(--pill); white-space: nowrap; }
.plan h3 { font-size: 24px; margin: 0 0 4px; }
.plan__sub { color: var(--muted); font-size: var(--fs-small); margin: 0 0 14px; }
.plan__head { align-self: start; }
.plan__price { font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.25; margin: 0 0 18px; align-self: end; }
.plan__btn { width: 100%; align-self: start; }
.checks { list-style: none; padding: 22px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.checks li { position: relative; padding-left: 30px; font-size: var(--fs-small); line-height: 1.45; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--c); box-sizing: border-box; }
.checks li::after { content: ""; position: absolute; left: 5.5px; top: 6.5px; width: 7px; height: 3.5px; border-left: 2px solid var(--c); border-bottom: 2px solid var(--c); transform: rotate(-45deg); }
.ticks--card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; gap: 14px; }
.terms-row { list-style: none; padding: 0; margin: 28px 0 0; display: flex; justify-content: center; gap: 12px 32px; flex-wrap: wrap; color: var(--ink); font-weight: 700; font-size: var(--fs-small); }

/* FAQ (old site: centred list on grey, white items with a highlighted border and shadow) */
.faqwrap { text-align: center; }
.faqwrap h2 { margin-bottom: 28px; }
.faq { max-width: 780px; margin: 0 auto; text-align: left; }
.faq details { background: #fff; border: 1.5px solid #d6dae1; border-radius: 12px; padding: 16px 22px; margin-bottom: 12px; box-shadow: 0 3px 10px rgba(16, 24, 40, .08); }
.faq details[open], .faq details:hover { border-color: var(--c); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; }
.more a { font-weight: 700; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.tabs a { text-decoration: none; font-weight: 700; font-size: var(--fs-small); padding: 10px 18px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; }
.faqsec { margin-bottom: 56px; }
.faqsec h2 { display: flex; align-items: center; gap: 12px; }
.faqsec h2::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 40px auto 0; max-width: 1000px; }
.contact__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact__item h3 { font-size: 24px; margin: 14px 0 8px; }
.contact__item p { margin: 0 0 10px; max-width: 300px; }
.contact__icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact__icon--mail { background: #f5b800; } .contact__icon--phone { background: #ff637e; } .contact__icon--chat { background: #7c7cf8; }
.contact__link { font-weight: 400; font-size: 17px; color: #0b6fc4; text-decoration: none; padding: 4px 0; }
.outline-btn { display: inline-block; background: #fff; color: var(--ink); border: 1px solid #d0d5dd; border-radius: var(--pill); padding: 9px 20px; font-size: var(--fs);
  font-weight: 500; text-decoration: none; }
.outline-btn:hover { border-color: var(--ink); }
.contact__link:hover { text-decoration: underline; }

/* Story */
.story-hero { align-items: center; }
.story-hero__img { margin: 0; justify-self: end; width: 100%; max-width: 600px; }
.story-hero__img img { display: block; width: 100%; height: auto; aspect-ratio: 1138 / 794; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; }
.story__text p { font-size: 17px; }
.story blockquote { margin: 28px 0; padding: 24px 28px; background: var(--c-soft); border-radius: var(--radius); font-size: 20px; font-weight: 700; color: var(--ink); }
.sig { font-weight: 700; color: var(--ink); }
.timeline { list-style: none; padding: 0 0 0 28px; margin: 0; border-left: 3px solid var(--c-soft); display: grid; gap: 28px; align-content: start; }
.timeline li { position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: 1px; width: 22px; height: 22px; border-radius: 7px; background: var(--c); }
.timeline li::after { content: ""; position: absolute; left: -34px; top: 6px; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.timeline strong { color: var(--ink); }

/* Blog */
.posts { display: grid; gap: 24px; }
.post-card { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.post-card img { border-radius: 12px; display: block; aspect-ratio: 16/9; object-fit: cover; }
.post-card h2 { font-size: 24px; }
.post-card h2 a { text-decoration: none; }
.badge { background: #fff3cd; color: #7a5a00; border-radius: 6px; padding: 2px 8px; font-size: 15px; text-transform: none; letter-spacing: 0; }
.article { font-size: 17px; }
.band--grey .article { background: #fff; border-radius: 20px; padding: 36px 40px; }
.article h2 { margin-top: 36px; font-size: 26px; }
.article__img { border-radius: 20px; display: block; margin-bottom: 28px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article__cta { margin-top: 48px; background: var(--c-soft); border-radius: 20px; padding: 32px; }
.empty { text-align: center; padding: 48px 16px; display: grid; justify-items: center; gap: 4px; }
.empty__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--c-soft); color: var(--ink); font-size: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }

/* Footer */
.foot { background: #f3f4f6; color: var(--text); padding: 48px 0 24px; font-size: var(--fs-small); border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #5d6676; /* AA on the grey footer */ font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.foot__grid > div > a { display: block; color: var(--text); text-decoration: none; padding: 4px 0; }
.foot__grid > div > a:hover, .foot__legal a:hover { color: var(--ink); text-decoration: underline; }
.foot__brand img { width: 99px; height: auto; display: block; }
.foot__brand p { margin: 14px 0; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d0d5dd; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--c-soft); border-color: var(--c); }
.foot__base { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot__base p { margin: 0; }
.foot__legal { display: flex; gap: 20px; }
.foot__legal a { color: var(--text); text-decoration: none; }

/* Plain pages (privacy, 404) */
.page { padding-bottom: 24px; max-width: 820px; }
.page h2 { font-size: 22px; margin-top: 28px; }

@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .top__row { gap: 14px; }
}
@media (max-width: 1080px) {
  .menu-btn { display: flex; flex-direction: column; gap: 5px; padding: 12px; cursor: pointer; border: 0; background: none; border-radius: 10px; order: 3; }
  .menu-btn span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }
  .nav { display: none; }
  .nav.is-open { display: grid; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 24px 20px; gap: 0; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .nav.is-open > a, .nav.is-open .drop > summary { padding: 12px 0; font-size: 16px; border: 0; }
  .nav.is-open .drop { grid-column: 1 / -1; }
  .drop .drop__list { position: static; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; grid-template-columns: 1fr 1fr; }
  .top__cta { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero__grid, .talk, .split, .price, .story { grid-template-columns: 1fr; }
  .art { justify-self: center; max-width: 480px; }
  .pains, .steps, .chipcards, .contact, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 520px; gap: 28px; }
  .split--art .phone-art { order: 2; }
  .split--art .split__text { padding-bottom: 8px; }
  .story-hero__img { justify-self: center; }
  .features, .isnot { grid-template-columns: 1fr; }
  .chat { height: 600px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .post-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap, .top > .wrap { padding: 0 16px; }
  .band--grey .article { padding: 24px 18px; }
  .top__row { height: 64px; gap: 8px; }
  .nav.is-open { top: 64px; grid-template-columns: 1fr; }
  .top__cta { padding: 10px 14px; }
  .top__cta span { display: none; }
  .logo img { width: 80px; height: auto; }
  .hero { padding-top: 28px; }
  .lead { font-size: 17px; }
  .band { padding: 56px 0; }
  .chat { height: 78vh; min-height: 500px; }
  .cta-row .btn { flex: 1 1 auto; }
  .foot__grid { grid-template-columns: 1fr; }
}
.pin { background: none; border: 0; }
.pin span { display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--c); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transform: rotate(-45deg); }
.art--mask .art__blob { inset: 0; height: 100%; }
.art--wide img { left: 2%; width: 96%; bottom: 8%; }
