/* webKNT clean redesign (2026-11-19; v2 2026-11-23: level FAQ rows). Loaded after the tasteskill kit (kit-v251/system.css) and
   motion.css: it sets the kit's palette and type to the owner's colours (deep blue, white and a splash
   of pink, "pink books": pink is kept for booking buttons) and adds the parts the kit has no class
   for: the booking panel and sheet, the hero phone, tags and the call demo. Never edit the kit files; change things here. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-v1.woff2") format("woff2");
}

:root {
  /* the owner's colours */
  --bg: #FFFFFF;
  --quiet: #F3F6FC;
  --line: #E2E8F3;
  --ink: #0B1F4D;
  --muted: #46536B;
  --blue: #1E3A8A;            /* headlines, secondary buttons, links, tags */
  --blue-bright: #3B5BDB;     /* decoration only, never under small text */
  --pink-bright: #FF3D9A;     /* decoration only */
  --accent: #D9126E;          /* booking buttons only: white text 4.9:1 */
  --accent-hover: #B80F5D;
  --accent-ink: #FFFFFF;
  --tint: #E8EEFB;
  --tag: #1E3A8A;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 32px -14px rgba(0, 0, 0, .16);

  /* the kit's palette, set to the same colours: its accent is the deep blue, its action (buttons) the pink */
  --p-bg: #FFFFFF;
  --p-surface: #F3F6FC;
  --p-ink: #0B1F4D;
  --p-muted: #46536B;
  --p-accent: #1E3A8A;
  --p-accent-ink: #FFFFFF;
  --p-action: #D9126E;
  --p-action-ink: #FFFFFF;
  --p-inv-bg: #0B1F4D;
  --p-inv-surface: #13295F;
  --p-inv-ink: #F3F6FC;
  --p-inv-muted: #AEB9D3;
  --p-inv-accent: #FF7AB8;
  --p-inv-accent-ink: #0B1F4D;
  --p-inv-action: #FF7AB8;
  --p-inv-action-ink: #0B1F4D;

  /* one face */
  --font-display: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 600;
  --display-tracking: -0.035em;
}

h1 { color: var(--blue); }

/* ---------- links: deep blue, underlined ---------- */
.link, .prose a, .footer a, .form-note a, .faq a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(30, 58, 138, .35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.link:hover, .prose a:hover, .footer a:hover, .form-note a:hover, .faq a:hover { text-decoration-thickness: 2.5px; }

/* ---------- buttons ---------- */
.btn--primary { background: var(--accent); color: var(--accent-ink); }
html .btn--primary:hover, html:not([data-motion="off"]) .btn--primary:hover { background: var(--accent-hover); }   /* beats the kit and motion mixes, which lighten the pink to 4.2:1 */
.btn--secondary { color: var(--blue); border-color: rgba(30, 58, 138, .35); }

/* ---------- focus: a ring you can see on white and on the wash ---------- */
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 3px; }

/* ---------- grounds ---------- */
.quiet { background: var(--quiet); }

/* ---------- logo ---------- */
.nav__logo img, .footer__logo img { display: block; height: 28px; width: auto; }

/* ---------- tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--t-label); font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 99px;
  background: var(--tint); color: var(--tag);
  vertical-align: middle;
}
.tag--soon { background: #EEF1F5; color: #46536B; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- hero facts with pink dots ---------- */
.facts-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--t-small); }
.facts-line li { display: flex; align-items: center; gap: 9px; }
.facts-line li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- the booking panel (one component on every page) ---------- */
.book-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.book-panel h2, .book-panel h3 { font-size: var(--t-h3); margin: 0 0 6px; letter-spacing: -0.02em; }
.book-panel .book-lede { color: var(--muted); margin: 0 0 18px; }
.book-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; font-size: var(--t-small); }
.book-points li { display: flex; gap: 10px; align-items: flex-start; }
.book-points li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%231E3A8A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.book-panel .btn { width: 100%; justify-content: center; }
.book-alt { margin: 16px 0 0; font-size: var(--t-small); color: var(--muted); text-align: center; }
.book-alt a { color: var(--blue); font-weight: 600; }
.cal-slot { min-height: 0; }
.cal-slot[data-state="loading"] { min-height: 420px; display: grid; place-items: center; color: var(--muted); }
.cal-slot[data-state="loaded"] { min-height: 560px; }
.cal-fallback { padding: 14px 16px; border-radius: 10px; background: var(--quiet); color: var(--ink); margin: 0 0 16px; }
.callback { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.callback[hidden] { display: none; }
.callback-toggle { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-color: rgba(30, 58, 138, .35); text-underline-offset: 4px; cursor: pointer; }
.form-note { font-size: var(--t-small); color: var(--muted); }

/* ---------- the booking sheet (opened from the hero and header buttons) ---------- */
.book-dialog {
  border: 0; padding: 0; background: transparent;
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  overflow: visible;
}
.book-dialog::backdrop { background: rgba(11, 31, 77, .5); }
.book-dialog .book-panel { max-height: calc(100dvh - 32px); overflow: auto; position: relative; }
.book-close {
  position: absolute; top: 10px; right: 10px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.book-close:hover { background: var(--quiet); }
@media (max-width: 639px) {
  .book-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; max-height: 92dvh; }
  .book-dialog .book-panel { border-radius: 20px 20px 0 0; max-height: 92dvh; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

/* ---------- the hero phone (a still that the 3D model replaces on capable devices) ---------- */
.hero-phone { position: relative; display: grid; place-items: center; aspect-ratio: 2 / 3; width: 100%; max-width: 420px; margin-inline: auto; }
.hero-phone::before, .hero-phone::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(59, 91, 219, .22); inset: 6%;
}
.hero-phone::after { inset: 18%; border-color: rgba(255, 61, 154, .25); }
.hero-phone img, .hero-phone canvas { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-phone canvas + img { visibility: hidden; position: absolute; inset: 0; }

/* ---------- services row ---------- */
.service-row { row-gap: 0; }
@media (max-width: 767px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row > * { padding: 22px 0; }
  .service-row > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  .book-dialog, .book-dialog::backdrop { animation: none !important; transition: none !important; }
}

/* ---------- without scripts the panel is just the form: the tap-to-open parts step aside ---------- */
[hidden] { display: none !important; }
html:not(.js) [data-cal-open], html:not(.js) [data-callback-open] { display: none !important; }

/* ======================= page parts ======================= */

/* header: the phone number beside the book button; on a phone only its icon shows */
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.nav__phone svg { color: var(--blue); }
@media (max-width: 1023px) { .nav__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .nav__phone { min-width: 44px; min-height: 44px; justify-content: center; } }

/* hero */
.hero h1 { font-size: clamp(44px, 5.4vw + 12px, 92px); line-height: .98; letter-spacing: -0.04em; max-width: 9.5ch; text-wrap: balance; }
.hero .t-lead { max-width: 34ch; margin-top: 22px; }
.hero .btn-row { margin-top: 34px; }
.hero-visual { align-self: center; }

/* section heads read wide but not too wide */
.section h2 { text-wrap: balance; }
.section-head .t-lead, .proof-lede { max-width: 58ch; }

/* services: three columns divided by hairlines, never boxed cards */
#services .section-head { margin-bottom: var(--head-gap); }
.service h3 { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.service > p { color: var(--muted); }
.service .checks { margin: 18px 0 20px; }
.service .checks b { color: var(--ink); }
.mix-line { margin-top: 28px; color: var(--muted); }

/* sound familiar: three short stories set large */
.stories { list-style: none; padding: 0; margin: var(--head-gap) 0 0; display: grid; gap: 22px; max-width: 30em; }
.stories li { font-size: clamp(20px, 1vw + 12px, 26px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); padding-top: 18px; border-top: 1px solid var(--line); }
.stories-close { margin-top: 36px; font-size: var(--t-lead); color: var(--blue); font-weight: 600; }

/* call at midnight: the one interactive moment, on white and pale blue */
.call-text .t-lead { margin: 18px 0 32px; max-width: 36ch; }
.hold-row { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hold { display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 26px 0 12px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); font: 600 16px/1 var(--font-text); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; transition: border-color .3s, transform .3s, opacity .5s; }
.hold:hover { border-color: var(--blue); }
.hold.held { transform: scale(.98); border-color: var(--accent); }
.hold svg { width: 38px; height: 38px; transform: rotate(-90deg); flex: none; }
.hold .t { opacity: .25; }
.hold .p { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: calc(100 - 100 * var(--hp, 0)); }
.answered .hold { opacity: .45; pointer-events: none; }
.call-note { margin: 0; color: var(--muted); }
.done-line { margin: 0; font-size: var(--t-lead); font-weight: 600; color: var(--blue); opacity: 0; transform: translateY(8px); transition: opacity .8s, transform .8s; }
.answered .done-line { opacity: 1; transform: none; transition-delay: 3.1s; }
.phone-card { background: #fff; border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); padding: 22px 20px 24px; min-height: 520px; display: flex; flex-direction: column; }
.ph-top { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ph-av { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-weight: 600; }
.ph-name { margin: 0; font-weight: 600; }
.ph-meta { margin: 0; font-size: var(--t-small); color: var(--muted); }
.ph-body { position: relative; flex: 1; display: grid; }
.ringing { grid-area: 1 / 1; display: grid; place-items: center; align-content: center; gap: 18px; transition: opacity .5s; }
.pulse { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); }
.pulse svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linejoin: round; }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); opacity: calc(.15 + .7 * var(--hp, 0)); transform: scale(calc(1 + .5 * var(--hp, 0))); }
.pulse::after { opacity: calc(.08 + .4 * var(--hp, 0)); transform: scale(calc(1 + 1.1 * var(--hp, 0))); }
.ring-label { margin: 0; color: var(--muted); font-size: var(--t-small); }
.ring-label .on { display: none; }
#call.holding .ring-label .on { display: inline; }
#call.holding .ring-label .idle { display: none; }
.answered .ringing { opacity: 0; }
.transcript { grid-area: 1 / 1; list-style: none; margin: 0; padding: 16px 0 0; display: grid; gap: 10px; align-content: start; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s; }
.msg .who { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.msg.ai { background: var(--quiet); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.you { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg.you .who { color: #D6DEF5; }
.result { font-size: var(--t-small); font-weight: 600; color: var(--blue); opacity: 0; transition: opacity .6s; display: flex; gap: 8px; align-items: center; }
.result::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.answered .transcript > * { opacity: 1; transform: none; }
.answered .transcript > :nth-child(1) { transition-delay: .4s; }
.answered .transcript > :nth-child(2) { transition-delay: 1s; }
.answered .transcript > :nth-child(3) { transition-delay: 1.6s; }
.answered .transcript > :nth-child(4) { transition-delay: 2.1s; }
.answered .transcript > :nth-child(5) { transition-delay: 2.5s; }
.answered .transcript > :nth-child(6) { transition-delay: 2.8s; }
.answered.settled .transcript > *, .answered.settled .done-line { transition-delay: 0s !important; }
@media (max-width: 899px) { .phone-card { min-height: 460px; max-width: 420px; width: 100%; } }

/* promises: icon, heading and line in an open grid */
.promises { list-style: none; padding: 0; margin: var(--head-gap) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.promises li:last-child { grid-column: span 2; }
.promises .icon { width: 36px; height: 36px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.promises h3 { font-size: var(--t-card); margin: 0 0 6px; }
.promises p { margin: 0; color: var(--muted); max-width: 46ch; }
@media (max-width: 899px) { .promises { grid-template-columns: 1fr 1fr; } .promises li:last-child { grid-column: auto; } }
@media (max-width: 639px) { .promises { grid-template-columns: 1fr; gap: 28px; } }

/* how it works */
.steps { list-style: none; padding: 0; margin: var(--head-gap) 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { padding-top: 20px; border-top: 1px solid var(--line); }
.step-n { display: block; font-size: var(--t-small); font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* proof */
.proof-lede { margin-top: 18px; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 48px 0 28px; }
.proof-stats div { border-top: 1px solid var(--line); padding-top: 18px; }
.proof-stats dt { color: var(--muted); font-size: var(--t-small); }
.proof-stats dd { margin: 6px 0 0; font-size: clamp(36px, 2.4vw + 18px, 56px); font-weight: 600; letter-spacing: -0.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.proof-note { color: var(--muted); font-size: var(--t-small); max-width: 70ch; }
@media (max-width: 639px) { .proof-stats { grid-template-columns: 1fr; gap: 12px; } }

/* faq: every answer open (the kit's rule), two columns on wide screens */
#faq .faq { margin-top: var(--head-gap); }

/* the closing booking section */
.book-copy .t-lead { margin: 18px 0; max-width: 36ch; }
.direct { color: var(--muted); max-width: 34ch; }

/* form choices as pills */
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { font-weight: 600; margin-bottom: 10px; }
.choice small, .field small { font-weight: 400; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: var(--t-small); font-weight: 500; }
.pills input:checked + span { border-color: var(--blue); background: var(--tint); color: var(--blue); }
.pills input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }

/* footer */
.footer .foot-pages ul, .footer .footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: var(--t-small); }

/* browser surfaces in the palette */
::selection { background: var(--tint); color: var(--ink); }
html { accent-color: var(--accent); caret-color: var(--blue); }

/* hero refinements after the first look */
.hero .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero .btn-row .btn { width: auto; }
.hero .t-lead { font-size: clamp(18px, .6vw + 13px, 22px); }
.hero .facts-line { font-size: 15px; margin-top: 30px; }


/* the kit sets main > section > .wrap itself: these splits need the stronger selector */
main > section > .wrap.call-grid, main > section > .wrap.book-grid { align-items: center; }
#faq .faq-cols { margin-top: var(--head-gap); align-items: start; }
#faq .faq-cols .faq { margin-top: 0; }
.footer__lede { font-size: var(--t-lead); max-width: 30ch; }
#faq .faq__item h3 { font-size: var(--t-card); }

/* phones: the hero holds words, buttons and a small phone in one screen; the call icon stays in the header */
@media (max-width: 639px) {
  .hero-visual { display: flex; justify-content: center; }
  .hero-phone { width: auto; height: clamp(120px, 24svh, 210px); max-width: none; aspect-ratio: 2 / 3; }
  .hero-phone::before, .hero-phone::after { display: none; }
  .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .hero .facts-line { margin-top: 20px; gap: 6px 18px; font-size: 14px; }
}
@media (max-width: 1023px) {
  .nav__actions { display: flex !important; align-items: center; gap: 4px; }
  .nav__actions .nav__phone { display: inline-flex !important; }
}

/* phone numbers inside a sentence still get a full-height tap area */
.book-alt a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -13px; }
@media (max-width: 639px) { .direct a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -13px; } }
/* without scripts the call demo cannot run: show the finished call instead of an empty phone */
html:not(.js) #call .transcript > *, html:not(.js) #call .done-line { opacity: 1; transform: none; }
html:not(.js) #call .ringing { display: none; }
html:not(.js) #call .hold { display: none; }

/* one heading scale: every h3 in the page at the card size; big figures a step under the h2 */
main h3, .closing h3, .book-dialog h2 { font-size: var(--t-card); letter-spacing: -0.01em; }
.service h3 { margin: 0 0 8px; }
.status { margin: 0 0 12px; }
.proof-stats dd { font-size: var(--t-stat); }
.hero .facts-line { flex-direction: column; gap: 10px; }

/* splits: the words and the picture side by side, the picture never taller than the screen allows */
.split, main > section > .wrap.call-grid { align-items: start; }
.frame--photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; width: 100%; }
.frame--photo .frame__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof-visual { display: flex; justify-content: center; }
.proof-device { width: min(300px, 100%); aspect-ratio: 390 / 844; border-radius: 40px; padding: 10px; background: #0B1F4D; box-shadow: var(--shadow); }
.proof-device img { width: 100%; height: 100%; border-radius: 31px; object-fit: cover; object-position: top; display: block; }
@media (max-width: 639px) { .frame--photo { aspect-ratio: 4 / 3; max-height: 320px; } .proof-device { width: 200px; } }

/* the closing footer: the booking close, then the links */
.closing__cta { align-items: start; }

/* the demo's hold control wears the secondary button's shape, so the page keeps one button pair */
.hold { border-radius: var(--r-btn); border-color: rgba(30, 58, 138, .35); box-shadow: none; color: var(--blue); background: transparent; }
/* the closing footer fits one screen: the page links in two columns, a quieter line */
.closing .foot-pages ul { display: block; columns: 2; column-gap: 32px; }
.closing .foot-pages li { margin-bottom: 10px; break-inside: avoid; }
.closing .footer__lede { font-size: var(--t-body); }
#services .section-head { margin-bottom: 32px; }
.service .checks { margin: 14px 0 16px; }
/* the narrowest phones: the call icon gives way so the menu button stays on screen */
@media (max-width: 359px) { .nav__actions .nav__phone { display: none !important; } }

/* small product mocks at the top of each service column */
.mini { height: 150px; border: 1px solid var(--line); border-radius: 12px; background: var(--quiet); margin-bottom: 22px; overflow: hidden; font-size: 13px; line-height: 1.35; }
.mini--site { background: #fff; }
.mini__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--quiet); color: var(--muted); font-size: 11.5px; }
.mini__bar i { width: 7px; height: 7px; border-radius: 50%; background: #CBD5E6; }
.mini__bar span { margin-left: 8px; }
.mini__page { padding: 16px 14px; display: grid; gap: 8px; justify-items: start; }
.mini__page b { display: block; height: 12px; width: 82%; border-radius: 6px; background: var(--blue); }
.mini__page b.short { width: 56%; background: #C9D6F2; }
.mini__btn { margin-top: 6px; padding: 7px 12px; border-radius: 7px; background: var(--accent); color: #fff; font-weight: 600; font-size: 12px; }
.mini--text, .mini--ad { padding: 14px; display: grid; align-content: center; gap: 6px; }
.mini__meta { margin: 0; color: var(--muted); font-size: 12px; }
.mini__bubble { margin: 0; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid var(--line); color: var(--ink); max-width: 92%; }
.mini__sent { color: var(--blue); font-weight: 600; }
.mini--ad { background: #fff; }
.mini__title { margin: 0; font-weight: 600; color: var(--blue); font-size: 15px; }
.mini__line { margin: 0; color: var(--muted); }
.ai-parts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; max-width: 46ch; color: var(--muted); }
.ai-parts b { color: var(--ink); }
/* the kit's close is a column; ours is the 7/5 grid of words and panel */
@media (min-width: 900px) { footer.closing > .wrap > .closing__cta.grid { display: grid; column-gap: var(--gutter); } }
@media (max-width: 359px) { .nav__logo img { height: 22px; } .nav__actions .btn { padding-inline: 12px; } }
/* the demo's control at the secondary button's height */
.hold { min-height: var(--btn-h); padding: 0 20px 0 8px; gap: 10px; }
.hold svg { width: 30px; height: 30px; }

/* ======================= inner pages ======================= */
.page-hero .hero-copy { align-self: center; }
.page-hero h1 { font-size: clamp(40px, 3.6vw + 14px, 72px); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; text-wrap: balance; }
.page-hero .book-panel { align-self: center; }
.get-list { margin-top: 28px; display: grid; gap: 12px; }
.get-list b { color: var(--ink); }
.price-card { margin: 32px 0 8px; padding: 24px 28px; border-radius: var(--radius); background: var(--quiet); max-width: 60ch; }
.price-card .price-line { margin: 0 0 8px; font-size: var(--t-lead); font-weight: 600; color: var(--blue); }
.price-card .price-note { margin: 0; color: var(--muted); }
.price-card .price-note a { color: var(--blue); }
#how .steps { margin-top: 36px; }
.pair { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.pair h3 { margin: 0 0 14px; }
.pair ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }
.pair li span { display: block; color: var(--muted); font-size: var(--t-small); margin-top: 4px; }
@media (max-width: 767px) { .pair ul { grid-template-columns: 1fr; } }
.ad-visual { display: grid; place-items: center; }
.mini--big { height: auto; width: min(100%, 380px); padding: 28px; gap: 10px; font-size: 15px; }
.mini--big .mini__title { font-size: 22px; }
.mini--big .mini__btn { justify-self: start; margin-top: 8px; font-size: 14px; padding: 10px 16px; }
/* a finished call, shown as a picture on the AI page */
.phone-card.answered .transcript > * { transition: none; }
.book-title { margin: 0 0 6px; font-size: var(--t-card); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.page-hero .hero-copy, .page-hero .book-panel { align-self: start; }
.get-list { list-style: none; padding: 0; color: var(--muted); max-width: 52ch; }
.pair { border-top: 0; padding-top: 8px; }
.form-note a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -13px; }

/* local pages: the towns as quiet chips */
.towns { list-style: none; padding: 0; margin: var(--head-gap) 0 28px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 900px; }
.towns li { padding: 10px 16px; border-radius: 99px; background: var(--quiet); color: var(--blue); font-weight: 500; }
.where-more { max-width: 60ch; }
/* the cost guide's table */
.cost-wrap { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; background: #fff; }
.cost { width: 100%; border-collapse: collapse; text-align: left; }
.cost th, .cost td { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cost tbody tr:last-child th, .cost tbody tr:last-child td { border-bottom: 0; }
.cost thead th { font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.cost tbody th { font-weight: 600; color: var(--ink); }
@media (max-width: 639px) {
  .cost thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cost, .cost tbody, .cost tr, .cost th, .cost td { display: block; width: 100%; }
  .cost tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cost th, .cost td { border: 0; padding: 4px 0; }
  .cost td::before { content: attr(data-label) ": "; color: var(--muted); }
}
.src a { color: var(--blue); }

/* the privacy page and 404: plain reading pages, no scripts */
.legal-page main { padding-top: calc(var(--nav) + 64px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 2.6vw + 18px, 56px); letter-spacing: -0.035em; }
.legal h2 { font-size: var(--t-h3); margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); max-width: 68ch; }
.legal .updated { color: var(--blue); font-weight: 600; }
.legal-footer { margin-top: 96px; padding: 64px 0 40px; border-top: 1px solid var(--line); }
@media (max-width: 1023px) { .legal-page .nav__links { display: none; } }
.not-found { min-height: 70svh; display: grid; align-content: center; }
.not-found .btn-row { margin-top: 28px; }

@media (max-width: 639px) { .mini { display: none; } }
.proof-stats dd { white-space: nowrap; font-size: clamp(26px, 1.4vw + 16px, 38px); }
@media (max-width: 639px) { .footer__grid > * { grid-column: 1 / -1; } .closing .foot-pages ul { columns: 1; } .footer__grid { row-gap: 28px; } }
:is(a, button, input, textarea, select):focus { scroll-margin-top: calc(var(--nav) + 24px); scroll-margin-bottom: 24px; }
@media (min-width: 900px) {
  /* two columns read as rows: each pair of questions starts level and shares one rule underneath */
  #faq > .wrap > .faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: stretch; }
  #faq > .wrap > .faq > .faq__item { align-content: start; }
  #faq > .wrap > .faq > .faq__item:nth-child(2) { padding-top: 0; }   /* the kit only trims the first item; the second heads the right column */
}

/* the cost guide is a reading page: sections take the height their words need, not a full screen each */
body.page-read main > :is(section, .section), body.page-read main > :is(.hero, .section--hero), body.page-read footer.closing {
  height: auto !important; min-height: 0 !important;
}
body.page-read main > section.section { padding-top: 88px; padding-bottom: 24px; }
body.page-read main > section.section.quiet { padding-bottom: 88px; margin-top: 64px; }
body.page-read main > section.section.quiet + section.section { padding-top: 88px; }
body.page-read main > .hero { padding-bottom: 32px; }
body.page-read footer.closing { padding-top: 96px; }
body.page-read #faq { padding-bottom: 72px; }
body.page-read .get-list { max-width: 64ch; }
body.page-read #price .price-card { max-width: 70ch; margin-top: 0; }
body.page-read main h2 + .t-lead { margin-top: 14px; }

/* footer: column labels with room under them, and the contact column as two clear rows */
.footer__head { margin: 0 0 14px; color: var(--ink); font-weight: 600; }
.footer .foot-contact { gap: 16px; }
.foot-contact li { display: grid; gap: 2px; }
.foot-contact span { font-size: var(--t-small); color: var(--muted); }
.footer .foot-contact a { font-size: var(--t-lead); font-weight: 600; color: var(--blue); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer .foot-contact a:hover { text-decoration: underline; text-decoration-color: rgba(30, 58, 138, .35); text-underline-offset: 4px; }
@media (max-width: 639px) { .footer .foot-contact a { min-height: 44px; } }
@media (max-width: 639px) { .footer__grid > [class*="span-"] { grid-column: 1 / -1 !important; } .footer .foot-contact a { font-size: var(--t-body); word-break: break-word; } }

/* the closing footer grows with the booking panel (an opened call-back form or calendar), so the links move down instead of running over it */
footer.closing { height: auto !important; min-height: calc(var(--h, 1) * 100svh); }
footer.closing > .wrap { height: auto !important; grid-template-rows: auto auto !important; row-gap: 96px; align-content: space-between; }

/* sections grow rather than overlap (2026-11-23): from 1280px the kit fixes each section at its screens, so on a
   short laptop screen (1280x720, 1366x768) an FAQ or a card row ran into the next section. The kit's own rule for
   640 to 1279px (at least its screens, taller when the content needs it) now holds on every wide screen too. */
@media (min-width: 1280px) {
  main > :is(section, .section):not(.hero, .section--hero) { height: auto; min-height: calc(var(--h, 1) * 100vh); min-height: calc(var(--h, 1) * 100svh); }
  :where(main > :is(section, .section):not(.hero, .section--hero)) { display: flex; flex-direction: column; }
  main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container) { flex: 1 0 auto; height: auto; min-height: 0; }
}

/* demo websites (2026-11-27): one card per live trade demo on demo.webknt.com; later trades flow into the same grid */
.demo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gutter); align-self: start; }
.demo-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.demo-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.demo-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 24px 24px; }
.demo-card__body h3 { margin: 0; }
.demo-card__body p { margin: 0; color: var(--muted); }
.demo-card__body .btn { margin-top: 6px; }
#demos .t-lead { margin-top: 20px; }
/* five menu items since the demos link: up to 1365px the header phone shows as its icon only (number kept for screen readers);
   between 1024 and 1199px it gives way entirely and the menu tightens (the number stays in the hero, the footer and the booking panel) */
@media (min-width: 1024px) and (max-width: 1365px) { .nav__actions .nav__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .nav__actions .nav__phone { min-width: 44px; min-height: 44px; justify-content: center; } }
@media (min-width: 1024px) and (max-width: 1199px) { .nav__actions .nav__phone { display: none !important; } .nav__links .nav__link { padding-inline: 4px; } }
