/* Derham Productions Bespoke Event Platforms showcase
   Tokens first, then base, layout, components, sections and mockups. */

:root {
  --brand: #438dcc;
  --brand-strong: color-mix(in oklab, var(--brand) 82%, black);
  --brand-soft: color-mix(in oklab, var(--brand) 12%, transparent);
  --live: #e5484d;
  --ok: #2f9e6b;

  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --text-2: #3b4559;
  --muted: #5d687c;
  --line: #e2e8f0;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .08);
  --shadow-lg: 0 30px 80px -20px rgb(2 8 23 / .45);

  --ink: #0a1120;
  --ink-2: #111b2f;
  --ink-line: rgb(255 255 255 / .1);
  --ink-text: #e9eef7;
  --ink-muted: #9eabc2;

  --radius: 14px;
  --radius-sm: 9px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Cal Sans', 'Inter', system-ui, sans-serif;
  --container: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1222;
    --bg-soft: #0f182b;
    --surface: #121c31;
    --text: #e8edf6;
    --text-2: #c3cddd;
    --muted: #93a0b6;
    --line: #22304a;
    --brand-soft: color-mix(in oklab, var(--brand) 18%, transparent);
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  }
}

/* Sections that are always dark, whatever the colour scheme. */
.on-dark {
  --bg: var(--ink);
  --bg-soft: var(--ink-2);
  --surface: #14203a;
  --text: var(--ink-text);
  --text-2: #c9d3e4;
  --muted: var(--ink-muted);
  --line: var(--ink-line);
  background: var(--bg);
  color: var(--text);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: color-mix(in oklab, var(--brand) 75%, white); } }
.on-dark a:not(.btn) { color: color-mix(in oklab, var(--brand) 70%, white); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--brand) 60%, transparent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }
.container.narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.soft { background: var(--bg-soft); }
.section:not(.soft):not(.on-dark) + .section:not(.soft):not(.on-dark) { padding-top: 0; }
.section.soft + .section.soft { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-strong); margin-bottom: 1rem;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: color-mix(in oklab, var(--brand) 70%, white); } }
.on-dark .eyebrow { color: color-mix(in oklab, var(--brand) 65%, white); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head > :last-child { margin-bottom: 0; }
.section-head p { color: var(--text-2); font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text); --btn-line: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--font); padding: .95rem 1.4rem; border-radius: 999px;
  border: 1px solid var(--btn-line); background: var(--btn-bg); color: var(--btn-fg);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; --btn-line: transparent; box-shadow: 0 8px 24px -8px color-mix(in oklab, var(--brand) 70%, transparent); }
.btn-primary:hover { --btn-bg: var(--brand-strong); }
.btn-ghost { --btn-bg: transparent; }
.btn-ghost:hover { --btn-bg: var(--bg-soft); }
.on-dark .btn-ghost { --btn-line: rgb(255 255 255 / .22); --btn-fg: #fff; }
.on-dark .btn-ghost:hover { --btn-bg: rgb(255 255 255 / .08); }
.btn-sm { padding: .62rem 1.05rem; font-size: .92rem; }
.btn-lg { padding: 1.1rem 1.7rem; font-size: 1.06rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; color: var(--text); flex: none; }
.dp-logo { display: block; width: 172px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav ul a {
  display: block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none;
  color: var(--text-2); font-weight: 500; font-size: .97rem;
}
.site-nav ul a:hover { color: var(--text); background: var(--bg-soft); }
.site-nav ul a[aria-current="page"] { color: var(--text); background: var(--brand-soft); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none;
    flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 16px 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .8rem 1rem; font-size: 1.05rem; }
  .site-nav .btn { align-self: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ink-muted); padding: 72px 0 28px; font-size: .97rem; }
.site-footer .brand { color: #fff; }
.site-footer a { color: var(--ink-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-title { font-family: var(--font); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links i { color: var(--brand); margin-right: .35rem; }
.footer-address { color: var(--ink-muted); }
.footer-social { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; gap: .5rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-line); }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .88rem; }
.footer-base ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Messages ---------- */
.messages { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.message { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.message i { font-size: 1.15rem; line-height: 1.4; }
.message-info i { color: var(--ok); }
.message-error { border-color: color-mix(in oklab, var(--live) 45%, var(--line)); }
.message-error i { color: var(--live); }
.message-warning i { color: #d9930d; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 85% 10%, color-mix(in oklab, var(--brand) 38%, transparent) 0%, transparent 70%),
    radial-gradient(45% 50% at 0% 100%, color-mix(in oklab, var(--brand) 22%, transparent) 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1.1fr; } }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #8cc6f2, var(--brand) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 34em; color: var(--text-2); }
.hero .btn-row { margin-top: 2rem; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .95rem; }
.hero-points i { color: var(--brand); margin-right: .35rem; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .38rem .85rem .38rem .6rem;
  border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / .04);
  font-size: .86rem; font-weight: 500; color: var(--text-2); margin-bottom: 1.5rem;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 color-mix(in oklab, var(--live) 60%, transparent); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--live) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.feature-card {
  position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-card h3 { font-size: 1.18rem; margin: 1rem 0 .45rem; }
.feature-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.feature-card a.stretched { position: absolute; inset: 0; border-radius: inherit; }
.icon-tile {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-strong); font-size: 1.3rem;
}
@media (prefers-color-scheme: dark) { .icon-tile { color: color-mix(in oklab, var(--brand) 65%, white); } }
.on-dark .icon-tile { color: color-mix(in oklab, var(--brand) 65%, white); background: color-mix(in oklab, var(--brand) 20%, transparent); }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.08fr; }
  .split.reverse .split-text { order: 2; }
}
.split-text > :last-child { margin-bottom: 0; }
.split-text .content { color: var(--text-2); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-2); }
.check-list i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: .1rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-size: .85rem; }
@media (prefers-color-scheme: dark) { .check-list i { color: color-mix(in oklab, var(--brand) 65%, white); } }
.on-dark .check-list i { color: color-mix(in oklab, var(--brand) 65%, white); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--display);
  font-size: 1.05rem; color: var(--brand); margin-bottom: 1.2rem; letter-spacing: .02em;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Stat strip ---------- */
.stats { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 28px 26px; }
.stat-value { display: block; font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--text); margin-bottom: .35rem; }
.stat-label { color: var(--muted); font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 72px); text-align: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 0%, color-mix(in oklab, var(--brand) 45%, transparent), transparent 70%); }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 46ch; margin: 0 auto 2rem; color: var(--text-2); font-size: 1.15rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\F64D"; font-family: bootstrap-icons; color: var(--muted); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--text-2); }
.faq .answer > :last-child { margin-bottom: 0; }

/* ---------- Generic page body ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 90% 0%, color-mix(in oklab, var(--brand) 35%, transparent), transparent 70%); }
.page-hero .lead { max-width: 40em; margin-bottom: 0; }
.page-body { padding-top: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-aside .content { color: var(--text-2); }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-card:last-child { border-bottom: 1px solid var(--line); }
.contact-card .icon-tile { flex: none; }
.contact-card strong { display: block; }
.contact-card span, .contact-card a { color: var(--text-2); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.el-form .form-field, .el-field { margin-bottom: 1.15rem; }
.el-form label, .el-label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: .4rem; color: var(--text); }
.el-form .required { color: var(--live); }
.el-input, .el-form input[type=text], .el-form input[type=email], .el-form input[type=tel], .el-form input[type=password], .el-form select, .el-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.el-form textarea { min-height: 150px; resize: vertical; }
.el-input:focus, .el-form input:focus, .el-form select:focus, .el-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.el-form .form-description, .el-form .hint { color: var(--muted); font-size: .88rem; margin-top: .35rem; }
.el-form .checkboxes label, .el-form .form-input-wrapper label.inline { display: inline; font-weight: 400; }
.el-form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.el-form-errors, .form-errors { color: var(--live); }
.el-form .form-input-wrapper .invalid, .el-form .has-errors input, .el-form .has-errors textarea { border-color: var(--live); }
.form-note { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.honeypot, .el-form .form-honeypot { position: absolute !important; left: -9999px !important; }

/* ---------- Demo landing ---------- */
.demo-start { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 960px) { .demo-start { grid-template-columns: 1.1fr .9fr; } }
.demo-start .form-card h2 { font-size: 1.6rem; }
.demo-tour { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.demo-tour li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.demo-tour strong { display: block; font-size: .98rem; }
.demo-tour div > span { color: var(--muted); font-size: .9rem; line-height: 1.5; display: block; }
.demo-tour .icon-tile { flex: none; width: 40px; height: 40px; font-size: 1.1rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Platform mockups (HTML/CSS illustrations of the product)
   ========================================================= */
.mock {
  --m-bg: #0d1628; --m-panel: #131f37; --m-panel-2: #192843; --m-line: rgb(255 255 255 / .08);
  --m-text: #e6ecf6; --m-muted: #8d9bb4;
  position: relative; border-radius: 16px; background: var(--m-bg); color: var(--m-text);
  border: 1px solid rgb(255 255 255 / .1); box-shadow: var(--shadow-lg);
  font-size: 12px; line-height: 1.4; overflow: hidden; user-select: none;
}
.mock * { font-family: var(--font); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #0a1222; border-bottom: 1px solid var(--m-line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; }
.mock-bar i:nth-child(1) { background: #ef6a5e; } .mock-bar i:nth-child(2) { background: #f4bf4f; } .mock-bar i:nth-child(3) { background: #61c454; }
.mock-url { margin-left: 10px; flex: 1; max-width: 320px; padding: 4px 10px; border-radius: 6px; background: #141f36; color: var(--m-muted); font-size: 11px; display: flex; gap: 6px; align-items: center; }
.mock-url::before { content: "\F47A"; font-family: bootstrap-icons; font-size: 10px; color: #61c454; }
.mock-body { display: grid; grid-template-columns: 54px 1fr; min-height: 340px; }
.mock-side { background: #0b1324; border-right: 1px solid var(--m-line); padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mock-side span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--m-muted); font-size: 15px; }
.mock-side span.on { background: color-mix(in oklab, var(--brand) 30%, transparent); color: #fff; }
.mock-side .logo-dot { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); margin-bottom: 8px; }
.mock-main { padding: 14px; display: grid; gap: 12px; grid-template-columns: 1fr; align-content: start; }
@media (min-width: 520px) { .mock-main.with-side { grid-template-columns: 1fr 34%; } }
.mock-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 13px; }
.mock-title small { color: var(--m-muted); font-weight: 500; }
.mock-video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background:
    radial-gradient(60% 80% at 30% 40%, color-mix(in oklab, var(--brand) 55%, #0b1324) 0%, transparent 70%),
    radial-gradient(50% 70% at 85% 80%, #3b2a6b 0%, transparent 70%),
    linear-gradient(135deg, #0f1d36, #071022);
}
.mock-video .stage { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 34%; aspect-ratio: 1 / 1.05; }
.mock-video .stage::before { content: ""; position: absolute; left: 32%; top: 10%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #c9d6ea, #8496b4); }
.mock-video .stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 48%; border-radius: 48% 48% 0 0; background: linear-gradient(160deg, #3d5784, #233654); }
.mock-video .badge-live { position: absolute; left: 10px; top: 10px; }
.mock-video .viewers { position: absolute; right: 10px; top: 10px; background: rgb(0 0 0 / .45); padding: 3px 8px; border-radius: 6px; font-size: 10.5px; display: flex; gap: 5px; align-items: center; }
.mock-video .lower-third { position: absolute; left: 10px; bottom: 12px; display: grid; gap: 2px; }
.mock-video .lower-third b { background: #fff; color: #0a1120; padding: 3px 8px; border-radius: 4px 4px 4px 0; font-size: 11px; width: max-content; }
.mock-video .lower-third span { background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 0 4px 4px 4px; font-size: 10px; width: max-content; }
.mock-video .controls { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgb(255 255 255 / .15); }
.mock-video .controls::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 62%); background: var(--brand); }
.badge-live { display: inline-flex; align-items: center; gap: 5px; background: var(--live); color: #fff; font-weight: 700; font-size: 10px; letter-spacing: .06em; padding: 3px 7px; border-radius: 5px; }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.mock-card { background: var(--m-panel); border: 1px solid var(--m-line); border-radius: 10px; padding: 10px; }
.mock-card h5 { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; color: var(--m-text); display: flex; justify-content: space-between; }
.mock-q { padding: 7px 8px; border-radius: 8px; background: var(--m-panel-2); margin-bottom: 6px; display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: start; font-size: 11px; }
.mock-q em { font-style: normal; color: var(--m-muted); font-size: 10px; display: block; margin-top: 2px; }
.mock-q .votes { display: grid; justify-items: center; color: var(--m-muted); font-size: 10px; line-height: 1.1; }
.mock-q .votes::before { content: "\F235"; font-family: bootstrap-icons; color: var(--brand); }
.mock-input { margin-top: 4px; border: 1px solid var(--m-line); border-radius: 7px; padding: 6px 8px; color: var(--m-muted); font-size: 10.5px; display: flex; justify-content: space-between; }
.mock-input::after { content: "\F6B9"; font-family: bootstrap-icons; color: var(--brand); }
.mock-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-tabs span { padding: 4px 9px; border-radius: 999px; background: var(--m-panel-2); color: var(--m-muted); font-size: 10.5px; }
.mock-tabs span.on { background: var(--brand); color: #fff; }
.mock-row { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--m-line); align-items: start; }
.mock-row:last-child { border-bottom: 0; }
.mock-row time { color: var(--m-muted); font-variant-numeric: tabular-nums; font-size: 11px; }
.mock-row b { display: block; font-weight: 600; font-size: 11.5px; }
.mock-row small { color: var(--m-muted); font-size: 10.5px; }
.mock-row.now { background: color-mix(in oklab, var(--brand) 18%, transparent); border-radius: 8px; border-bottom-color: transparent; }
.mock-row.now time { color: #fff; }
.mock-row .tag { display: inline-block; margin-left: 6px; font-size: 9px; font-weight: 700; color: #fff; background: var(--live); border-radius: 4px; padding: 1px 5px; vertical-align: 1px; }
.mock-row.brk b { color: var(--m-muted); font-weight: 500; }
.avatars { display: flex; margin-top: 4px; }
.avatars i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--m-panel); margin-left: -5px; background: #5d7bb0; font-style: normal; font-size: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; }
.avatars i:first-child { margin-left: 0; }
.mock-chapters { display: grid; gap: 4px; }
.mock-chapters div { display: grid; grid-template-columns: 38px 1fr; gap: 8px; padding: 6px 7px; border-radius: 7px; font-size: 11px; }
.mock-chapters div.on { background: color-mix(in oklab, var(--brand) 22%, transparent); }
.mock-chapters time { color: var(--brand); font-variant-numeric: tabular-nums; font-weight: 600; }
.mock-chapterbar { display: flex; gap: 2px; height: 5px; margin-top: 8px; }
.mock-chapterbar span { flex: var(--w, 1); background: rgb(255 255 255 / .16); border-radius: 2px; }
.mock-chapterbar span.done { background: var(--brand); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpi { background: var(--m-panel); border: 1px solid var(--m-line); border-radius: 9px; padding: 9px 10px; }
.mock-kpi small { color: var(--m-muted); font-size: 10px; display: block; }
.mock-kpi b { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.mock-kpi em { font-style: normal; color: #4cc38a; font-size: 10px; margin-left: 4px; }
.mock-chart svg { display: block; width: 100%; height: auto; }
.mock-bars { display: grid; gap: 7px; }
.mock-bars div { display: grid; grid-template-columns: 92px 1fr 34px; gap: 8px; align-items: center; font-size: 10.5px; color: var(--m-muted); }
.mock-bars span { height: 8px; border-radius: 0 4px 4px 0; background: var(--brand); width: var(--v); }
.mock-bars b { color: var(--m-text); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.mock-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mock-tile { position: relative; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; background: linear-gradient(150deg, #2a4470, #172744); }
.mock-tile::before { content: ""; position: absolute; left: 50%; top: 22%; transform: translateX(-50%); width: 26%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #c3d0e6, #7f93b5); }
.mock-tile::after { content: ""; position: absolute; left: 50%; bottom: -8%; transform: translateX(-50%); width: 52%; height: 40%; border-radius: 50% 50% 0 0; background: linear-gradient(160deg, #4e6a99, #2c4167); }
.mock-tile:nth-child(2) { background: linear-gradient(150deg, #44336f, #241c44); }
.mock-tile:nth-child(3) { background: linear-gradient(150deg, #1f5a5a, #133636); }
.mock-tile:nth-child(4) { background: linear-gradient(150deg, #5a3b28, #2e1f17); }
.mock-tile .name { position: absolute; left: 6px; bottom: 6px; z-index: 1; background: rgb(0 0 0 / .55); padding: 2px 6px; border-radius: 4px; font-size: 9.5px; }
.mock-tile .state { position: absolute; right: 6px; top: 6px; z-index: 1; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: rgb(0 0 0 / .5); }
.mock-tile .state.air { background: var(--live); }
.mock-tile.speaking { outline: 2px solid #4cc38a; outline-offset: -2px; }
.mock-form label { display: block; color: var(--m-muted); font-size: 10.5px; margin: 0 0 3px; }
.mock-form .field { height: 26px; border-radius: 7px; border: 1px solid var(--m-line); background: var(--m-panel-2); margin-bottom: 8px; padding: 5px 8px; font-size: 11px; color: var(--m-text); }
.mock-form .btnish { height: 30px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; font-weight: 600; font-size: 11.5px; color: #fff; }
.mock-ticket { border-radius: 10px; padding: 12px; background: linear-gradient(135deg, color-mix(in oklab, var(--brand) 70%, #0b1324), #1b2a4a); position: relative; }
.mock-ticket small { color: rgb(255 255 255 / .75); font-size: 10px; display: block; }
.mock-ticket b { display: block; font-size: 14px; margin: 2px 0 10px; }
.mock-ticket .paid { position: absolute; right: 10px; top: 10px; background: #2f9e6b; color: #fff; font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.mock-ticket .qr { width: 44px; height: 44px; border-radius: 6px; background:
  conic-gradient(from 90deg at 2px 2px, #fff 25%, transparent 0) 0 0 / 8px 8px, #0b1324; opacity: .85; }
.mock-float { position: absolute; z-index: 2; border-radius: 12px; background: #14203a; border: 1px solid rgb(255 255 255 / .12); box-shadow: var(--shadow-lg); color: var(--m-text); padding: 10px 12px; font-size: 11.5px; }
.mock-wrap { position: relative; }
.mock-wrap .float-a { left: -14px; bottom: 28px; display: flex; gap: 9px; align-items: center; }
.mock-wrap .float-b { right: -10px; top: 70px; }
@media (max-width: 640px) { .mock-wrap .mock-float { display: none; } }
.float-a .icon-tile { width: 32px; height: 32px; font-size: 1rem; border-radius: 9px; color: #fff; background: color-mix(in oklab, var(--brand) 40%, transparent); }
.float-a small { display: block; color: var(--m-muted); font-size: 10px; }
.mock-brand-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-brand { border-radius: 10px; overflow: hidden; border: 1px solid var(--m-line); background: var(--m-panel); }
.mock-brand .top { height: 30px; background: var(--c); display: flex; align-items: center; padding: 0 8px; gap: 6px; }
.mock-brand .top i { width: 14px; height: 14px; border-radius: 4px; background: rgb(255 255 255 / .85); }
.mock-brand .top u { text-decoration: none; height: 5px; width: 40%; border-radius: 3px; background: rgb(255 255 255 / .6); }
.mock-brand .bd { padding: 8px; display: grid; gap: 5px; }
.mock-brand .bd span { height: 5px; border-radius: 3px; background: rgb(255 255 255 / .14); }
.mock-brand .bd span:first-child { width: 70%; background: rgb(255 255 255 / .3); }
.mock-brand .bd b { height: 14px; width: 55%; border-radius: 5px; background: var(--c); margin-top: 3px; }
.mock-cert { background: #fdfcf8; color: #1d2433; border-radius: 10px; padding: 18px 16px; text-align: center; border: 6px solid #fff; outline: 1px solid #d8d2c2; outline-offset: -12px; }
.mock-cert small { display: block; color: #6b6556; letter-spacing: .14em; text-transform: uppercase; font-size: 9px; }
.mock-cert b { display: block; font-family: var(--display); font-size: 18px; margin: 6px 0; font-weight: 400; color: #0f172a; }
.mock-cert .seal { width: 34px; height: 34px; border-radius: 50%; margin: 8px auto 0; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 14px; }

/* Grid children may shrink below their content's width (mockups, long words). */
.hero-grid > *, .split > *, .contact-grid > *, .demo-start > *, .footer-grid > * { min-width: 0; }

/* Links back to the parent company */
.footer-parent { margin-top: .6rem; font-size: .92rem; }
.footer-parent a, .footer-links a i { white-space: nowrap; }
.footer-links a .bi-arrow-up-right { color: inherit; margin: 0; font-size: .8em; }
.contact-about { display: block; margin: .15rem 0 .35rem; font-size: .95rem; }

/* ---------- Ways to work with us (options) ---------- */
.options { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .options { grid-template-columns: 1fr 1fr; } }
.option { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.5vw, 36px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.option.featured { border-color: color-mix(in oklab, var(--brand) 55%, var(--line)); box-shadow: 0 0 0 4px var(--brand-soft); }
.option h3 { font-size: 1.6rem; margin: 1rem 0 .5rem; }
.option-audience { margin: 1rem 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .option-audience { color: color-mix(in oklab, var(--brand) 70%, white); } }
.option-audience + h3 { margin-top: .35rem; }
.option-text { color: var(--text-2); }
.option .check-list { margin: .5rem 0 1.75rem; }
.option .btn { margin-top: auto; }

/* ---------- Optional heading font: Neuropol (theme setting heading_font) ----------
   Page titles and section titles only (never smaller than 32px, never body text);
   card titles, numbers and everything else stay in Cal Sans and Inter. */
.headings-neuropol .hero h1,
.headings-neuropol .page-hero h1,
.headings-neuropol .section-head h2,
.headings-neuropol .split-text h2,
.headings-neuropol .cta-band h2,
.headings-neuropol .welcome-hero h1,
.headings-neuropol .dash-head h2 {
  font-family: 'Neuropol', 'Cal Sans', 'Inter', sans-serif;
  letter-spacing: 0;
  line-height: 1.18;
}
.headings-neuropol .section-head h2, .headings-neuropol .split-text h2, .headings-neuropol .cta-band h2, .headings-neuropol .dash-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}
