/* The catalystk.org look (one soft canvas, logo on the page, eyebrow, heavy Clash Display headline with an underlined
   highlight, framed video with a centred play, soft white cards, pill buttons) in HARKO's own colours:
   navy #182833, eyebrow blue #1477a3, logo sky #36a9f4, orange #ed7b2c. */
@font-face { font-family: "Clash Display"; src: url("fonts/clash-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("fonts/clash-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #182833;
  --muted: #55666f;
  --hair: rgba(24, 40, 51, 0.12);
  --hair-soft: rgba(24, 40, 51, 0.07);
  --accent: #ed7b2c;
  --accent-2: #f28f45;
  --blue: #1477a3;
  --sky: #36a9f4;
  --radius: 18px;
  --display: "Clash Display", "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 32px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { overflow-x: hidden; font-synthesis: none; background: #eef3f6; }
body { position: relative; display: flex; flex-direction: column; font-family: var(--sans); font-size: 17px; overflow-x: hidden; background: transparent; color: var(--ink); -webkit-font-smoothing: antialiased; }
body::before {
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(54, 169, 244, 0.16), transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(54, 169, 244, 0.10), transparent 60%),
    repeating-linear-gradient(115deg, rgba(24, 40, 51, 0.018) 0 1px, transparent 1px 9px),
    linear-gradient(115deg, #f4f7f9, #e7eef3);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
img, video, iframe, svg { max-width: 100%; }
.page { flex: 1 1 auto; min-width: 0; }

/* ------------------------- Logo, on the page ------------------------ */
.brandbar { position: absolute; top: clamp(16px, 2.4vw, 24px); left: clamp(18px, 3vw, 32px); z-index: 6; display: block; padding: 0; background: none; }
.brandbar img { display: block; height: 50px; width: auto; }

/* ------------------------------- Hero ------------------------------- */
.hero { max-width: 1120px; padding: clamp(84px, 11vh, 104px) var(--gutter) 0; }
.hero__eyebrow { margin: 0 0 18px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.hero__title { max-width: none; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.9vw, 2.5rem); line-height: 1.18; letter-spacing: normal; word-spacing: 0.06em; color: var(--ink); text-wrap: balance; }
.hero__title mark { background: none; color: var(--blue); text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 0.08em; text-underline-offset: 0.14em; }
.hero__sub { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }

/* ------------------------------- Video ------------------------------ */
.vid-wrap { max-width: 824px; width: 100%; margin: clamp(30px, 5vh, 44px) auto 0; padding-inline: var(--gutter); }
.vid { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #05060a; border: 1px solid var(--hair); box-shadow: 0 30px 80px rgba(24, 40, 51, 0.28); }
.vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vid__scrim { position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 45%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42)); }
.vid__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); border: 1px solid rgba(255, 255, 255, 0.35); animation: vidPulse 2.8s ease-out infinite; }
.vid__play svg { width: 44px; height: 44px; fill: #fff; margin-left: 3px; }
@keyframes vidPulse { 0% { box-shadow: 0 0 0 0 rgba(237, 123, 44, 0.45); } 70% { box-shadow: 0 0 0 22px rgba(237, 123, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 123, 44, 0); } }
@media (max-width: 640px) {
  .vid__play { width: 64px; height: 64px; }
  .vid__play svg { width: 32px; height: 32px; margin-left: 2px; }
  .brandbar img { height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .vid__play { animation: none; } }

/* ------------------------- Section headings ------------------------- */
.tf__title, .addcal__title, .reviews__title, .faq__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.14; letter-spacing: normal; word-spacing: 0.06em; color: var(--ink); }

/* ---------------------------- Application --------------------------- */
.tf { padding: clamp(56px, 9vh, 88px) var(--gutter) 0; text-align: center; }
.tf__frame { display: block; width: 100%; max-width: 1000px; height: 620px; margin: 28px auto 0; border: 0; border-radius: 8px; background: #182833; box-shadow: 0 30px 70px -30px rgba(24, 40, 51, 0.5); }
@media (max-width: 640px) { .tf__frame { height: 720px; } }

/* -------------------------- Confirm your call ----------------------- */
.pc-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.pc-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pcPulse 1.6s infinite; }
@keyframes pcPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.pc-sub b { font-weight: 700; color: var(--blue); border-bottom: 2px solid var(--sky); padding-bottom: 2px; }
.pcbox-wrap { padding: clamp(48px, 8vh, 72px) var(--gutter) 0; }
.pcbox { max-width: 780px; margin: 0 auto; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: #fff; border: 1px solid var(--hair-soft); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 70px -36px rgba(24, 40, 51, 0.35); }
.pcbox__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.14; word-spacing: 0.06em; color: var(--ink); }
.pcbox__intro { margin-top: 12px; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.invite-cap { margin: 26px 0 12px; text-align: center; font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.invite { position: relative; max-width: 390px; margin: 0 auto; padding: 18px 20px 62px; border-radius: 12px; background: #fff; color: #202124; font: 14px/1.5 Roboto, Arial, sans-serif; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.invite .l { margin-top: 10px; font-weight: 700; }
.invite .red { display: inline-block; width: 180px; height: 12px; border-radius: 2px; background: #111; vertical-align: middle; }
.invite .guests-link { margin-top: 4px; color: #1a73e8; font-weight: 500; }
.invite .rsvp { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.invite .rsvp span { padding: 4px 14px; border: 1px solid #dadce0; border-radius: 16px; font-size: 13px; }
.invite .rsvp span:first-child { border-color: #1a73e8; color: #1a73e8; font-weight: 700; }
.invite .arrow { position: absolute; left: 24px; bottom: 6px; width: 96px; height: 56px; pointer-events: none; }
@media (max-width: 640px) {
  .invite { padding-left: 14px; padding-right: 14px; }
  .invite .rsvp { flex-wrap: nowrap; gap: 5px; }
  .invite .rsvp span { padding: 4px 9px; font-size: 12px; white-space: nowrap; }
}

/* the value video: a real YouTube embed */
.value .hero__eyebrow { margin-bottom: 12px; }
.value .vid-wrap { margin-top: 26px; }
.vid--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* Member videos (self-hosted MP4): poster + play button until clicked, then native controls. */
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.vid--file { cursor: pointer; }
.vid--file.is-playing { cursor: auto; }
.vid--file.is-playing .vid__scrim, .vid--file.is-playing .vid__play { display: none; }
button.vid__play { padding: 0; cursor: pointer; font: inherit; color: inherit; }
/* On a real face the theme's blurred button looked like a censor blur, so these use a plain dark fill instead. */
html.theme-dark .vtest__grid .vid--file .vid__play { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--play-bg, rgba(9, 12, 15, 0.62)); }

/* ------------------------- Video testimonials ----------------------- */
.vtest { padding: clamp(64px, 10vh, 104px) var(--gutter) 0; text-align: center; }
.vtest__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.14; word-spacing: 0.06em; color: var(--ink); }
.vtest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: 30px auto 0; }
.vtest .vid { background: radial-gradient(120% 120% at 50% 40%, #24414f, #182833 75%); box-shadow: 0 18px 44px -18px rgba(24, 40, 51, 0.45); }
.vtest .vid__play { width: 64px; height: 64px; }
.vtest .vid__play svg { width: 32px; height: 32px; margin-left: 2px; }
@media (max-width: 640px) { .vtest__grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------ Reviews ----------------------------- */
.reviews { padding: clamp(64px, 10vh, 104px) var(--gutter) 0; }
.reviews__head { text-align: center; margin-bottom: 34px; }
.reviews__score { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }
.reviews__score b { color: var(--ink); font-weight: 700; }
.reviews__grid { max-width: 920px; margin: 0 auto; columns: 2 320px; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--hair-soft); color: var(--ink); text-align: left; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -22px rgba(24, 40, 51, 0.25); }
.review__stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.review__text { margin-top: 10px; font-size: 1rem; line-height: 1.55; }
.review__who { margin-top: 14px; font-weight: 700; font-size: 0.95rem; }
.review__what { margin-top: 2px; font-size: 0.85rem; color: var(--muted); }

/* ------------------- VSL page, 10 Nov 2026 rebuild ------------------- */
/* Trust row under the video, then the application straight below (TJR's layout). */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; max-width: 824px; margin: 22px auto 0; padding-inline: var(--gutter); color: var(--muted); font-size: 0.98rem; line-height: 1.4; text-align: center; }
.trust b { color: var(--ink); font-weight: 700; }
.trust__stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; }
.trust__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--hair); }
.trust a { color: inherit; text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
@media (max-width: 640px) { .trust { flex-direction: column; gap: 4px; font-size: 0.95rem; } .trust__dot { display: none; } .chip { padding: 8px 13px; font-size: 0.88rem; } }
.tf__sub { max-width: 560px; margin: 12px auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.vtest__sub { max-width: 560px; margin: 12px auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }

/* The review wall: every review, in columns, shown in batches. */
.reviews--wall .reviews__head { margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 920px; margin: 0 auto 28px; }
.chip { appearance: none; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.7); color: var(--ink); font: 500 0.92rem/1 var(--sans); transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.chip span { margin-left: 6px; color: var(--muted); font-weight: 400; }
.chip:hover { border-color: var(--blue); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on span { color: rgba(255, 255, 255, 0.7); }
.chip:focus-visible, .wall__more:focus-visible, .review__more:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.reviews--wall .reviews__grid { max-width: 1120px; columns: 3 300px; }
.wall-js .reviews--wall .reviews__grid { columns: auto; display: flex; align-items: flex-start; gap: 18px; }
.wall__col { flex: 1 1 0; min-width: 0; }
.wall-js .reviews--wall .review { display: flex; flex-direction: column; }
.wall-js .reviews--wall .review figcaption { margin-top: auto; }
.wall-js .reviews--wall .review .review__more { align-self: flex-start; }
.review__stars-off { color: var(--hair); }
.review__ok { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(20, 119, 163, 0.09); color: var(--blue); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; vertical-align: 1px; }
.review__text { overflow-wrap: anywhere; }
.wall-js .review--long .review__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; line-clamp: 9; overflow: hidden; }
.wall-js .review--long.is-open .review__text { display: block; -webkit-line-clamp: unset; line-clamp: unset; }
.review__more { display: none; appearance: none; cursor: pointer; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--blue); font: 500 0.92rem/1.4 var(--sans); text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; }
.wall-js .review__more { display: inline-block; }
.review.is-new { animation: wallIn 0.5s var(--ease) both; }
@keyframes wallIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .review.is-new { animation: none; } }
.wall__foot { display: none; flex-direction: column; align-items: center; gap: 12px; margin-top: 14px; }
.wall-js .wall__foot { display: flex; }
.wall__count { color: var(--muted); font-size: 0.92rem; }
.wall__more { appearance: none; cursor: pointer; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 700 1rem/1 var(--sans); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); box-shadow: 0 14px 30px -16px rgba(24, 40, 51, 0.55); }
.wall__more:hover { transform: translateY(-1px); }
.wall__more[hidden] { display: none; }

/* -------------------------------- FAQ ------------------------------- */
.faq { max-width: 780px; width: 100%; margin: 0 auto; padding: clamp(64px, 10vh, 104px) var(--gutter) 0; }
.faq__title { text-align: center; margin-bottom: 26px; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 2px; color: var(--ink); font-weight: 500; font-size: 1.08rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 0 2px 20px; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }

/* ------------------------------ Footer ------------------------------ */
.brandfoot { display: block; margin-top: clamp(64px, 10vh, 104px); padding: 36px var(--gutter); background: rgba(24, 40, 51, 0.04); text-align: center; border: 0; }
.brandfoot__legal { display: block; max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.brandfoot__legal + .brandfoot__legal { margin-top: 8px; }

/* Stephen's answers on the thank-you page (our own files, see research/make-answer-videos.cjs). The question card sits
   over the video as an opaque layer. On click the play button presses in; once the video is actually playing, the card
   dissolves (fade, soft blur, slight lift) while the video underneath settles from a small zoom, so the question turns
   into Stephen answering it. The video's own controls appear after the dissolve. */
.vid--answer { cursor: pointer; }
.vid--answer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; background: var(--qtile-a, #050e1a); transform: scale(1.045); transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1); }
html.theme-dark .vid--answer .qvid__thumb { z-index: 2; background: linear-gradient(135deg, var(--qtile-a, #050e1a) 0%, var(--qtile-b, #081629) 100%); transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), filter 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); }
html.theme-dark .vid--answer .vid__play { z-index: 3; transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease; }
html.theme-dark .vid--answer.is-starting .vid__play { transform: translate(-50%, -50%) scale(0.88); box-shadow: 0 0 0 14px rgba(54, 169, 244, 0.1); }
.vid--answer.is-playing { cursor: auto; }
.vid--answer.is-playing video { transform: scale(1); }
html.theme-dark .vid--answer.is-playing .qvid__thumb { opacity: 0; filter: blur(8px); transform: scale(1.06); pointer-events: none; }
html.theme-dark .vid--answer.is-playing .vid__play { opacity: 0; transform: translate(-50%, -50%) scale(0.6); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .vid--answer video, html.theme-dark .vid--answer .qvid__thumb, html.theme-dark .vid--answer .vid__play { transition: opacity 0.3s linear; transform: none !important; filter: none !important; } }
