/* =====================================================================
   Amplify Ads — shared site chrome
   Used by every page. Page-specific styles (heroes,
   channel cards, pricing tiers etc.) stay inline on each page.
   ===================================================================== */

/* -------------------- Self-hosted Google Sans ----------------------- */
@font-face {
  font-family: 'Google Sans';
  src: url('assets/fonts/GoogleSans-Variable.ttf') format('truetype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Google Sans';
  src: url('assets/fonts/GoogleSans-Italic-Variable.ttf') format('truetype');
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --ink:        #1f1f1f;
  --ink-2:      #3c4043;
  --muted:      #5f6368;
  --muted-2:    #80868b;
  --paper:      #ffffff;
  --paper-2:    #f8f9fa;
  --paper-3:    #f1f3f4;
  --line:       #dadce0;
  --line-2:     #e8eaed;

  /* Brand palette — pulled from the logo gradient. */
  --cyan:       #47bbe8;
  --cyan-deep:  #2a9bd1;
  --pink:       #d94591;
  --pink-deep:  #c2347d;
  --amber:      #ffb83d;
  --green:      #5fdc8d;

  --radius:     28px;
  --radius-sm:  16px;
  --sans:       'Google Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: clip;
}
::selection { background: var(--ink); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ===================================================================
   Top bar + mega nav
   =================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line-2); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 14px; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; }
.brand-link img.wordmark { height: 48px; width: auto; display: block; }
@media (max-width: 480px) {
  .brand-link img.wordmark { height: 36px; }
}

.nav-links {
  display: flex; gap: 4px; align-items: center;
  flex: 0 0 auto;
}
.nav-link,
.nav-links > a:not(.nav-cta):not(.nav-login) {
  color: var(--ink-2);
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.005em;
  padding: 7px 14px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
.nav-link:hover,
.nav-links > a:not(.nav-cta):not(.nav-login):hover {
  color: var(--ink);
  background: var(--paper-2);
}
.nav-link.is-active,
.nav-links > a.is-active:not(.nav-cta):not(.nav-login) {
  color: var(--ink);
  background: linear-gradient(95deg, rgba(71,187,232,0.13) 0%, rgba(217,69,145,0.13) 100%);
}
.nav-link.is-active::after,
.nav-links > a.is-active::after { display: none; }
.nav-login {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.nav-login:hover {
  border-color: var(--ink);
  background: var(--paper-2);
  color: var(--ink);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  color: #fff;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 500; font-size: 14.5px;
  letter-spacing: -0.005em;
  margin-left: 8px;
  box-shadow: 0 6px 20px -8px rgba(217,69,145,0.45);
  transition: filter 180ms ease, transform 80ms ease, box-shadow 200ms ease;
}
.nav-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 28px -8px rgba(217,69,145,0.6);
}
.nav-cta:active { transform: scale(0.98); }

/* Hamburger — hidden on desktop, shown at ≤880px via media query below */
.mob-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  flex: 0 0 auto;
  transition: background 160ms ease, border-color 160ms ease;
}
.mob-btn:hover { background: var(--paper-2); border-color: var(--line); }
.mob-btn__icon { display: block; }
.mob-btn__icon--close { display: none; }
.mob-btn.is-open .mob-btn__icon--menu { display: none; }
.mob-btn.is-open .mob-btn__icon--close { display: block; }

/* Mobile topbar action cluster — login icon + hamburger */
.mob-actions {
  display: none;
  align-items: center; gap: 8px;
  flex: 0 0 auto;
}
.mob-login {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 160ms ease, border-color 160ms ease;
}
.mob-login:hover, .mob-login:active { background: var(--paper-2); border-color: var(--ink); }
@media (max-width: 880px) {
  .mob-actions { display: inline-flex; }
}
@media (max-width: 380px) {
  .mob-login { padding: 0 12px; font-size: 13.5px; }
}

/* Mobile drawer — fixed below the sticky topbar, full-width */
.mob-nav {
  position: fixed;
  top: 88px; left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: var(--paper);
  border-top: 1px solid var(--line-2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.21,0.61,0.35,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mob-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
body.mob-open { overflow: hidden; }

.mob-nav__scroll { padding: 8px 0 40px; }

.mob-nav__section {
  border-bottom: 1px solid var(--line-2);
  padding: 0 20px;
}
.mob-nav__acc-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  font-family: var(--sans);
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0; padding: 18px 0;
  cursor: pointer;
  min-height: 56px;
}
.mob-nav__acc-caret { flex: 0 0 auto; transition: transform 220ms ease; }
.mob-nav__acc-btn.is-open .mob-nav__acc-caret { transform: rotate(180deg); }

.mob-nav__channels {
  display: none;
  padding-bottom: 12px;
}
.mob-nav__channels[aria-hidden="false"] { display: block; }
.mob-nav__channel {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  min-height: 56px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  transition: color 160ms ease;
}
.mob-nav__channel:last-child { border-bottom: 0; }
.mob-nav__channel:hover { color: var(--ink-2); }
.mob-nav__channel .mega-card-mark { flex: 0 0 auto; width: 32px; height: 32px; }
.mob-nav__channel .mega-card-mark img { width: 100%; height: 100%; object-fit: contain; }
.mob-nav__channel-text { display: flex; flex-direction: column; gap: 1px; }
.mob-nav__channel-name { font-size: 15px; font-weight: 500; }
.mob-nav__channel-desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.mob-nav__links {
  display: flex; flex-direction: column;
  padding: 0 20px;
}
.mob-nav__link {
  font-size: 17px; font-weight: 500;
  color: var(--ink-2);
  padding: 18px 0;
  min-height: 56px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line-2);
  transition: color 160ms ease;
}
.mob-nav__link:hover { color: var(--ink); }

.mob-nav__foot {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 20px 0;
}
.mob-nav__login {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  height: 48px; border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 500; font-size: 15px;
  color: var(--ink);
  transition: background 160ms ease, border-color 160ms ease;
}
.mob-nav__login:hover { background: var(--paper-2); border-color: var(--ink); }
.mob-nav__cta {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  height: 48px; border-radius: 999px;
  background: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  font-family: var(--sans);
  font-weight: 500; font-size: 15px;
  color: #fff;
  box-shadow: 0 6px 20px -8px rgba(217,69,145,0.45);
  transition: filter 180ms ease;
}
.mob-nav__cta:hover { filter: brightness(1.08); }

@media (max-width: 880px) {
  .nav-links { gap: 18px; }
  .nav-links > .nav-mega-trigger,
  .nav-links > .nav-more-trigger,
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-links > .nav-login { display: none; }
  .nav-links > .nav-cta { display: none; }
  .mob-btn { display: flex; }
}
@media (min-width: 881px) {
  .mob-nav { display: none; }
}

/* Mega nav — single dropdown panel hung off the "What we run" item.
   Open on hover with a 120ms delay; close on cursor leaving the
   trigger or panel for >220ms. Click toggles for keyboard/touch. */
.nav-mega-trigger,
.nav-more-trigger {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-mega-trigger .nav-link .caret,
.nav-more-trigger .nav-link .caret {
  display: inline-block; margin-left: 4px;
  transition: transform 200ms ease;
}
.nav-mega-trigger.is-open .nav-link .caret,
.nav-more-trigger.is-open .nav-link .caret { transform: rotate(180deg); }
.more-panel {
  position: absolute; top: calc(100% + 14px); right: 0;
  min-width: 180px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 6px;
  box-shadow:
    0 1px 0 rgba(31,31,31,.04),
    0 24px 60px -28px rgba(31,31,31,.18);
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.21,0.61,0.35,1);
  z-index: 70;
}
.nav-more-trigger.is-open .more-panel {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.more-panel a {
  display: flex; align-items: center;
  padding: 10px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; white-space: nowrap;
  transition: background 120ms ease, color 120ms ease;
}
.more-panel a:hover { background: var(--paper-2); color: var(--ink); }
.mega-panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(720px, calc(100vw - 64px));
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 18px;
  box-shadow:
    0 1px 0 rgba(31,31,31,0.04),
    0 24px 60px -28px rgba(31,31,31,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.21,0.61,0.35,1);
  z-index: 70;
}
.mega-panel::before {
  content: '';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-right: 0; border-bottom: 0;
  transform: translateX(-50%) rotate(45deg);
  border-top-left-radius: 4px;
}
.nav-mega-trigger.is-open .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.mega-card {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px;
  padding: 12px; border-radius: 14px;
  align-items: start;
  transition: background 160ms ease;
}
.mega-card:hover { background: var(--paper-2); }
/* Marks now render the real platform logo — no more letter placeholders.
   The brand colour comes from the logo itself, the tile is just a frame. */
.mega-card-mark {
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  font-size: 0;
  flex: 0 0 auto;
}
.mega-card-mark img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.mega-card-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mega-card-title .arrow { opacity: 0; transform: translateX(-3px); transition: opacity 160ms ease, transform 160ms ease; }
.mega-card:hover .mega-card-title .arrow { opacity: 1; transform: translateX(0); }
.mega-card-desc {
  font-size: 12.5px; line-height: 1.55;
  color: var(--muted);
  margin-top: 2px;
}
/* Lead card — Google Ads featured at top of the mega-panel */
.mega-card--lead {
  grid-template-columns: 56px 1fr;
  gap: 14px; padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border: 1px solid var(--line-2);
}
.mega-card--lead:hover {
  background: var(--paper-2);
  border-color: var(--line);
}
.mega-card--lead .mega-card-mark {
  width: 56px; height: 56px;
  font-size: 22px; border-radius: 14px;
}
.mega-card-pill {
  display: inline-block;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(217,69,145,0.12);
  color: var(--pink-deep);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 6px;
}
.mega-card-pill--soon {
  background: rgba(0,0,0,0.06);
  color: var(--muted);
}
.mega-grid--secondary .mega-card { opacity: 0.65; }
.mega-card-title--lead { font-size: 16px; font-weight: 700; }
.mega-section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding: 18px 12px 6px;
}
.mega-grid--secondary {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}
.mega-grid--secondary .mega-card {
  grid-template-columns: 32px 1fr;
  gap: 10px; padding: 10px;
}
.mega-grid--secondary .mega-card-mark {
  width: 32px; height: 32px;
  font-size: 13px; border-radius: 8px;
}
.mega-grid--secondary .mega-card-title { font-size: 13.5px; }
.mega-grid--secondary .mega-card-desc { font-size: 11.5px; line-height: 1.45; }
@media (max-width: 720px) {
  .mega-grid--secondary { grid-template-columns: 1fr; }
}
.mega-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  gap: 16px;
  flex-wrap: wrap;
}
.mega-foot a {
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 160ms ease;
}
.mega-foot a:hover { color: var(--ink); }
.mega-foot a .arrow { transition: transform 160ms ease; }
.mega-foot a:hover .arrow { transform: translateX(3px); }

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500; font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform 80ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 200ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(217,69,145,0.5);
}
.btn-primary:hover {
  background: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  filter: brightness(1.08);
  box-shadow: 0 12px 30px -10px rgba(217,69,145,0.65);
}
.btn-ghost {
  background: var(--paper); color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn:active { transform: scale(0.98); }
.btn .arrow { transition: transform 200ms ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===================================================================
   Section primitives
   =================================================================== */
.section { padding: 120px 0; position: relative; }
@media (max-width: 880px) { .section { padding: 80px 0; } }
@media (max-width: 600px) { .section { padding: 56px 0; } }

.section-tag { display: none; }
.section-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  align-items: end; margin-bottom: 64px;
}
.section-head h2 {
  font-family: var(--sans);
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.section-head h2 .accent {
  font-weight: 700;
  background-image: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head .blurb {
  color: var(--muted); font-size: 17px; line-height: 1.6;
  max-width: 44ch; margin: 0;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}

/* ===================================================================
   Hero (shared base — pages can override sizes/colours inline)
   =================================================================== */
/* Hero load-in animations — all pages */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-enter-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .accent    { animation: hero-rise 0.75s cubic-bezier(0.22,1,0.36,1) both 0ms; }
  .hero h1 .sub       { animation: hero-rise 0.75s cubic-bezier(0.22,1,0.36,1) both 80ms; }
  .hero .lede         { animation: hero-rise 0.75s cubic-bezier(0.22,1,0.36,1) both 180ms; }
  .hero .hero-actions { animation: hero-rise 0.75s cubic-bezier(0.22,1,0.36,1) both 300ms; }
  .hero .hero-card,
  .hero .hero-photo   { animation: hero-enter-right 0.9s cubic-bezier(0.22,1,0.36,1) both 160ms; }
}

.hero {
  background: #f5f6f8;
  color: var(--ink);
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: -20% -10% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(217,69,145,0.13), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: auto auto -30% -10%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(71,187,232,0.13), transparent 70%);
  pointer-events: none;
}
@media (max-width: 880px) { .hero { padding: 24px 0 48px; } }
.hero-wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}
.platform-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px -10px rgba(31,31,31,0.18);
  margin-bottom: 20px;
}
.platform-mark img { width: 32px; height: 32px; display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow .live-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(95,220,141,0.6);
  animation: livePulse 2.2s ease-out infinite;
}
.eyebrow .sep { color: var(--line); }
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(95,220,141,0.55); }
  50%      { box-shadow: 0 0 0 7px rgba(95,220,141,0); }
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 100;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero h1 .accent {
  font-weight: 700;
  background-image: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero h1 .sub {
  display: block;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink-2);
  margin-top: 6px;
}
.hero .lede {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 15.5px; }
}

/* Generic gradient hero card — used as the right-column visual on
   most sub-pages. Each page can override `--card-from` / `--card-to`
   inline to colour it (defaults to brand cyan→pink). */
.hero-card {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,0.45), transparent 55%),
    linear-gradient(135deg, var(--card-from, var(--cyan)) 0%, var(--card-to, var(--pink)) 100%);
  box-shadow: 0 24px 60px -28px rgba(63,128,200,0.45);
  position: relative; overflow: hidden;
  color: #fff;
}
.hero-card .stack {
  position: absolute; inset: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-card .pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-card .pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--cyan-deep);
  animation: livePulse 2.2s ease-out infinite;
}
.hero-card .figure {
  margin-top: auto;
  font-family: var(--sans);
  font-weight: 100;
  font-size: clamp(54px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
.hero-card .figure .strong { font-weight: 700; }
.hero-card .caption {
  font-size: 14.5px; line-height: 1.55; max-width: 28ch;
  color: rgba(255,255,255,0.92);
}
.hero-card .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hero-card .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff; font-size: 12.5px; font-weight: 500;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Photo-led hero card — used on the four channel sub-pages. The photo
   is the anchor; a glass-blur overlay carries the stat moment so the
   panel still does the same job as the gradient .hero-card. */
.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 30px 80px -32px rgba(15,15,25,0.4);
}
.hero-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-photo .stack {
  position: absolute; inset: auto 22px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 20px 20px;
  border-radius: 18px;
  background: rgba(10,10,10,0.74);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
}
.hero-photo .pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-size: 12px; font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-photo .pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(95,220,141,0.18);
  animation: livePulse 2.2s ease-out infinite;
}
.hero-photo .figure {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 4px 0 0;
}
.hero-photo .figure .strong { font-weight: 700; }
.hero-photo .caption {
  font-size: 13.5px; line-height: 1.5;
  color: rgba(255,255,255,0.86);
  max-width: 30ch;
}
.hero-photo .row {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px;
}
.hero-photo .chip {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 11.5px; color: rgba(255,255,255,0.92);
  font-weight: 500;
}

/* Aura wrapper for hero-photo — matches the dash-panel::before glow on
   the home hero. Wraps .hero-photo so the ::before can extend outside
   the photo card's overflow:hidden boundary. */
.hero-photo-wrap {
  position: relative;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: calc(var(--radius) + 22px);
  background: linear-gradient(135deg, rgba(71,187,232,0.18) 0%, rgba(217,69,145,0.14) 100%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

/* ===================================================================
   Generic feature/benefit cards — reused on most sub-pages
   =================================================================== */
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1040px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 280ms cubic-bezier(0.21,0.61,0.35,1),
              border-color 200ms ease, box-shadow 200ms ease;
  min-height: 220px;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 40px -20px rgba(31,31,31,0.15);
}
.benefit-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, rgba(71,187,232,0.14), rgba(217,69,145,0.14));
  color: var(--pink-deep);
}
.benefit-card h3 {
  margin: 0;
  font-family: var(--sans); font-weight: 500;
  font-size: 20px; line-height: 1.25;
  letter-spacing: -0.015em;
}
.benefit-card p {
  margin: 0; font-size: 15px; line-height: 1.6;
  color: var(--muted);
}

/* ===================================================================
   FAQ accordion
   =================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.faq-item:hover { border-color: var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-grid; place-items: center;
  transition: transform 240ms ease, background 200ms ease, border-color 200ms ease;
  flex-shrink: 0;
}
.faq-item[open] summary .toggle {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--pink) 100%);
  border-color: transparent;
  color: #fff;
}
.faq-item .a {
  margin: 14px 0 0;
  font-size: 15.5px; line-height: 1.65;
  color: var(--ink-2);
  max-width: 70ch;
}

/* ===================================================================
   Platform screenshot showcase
   =================================================================== */
.platform-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .platform-split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.platform-preview__browser {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 72px -12px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.07);
  background: #fff;
}
.platform-preview__bar {
  background: #f0f1f4;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.platform-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  flex-shrink: 0;
}
.platform-preview__dot:first-child { background: #fc6058; }
.platform-preview__dot:nth-child(2) { background: #fec02f; }
.platform-preview__dot:nth-child(3) { background: #2aca3e; }
.platform-preview__address {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  background: rgba(0,0,0,0.05);
  border-radius: 6px;
  padding: 3px 10px;
  margin: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.platform-preview__img { width: 100%; display: block; }
.platform-preview__caption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.platform-preview__caption p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}
.platform-preview__link {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-deep);
  text-decoration: none;
  white-space: nowrap;
}
.platform-preview__link:hover { text-decoration: underline; }

/* ===================================================================
   CTA strip
   =================================================================== */
.cta-strip {
  background: var(--paper);
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
@media (max-width: 880px) { .cta-strip { padding: 80px 0 72px; } }
@media (max-width: 600px) { .cta-strip { padding: 56px 0 56px; } }
.cta-strip::before {
  content: '';
  position: absolute; inset: -10% -10% auto auto;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(217,69,145,0.18), transparent 70%);
  pointer-events: none;
}
.cta-strip::after {
  content: '';
  position: absolute; inset: auto auto -20% -10%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(71,187,232,0.16), transparent 70%);
  pointer-events: none;
}
.cta-strip .wrap { position: relative; z-index: 1; }
.cta-strip h3 {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 auto 32px;
  max-width: 22ch;
  color: var(--ink);
  text-wrap: balance;
}
.cta-strip h3 .accent {
  font-weight: 700;
  background-image: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-strip .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) {
  .cta-strip .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-strip .cta-actions .btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 15.5px; }
}

/* ===================================================================
   Footer
   =================================================================== */
footer {
  background: var(--paper);
  color: var(--muted);
  padding: 56px 0 28px;
  border-top: 1px solid var(--line-2);
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
footer h4 {
  color: var(--ink); font-size: 13.5px;
  margin: 0 0 16px; font-weight: 500;
  letter-spacing: -0.005em;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer a { color: var(--muted); font-size: 14.5px; transition: color 160ms ease; }
footer a:hover { color: var(--ink); }
.foot-brand .brand-link { gap: 10px; }
.foot-brand .brand-link img.wordmark { height: 44px; }
/* "Part of Clicky Group" attribution — shared treatment with clicky.co.uk.
   Italic label + the Clicky Group wordmark, centred in its own row between
   the footer grid and the copyright line. Logo sits at 65% opacity at rest
   and lifts on hover. */
.foot-group {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  padding: 8px 0 28px;
}
.foot-group__label {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.foot-group__link {
  display: inline-flex; align-items: center;
  opacity: 0.65;
  transition: opacity 220ms ease, transform 240ms cubic-bezier(0.21,0.61,0.35,1);
}
.foot-group__link:hover {
  opacity: 1;
  transform: scale(1.04);
}
.foot-group__link img {
  height: 30px; width: auto; display: block;
}
.foot-tag { color: var(--muted); font-size: 14.5px; max-width: 36ch; margin-top: 14px; line-height: 1.6; }
.foot-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--muted-2); font-size: 13px;
  letter-spacing: -0.005em;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================
   Scroll reveals
   =================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 720ms cubic-bezier(0.21,0.61,0.35,1), transform 720ms cubic-bezier(0.21,0.61,0.35,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===================================================================
   Book-demo lightbox — opens from any "Book a demo" CTA site-wide.
   Built by nav.js on load and portalled to <body> so the sticky
   topbar's backdrop-filter can't trap fixed positioning.
   =================================================================== */
.bd-modal {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  background: rgba(15,15,25,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: clamp(8px, 3vw, 32px);
  align-items: center; justify-content: center;
  animation: bdFadeIn 200ms ease-out;
}
.bd-modal.is-open { display: flex; }
.bd-modal__panel {
  position: relative;
  width: 100%; max-width: 1080px;
  max-height: min(92vh, 920px);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px -20px rgba(15,15,25,0.45);
  animation: bdRiseIn 280ms cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--sans);
}
.bd-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  background: #fff;
  flex-shrink: 0;
}
.bd-modal__head-text {
  display: flex; flex-direction: column; min-width: 0; gap: 2px;
}
.bd-modal__eyebrow {
  font-size: 11px; font-weight: 700;
  background-image: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.bd-modal__title {
  font-size: 15px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.bd-modal__close {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  flex-shrink: 0;
}
.bd-modal__close:hover {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
}
.bd-modal__body {
  flex: 1; min-height: 0; overflow: auto;
  background: var(--paper-2);
}
.bd-modal__intro {
  padding: 16px 20px 12px;
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-2);
  font-family: var(--sans);
}
.bd-modal__intro strong { color: var(--ink); font-weight: 700; }
.bd-modal__iframe-wrap { padding: 8px; }
.bd-modal__iframe {
  border: 0; width: 100%; height: 720px;
  display: block; border-radius: 14px; background: #fff;
}
.bd-modal__foot {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line-2);
  font-size: 13px; color: var(--muted);
  text-align: center;
  background: var(--paper-2);
  font-family: var(--sans);
}
.bd-modal__foot a {
  color: var(--pink-deep);
  font-weight: 600;
  text-decoration: none;
}
.bd-modal__foot a:hover { text-decoration: underline; }
@keyframes bdFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes bdRiseIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
body.bd-locked { overflow: hidden; }

/* === Team photo strip === */
/* Aura wrapper for photo-strip — same glow palette as hero-photo-wrap. */
.photo-strip-wrap {
  position: relative;
}
.photo-strip-wrap::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(71,187,232,0.16) 0%, rgba(217,69,145,0.12) 100%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}
.photo-strip-wrap .photo-strip {
  position: relative;
  z-index: 1;
}

.photo-strip {
  display: grid;
  grid-template-columns: 2.2fr 1.6fr 1fr 1fr;
  gap: 10px;
  height: 300px;
  overflow: hidden;
}
.photo-strip img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}
.photo-strip img:first-child { border-radius: 20px 0 0 20px; }
.photo-strip img:last-child  { border-radius: 0 20px 20px 0; }
@media (max-width: 860px) {
  .photo-strip { grid-template-columns: 1fr 1fr; height: auto; border-radius: 16px; overflow: hidden; gap: 6px; }
  .photo-strip img { height: 180px; border-radius: 0 !important; }
}
@media (max-width: 520px) {
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 6px; }
  .photo-strip img { height: 140px; }
  .photo-strip img:first-child { border-radius: 16px 0 0 0 !important; }
  .photo-strip img:nth-child(2) { border-radius: 0 16px 0 0 !important; }
  .photo-strip img:nth-child(3) { border-radius: 0 0 0 16px !important; }
  .photo-strip img:last-child  { border-radius: 0 0 16px 0 !important; }
}

/* ===================================================================
   Unified "Get started" modal
   =================================================================== */
.nav-gs {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans); font-weight: 500; font-size: 14.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  margin-left: 4px;
  transition: background 160ms ease, color 160ms ease, transform 80ms ease;
}
.nav-gs:hover { background: var(--ink); color: #fff; }
.nav-gs:active { transform: scale(0.98); }
@media (max-width: 880px) { .nav-gs { display: none; } }

/* ===================================================================
   "Get started" enrollment modal
   =================================================================== */
.gs-modal {
  position: fixed; inset: 0; z-index: 310;
  display: none;
  background: rgba(15,15,25,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: clamp(8px, 3vw, 32px);
  align-items: center; justify-content: center;
}
.gs-modal.is-open { display: flex; }

/* Panels */
.gs-panel {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: 92vh;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 40px 100px -30px rgba(15,15,25,0.3);
}
.gs-panel--wide { max-width: 1080px; max-height: min(92vh, 900px); }
.gs-panel--proposal {
  max-width: 800px; overflow: hidden;
  display: flex; flex-direction: row; align-items: stretch;
}
.gs-proposal-images {
  width: 220px; flex-shrink: 0;
  background: #f0f1f4;
  border-radius: 22px 0 0 22px;
  overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px 24px;
  gap: 20px;
}
.gs-prop-slides {
  position: relative; width: 100%; height: 230px; flex-shrink: 0;
}
.gs-prop-img {
  position: absolute;
  width: 85%; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 16px 48px -8px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,0,0,0.06);
  opacity: 0;
  transition: opacity 0.9s ease;
}
.gs-prop-img.is-active { opacity: 1; }
.gs-prop-contents { width: 100%; }
.gs-prop-contents-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}
.gs-prop-contents ul { list-style: none; padding: 0; margin: 0; }
.gs-prop-contents li {
  display: flex; align-items: baseline; gap: 7px;
  font-size: 12px; line-height: 1.4; color: var(--ink-2);
  padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.gs-prop-contents li::before {
  content: '✓'; color: var(--cyan-deep); font-size: 11px; flex-shrink: 0;
}
.gs-proposal-right {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  overflow-y: auto; max-height: 92vh;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid var(--line-2);
}
@media (max-width: 640px) { .gs-proposal-images { display: none; } }

/* Panel nav bar (back + title + close) */
.gs-panel-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
  gap: 12px;
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.gs-panel-title { font-size: 14px; font-weight: 600; color: var(--ink); flex: 1; text-align: center; }
.gs-back {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--muted);
  background: none; border: none; cursor: pointer; padding: 4px 0;
  transition: color 140ms ease;
}
.gs-back:hover { color: var(--ink); }
.gs-close {
  width: 32px; height: 32px; padding: 0;
  background: var(--paper-2); border: none; border-radius: 50%;
  color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 140ms ease, color 140ms ease;
}
.gs-close:hover { background: var(--line-2); color: var(--ink); }
/* Standalone close on choice screen (no nav bar) */
#gs-choice > .gs-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
}

/* Choice screen */
.gs-choice-head { padding: 44px 36px 24px; text-align: center; }
@media (max-width: 560px) { .gs-choice-head { padding: 48px 22px 20px; } }
.gs-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-deep); margin-bottom: 10px;
}
#gs-choice h2 {
  font-size: clamp(22px, 3.5vw, 30px); font-weight: 400; letter-spacing: -0.022em;
  margin: 0; color: var(--ink);
}
.gs-choice-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  padding: 0 28px 32px;
}
@media (max-width: 520px) { .gs-choice-grid { padding: 0 16px 24px; } }
.gs-choice-card {
  display: flex; flex-direction: row; align-items: stretch;
  padding: 0;
  background: var(--paper-2); border: 1.5px solid var(--line-2);
  border-radius: 16px; cursor: pointer; text-align: left; overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 120ms ease;
  font-family: var(--sans);
}
.gs-choice-card:hover {
  border-color: var(--cyan-deep);
  box-shadow: 0 8px 28px -8px rgba(42,155,209,0.2);
  transform: translateY(-2px);
  background: #fff;
}
.gs-choice-img {
  width: 180px; flex-shrink: 0; overflow: hidden;
  background: var(--paper-3);
}
.gs-choice-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.gs-choice-body {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 22px; flex: 1;
}
@media (max-width: 480px) { .gs-choice-img { width: 130px; } }
.gs-choice-label { font-size: 16px; font-weight: 600; color: var(--ink); }
.gs-choice-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); flex: 1; }
.gs-choice-cta { font-size: 13.5px; font-weight: 600; color: var(--cyan-deep); margin-top: 4px; }

/* Calendar screen */
.gs-panel--cal { max-width: 960px; }
.gs-cal-sidebar {
  width: 220px; flex-shrink: 0;
  background: #f0f1f4;
  border-radius: 22px 0 0 22px;
  overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  padding: 28px 20px 24px;
  gap: 20px;
}
.gs-cal-sidebar-img {
  width: 100%; border-radius: 10px;
  object-fit: cover; object-position: top;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.05);
}
.gs-cal-sidebar-note {
  font-size: 11px; color: var(--muted); text-align: center; margin-top: auto;
}
@media (max-width: 640px) { .gs-cal-sidebar { display: none; } }
.gs-cal-wrap { padding: 0; }
.gs-cal-iframe { display: block; width: 100%; height: min(72vh, 740px); border: none; }
.gs-cal-foot { padding: 14px 24px; font-size: 13px; color: var(--muted); text-align: center; border-top: 1px solid var(--line-2); }
.gs-cal-foot a { color: var(--cyan-deep); }

/* Form screen */
.gs-form-body { padding: 24px 28px 32px; }
@media (max-width: 560px) { .gs-form-body { padding: 20px 18px 28px; } }
.gs-form { display: flex; flex-direction: column; gap: 14px; }
.gs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .gs-row { grid-template-columns: 1fr; } }
.gs-field {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.gs-field em { font-style: normal; font-weight: 400; color: var(--muted-2); }
.gs-field input, .gs-field select, .gs-field textarea {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 10px 13px;
  outline: none; width: 100%;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  appearance: none; -webkit-appearance: none;
}
.gs-field input:focus, .gs-field select:focus, .gs-field textarea:focus {
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(42,155,209,0.13);
}
.gs-field textarea { resize: vertical; min-height: 76px; line-height: 1.5; }
.gs-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2.4' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px;
}
.gs-checks { border: none; padding: 0; margin: 0; min-width: 0; width: 100%; }
.gs-checks legend { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; display: block; }
.gs-checks-grid { display: grid; grid-template-columns: 1fr; gap: 7px; }
.gs-checks label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 400; color: var(--ink);
  padding: 9px 13px; border-radius: 10px;
  border: 1.5px solid var(--line-2); cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}
.gs-checks label:has(input:checked) { border-color: var(--cyan-deep); background: rgba(42,155,209,0.06); }
.gs-checks input[type="checkbox"] { width: 15px; height: 15px; border-radius: 4px; flex-shrink: 0; accent-color: var(--cyan-deep); }
.gs-submit {
  margin-top: 4px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(95deg, var(--cyan) 0%, var(--pink) 100%);
  color: #fff; border: none; border-radius: 999px;
  padding: 13px 28px; width: 100%;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(217,69,145,0.45);
  transition: filter 180ms ease, transform 80ms ease;
}
.gs-submit:hover { filter: brightness(1.07); }
.gs-submit:active { transform: scale(0.99); }

/* Success state */
.gs-success {
  padding: 56px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.gs-success[hidden] { display: none; }
.gs-success-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
}
.gs-success h2 { font-size: 23px; font-weight: 400; margin: 0; letter-spacing: -0.02em; }
.gs-success p { color: var(--muted); margin: 0; font-size: 14.5px; max-width: 360px; }
.gs-success-close {
  margin-top: 8px; padding: 10px 26px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: background 140ms ease;
}
.gs-success-close:hover { background: var(--paper-2); }
