/* Public website (home, pricing, solutions, legal). Uses the colour tokens from styles.css. */

.site { font-size: 15px; line-height: 1.55; }
.site h1, .site h2, .site h3 { color: var(--text-primary); line-height: 1.2; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Header and menus ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 16px; min-height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative;
}
.logo { font-weight: 700; font-size: 19px; color: var(--text-primary); text-decoration: none; letter-spacing: -0.01em; }

.menu-toggle {
  font: inherit; font-weight: 500; color: var(--text-primary);
  background: none; border: 1px solid var(--input-border); border-radius: 8px; padding: 6px 12px; cursor: pointer;
}
.site-nav { display: none; }
.site-header.open .site-nav {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 8px 16px 20px; max-height: calc(100vh - 60px); overflow-y: auto;
}
.menu { list-style: none; margin: 0; padding: 0; }
.menu-item { border-bottom: 1px solid var(--grid); }
.menu-btn, .menu-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font: inherit; font-weight: 500; color: var(--text-primary); text-decoration: none;
  background: none; border: 0; padding: 14px 4px; cursor: pointer; text-align: left;
}
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 4px 4px 8px; transition: transform .15s; opacity: .6; }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(225deg); margin: 4px 4px 0 8px; }

.panel { padding: 0 4px 14px; }
.panel-heading { display: none; }
.panel-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.panel-grid a { display: block; padding: 10px; border-radius: 10px; text-decoration: none; }
.panel-grid a:hover, .panel-grid a:focus-visible { background: var(--page); }
.panel-grid strong { display: block; color: var(--text-primary); font-weight: 600; font-size: 14px; }
.panel-grid span { display: block; color: var(--text-secondary); font-size: 13px; margin-top: 2px; }
.panel-grid .soon { display: inline-block; margin: 0 0 0 6px; }
.panel-footer { display: flex; gap: 16px; padding: 10px 10px 0; font-size: 13px; }
.panel-footer a { color: var(--text-secondary); }

.nav-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.nav-actions .btn { text-align: center; }
.nav-signin { color: var(--text-primary); text-decoration: none; font-weight: 500; padding: 9px 4px; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .site-nav, .site-header.open .site-nav {
    display: flex; align-items: center; justify-content: space-between; flex: 1;
    position: static; padding: 0; border: 0; max-height: none; overflow: visible; background: none;
  }
  .menu { display: flex; gap: 2px; margin-left: 24px; }
  .menu-item { border: 0; }
  .menu-btn, .menu-link { width: auto; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
  .menu-btn:hover, .menu-link:hover, .menu-btn[aria-expanded="true"] { background: var(--page); }
  .panel {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .14); padding: 20px;
  }
  .panel-heading { display: block; margin: 0 0 12px 10px; color: var(--text-muted); font-size: 13px; }
  .panel-grid { grid-template-columns: repeat(3, 1fr); gap: 6px 10px; }
  .panel-footer { border-top: 1px solid var(--grid); margin-top: 12px; padding: 14px 10px 0; }
  .nav-actions { flex-direction: row; align-items: center; gap: 14px; padding: 0; }
  .nav-actions .btn { padding: 8px 16px; }
}

/* ---------- Building blocks ---------- */
.btn-lg { padding: 12px 22px; font-size: 15px; border-radius: 10px; }
.btn.ghost { color: var(--text-primary); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-row.center { justify-content: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 12px; }
.lead { font-size: 18px; color: var(--text-secondary); margin: 14px 0 0; max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.fine { font-size: 13px; color: var(--text-muted); margin: 14px 0 0; }
.note { font-size: 13px; color: var(--text-secondary); margin-top: 20px; }
.soon {
  display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  color: var(--text-secondary); background: var(--page); border: 1px solid var(--border);
  border-radius: 999px; padding: 1px 8px;
}
.text-link { color: var(--accent); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.section { padding: 56px 0; }
.section.tight { padding-top: 24px; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 26px; margin: 0 0 8px; }
.section-title.small { font-size: 18px; margin-top: 32px; }
.section-lead { color: var(--text-secondary); margin: 0 0 28px; max-width: 640px; }
.section-title + .cards, .section-title + .steps { margin-top: 24px; }

.cards { display: grid; gap: 14px; }
.card h3 { font-size: 16px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--text-secondary); }
.link-card { text-decoration: none; display: flex; flex-direction: column; transition: border-color .15s; }
.link-card:hover { border-color: var(--accent); }
.link-card .more { margin-top: auto; padding-top: 14px; color: var(--accent); font-weight: 500; font-size: 14px; }
@media (min-width: 640px) {
  .cards-2, .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Home ---------- */
.hero { padding: 56px 0 48px; }
.hero h1 { font-size: 36px; letter-spacing: -0.02em; margin: 0; max-width: 640px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-visual { display: none; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 72px; }
  .hero h1 { font-size: 52px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .hero-visual { display: block; }
}
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .12); overflow: hidden;
}
.mock-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mock-logo { font-weight: 700; font-size: 14px; }
.mock-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--series-1-wash); border: 1px solid var(--border); }
.mock-body { padding: 18px 16px; }
.mock-title { font-weight: 600; margin: 0; }
.mock-sub { color: var(--text-muted); font-size: 13px; margin: 2px 0 14px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; margin-top: 8px; font-size: 14px; }
.mock-pill { background: var(--series-1-wash); color: var(--accent); font-weight: 600; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.muted-row { color: var(--accent); border-style: dashed; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.steps h3 { font-size: 16px; margin: 10px 0 6px; }
.steps p { margin: 0; color: var(--text-secondary); }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.trust { display: grid; gap: 28px; }
@media (min-width: 860px) { .trust { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0 0 12px 28px; color: var(--text-secondary); }
.checks li strong { color: var(--text-primary); }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px;
  border-left: 2px solid var(--up); border-bottom: 2px solid var(--up); transform: rotate(-45deg);
}
.checks.small li { font-size: 14px; padding-bottom: 8px; }

.cta-band h2 { font-size: 28px; margin: 0 0 8px; }
.cta-band p { color: var(--text-secondary); margin: 0; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 48px 0 28px; }
.page-hero h1 { font-size: 32px; letter-spacing: -0.02em; margin: 0; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 36px; } .page-hero h1 { font-size: 42px; } }
.page-hero .meta { color: var(--text-muted); font-size: 13px; margin: 10px 0 0; }
.plain-list { margin: 16px 0 0; padding-left: 20px; color: var(--text-secondary); }
.plain-list li { margin-bottom: 6px; }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.toggle-btn { font: inherit; font-size: 14px; font-weight: 500; color: var(--text-secondary); background: none; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.toggle-btn[aria-pressed="true"] { background: var(--accent); color: #fff; }
.toggle-btn .save { font-size: 12px; opacity: .85; margin-left: 4px; }
.plans { display: grid; gap: 16px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }
/* Five plans side by side once there's room: the row is a little wider than the page's text. */
@media (min-width: 1240px) { .plans { grid-template-columns: repeat(5, 1fr); margin-inline: -40px; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px 20px; display: flex; flex-direction: column; scroll-margin-top: 80px; }
.plan.featured { border: 2px solid var(--accent); }
/* Free: a mint edge and the brightest button on the page, while Business keeps the "Most popular" frame. */
.plan.free { border-color: color-mix(in srgb, var(--mint) 45%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--mint) 9%, var(--surface)), var(--surface) 55%); }
.plan .btn.plan-free-go { background: var(--mint); color: var(--on-mint); border-color: transparent; font-weight: 700; box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--mint) 80%, transparent); }
.plan .btn.plan-free-go:hover { background: var(--mint-strong); transform: translateY(-1px); }
.plan .btn.plan-free-go:focus-visible { outline: 3px solid color-mix(in srgb, var(--mint) 60%, transparent); outline-offset: 2px; }
.plan h2 { font-size: 18px; margin: 0; }
.plan-tag { color: var(--text-secondary); font-size: 14px; margin: 6px 0 16px; min-height: 42px; }
.price { margin: 0; }
.price .amount { font-size: 30px; font-weight: 700; color: var(--text-primary); }
.price .per { color: var(--text-muted); margin-left: 4px; }
.price-sub { color: var(--text-muted); font-size: 13px; margin: 2px 0 18px; }
.plan .btn { margin-bottom: 18px; }
.badge { position: absolute; top: -12px; left: 20px; margin: 0; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

.faq dt { font-weight: 600; margin-top: 20px; }
.faq dd { margin: 6px 0 0; color: var(--text-secondary); }
.faq a { color: var(--accent); }

/* ---------- Contact ---------- */
.form-card { padding: 24px; }
.form-grid { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
textarea { width: 100%; font: inherit; color: var(--text-primary); background: var(--page); border: 1px solid var(--input-border); border-radius: 8px; padding: 9px 11px; resize: vertical; }
textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Legal ---------- */
.legal, .legal-head { max-width: 1000px; }
.legal { display: grid; gap: 28px; }
.legal-head .lead { max-width: 720px; }
@media (min-width: 960px) { .legal { grid-template-columns: 240px 1fr; align-items: start; } .toc { position: sticky; top: 84px; } }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; font-size: 13px; }
.toc-title { font-weight: 600; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--text-secondary); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.prose { min-width: 0; }
.prose h2 { font-size: 20px; margin: 36px 0 10px; scroll-margin-top: 80px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-secondary); }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }
.prose strong { color: var(--text-primary); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.data-table th, .data-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--grid); vertical-align: top; }
.data-table th { color: var(--text-muted); font-weight: 500; font-size: 12px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--border); padding: 44px 0 24px; }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; gap: 28px; }
.foot-brand p { color: var(--text-secondary); font-size: 14px; margin: 8px 0 0; max-width: 300px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.foot-cols h2 { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; font-weight: 600; }
.foot-cols a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; padding: 3px 0; }
.foot-cols a:hover { color: var(--accent); }
@media (min-width: 860px) {
  .foot-inner { grid-template-columns: 1fr 2fr; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
}
.foot-legal { max-width: 1120px; margin: 28px auto 0; padding: 18px 16px 0; border-top: 1px solid var(--grid); color: var(--text-muted); font-size: 13px; }
.foot-legal a { color: var(--text-secondary); }

/* =====================================================================================================
   Welcome page (site/pages/home.ts): the cast, the tour and the live mock-ups. Plays once in view (.in).
   ===================================================================================================== */
.wl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-ink); margin: 0 0 14px; }
.wl-eyebrow.center { display: flex; justify-content: center; }
.wl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: wl-ping 2s infinite; }
.wl-h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 12px; }
.wl-sub { color: var(--text-secondary); font-size: clamp(16px, 1.6vw, 19px); margin: 0 auto 8px; max-width: 640px; }
.center { text-align: center; }
.wl-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 8px; }
.wl-ctas.center { justify-content: center; }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.wl-go { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--on-mint); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--mint) 70%, transparent); }
.wl-go:hover { background: var(--mint-strong); transform: translateY(-1px); }
.wl-go .ic { transition: transform .2s var(--ease); }
.wl-go:hover .ic { transform: translateX(3px); }
.wl-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--link); text-decoration: none; }
.wl-more:hover { text-decoration: underline; }
.wl-cast { display: block; width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.wl-hero { position: relative; overflow: hidden; padding: clamp(28px, 4.5vw, 60px) 0 0; text-align: center; isolation: isolate; }
.wl-blobs { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; filter: blur(60px); opacity: .7; }
.wl-blobs i { position: absolute; border-radius: 50%; animation: wl-drift 18s ease-in-out infinite alternate; }
.wl-blobs i:nth-child(1) { width: 46vw; height: 46vw; left: 6%; top: 4%; background: color-mix(in srgb, var(--mint) 45%, transparent); }
.wl-blobs i:nth-child(2) { width: 38vw; height: 38vw; right: 4%; top: 0; background: color-mix(in srgb, #9cc2ea 55%, transparent); animation-duration: 22s; }
.wl-blobs i:nth-child(3) { width: 30vw; height: 30vw; left: 40%; top: 30%; background: color-mix(in srgb, #ffc83d 30%, transparent); animation-duration: 26s; }
.wl-hero h1 { font-size: clamp(40px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; margin: 0 auto 16px; max-width: 14ch; }
.wl-rotate { position: relative; display: inline-grid; color: var(--mint-strong); }
.wl-rotate span { grid-area: 1 / 1; animation: wl-word-in .5s var(--ease) both; }
.wl-rotate span.out { animation: wl-word-out .45s var(--ease) both; }
.wl-lead { font-size: clamp(17px, 1.9vw, 21px); color: var(--text-secondary); max-width: 640px; margin: 0 auto; line-height: 1.55; }
.wl-hero-text .wl-ctas { justify-content: center; }
.wl-hero .fine { color: var(--text-muted); font-size: 13px; }

.wl-stage { --px: 0; --py: 0; position: relative; height: clamp(220px, 24vw, 330px); margin: 0 auto; max-width: 1180px; }
.wl-hill { position: absolute; left: 50%; bottom: -78%; width: 140%; height: 120%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at 50% 20%, color-mix(in srgb, var(--mint) 55%, var(--surface)) 0%, color-mix(in srgb, var(--mint) 22%, var(--page)) 40%, transparent 70%); }
.wl-crowd { position: absolute; inset: auto 0 6% 0; display: flex; justify-content: center; align-items: flex-end; }
.wl-crowd .wl-cast { width: clamp(70px, 11vw, 160px); height: auto; aspect-ratio: 1; margin: 0 clamp(-14px, -1vw, -4px); animation: wl-arrive .9s var(--ease) both; }
.wl-crowd .c1 { animation-delay: .35s; } .wl-crowd .c2 { animation-delay: .2s; } .wl-crowd .c3 { animation-delay: .1s; }
.wl-crowd .c5 { animation-delay: .1s; } .wl-crowd .c6 { animation-delay: .2s; } .wl-crowd .c7 { animation-delay: .35s; }
.wl-crowd .lead { width: clamp(90px, 14vw, 200px); transform-origin: bottom; }
.wl-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; color: var(--text-primary); white-space: nowrap;
  transform: translate(calc(var(--px) * var(--depth, 20px)), calc(var(--py) * var(--depth, 20px))); transition: transform .3s var(--ease); animation: wl-pop .6s var(--ease) backwards; }
.wl-chip .ic { color: var(--mint-strong); }
.wl-chip b { margin-right: 4px; }
.wl-chip.ch1 { left: 3%; top: 4%; --depth: 40px; animation-delay: .9s; }
.wl-chip.ch2 { right: 4%; top: 0%; --depth: -34px; animation-delay: 1.1s; }
.wl-chip.ch3 { left: 8%; top: 42%; --depth: -24px; animation-delay: 1.3s; }
.wl-chip.ch4 { right: 7%; top: 40%; --depth: 30px; animation-delay: 1.5s; }
.wl-live { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fff; background: #e5484d; padding: 3px 8px; border-radius: 999px; }
.wl-live .ic { color: #fff; animation: wl-blink 1.2s steps(2) infinite; }
.wl-stage[data-mood="cheer"] .pinny .p-all { animation: p-jump .9s cubic-bezier(.3, .7, .4, 1) both; }

/* ---------- Made for ---------- */
.wl-made { padding: 26px 0 8px; }
.wl-made .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.wl-made p { margin: 0; color: var(--text-muted); font-weight: 600; }
.wl-made ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; justify-content: center; }
.wl-made a { display: block; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 14px; transition: transform .2s var(--ease), box-shadow .2s; }
.wl-made a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- The tour ---------- */
.wl-tour { padding: clamp(56px, 8vw, 110px) 0 20px; }
.wl-scene { padding: clamp(36px, 6vw, 80px) 0; }
.wl-scene-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.wl-scene.flip .wl-scene-text { order: 2; }
.wl-scene-text h3 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.025em; margin: 10px 0 12px; font-weight: 800; }
.wl-scene-text > p { color: var(--text-secondary); font-size: 17px; margin: 0 0 16px; }
.wl-who { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-size: 14px; }
.wl-who .wl-cast.mini { width: 36px; height: 36px; }
.wl-who strong { color: var(--text-primary); }
.wl-ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.wl-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.wl-ticks .ic { color: var(--mint-strong); margin-top: 3px; }
.wl-ticks.big li { font-size: 17px; }
.wl-scene-art { position: relative; min-height: 360px; display: grid; place-items: center; }
.wl-glow { position: absolute; inset: 6% 8%; border-radius: 40px; background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--mint) 30%, transparent), transparent 70%); filter: blur(10px); }
.wl-scene-art .wl-cast.host { position: absolute; width: clamp(110px, 13vw, 170px); height: auto; aspect-ratio: 1; right: -2%; bottom: -4%; z-index: 2; opacity: 0; transform: translateY(30px) scale(.9); transition: opacity .6s var(--ease) .25s, transform .7s var(--ease) .25s; }
.wl-scene.flip .wl-scene-art .wl-cast.host { right: auto; left: -2%; }
.wl-scene.in .wl-cast.host { opacity: 1; transform: none; }
.wl-scene .mk { opacity: 0; transform: translateY(24px) rotate(-1deg); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.wl-scene.in .mk { opacity: 1; transform: none; }

/* Mock-ups: small, live versions of Kontour's screens. */
.mk { position: relative; z-index: 1; width: min(100%, 440px); background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 18px; font-size: 14px; }
.mk h4 { margin: 4px 0 12px; font-size: 20px; letter-spacing: -0.01em; }
.mk-kicker { margin: 0; color: var(--text-secondary); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mk-bar { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mk-bar small { display: block; color: var(--mint-ink); }
.mk-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; background: #ff8a4c; }
.mk-msgs { display: grid; gap: 8px; padding: 14px 0; min-height: 190px; align-content: start; }
.mk-b { margin: 0; max-width: 80%; padding: 9px 13px; border-radius: 16px; line-height: 1.4; opacity: 0; transform: translateY(10px) scale(.96); position: relative; }
.mk-b.in { background: var(--page); border-bottom-left-radius: 4px; justify-self: start; }
.mk-b.out { background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; justify-self: end; }
.mk-react { position: absolute; right: -6px; bottom: -12px; background: var(--surface); box-shadow: var(--shadow-sm); border-radius: 999px; padding: 1px 7px; font-size: 12px; color: var(--mint-ink); display: inline-flex; gap: 3px; align-items: center; }
.mk-typing { margin: 6px 0 0; display: inline-flex; gap: 4px; padding: 10px 12px; background: var(--page); border-radius: 14px; justify-self: start; opacity: 0; }
.mk-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: wl-type 1.2s infinite; }
.mk-typing i:nth-child(2) { animation-delay: .15s; } .mk-typing i:nth-child(3) { animation-delay: .3s; }
.in .mk-b, .in .mk-typing { animation: wl-msg .45s var(--ease) both; }
.in .d0 { animation-delay: .5s; } .in .d1 { animation-delay: 1.2s; } .in .d2 { animation-delay: 1.9s; } .in .d3 { animation-delay: 2.6s; } .in .d4 { animation-delay: 3.1s; } .in .d5 { animation-delay: 3.6s; }
.mk-compose { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 999px; background: var(--page); color: var(--text-muted); }
.mk-compose .ic { color: var(--mint-strong); }

.mk-meet { background: #0f1d2b; color: #e8eef2; }
.mk-meet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mk-live { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; background: #e5484d; color: #fff; padding: 3px 9px; border-radius: 999px; }
.mk-live .ic { animation: wl-blink 1.2s steps(2) infinite; }
.mk-code { font-family: ui-monospace, monospace; font-size: 13px; background: rgba(255,255,255,.08); padding: 3px 10px; border-radius: 8px; }
.mk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-tile { position: relative; aspect-ratio: 4/3; border-radius: 14px; display: grid; place-items: center; transform: scale(.9); opacity: 0; }
.mk-tile span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255,255,255,.18); }
.mk-tile small { position: absolute; left: 8px; bottom: 6px; font-size: 11px; opacity: .85; }
.mk-tile.t1 { background: linear-gradient(135deg, #1d5a8f, #14304d); } .mk-tile.t2 { background: linear-gradient(135deg, #7a4fd6, #4630b0); }
.mk-tile.t3 { background: linear-gradient(135deg, #19a974, #0b7350); } .mk-tile.t4 { background: linear-gradient(135deg, #e8892c, #b85d12); }
.in .mk-tile { animation: wl-pop .5s var(--ease) both; }
.in .mk-tile.t2 { animation-delay: .15s; } .in .mk-tile.t3 { animation-delay: .3s; } .in .mk-tile.t4 { animation-delay: .45s; }
.in .mk-tile.speaking { box-shadow: 0 0 0 3px #34d399; animation: wl-pop .5s var(--ease) both, wl-speak 2.4s 1s ease-in-out infinite; }
.in .mk-tile.speaking2 { animation: wl-pop .5s .45s var(--ease) both, wl-speak 2.4s 2.2s ease-in-out infinite; }
.mk-controls { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.mk-controls span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.mk-controls .end { background: #e5484d; }

.mk-file { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--page); }
.mk-file small { margin-left: auto; color: var(--text-muted); }
.mk-hand { position: relative; height: 46px; margin: 14px 0; }
.mk-btn { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; font-weight: 700; }
.mk-btn.todo { background: var(--accent); color: var(--on-accent); }
.mk-btn.done { background: var(--mint); color: var(--on-mint); display: flex; justify-content: center; gap: 6px; align-items: center; opacity: 0; transform: scale(.9); }
.in .mk-btn.todo { animation: wl-press .5s 1.4s var(--ease) both; }
.in .mk-btn.done { animation: wl-pop .5s 1.8s var(--ease) both; }
.mk-grade { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--mint-soft); opacity: 0; }
.mk-grade strong { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--mint); color: var(--on-mint); }
.mk-grade em { color: var(--text-secondary); font-size: 13px; }
.in .mk-grade { animation: wl-pop .6s 2.6s var(--ease) both; }

.mk-phone { width: min(100%, 290px); border-radius: 36px; padding: 26px 18px 22px; text-align: center; border: 8px solid #0f1d2b; }
.mk-notch { position: absolute; left: 50%; top: -1px; width: 90px; height: 20px; border-radius: 0 0 14px 14px; background: #0f1d2b; transform: translateX(-50%); }
.mk-qr { width: 170px; margin: 6px auto 8px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.mk-qr svg { display: block; width: 100%; fill: #0f1d2b; stroke: #0f1d2b; }
.in .mk-qr-cells { animation: wl-qr 3s steps(1) infinite; }
.mk-qr-note { margin: 0 0 12px; color: var(--text-secondary); font-size: 13px; }
.mk-toast { display: flex; gap: 10px; align-items: center; text-align: left; padding: 12px; border-radius: 16px; background: var(--mint-soft); opacity: 0; transform: translateY(14px); }
.mk-toast .ic { color: var(--mint-strong); width: 28px; height: 28px; }
.mk-toast small { display: block; color: var(--text-secondary); }
.in .mk-toast { animation: wl-msg .5s 1.6s var(--ease) both; }

.mk-cal-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-secondary); }
.mk-cal-head strong { color: var(--text-primary); font-size: 18px; }
.mk-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; margin-bottom: 12px; }
.mk-week div { padding: 8px 0; border-radius: 12px; background: var(--page); }
.mk-week div:nth-child(3) { background: var(--accent); color: var(--on-accent); }
.mk-week small { display: block; font-size: 11px; opacity: .8; }
.mk-week b { font-size: 18px; }
.mk-events { display: grid; gap: 8px; }
.mk-ev { padding: 10px 12px; border-radius: 12px; font-weight: 600; border-left: 4px solid; opacity: 0; transform: translateX(-16px); }
.mk-ev.e1 { background: #e3eefb; border-color: #1d5a8f; color: #14304d; } .mk-ev.e2 { background: #daf4e8; border-color: #19a974; color: #0b4d36; }
.mk-ev.e3 { background: #fff1d6; border-color: #e8a33d; color: #6b4300; } .mk-ev.e4 { background: #ffe3e0; border-color: #e5484d; color: #7a1d1f; }
.in .mk-ev { animation: wl-slide .5s var(--ease) both; }
.in .mk-ev.e1 { animation-delay: .5s; } .in .mk-ev.e2 { animation-delay: .8s; } .in .mk-ev.e3 { animation-delay: 1.1s; } .in .mk-ev.e4 { animation-delay: 1.4s; }

.mk-drive { display: grid; gap: 8px; }
.mk-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--page); }
.mk-row .ic { color: var(--link); }
.mk-folder { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 14px; background: #fff1d6; color: #6b4300; font-weight: 700; margin-top: 4px; }
.mk-folder .ic { color: #e8a33d; width: 28px; height: 28px; }
.in .mk-row { animation: wl-into-folder 2.6s var(--ease) both; }
.in .mk-row.f2 { animation-delay: .4s; } .in .mk-row.f3 { animation-delay: .8s; }
.in .mk-folder { animation: wl-gulp .5s 1.9s var(--ease) both; }
.mk-space span { display: block; height: 8px; border-radius: 99px; background: var(--page); overflow: hidden; margin: 10px 0 4px; }
.mk-space i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--mint); }
.in .mk-space i { animation: wl-fill 1.6s 1s var(--ease) both; }
.mk-space small { color: var(--text-muted); }

.mk-sec { text-align: center; }
.mk-code6 { display: flex; justify-content: center; gap: 8px; margin: 16px 0; }
.mk-code6 span { width: 44px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; font-weight: 800; background: var(--page); box-shadow: inset 0 0 0 2px var(--border); color: transparent; }
.in .mk-code6 span { animation: wl-digit .35s var(--ease) both; }
.mk-ok { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 16px; background: var(--mint-soft); color: var(--mint-ink); opacity: 0; transform: scale(.9); }
.mk-ok .ic { width: 28px; height: 28px; }
.in .mk-ok { animation: wl-pop .6s 2.6s var(--ease) both; }

/* ---------- Everything included ---------- */
.wl-all { padding: clamp(56px, 8vw, 110px) 0; background: linear-gradient(180deg, transparent, var(--mint-soft) 50%, transparent); }
.wl-grid { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.wl-grid li { display: grid; gap: 4px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.wl-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wl-grid li > span:last-child { color: var(--text-secondary); font-size: 14px; }
.wl-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); margin-bottom: 6px; transition: transform .3s var(--ease); }
.wl-grid li:hover .wl-ic { transform: rotate(-8deg) scale(1.08); }
.wl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .6s var(--ease); }
.wl-reveal.in { opacity: 1; transform: none; }
.wl-reveal.d1 { transition-delay: .06s; } .wl-reveal.d2 { transition-delay: .12s; } .wl-reveal.d3 { transition-delay: .18s; } .wl-reveal.d4 { transition-delay: .24s; } .wl-reveal.d5 { transition-delay: .3s; }

/* ---------- Who it's for ---------- */
.wl-who-for { padding: clamp(40px, 6vw, 90px) 0; }
.wl-aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 30px; }
.wl-aud-card { display: grid; gap: 6px; justify-items: start; padding: 20px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.wl-aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.wl-aud-card .wl-cast.aud { width: 96px; height: 96px; margin-bottom: 4px; }
.wl-aud-card strong { font-size: 19px; letter-spacing: -0.01em; }
.wl-aud-card > span:not(.wl-more) { color: var(--text-secondary); }

/* ---------- Trust ---------- */
.wl-trust { padding: clamp(40px, 6vw, 90px) 0; }
.wl-trust-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.wl-trust-art { max-width: 320px; justify-self: center; width: 100%; aspect-ratio: 1; }

/* ---------- Final call ---------- */
.wl-final { padding: clamp(56px, 8vw, 110px) 0 30px; overflow: hidden; }
.wl-final-crowd { display: flex; justify-content: center; align-items: flex-end; margin-top: 30px; }
.wl-final-crowd .wl-cast { width: clamp(56px, 10vw, 130px); aspect-ratio: 1; height: auto; margin: 0 -6px; }
.wl-final[data-mood="cheer"] .pinny .p-all { animation: p-hop .7s ease-in-out infinite; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 860px) {
  .wl-scene-grid, .wl-trust-grid { grid-template-columns: 1fr; }
  .wl-scene.flip .wl-scene-text { order: 0; }
  .wl-scene-art { min-height: 300px; }
  .wl-scene-art .wl-cast.host { width: 100px; right: 0; bottom: -8%; }
  .wl-scene.flip .wl-scene-art .wl-cast.host { left: 0; }
  .wl-chip { font-size: 12px; padding: 7px 10px; }
  .wl-chip.ch3, .wl-chip.ch4 { display: none; }
  .wl-trust-art { max-width: 200px; }
}
@media (max-width: 600px) {
  .wl-chip { display: none; }
  .wl-eyebrow { font-size: 12px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .wl-hero { padding-top: 24px; }
  .wl-lead { font-size: 16px; }
  .wl-ctas { margin-top: 18px; }
  .wl-ctas .btn-lg { width: 100%; justify-content: center; text-align: center; }
  .wl-stage { height: 170px; margin-top: 4px; }
  .wl-hill { bottom: -95%; }
  .wl-crowd .wl-cast { margin: 0 -7px; }
}
@media (max-width: 480px) {
  .mk { padding: 14px; }
  .mk-code6 span { width: 36px; height: 46px; font-size: 20px; }
}

@keyframes wl-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes wl-drift { to { transform: translate(6%, 8%) scale(1.1); } }
@keyframes wl-word-in { from { opacity: 0; transform: translateY(40%) rotateX(-60deg); } }
@keyframes wl-word-out { to { opacity: 0; transform: translateY(-40%) rotateX(60deg); } }
@keyframes wl-arrive { from { opacity: 0; transform: translateY(60px) scale(.8); } }
@keyframes wl-pop { from { opacity: 0; transform: scale(.8) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wl-blink { 50% { opacity: .2; } }
@keyframes wl-msg { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes wl-type { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes wl-speak { 0%, 100% { box-shadow: 0 0 0 3px #34d399; } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, #34d399 40%, transparent); } }
@keyframes wl-press { 40% { transform: scale(.94); } 100% { opacity: 0; transform: scale(.94); } }
@keyframes wl-qr { 0% { transform: none; } 33% { transform: translate(8px, 0); } 66% { transform: translate(0, 8px); } }
@keyframes wl-slide { to { opacity: 1; transform: none; } }
@keyframes wl-into-folder { 0% { opacity: 0; transform: translateY(-10px); } 20%, 60% { opacity: 1; transform: none; } 100% { opacity: .35; transform: translateY(6px) scale(.98); } }
@keyframes wl-gulp { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes wl-fill { to { width: 24%; } }
@keyframes wl-digit { from { color: transparent; transform: scale(.7); box-shadow: inset 0 0 0 2px var(--mint); } to { color: var(--text-primary); transform: none; box-shadow: inset 0 0 0 2px var(--mint); } }
@media (prefers-reduced-motion: reduce) {
  .wl-hero *, .wl-scene *, .wl-reveal, .wl-blobs i { animation: none !important; transition: none !important; }
  .wl-scene .mk, .wl-scene-art .wl-cast.host, .wl-reveal, .mk-b, .mk-typing, .mk-tile, .mk-btn.done, .mk-grade, .mk-toast, .mk-ev, .mk-ok { opacity: 1 !important; transform: none !important; }
  .mk-btn.todo { opacity: 0; }
  .mk-code6 span { color: var(--text-primary); }
}

/* ---------- Help centre (site/pages/help.ts, src/client/help.ts) ---------- */
/* Inside Kontour (over the tabs) the public site's header and footer step aside. */
html.embed .site-header, html.embed .site-foot, html.embed .skip { display: none !important; }

.hp-hero { padding: 48px 0 28px; background: radial-gradient(900px 400px at 20% 0%, color-mix(in srgb, var(--mint) 22%, transparent), transparent 70%); }
.hp-hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.hp-hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 6px; letter-spacing: -.02em; }
.hp-hero-cast { width: clamp(120px, 16vw, 190px); aspect-ratio: 1; display: block; }
@media (max-width: 700px) { .hp-hero .wrap { grid-template-columns: 1fr; } .hp-hero-cast { width: 110px; } }
.hp-search-box { position: relative; display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 18px; padding: 0 16px; border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px var(--border); }
.hp-search-box:focus-within { box-shadow: var(--shadow), 0 0 0 2px var(--mint-strong); }
.hp-search-box svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--mint-ink); stroke-width: 2; stroke-linecap: round; }
.hp-search-box input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--text-primary); outline: none; }
.hp-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 6px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px var(--border); }
.hp-results a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--text-primary); text-decoration: none; }
.hp-results a small { color: var(--text-secondary); }
.hp-results a:hover, .hp-results a.on { background: var(--mint-soft); }
.hp-none { padding: 12px; color: var(--text-secondary); }
.hp-popular { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--text-secondary); font-size: 14px; }
.hp-popular a { padding: 5px 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); color: var(--text-primary); text-decoration: none; font-weight: 600; }
.hp-popular a:hover { box-shadow: 0 0 0 2px var(--mint-strong); }

.hp-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.hp-topic { border-radius: 22px; padding: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); scroll-margin-top: 90px; }
.hp-topic header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.hp-topic-cast { width: 76px; height: 76px; flex: none; display: block; transition: transform .25s var(--ease, ease); }
.hp-topic:hover .hp-topic-cast { transform: translateY(-4px) rotate(-3deg); }
.hp-topic h2 { margin: 0; font-size: 19px; }
.hp-topic header p { margin: 2px 0 0; color: var(--text-secondary); font-size: 14px; }
.hp-tint-mint { --hp-tint: var(--mint); } .hp-tint-sky { --hp-tint: #7fb2e5; } .hp-tint-sun { --hp-tint: #f5b82e; } .hp-tint-berry { --hp-tint: #f07c9a; } .hp-tint-ink { --hp-tint: #5b86b5; }
.hp-topic { background: linear-gradient(160deg, color-mix(in srgb, var(--hp-tint) 14%, var(--surface)), var(--surface) 55%); }
.hp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hp-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--text-primary); text-decoration: none; font-weight: 600; }
.hp-links a::after { content: "›"; color: var(--text-secondary); font-size: 18px; }
.hp-links a:hover { background: color-mix(in srgb, var(--hp-tint, var(--mint)) 18%, transparent); }
.hp-for { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--hover); color: var(--text-secondary); margin-left: auto; }
.hp-for.big { display: inline-block; margin: 0 0 6px; }

.hp-guide-top { padding: 28px 0 20px; background: linear-gradient(180deg, color-mix(in srgb, var(--hp-tint) 18%, transparent), transparent); }
.hp-crumbs { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; }
.hp-crumbs a { color: var(--text-secondary); }
.hp-guide-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.hp-guide-head h1 { margin: 0 0 4px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.015em; }
.hp-guide-cast { width: clamp(90px, 13vw, 140px); aspect-ratio: 1; display: block; }
.hp-guide-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.hp-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px; align-items: center; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); transition: box-shadow .25s, transform .25s; }
@media (max-width: 760px) { .hp-step { grid-template-columns: 1fr; } }
.hp-step-text { display: flex; gap: 14px; align-items: flex-start; }
.hp-step-text p { margin: 4px 0 0; font-size: 18px; line-height: 1.5; }
.hp-num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-strong); color: var(--on-mint); font-weight: 800; font-size: 17px; }
.hp-step.reading, .hp-step.now { box-shadow: 0 0 0 3px var(--mint-strong), var(--shadow); transform: scale(1.01); }
.hp-playing .hp-step:not(.now) { opacity: .45; }
.hp-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); font-weight: 600; }
.hp-feedback [aria-pressed="true"] { background: var(--mint-soft); }
.hp-thanks { margin: 0; width: 100%; color: var(--mint-ink); font-weight: 600; }
.hp-stuck { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 18px; border-radius: 22px; background: color-mix(in srgb, var(--mint) 12%, var(--surface)); flex-wrap: wrap; }
.hp-stuck h2 { margin: 0 0 4px; font-size: 20px; }
.hp-stuck p { margin: 0 0 10px; color: var(--text-secondary); }
.hp-stuck-cast { width: 92px; height: 92px; display: block; flex: none; }
.hp-stuck > div { flex: 1; min-width: 220px; }
.hp-ask { width: 100%; display: grid; gap: 8px; }
.hp-ask textarea { width: 100%; border-radius: 12px; padding: 10px 12px; font: inherit; }
.hp-ask-row { display: flex; gap: 10px; align-items: center; }
.hp-ask-msg { color: var(--down, #c4373b); }
.hp-more { margin-top: 28px; }
.hp-more h2 { font-size: 18px; }

/* The drawn screens: a little Kontour, with the thing to press glowing. */
.hp-pic { min-width: 0; }
.hp-screen { --hp-r: 10px; position: relative; display: flex; gap: 0; min-height: 190px; border-radius: 16px; overflow: hidden; font-size: 12px; color: var(--text-primary);
  background: var(--page); box-shadow: 0 0 0 1px var(--border), var(--shadow); }
.hp-screen svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-side { flex: none; width: 34px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; background: var(--surface); border-right: 1px solid var(--border); }
.hp-si { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: var(--text-secondary); }
.hp-si.on { color: var(--mint-ink); background: var(--mint-soft); }
.hp-me { margin-top: auto; border-radius: 50%; background: #ffb38a; }
.hp-main { flex: 1; min-width: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.hp-title { font-weight: 800; font-size: 13px; }
.hp-strip { display: flex; align-items: flex-end; gap: 4px; margin: -10px -10px 0; padding: 6px 8px 0; background: color-mix(in srgb, var(--accent) 9%, var(--page)); }
.hp-tab { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 8px 8px 0 0; color: var(--text-secondary); font-weight: 600; white-space: nowrap; }
.hp-tab.on { background: var(--page); color: var(--text-primary); }
.hp-x { font-weight: 400; margin-left: 2px; padding: 0 3px; border-radius: 50%; }
.hp-plus { padding: 3px 7px; font-size: 15px; color: var(--text-secondary); border-radius: 50%; margin-bottom: 2px; }
.hp-search { margin-left: auto; margin-bottom: 4px; display: inline-flex; gap: 4px; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 60%, transparent); color: var(--text-secondary); }
.hp-card { display: grid; gap: 6px; padding: 9px; border-radius: var(--hp-r); background: var(--surface); box-shadow: 0 0 0 1px var(--border); grid-template-columns: auto 1fr; align-items: start; }
.hp-card > :not(.hp-av) { grid-column: 1 / -1; }
.hp-card > .hp-av + .hp-line { grid-column: 2; }
.hp-card b, .hp-card small { grid-column: 1 / -1; }
.hp-card small, .hp-main small { display: block; color: var(--text-secondary); font-size: 11px; }
.hp-line { display: block; height: 7px; border-radius: 4px; background: var(--hover); width: 100%; }
.hp-line.short { width: 60%; }
.hp-av { width: 26px; height: 26px; border-radius: 50%; display: inline-block; flex: none; }
.hp-a { background: #ff8a4c; } .hp-b { background: #7fb2e5; } .hp-c { background: #a58bf5; } .hp-d { background: #2fbf71; }
.hp-big { width: 34px; height: 34px; border-radius: 10px; } .hp-xl { width: 52px; height: 52px; border: 3px solid var(--page); margin-top: -26px; }
.hp-acts { display: flex; gap: 12px; color: var(--text-secondary); font-weight: 600; }
.hp-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp-row > span:has(b) { display: grid; }
.hp-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-left: auto; }
.hp-btn.ghost { background: transparent; color: var(--text-primary); box-shadow: 0 0 0 1px var(--border); margin-left: 0; }
.hp-btn.sm { padding: 4px 10px; font-size: 11px; }
.hp-btn.wide { margin: 0; justify-content: center; }
.hp-input { padding: 8px 10px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); color: var(--text-secondary); }
.hp-input.tall { min-height: 46px; }
.hp-select, .hp-pill { padding: 4px 10px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); font-weight: 600; white-space: nowrap; }
.hp-pill.mint { background: var(--mint-strong); color: var(--on-mint); box-shadow: none; }
.hp-dot { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #e5484d; color: #fff; font-size: 9px; }
.hp-photo { height: 60px; border-radius: 10px; background: linear-gradient(135deg, #7fb2e5, #a58bf5 60%, #ffb38a); }
.hp-dialog { justify-content: center; padding: 14px; background: color-mix(in srgb, var(--accent) 10%, var(--page)); }
.hp-dialog .hp-main { max-width: 280px; border-radius: 14px; background: var(--page); box-shadow: var(--shadow); padding: 12px; }
.hp-link { color: var(--link, var(--accent)); font-weight: 600; align-self: flex-end; }
.hp-pop { position: absolute; left: 140px; top: 34px; z-index: 2; display: grid; gap: 2px; padding: 5px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-lg); font-weight: 600; }
.hp-pop span { padding: 4px 10px; border-radius: 6px; } .hp-pop .bad { color: #c4373b; }
.hp-chat { gap: 6px; padding: 6px; background: color-mix(in srgb, var(--accent) 7%, var(--page)); }
.hp-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px; border-radius: 14px; }
.hp-rail i { width: 16px; height: 2px; background: var(--border); }
.hp-pebble { width: 26px; height: 26px; border-radius: 9px; background: var(--surface); display: grid; place-items: center; color: var(--mint-ink); font-weight: 700; }
.hp-pebble.on { background: var(--mint-soft); }
.hp-list { width: 34%; display: grid; align-content: start; gap: 4px; padding: 8px; border-radius: 12px; background: var(--surface); }
.hp-li { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 8px; font-weight: 600; }
.hp-li > span:last-child, .hp-li > span:nth-child(2) { display: grid; }
.hp-li.on { background: var(--mint-soft); }
.hp-ib { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--text-secondary); flex: none; }
.hp-ib.send { background: var(--mint-strong); color: var(--on-mint); }
.hp-ib.bad { width: auto; padding: 0 10px; border-radius: 999px; background: #e5484d; color: #fff; font-weight: 700; }
.hp-conv { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; background: var(--page); }
.hp-bub { max-width: 75%; padding: 6px 10px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.hp-bub.me { align-self: flex-end; background: color-mix(in srgb, var(--mint) 30%, var(--surface)); box-shadow: none; }
.hp-conv .hp-btn { align-self: flex-start; margin: 0; background: var(--mint-strong); color: var(--on-mint); }
.hp-compose { margin-top: auto; display: flex; align-items: center; gap: 4px; }
.hp-compose .hp-input { flex: 1; border-radius: 999px; padding: 6px 10px; }
.hp-tabsrow b { display: inline-flex; gap: 4px; align-items: center; }
.hp-tabsline { display: flex; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-weight: 600; overflow: hidden; }
.hp-tabsline span:first-child { color: var(--text-primary); }
.hp-file { padding: 5px 8px; border-radius: 8px; background: var(--hover); width: max-content; }
.hp-timer { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--hover); font-weight: 700; }
.hp-opt { padding: 6px 10px; border-radius: 10px; box-shadow: 0 0 0 1px var(--border); font-weight: 600; }
.hp-opt.on { box-shadow: 0 0 0 2px var(--mint-strong); background: var(--mint-soft); }
.hp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hp-filecard { position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 4px 6px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); font-size: 16px; }
.hp-filecard svg { width: 22px; height: 22px; color: var(--mint-ink); }
.hp-dots { position: absolute; right: 4px; top: 2px; font-size: 12px; padding: 0 3px; border-radius: 6px; }
.hp-st { position: absolute; left: 5px; top: 3px; color: #f5b82e; font-size: 12px; }
.hp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.hp-cal span { position: relative; min-height: 28px; padding: 2px 4px; border-radius: 6px; background: var(--surface); color: var(--text-secondary); font-size: 10px; }
.hp-cal span.today { box-shadow: 0 0 0 2px var(--mint-strong); color: var(--text-primary); font-weight: 700; }
.hp-ev { position: absolute; left: 3px; right: 3px; bottom: 3px; height: 6px; border-radius: 3px; background: #7fb2e5; }
.hp-bar { padding: 9px 12px; border-radius: 12px; background: var(--mint-strong); color: var(--on-mint); font-weight: 600; }
.hp-map { position: relative; flex: 1; min-height: 90px; border-radius: 12px; background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--mint) 12%, var(--surface)) 0 10px, var(--surface) 10px 20px); }
.hp-pin { position: absolute; left: 50%; top: 40%; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #e5484d; box-shadow: 0 0 0 6px color-mix(in srgb, #e5484d 25%, transparent); }
.hp-meet { flex-direction: column; gap: 6px; padding: 8px; background: #101820; color: #e8eef2; }
.hp-tiles { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hp-tile { border-radius: 10px; min-height: 52px; opacity: .85; }
.hp-meetbar { display: flex; align-items: center; justify-content: center; gap: 6px; }
.hp-meetbar .hp-ib { background: #26323c; color: #e8eef2; }
.hp-code { margin-right: auto; padding: 3px 9px; border-radius: 999px; background: #26323c; font-weight: 700; letter-spacing: .03em; }
.hp-live { padding: 3px 9px; border-radius: 999px; background: #e5484d; color: #fff; font-weight: 800; }
.hp-two { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.hp-menu { display: grid; align-content: start; gap: 2px; }
.hp-menu span { padding: 5px 8px; border-radius: 8px; color: var(--text-secondary); font-weight: 600; }
.hp-switchrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 4px; border-radius: 8px; font-weight: 600; }
.hp-switch { width: 26px; height: 15px; border-radius: 999px; background: var(--hover); position: relative; flex: none; }
.hp-switch.on { background: var(--mint-strong); }
.hp-switch.on::after { content: ""; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.hp-cover { height: 44px; margin: -10px -10px 0; background: linear-gradient(120deg, color-mix(in srgb, var(--mint) 50%, var(--surface)), #7fb2e5); }
.hp-drawer { display: grid; gap: 4px; padding: 8px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); max-width: 240px; }
/* The glow: a soft mint ring that breathes. */
.hp-glow { position: relative; z-index: 1; box-shadow: 0 0 0 2px var(--mint-strong), 0 0 0 6px color-mix(in srgb, var(--mint) 35%, transparent) !important; border-radius: 10px; animation: hp-breathe 1.8s ease-in-out infinite; }
.hp-rail.hp-glow { border-radius: 14px; }
@keyframes hp-breathe { 50% { box-shadow: 0 0 0 2px var(--mint-strong), 0 0 0 10px color-mix(in srgb, var(--mint) 15%, transparent) !important; } }
@media (prefers-reduced-motion: reduce) { .hp-glow { animation: none; } .hp-step, .hp-topic-cast { transition: none; } }

/* Status page */
.status-board { display: grid; gap: 14px; }
.status-summary { margin: 0; padding: 14px 18px; border-radius: 14px; font-weight: 700; }
.status-summary.ok { background: #e3f7ee; color: #0b6b47; }
.status-summary.warn { background: #fff4d6; color: #7a5200; }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.status-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); }
.status-pill { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #e3f7ee; color: #0b6b47; white-space: nowrap; }
.status-pill.s-degraded, .status-pill.s-not-set-up { background: #fff4d6; color: #7a5200; }
.status-pill.s-down { background: #fde3e3; color: #a32020; }

/* ---------- What's new (site/pages/whats-new.ts) ---------- */
.wn-hero { padding: 56px 0 36px; background: radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--mint) 24%, transparent), transparent 70%), radial-gradient(700px 380px at 0% 100%, color-mix(in srgb, #7fb2e5 18%, transparent), transparent 70%); overflow: hidden; }
.wn-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr); gap: 32px; align-items: center; }
.wn-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; color: color-mix(in srgb, var(--mint) 60%, var(--text-primary)); }
.wn-hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 12px; }
.wn-hero .lead { max-width: 560px; }
.wn-now { display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 22px 0 18px; padding: 12px 14px 12px 12px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--border), 0 14px 34px -18px rgba(15, 29, 43, .35); color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.wn-now:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--border), 0 20px 40px -18px rgba(15, 29, 43, .45); }
.wn-now-ver { flex: none; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, var(--mint), #14304d); color: #fff; font: 800 15px/1 ui-monospace, monospace; }
.wn-now-text { flex: 1; min-width: 0; display: grid; }
.wn-now-text small { color: var(--text-secondary); font-size: 12.5px; }
.wn-now-text strong { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wn-now-go .ic { width: 22px; height: 22px; color: var(--text-secondary); }
.wn-stats { display: flex; gap: 28px; margin: 0; }
.wn-stats div { display: grid; }
.wn-stats dt { order: 2; font-size: 13px; color: var(--text-secondary); }
.wn-stats dd { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
/* The cast celebrating. */
.wn-party { position: relative; height: clamp(220px, 26vw, 300px); }
.wn-p { position: absolute; display: block; aspect-ratio: 1; }
.wn-p1 { width: 56%; left: 22%; top: 2%; z-index: 2; }
.wn-p2 { width: 38%; left: 0; bottom: 0; animation: wn-bob 3.4s ease-in-out infinite; }
.wn-p3 { width: 36%; right: 0; bottom: 4%; animation: wn-bob 3.8s ease-in-out .6s infinite; }
@keyframes wn-bob { 50% { transform: translateY(-8px); } }
.wn-confetti i { position: absolute; top: 6%; width: 9px; height: 14px; border-radius: 3px; opacity: 0; animation: wn-fall 4.2s linear infinite; }
.wn-confetti i:nth-child(1) { left: 12%; background: var(--mint); }
.wn-confetti i:nth-child(2) { left: 28%; background: #f5b82e; animation-delay: .5s; }
.wn-confetti i:nth-child(3) { left: 44%; background: #7fb2e5; animation-delay: 1.1s; }
.wn-confetti i:nth-child(4) { left: 60%; background: #f07c9a; animation-delay: 1.7s; }
.wn-confetti i:nth-child(5) { left: 76%; background: var(--mint); animation-delay: 2.2s; }
.wn-confetti i:nth-child(6) { left: 90%; background: #f5b82e; animation-delay: 2.8s; }
.wn-confetti i:nth-child(7) { left: 36%; background: #f07c9a; animation-delay: 3.3s; }
.wn-confetti i:nth-child(8) { left: 68%; background: #7fb2e5; animation-delay: 3.8s; }
@keyframes wn-fall { 0% { opacity: 0; transform: translateY(-20px) rotate(0); } 10% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(240px) rotate(540deg); } }
/* Rail and releases. */
.wn-body { padding: 8px 0 72px; }
.wn-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.wn-rail { position: sticky; top: 84px; display: grid; gap: 18px; max-height: calc(100vh - 100px); overflow: auto; padding: 2px; }
.wn-find { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.wn-find:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.wn-find .ic { color: var(--text-muted); }
.wn-find input { flex: 1; min-width: 0; border: 0; background: none; padding: 0; font: inherit; font-size: 15px; color: var(--text-primary); outline: none; box-shadow: none; }
.wn-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.wn-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-primary); font: inherit; font-size: 13px; cursor: pointer; transition: background .12s, box-shadow .12s; }
.wn-chip .ic { width: 15px; height: 15px; color: var(--wn-tint, var(--text-secondary)); }
.wn-chip:hover { background: var(--border); }
.wn-chip[aria-pressed="true"] { background: var(--text-primary); color: var(--surface); box-shadow: none; }
.wn-chip[aria-pressed="true"] .ic { color: inherit; }
.wn-timeline ol { list-style: none; margin: 0; padding: 0 0 0 6px; position: relative; display: grid; }
.wn-timeline ol::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--border); }
.wn-timeline a { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 0; border-radius: 12px; color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.wn-timeline a strong { font-family: ui-monospace, monospace; font-size: 13.5px; color: var(--text-primary); }
.wn-timeline a small { margin-left: auto; font-size: 12.5px; }
.wn-timeline a:hover strong, .wn-timeline a[aria-current] strong { color: color-mix(in srgb, var(--mint) 55%, var(--text-primary)); }
.wn-timeline a.dim { opacity: .4; }
.wn-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--border); transition: transform .2s, background .2s, box-shadow .2s; z-index: 1; }
.wn-dot.big { width: 14px; height: 14px; margin-left: -1px; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--mint) 60%, var(--border)); }
.wn-timeline a[aria-current] .wn-dot { background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 25%, transparent); transform: scale(1.1); }
.wn-releases { display: grid; gap: 26px; }
.wn-none { margin: 0; padding: 28px; border-radius: 22px; text-align: center; color: var(--text-secondary); background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.wn-rel { --wn-rel-tint: #7fb2e5; position: relative; padding: 26px; border-radius: 28px; background: linear-gradient(170deg, color-mix(in srgb, var(--wn-rel-tint) 10%, var(--surface)), var(--surface) 46%); box-shadow: 0 0 0 1px var(--border); scroll-margin-top: 90px; animation: wn-in .5s ease both; }
.wn-rel.major { --wn-rel-tint: var(--mint); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 45%, var(--border)), 0 24px 50px -30px color-mix(in srgb, var(--mint) 60%, transparent); }
.wn-rel.fresh::before { content: ""; position: absolute; left: -1px; top: 26px; bottom: 26px; width: 4px; border-radius: 0 4px 4px 0; background: var(--mint); }
@keyframes wn-in { from { opacity: 0; transform: translateY(10px); } }
.wn-rel-head { display: flex; gap: 18px; align-items: flex-start; }
.wn-rel-text { flex: 1; min-width: 0; }
.wn-rel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; color: var(--text-secondary); }
.wn-ver { padding: 5px 10px; border-radius: 10px; background: var(--text-primary); color: var(--surface); font: 800 13px/1 ui-monospace, monospace; }
.wn-rel.major .wn-ver { background: linear-gradient(135deg, var(--mint), #14304d); color: #fff; }
.wn-major, .wn-latest, .wn-fresh { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.wn-major { background: color-mix(in srgb, var(--mint) 18%, transparent); color: color-mix(in srgb, var(--mint) 50%, var(--text-primary)); }
.wn-latest { background: color-mix(in srgb, #7fb2e5 22%, transparent); color: color-mix(in srgb, #2f5f93 80%, var(--text-primary)); }
.wn-fresh { background: #f5b82e; color: #3a2700; }
.wn-rel h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.15; }
.wn-sum { margin: 0; color: var(--text-secondary); font-size: 16px; max-width: 620px; }
.wn-count { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 13px; color: var(--text-muted); }
.wn-copy { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 4px 8px; border-radius: 8px; color: var(--text-secondary); font: inherit; font-size: 13px; cursor: pointer; }
.wn-copy:hover { background: var(--border); color: var(--text-primary); }
.wn-copy .ic { width: 15px; height: 15px; }
.wn-rel-cast { flex: none; width: 92px; aspect-ratio: 1; display: block; margin-top: -6px; }
/* Highlights as tiles; each area has its own tint. */
.wn-a-messages { --wn-tint: #f07c9a; } .wn-a-meetings { --wn-tint: #3fb7a6; } .wn-a-courses { --wn-tint: #8a6fd6; }
.wn-a-calendar { --wn-tint: #e38a3c; } .wn-a-drive { --wn-tint: #4f8fd6; } .wn-a-people { --wn-tint: #f5b82e; }
.wn-a-work { --wn-tint: #5b86b5; } .wn-a-admin { --wn-tint: #2f6f5e; } .wn-a-everywhere { --wn-tint: var(--mint); }
.wn-tiles { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.wn-tile { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 20px; background: color-mix(in srgb, var(--wn-tint) 9%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wn-tint) 22%, var(--border)); transition: transform .15s ease; }
.wn-tile:hover { transform: translateY(-2px); }
.wn-tile-ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--wn-tint) 22%, var(--surface)); color: color-mix(in srgb, var(--wn-tint) 70%, var(--text-primary)); }
.wn-tile-ic .ic { width: 22px; height: 22px; }
.wn-tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; color: var(--text-secondary); }
.wn-tile a, .wn-tile > div > span, .wn-area li a, .wn-area li > span:last-child { color: var(--text-primary); text-decoration: none; font-size: 15px; line-height: 1.45; }
.wn-tile a:hover, .wn-area li a:hover { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--wn-tint, var(--mint)) 70%, transparent); text-underline-offset: 3px; }
.wn-go .ic { width: 15px; height: 15px; margin-left: 4px; vertical-align: -2px; color: var(--text-muted); }
.wn-kind { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .2px; }
.wn-kind-new { background: color-mix(in srgb, var(--mint) 20%, transparent); color: color-mix(in srgb, var(--mint) 45%, var(--text-primary)); }
.wn-kind-better { background: color-mix(in srgb, #7fb2e5 24%, transparent); color: color-mix(in srgb, #2f5f93 85%, var(--text-primary)); }
.wn-kind-fixed { background: color-mix(in srgb, #f5b82e 28%, transparent); color: color-mix(in srgb, #8a5a00 85%, var(--text-primary)); }
.wn-groups { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 22px; }
.wn-area h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 15px; }
.wn-area-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--wn-tint) 18%, var(--surface)); color: color-mix(in srgb, var(--wn-tint) 70%, var(--text-primary)); }
.wn-area-ic .ic { width: 17px; height: 17px; }
.wn-area-n { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--text-muted); }
.wn-area ul { list-style: none; margin: 0; padding: 0; display: grid; }
.wn-area li { display: flex; gap: 10px; align-items: baseline; padding: 9px 2px; border-bottom: 1px dashed var(--border); }
.wn-area li:last-child { border-bottom: 0; }
.wn-area li .wn-kind { flex: none; }
.wn-area li a, .wn-area li > span:last-child { font-size: 14.5px; }
.wn-end { display: flex; gap: 20px; align-items: center; padding: 26px; border-radius: 28px; background: linear-gradient(135deg, color-mix(in srgb, #7fb2e5 16%, var(--surface)), var(--surface)); box-shadow: 0 0 0 1px var(--border); }
.wn-end-cast { flex: none; width: 110px; aspect-ratio: 1; display: block; }
.wn-end h2 { margin: 0 0 4px; }
.wn-end p { margin: 0; color: var(--text-secondary); }
.wn-end-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px !important; }
@media (max-width: 900px) {
  .wn-hero .wrap { grid-template-columns: 1fr; }
  .wn-party { height: 200px; max-width: 360px; width: 100%; justify-self: center; }
  .wn-grid { grid-template-columns: 1fr; gap: 20px; }
  .wn-rail { position: static; max-height: none; overflow: visible; }
  .wn-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .wn-chip { flex: none; }
  .wn-timeline { display: none; }
  .wn-rel { padding: 20px; border-radius: 24px; }
  .wn-rel-cast { width: 64px; }
  .wn-end { flex-direction: column; text-align: center; }
  .wn-end-actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .wn-p2, .wn-p3, .wn-confetti i, .wn-rel { animation: none; }
  .wn-confetti { display: none; }
}
.wn-tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .wn-tiles.two { grid-template-columns: 1fr; } .wn-party { height: 150px; max-width: 280px; } }

/* ---------- Kontour Research (/research, /research/status) ---------- */
.rs-hero { padding: 64px 0 40px; overflow: hidden; background: radial-gradient(900px 460px at 90% 0%, color-mix(in srgb, var(--mint) 26%, transparent), transparent 70%), radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, #9b87f5 16%, transparent), transparent 70%); }
.rs-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr); gap: 36px; align-items: center; }
.rs-hero h1 { font-size: clamp(36px, 5.6vw, 62px); line-height: 1.02; letter-spacing: -.035em; margin: 6px 0 14px; }
.rs-hero .lead { max-width: 580px; }
.rs-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 12px; }
.rs-hero-art { position: relative; height: 320px; }
.rs-path { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--mint-strong); stroke-width: 3; stroke-dasharray: 8 10; stroke-linecap: round; opacity: .55; animation: rs-dash 18s linear infinite; }
@keyframes rs-dash { to { stroke-dashoffset: -360; } }
.rs-cast { position: absolute; width: 130px; height: 130px; animation: rs-float 6s ease-in-out infinite; }
.rs-cast svg { width: 100%; height: 100%; }
.rs-c1 { left: 0; bottom: 0; }
.rs-c2 { left: 40%; top: 18%; width: 110px; height: 110px; animation-delay: -2s; }
.rs-c3 { right: 0; top: -6px; animation-delay: -4s; }
@keyframes rs-float { 50% { transform: translateY(-10px); } }
.rs-h { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; margin: 0 0 14px; }
.rs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.rs-steps li { position: relative; padding: 22px 18px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.rs-steps h3 { margin: 12px 0 6px; font-size: 17px; }
.rs-steps p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.5; }
.rs-step-n { position: absolute; top: 14px; right: 16px; font-size: 40px; font-weight: 800; line-height: 1; color: var(--border); }
.rs-step-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--mint-soft); color: var(--mint-ink); }
.rs-band { background: var(--page); }
.rs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rs-areas { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rs-areas li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 650; font-size: 14px; }
.rs-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rs-gets li { display: flex; gap: 14px; align-items: flex-start; }
.rs-gets p { margin: 2px 0 0; color: var(--text-secondary); font-size: 14.5px; }
.rs-get-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); flex: none; }
.rs-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.rs-form legend { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.rs-form legend > span:first-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 13px; }
.rs-form .form-grid { grid-template-columns: 1fr 1fr; }
.rs-links { display: grid; gap: 8px; margin-bottom: 6px; }
.rs-count { display: block; text-align: right; font-size: 12px; color: var(--text-muted); min-height: 16px; }
.rs-agree { margin: 4px 0 8px; }
.rs-done { text-align: center; }
.rs-done-cast { display: block; width: 120px; height: 120px; margin: 0 auto 6px; }
.rs-faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.rs-faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.rs-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--text-muted); transition: transform .2s; }
.rs-faq details[open] summary::after { transform: rotate(45deg); }
.rs-faq p { margin: 10px 0 0; color: var(--text-secondary); line-height: 1.6; }

.rs-st-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.rs-st-head h1 { margin: 2px 0 4px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; }
.rs-st-head .eyebrow { margin: 0; }
.rs-st-cast { width: 96px; height: 96px; flex: none; }
.rs-st-cast svg { width: 100%; height: 100%; }
.rs-st-now { margin-bottom: 14px; }
.rs-st-now.ended { border-left: 4px solid var(--text-muted); }
.rs-st-label { font-weight: 800; font-size: 20px; margin: 0; }
.rs-track { list-style: none; margin: 18px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.rs-track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 15px; height: 3px; background: var(--border); border-radius: 3px; }
.rs-track li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--text-muted); }
.rs-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 3px solid var(--border); font-weight: 800; font-size: 13px; z-index: 1; }
.rs-track li.done .rs-dot { background: var(--mint-strong); border-color: var(--mint-strong); color: #fff; }
.rs-track li.now .rs-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 15%, transparent); animation: rs-pulse 2s ease-in-out infinite; }
.rs-track li.now { color: var(--text-primary); font-weight: 750; }
@keyframes rs-pulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 6%, transparent); } }
.rs-st-talk h2 { margin: 0; font-size: 18px; }
.rs-st-sent { margin: 14px 0; }
.rs-st-sent summary { cursor: pointer; font-weight: 750; }
.rs-st-sent h3 { font-size: 14px; margin: 16px 0 4px; }
@media (max-width: 860px) {
  .rs-hero .wrap, .rs-two { grid-template-columns: 1fr; }
  .rs-hero-art { height: 220px; }
  .rs-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rs-steps, .rs-form .form-grid { grid-template-columns: 1fr; }
  .rs-track { grid-template-columns: repeat(5, minmax(0, 1fr)); font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .rs-cast, .rs-path, .rs-track li.now .rs-dot { animation: none; } }

/* Gatehier, the maker: its mark beside its name wherever Kontour credits it. */
.by a[href="https://gatehier.com"]::before,
.site-footer a[href="https://gatehier.com"]::before,
.foot-legal a[href="https://gatehier.com"]::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin: 0 0.3em 0 0.1em;
  vertical-align: -0.2em;
  border-radius: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Crect width=%2764%27 height=%2764%27 rx=%2716%27 fill=%27%231d1d1f%27/%3E%3Cpath d=%27M14 52V31a18 18 0 0 1 36 0v11H33v-8h9v-3a10 10 0 0 0-20 0v21z%27 fill=%27%23fff%27/%3E%3C/svg%3E") center / contain no-repeat;
}
