/* Prowortex public site: one dark, calm surface. Loaded after site.css on public pages (never the admin).
   Text always sits on a plain background. Moving pictures live in their own frames (scene.js). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2"); }
:root { --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace; }
:root {
  --bg: #060909; --card: #0d1513; --ink: #f2f6f3; --muted: #b9c8c0; --line: rgba(255, 255, 255, 0.12); --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #3ddc97; --accent-dark: #7ee3bf; --accent-soft: rgba(61, 220, 151, 0.08); --accent-soft-2: rgba(61, 220, 151, 0.2);
  --warn: #f0c26b; --warn-bg: rgba(232, 169, 58, 0.14); --danger: #ff9b9b; --danger-bg: rgba(255, 120, 120, 0.12); --ok-bg: rgba(61, 220, 151, 0.12);
}
/* header and footer: the few rules this page needs from future.css, which it does not load */
.site-header { background: rgba(6, 16, 12, 0.96); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.brand, .brand:hover { color: #fff; }
.site-header .brand svg path:nth-child(1) { fill: #ffffff; } .site-header .brand svg path:nth-child(2) { fill: #3ddc97; } .site-header .brand svg path:nth-child(3) { fill: #9ff0cf; }
.primary-nav a { color: #b9d2c6; } .primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.menu-toggle { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.site-header .btn, .site-header .btn:hover { background: #3ddc97; color: #04130d; border-color: transparent; }
.site-header .btn:hover { background: #7ee3bf; }
.site-footer { background: #060909; border-top: 1px solid rgba(255, 255, 255, 0.09); }
@media (max-width: 64rem) { .primary-nav { background: #0b1211; } }
.wrap { width: min(72rem, 100% - 2.5rem); max-width: none; margin-inline: auto; padding: 0; }
.w-foot p, .big { max-width: 36rem; }
.d h3 { margin: 0; font-weight: 500; }
.d details { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.d details:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.d summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 52px; padding: 0.6rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.d summary::-webkit-details-marker { display: none; }
.d summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
.d details[open] summary::after { content: "\2212"; }
.fa { padding-bottom: 1rem; color: #c7d3cc; }
.fa p { margin: 0 0 0.6rem; color: #c7d3cc; }
/* ---- sections ---- */
body { background: #060909; color: #dfe7e2; }
a { color: inherit; }
.d { padding: clamp(4rem, 9vw, 7.5rem) 0; border-top: 1px solid rgba(255, 255, 255, 0.09); background: #060909; }
.d h2 { color: #f2f6f3; font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.6rem); font-weight: 500; max-width: 24ch; }
.d h3 { color: #f2f6f3; }
.tick { margin: 0 0 0.9rem; font: 500 0.78rem ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: #3ddc97; }
.big { margin: 1.1rem 0 0; font-size: 1.12rem; line-height: 1.6; color: #c7d3cc; max-width: 36rem; }
.d :focus-visible { outline-color: #9debfa; }
.pic { position: relative; background: radial-gradient(60% 60% at 50% 50%, rgba(61, 220, 151, 0.09), transparent 72%); }
.pic canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pic.tall { height: clamp(20rem, 32vw, 28rem); }
.pic.wide { height: clamp(12rem, 22vw, 18rem); }
.tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.8rem; }
.tabs button { min-height: 46px; padding: 0.3rem 1.05rem; background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; color: #c9d6cf; font: inherit; font-weight: 500; cursor: pointer; }
.tabs button:hover { border-color: #fff; color: #fff; }
.tabs button[aria-selected="true"] { background: #f2f6f3; border-color: #f2f6f3; color: #06100c; font-weight: 600; }
.capx { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-top: 2rem; }
.capt[hidden] { display: none; }
.capt .big { margin-top: 0; }
.capt ul { margin: 1.1rem 0; padding-left: 1.2rem; color: #b9c8c0; }
.capt li { margin-bottom: 0.25rem; }
.lim { padding: 0.75rem 1rem; border-left: 2px solid #3ddc97; background: rgba(255, 255, 255, 0.035); color: #c7d3cc; font-size: 0.98rem; }
.lim b { color: #f2f6f3; font-weight: 600; }
.proc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); margin-top: 1rem; }
.stick { position: sticky; top: 12vh; height: 76vh; align-self: start; }
.stick .pic { height: 100%; }
.psteps { list-style: none; margin: 0; padding: 0; }
.pstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.62; transition: opacity 0.35s; }  /* dimmed but still readable (4.5:1) */
.pstep.on { opacity: 1; }
.pstep span { font: 500 0.78rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: #3ddc97; }
.pstep h3 { margin: 0.5rem 0; font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; }
.pstep p { color: #c7d3cc; font-size: 1.1rem; max-width: 30rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.two .ghost { margin-top: 1.3rem; }
.rlist { display: grid; gap: 0.15rem; margin-top: 1.4rem; }
.rule-b { display: block; width: 100%; padding: 0.8rem 1rem; background: none; border: 0; border-left: 2px solid rgba(255, 255, 255, 0.14); font: inherit; text-align: left; color: #c7d3cc; cursor: pointer; }
.rule-b b { display: block; color: #f2f6f3; font-weight: 600; font-size: 1.08rem; }
.rule-b span { font-size: 0.98rem; }
.rule-b[aria-pressed="true"] { border-left-color: #3ddc97; background: rgba(61, 220, 151, 0.07); }
.mini { min-height: 40px; margin-top: 0.8rem; padding: 0.2rem 0.8rem; background: none; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 6px; color: #c7d3cc; font: inherit; font-size: 0.85rem; cursor: pointer; }
.tn2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.4rem; }
.tn2 b { display: block; margin-bottom: 0.2rem; color: #3ddc97; font-weight: 600; }
.tn2 span { font-size: 0.98rem; color: #c7d3cc; }
.faqw { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem 3.5rem; }
.d details { border-color: rgba(255, 255, 255, 0.14); }
.d summary { color: #f2f6f3; }
.d summary::after { color: #3ddc97; }
.d details p { color: #c7d3cc; }
.end { text-align: center; }
.end .big { margin-inline: auto; margin-bottom: 1.5rem; }
.endw { height: clamp(9rem, 19vw, 16rem); background: none; }
.yp { margin: 0.4rem auto 0; max-width: 40rem; color: #c7d3cc; }
.yp[hidden] { display: none; }
.yp b { color: #3ddc97; font-weight: 600; }
html:not(.js) .pic { display: none; }
html:not(.js) .end .sr { position: static; width: auto; height: auto; clip-path: none; white-space: normal; margin-inline: auto; margin-bottom: 1rem; }
.pic.no-gl { display: none; }
footer { background: #060909; border-top-color: rgba(255, 255, 255, 0.09); color: #93a59c; }
@media (max-width: 52rem) {
  .capx, .two, .faqw, .proc { grid-template-columns: 1fr; }
  .stick { top: 0; height: 34svh; z-index: 2; background: #060909; }
  .pstep { min-height: 48svh; }
  .tn2 { grid-template-columns: 1fr; }
  .pic.tall { height: 17rem; }
}
@media (prefers-reduced-motion: reduce) { .pstep { transition: none; } }

/* ---- inner pages ---- */
h1, h2 { font-family: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -0.02em; font-weight: 500; }
h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.3rem); line-height: 1.1; }
.d h2 { font-family: inherit; font-family: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -0.02em; }
.ph { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); background: #060909; }
.ph .two { align-items: center; }
.ph h1 { margin: 0; color: #f2f6f3; }
.ph .big { margin-top: 1rem; }
.ph .ph-acts { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.ph .pic.tall { height: clamp(15rem, 26vw, 23rem); }
.ph.plain .wrap { max-width: none; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0.6rem 1.5rem; border: 0; border-radius: 10px; background: #3ddc97; color: #04130d; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.cta:hover { background: #7ee3bf; color: #04130d; }
.ghost { display: inline-flex; align-items: center; min-height: 50px; padding: 0.6rem 1.2rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; color: #e5ece8; text-decoration: none; }
.ghost:hover { border-color: #fff; color: #fff; }
.d .prose, .ph .prose { max-width: 42rem; color: #c7d3cc; }
.prose h2 { margin-top: 2rem; color: #f2f6f3; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose a, .d a:not(.cta):not(.ghost) { color: #7ee3bf; }
.prose li, .prose p { color: #c7d3cc; }
.prose strong { color: #f2f6f3; }
.cols3 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin: 1.8rem 0 0; padding: 0; }
.cols3 h3 { margin: 0 0 0.35rem; font-size: 1.12rem; font-weight: 600; }
.cols3 p { margin: 0; color: #c7d3cc; }
.cols3 > li, .cols3 > div { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.16); max-width: none; }
.clist { list-style: none; margin: 1.3rem 0 0; padding: 0; }
.clist li { padding: 0.7rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #c7d3cc; }
.clist b { display: block; color: #f2f6f3; font-weight: 600; }
.note { margin-top: 1.2rem; color: #9fb1a8; font-size: 0.95rem; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 3rem; }
.band .big { margin-top: 0.6rem; }
.tag { display: inline-block; margin-bottom: 0.6rem; padding: 0.15rem 0.6rem; border: 1px solid rgba(61, 220, 151, 0.45); border-radius: 999px; color: #7ee3bf; font-size: 0.8rem; font-weight: 600; }
.rows { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.rows > li { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 0.5rem 2rem; align-items: center; padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.rows h2 { margin: 0; font-size: 1.45rem; max-width: none; }
.rows p { margin: 0; color: #c7d3cc; }
.mform { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; background: #0b1211; }
.mform label { color: #f2f6f3; }
.mform input[type="text"], .mform input[type="email"], .mform select, .mform textarea { width: 100%; background: #060909; color: #f2f6f3; border: 1px solid rgba(255, 255, 255, 0.28); }
.mform input:focus, .mform select:focus, .mform textarea:focus { border-color: #3ddc97; outline: 2px solid rgba(61, 220, 151, 0.45); outline-offset: 1px; }
.mform select option { background: #0b1211; color: #f2f6f3; }
.mform .hint { color: #9fb1a8; }
.mform .btn { background: #3ddc97; border-color: #3ddc97; color: #04130d; }
.mform .btn:hover { background: #7ee3bf; border-color: #7ee3bf; color: #04130d; }
.formgrid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.formgrid .aside { position: sticky; top: 6rem; }
.msg { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.msg h1 { margin: 0 0 0.7rem; color: #f2f6f3; }
.msg p { color: #c7d3cc; }
.msg .pic { height: clamp(10rem, 22vw, 16rem); background: none; }
@media (max-width: 52rem) {
  .cols3, .formgrid { grid-template-columns: 1fr; }
  .formgrid .aside { position: static; }
  .rows > li { grid-template-columns: 1fr; }
  .ph .pic.tall { height: 14rem; }
}

body { background: #060909; color: #dfe7e2; }
.site-footer, .site-footer p, .site-footer a { color: #b9c8c0; }
.site-footer h2 { color: #f2f6f3; font-family: inherit; }
.js .reveal:not(.is-in) { opacity: 1; transform: none; }
.notice { background: rgba(255, 255, 255, 0.05); color: #dfe7e2; border-color: rgba(255, 255, 255, 0.2); }
.notice--error { background: rgba(255, 120, 120, 0.12); color: #ffd2d2; border-color: rgba(255, 120, 120, 0.4); }
.error-text { color: #ff9b9b; }
.draft-banner { background: #5a3f0d; color: #fff; }
.consent { background: #0d1513; color: #dfe7e2; }
.consent .btn { background: #3ddc97; border-color: #3ddc97; color: #04130d; }
.consent .btn--secondary { background: transparent; color: #f2f6f3; border-color: rgba(255, 255, 255, 0.3); }
.skip-link { background: #3ddc97; color: #04130d; }

/* review fixes */
.prose.about-body ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.prose.about-body li { padding: 1rem 0 0; background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0; box-shadow: none; color: #c7d3cc; }
.prose.about-body li::before, .prose.about-body li::after { display: none; }
.prose.about-body li strong { display: block; color: #f2f6f3; }
.about-body { max-width: none; }
.about-body > p, .about-body > h2 { max-width: 42rem; }
.contact-pic { height: 11rem; margin-bottom: 1rem; }
.tick.spaced { margin-top: 2rem; }
.two.topped { align-items: start; }
.d.slim { padding: 0 0 clamp(2rem, 5vw, 3.5rem); border-top: 0; }
.msg { align-items: center; text-align: center; }
.msg .pic { width: 100%; }
@media (max-width: 52rem) { .prose.about-body ul { grid-template-columns: 1fr; } }

/* ---- navigation with submenus: the parent is a real link, so it works without JavaScript ---- */
.sub { list-style: none; margin: 0; padding: 0 0 0 1rem; }
.sub a { font-weight: 500; }
@media (min-width: 52rem) {
  .has-sub { position: relative; }
  .primary-nav .sub { position: absolute; top: 100%; left: -0.9rem; z-index: 50; display: block; min-width: 13rem; padding: 0.4rem 0.9rem; background: #0b1211; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; visibility: hidden; opacity: 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { visibility: visible; opacity: 1; }
}
.slimrows { margin: 0; }
.slimrows > li { grid-template-columns: 1fr; padding: 1rem 0; }
.slimrows h3 { margin: 0 0 0.25rem; font-size: 1.2rem; font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- Vision 2040 ---- */
.vision-quote { max-width: 46rem; margin: 0; font-family: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.3; letter-spacing: -0.015em; color: #f2f6f3; }
.roadnote { display: inline-block; max-width: 46rem; margin: 1rem 0 0; padding: 0.7rem 1rem; border-left: 2px solid #e8a93a; background: rgba(232, 169, 58, 0.08); color: #f0dcb4; font-size: 0.98rem; }
.horizon span { font-size: 0.85rem; }
.horizon h3 { font-family: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif; }

/* ---- solutions ---- */
.rule-b .fix { display: block; margin-top: 0.35rem; color: #dfe7e2; }
.rule-b .built { display: block; margin-top: 0.35rem; color: #7ee3bf; font: 500 0.75rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
@media (min-width: 52rem) { .sticky-pic { position: sticky; top: 7rem; } }
.solmore { margin-top: 1.2rem; }

/* ---- insights ---- */
.art-h1 { max-width: 24ch; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-social .social-ico { flex: none; color: #3ddc97; }
.footer-badge { display: inline-block; margin-top: 0.9rem; }
.footer-badge img { display: block; height: 40px; width: auto; }
.art-cover { margin: 0 0 2.2rem; }
.art-cover img { display: block; width: 100%; height: auto; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; }
.art-meta { margin: 1rem 0 0; color: #9fb1a8; font-size: 0.92rem; }
.art .wrap { max-width: 46rem; }
.answer { margin: 0 0 2.2rem; padding: 1.1rem 1.3rem; border-left: 3px solid #3ddc97; background: rgba(61, 220, 151, 0.07); border-radius: 0 10px 10px 0; }
.answer b { display: block; margin-bottom: 0.3rem; color: #7ee3bf; font: 500 0.78rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.answer p { margin: 0; color: #f2f6f3; font-size: 1.12rem; line-height: 1.6; }
.art-body { max-width: none; }
.art-body h2 { margin-top: 2.4rem; }
.art-body h3 { margin-top: 1.6rem; color: #f2f6f3; font-size: 1.15rem; font-weight: 600; }
.art-body table { width: 100%; margin: 1.2rem 0; border-collapse: collapse; font-size: 0.96rem; display: block; overflow-x: auto; }
.art-body th, .art-body td { padding: 0.6rem 0.7rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); text-align: left; vertical-align: top; color: #dfe7e2; }
.art-body th { color: #f2f6f3; font-weight: 600; border-bottom-color: rgba(61, 220, 151, 0.5); }
.art-body blockquote { margin: 1.2rem 0; padding: 0.2rem 1rem; border-left: 2px solid #e8a93a; color: #f0dcb4; }
.sources { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.95rem; }
.art-body table { max-width: 100%; min-width: 0; }
.art-body { min-width: 0; }
.art-body thead, .art-body thead tr, .art-body th { background: rgba(61, 220, 151, 0.08); color: #f2f6f3; }
.art-body tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }


/* ==================== v3 design (2026-11-04): framed glowing panels, glass pill navigation, angled buttons, the cube ==================== */
:root { --bg: #0b0d10; --panel: #13171b; --line: rgba(255, 255, 255, 0.12); --violet: #6d5bd0; --ice: #9debfa; }
body, .d, .site-footer, .b3 { background-color: #0b0d10; }
.b3 { background: radial-gradient(50rem 26rem at 50% 0%, rgba(61, 220, 151, 0.1), transparent 65%), #0b0d10; }
h1, h2, .d h2, .build h2 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.025em; }

/* glass pill navigation */
.site-header { position: sticky; top: 0; z-index: 40; padding: 0.9rem 1rem 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .container { width: min(68rem, 100%); min-height: 0; margin-inline: auto; padding: 0.45rem 0.5rem 0.45rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(22, 26, 30, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header .brand { letter-spacing: 0.14em; font-size: 0.88rem; }
.primary-nav a { color: #c7d0cc; font-weight: 500; }
.primary-nav li:not(:last-child) a::after { display: none; }
.site-header .btn, .site-header .btn:hover { min-height: 42px; padding: 0 1.15rem; border-radius: 999px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); box-shadow: none; }
.site-header .btn:hover { background: #fff; color: #0b0d10; }
.menu-toggle { border-radius: 999px; }
@media (max-width: 51.99rem) {
  .site-header .container { border-radius: 22px; }
  .primary-nav { background: transparent; }
  .primary-nav .btn { width: 100%; margin: 0.4rem 0 0.4rem; }
}

/* angled buttons with a corner dot */
.cta, .ghost, .mform .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.6rem 0 1.9rem; border: 0; border-radius: 0;
  font: inherit; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: background 0.2s, color 0.2s; }
.cta::before, .ghost::before, .mform .btn::before { content: ""; position: absolute; left: 7px; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.cta, .mform .btn { background: #f4f6f5; color: #0b0d10; }
.cta:hover, .mform .btn:hover { background: #3ddc97; color: #0b0d10; }
.ghost { color: #f4f6f5; background: linear-gradient(#0b0d10, #0b0d10) padding-box, linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.14)) border-box; border: 1px solid transparent; }
.ghost:hover { color: #3ddc97; border-color: transparent; }
.cta.small { min-height: 44px; padding: 0 1.2rem 0 1.6rem; font-size: 0.82rem; }
button.ghost { background: linear-gradient(#0b0d10, #0b0d10) padding-box, linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.14)) border-box; }

/* the cube stage */
.stage { position: relative; }
.stage canvas { position: absolute; inset: -10% -14% -4% -6%; width: 120%; height: 114%; display: block; }
.stage .glow { position: absolute; left: 50%; top: 55%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 220, 151, 0.28), transparent); filter: blur(10px); }
.no-gl canvas, .stage canvas.no-gl { display: none; }

/* home hero */
.vh { position: relative; width: min(76rem, 100% - 2rem); margin: 1.2rem auto 0; padding: clamp(2.2rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3.5rem) 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(40rem 26rem at 78% 40%, rgba(61, 220, 151, 0.16), transparent 65%), radial-gradient(34rem 22rem at 10% 110%, rgba(109, 91, 208, 0.22), transparent 70%), linear-gradient(180deg, #111418, #0b0d10); }
.vh-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 1rem; min-height: 28rem; }
.vh h1 { margin: 0; font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1.1; color: #f4f6f5; max-width: 18ch;
  background: linear-gradient(180deg, #f4f6f5 35%, #7ee3bf 80%, #3ddc97); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vh .lede { margin: 1.3rem 0 2rem; max-width: 33rem; color: #a6b0ab; font-size: 1.05rem; line-height: 1.65; }
.vh .acts { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.vh .stage { height: clamp(22rem, 38vw, 31rem); }
.badge { position: absolute; right: -0.5rem; bottom: 0; z-index: 2; padding: 0.6rem 0.8rem; text-align: right; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 13, 16, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge b { display: block; font-size: clamp(2rem, 1.6rem + 1.6vw, 3.1rem); font-weight: 400; line-height: 1.1; color: #f4f6f5; }
.badge b::before { content: "["; color: #a6b0ab; margin-right: 0.15em; } .badge b::after { content: "]"; color: #a6b0ab; margin-left: 0.15em; }
.badge span { display: block; max-width: 9rem; margin-left: auto; font-size: 0.82rem; line-height: 1.35; color: #a6b0ab; }
.vh-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 0.6rem; align-self: start; margin-top: 0.4rem; min-height: 44px; padding: 0.35rem 0.8rem 0.35rem 0.35rem; border: 1px solid var(--line); border-radius: 10px; font-size: 0.88rem; color: #d8dfdb; text-decoration: none; }
.chip:hover { border-color: #3ddc97; color: #fff; }
.chip i { width: 1.8rem; height: 1.8rem; border-radius: 7px; background: linear-gradient(135deg, #3ddc97, #2fb5a8 60%, #6d5bd0); }
.bars { display: flex; align-items: flex-end; gap: 0.6rem; justify-self: center; margin: 0; padding: 0; list-style: none; }
.bar { display: flex; flex-direction: column; align-items: center; width: 5.4rem; padding-top: 0.9rem; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #d7dcda, #8b9591); color: #0b0d10; text-align: center; }
.bar b { font-size: 1.55rem; font-weight: 600; line-height: 1; }
.bar small { display: block; margin-top: 0.3rem; padding: 0 0.3rem; font-size: 0.7rem; line-height: 1.25; color: #2b3330; }
.bar:nth-child(1) { height: 5.5rem; } .bar:nth-child(2) { height: 8rem; background: linear-gradient(180deg, #fff, #c9f5e2); } .bar:nth-child(3) { height: 6.5rem; }
.statement { max-width: 23rem; margin: 0; padding-bottom: 1.6rem; font-size: 1.1rem; line-height: 1.45; color: #e7ece9; }

/* inner page hero: the same framed panel, a smaller cube */
.ph { padding: 1.2rem 0 0; background: transparent; }
.ph-frame { width: min(76rem, 100% - 2rem); margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3.5rem); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(34rem 22rem at 80% 45%, rgba(61, 220, 151, 0.14), transparent 65%), radial-gradient(28rem 18rem at 5% 110%, rgba(109, 91, 208, 0.2), transparent 70%), linear-gradient(180deg, #111418, #0b0d10); }
.ph-frame.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1rem, 4vw, 3rem); align-items: center; }
.ph-frame > * { min-width: 0; }
.ph h1 { font-size: clamp(2rem, 1.4rem + 1.9vw, 3rem); line-height: 1.12; }
.ph .tick { display: inline-block; padding: 0.3rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 0.74rem; }
.stage--sm { height: clamp(16rem, 26vw, 21rem); }
.ph.plain .wrap { padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3.5rem); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(30rem 18rem at 85% 30%, rgba(61, 220, 151, 0.12), transparent 65%), linear-gradient(180deg, #111418, #0b0d10); width: min(76rem, 100% - 2rem); }

/* section pictures, cards and panels: glass */
.pic { border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(60% 60% at 50% 50%, rgba(61, 220, 151, 0.1), transparent 75%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); }
.pic.endw { border: 0; background: none; }
.d .tick, .b3 .tick { display: inline-block; padding: 0.3rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 0.74rem; }
.rule-b { border-left: 0; border: 1px solid transparent; border-radius: 14px; }
.rule-b[aria-pressed="true"] { border-color: rgba(61, 220, 151, 0.45); background: linear-gradient(180deg, rgba(61, 220, 151, 0.09), rgba(255, 255, 255, 0.01)); }
.board, .mform, .demo, .lim, .answer { border-radius: 18px; }
.board, .demo { background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.tabs button, .chips button, .seg button, .ch-qs button { border-radius: 999px; }
.band { padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(28rem 18rem at 85% 50%, rgba(61, 220, 151, 0.18), transparent 70%), radial-gradient(22rem 14rem at 0% 100%, rgba(109, 91, 208, 0.22), transparent 70%), #111418; }

@media (max-width: 52rem) {
  .vh-grid, .ph-frame.two { grid-template-columns: 1fr; min-height: 0; }
  .vh .stage { order: -1; height: 17rem; }
  .stage--sm { order: -1; height: 13rem; }
  .badge { position: static; display: inline-flex; align-items: baseline; gap: 0.6rem; margin-top: 0.5rem; text-align: left; }
  .badge b { font-size: 1.6rem; } .badge span { max-width: none; }
  .vh .stage .badge { position: absolute; left: 0; right: auto; bottom: -0.5rem; }
  .vh-foot { grid-template-columns: 1fr; gap: 1.2rem; }
  .bars { justify-self: start; }
}
@media (max-width: 30rem) { .bar { width: 4.7rem; } }
@media (prefers-reduced-motion: reduce) { .cta, .ghost { transition: none; } }

/* hologram canvases fill their stage exactly (the old cube needed overscan) */
.stage canvas[data-holo], .stage canvas[data-scene] { inset: 0; width: 100%; height: 100%; }
.vh .stage { height: clamp(24rem, 40vw, 33rem); }

/* ---- website chatbot: a button in the corner and a panel built on first open (chat.js) ---- */
.chat-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 55; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px; border: 1px solid rgba(61, 220, 151, .5); background: rgba(13, 21, 19, .92); color: #f2f6f3; font: 600 .95rem/1 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 8px 30px rgba(0, 0, 0, .45), 0 0 24px rgba(61, 220, 151, .18); backdrop-filter: blur(10px); }
.chat-fab::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 10px #3ddc97; }
.chat-fab:hover, .chat-fab[aria-expanded="true"] { border-color: #3ddc97; }
.chat-fab[hidden] { display: none; }
.chat-panel { position: fixed; right: 1rem; bottom: 4.6rem; z-index: 56; width: min(24rem, calc(100vw - 2rem)); height: min(34rem, calc(100svh - 6.5rem)); display: flex; flex-direction: column; background: #0d1513; color: #f2f6f3; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.chat-title { margin: 0; font-weight: 700; }
.chat-close { background: none; border: 1px solid rgba(255, 255, 255, .25); color: #f2f6f3; border-radius: 999px; padding: .3rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; }
.chat-note { margin: 0; padding: .55rem 1rem; font-size: .78rem; line-height: 1.4; color: #b9c8c0; background: rgba(255, 255, 255, .03); }
.chat-list { flex: 1; overflow-y: auto; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .6rem; }
.chat-msg { max-width: 88%; padding: .6rem .8rem; border-radius: 14px; font-size: .95rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg--assistant { align-self: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.chat-msg--user { align-self: flex-end; background: rgba(61, 220, 151, .16); border: 1px solid rgba(61, 220, 151, .3); }
.chat-msg a { color: #7ee3bf; }
.chat-wait { color: #b9c8c0; font-style: italic; }
.chat-err { border-color: rgba(240, 194, 107, .4); }
.chat-starters { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.chat-starters button { background: none; border: 1px solid rgba(61, 220, 151, .4); color: #dff7ec; border-radius: 999px; padding: .4rem .8rem; font: inherit; font-size: .85rem; text-align: left; cursor: pointer; }
.chat-starters button:hover { border-color: #3ddc97; }
.chat-form { display: flex; gap: .5rem; padding: .7rem 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.chat-form textarea { flex: 1; resize: none; min-height: 2.6rem; max-height: 7rem; padding: .6rem .7rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .3); color: #f2f6f3; font: inherit; font-size: .95rem; }
.chat-form .cta { flex: none; }
.chat-person { display: block; padding: 0 1rem .8rem; font-size: .85rem; color: #b9c8c0; }
@media (max-width: 520px) { .chat-fab { right: .75rem; bottom: .75rem; } .chat-panel { right: .5rem; left: .5rem; width: auto; bottom: 4.2rem; } }

/* solution pages: links between the problems we solve */
.sol-links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; }
.sol-links a { display: block; padding: .85rem 1rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; color: #f2f6f3; text-decoration: none; background: rgba(255, 255, 255, .03); }
.sol-links a::after { content: " →"; color: #3ddc97; }
.sol-links a:hover { border-color: #3ddc97; }
.prose p { margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.65; color: #c7d3cc; }
/* article tables on phones: keep columns readable and let the table scroll sideways */
@media (max-width: 640px) { .art-body th, .art-body td { min-width: 8.5rem; } .art-body th:first-child, .art-body td:first-child { min-width: 6rem; } }
.site-footer .footer-h { margin: 0 0 .6rem; font-weight: 600; color: #f2f6f3; font-size: 1rem; }
.rules-note { max-width: 46rem; padding: .9rem 1.1rem; border-left: 2px solid #3ddc97; background: rgba(61, 220, 151, .06); border-radius: 0 10px 10px 0; color: #c7d3cc; }
.hero-note { margin: .9rem 0 0; max-width: 34rem; font-size: .95rem; color: #b9c8c0; }
.read-next { margin: .3rem 0 .6rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); font-weight: 500; letter-spacing: -.02em; color: #f2f6f3; }
/* logo: icon as the P of the word, sitting on the same baseline as the capitals */
.site-header .brand.brand--mark { font-size: 1.32rem; letter-spacing: 0; align-items: center; }
.site-header .brand--mark .brand-in { gap: 0.06em; }
.site-header .brand.brand--mark svg { width: auto; height: 0.84em; transform: translateY(0.06em); }  /* owner's choice C: a featured first letter, slightly taller than the capitals */
.site-header .brand.brand--mark .brand-word { font-size: 1em; letter-spacing: 0.14em; }

/* No-show cost calculator inside an Insights article (app/templates/public/_noshow_calc.html) */
.calc { margin: 2rem 0; padding: 1.3rem 1.4rem; border: 1px solid rgba(61, 220, 151, 0.35); background: rgba(61, 220, 151, 0.06); border-radius: 18px; }
.calc h3 { margin: 0 0 0.3rem; }
.calc-note { margin: 0.4rem 0; font-size: 0.9rem; color: #9fb1a8; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.9rem; margin: 1rem 0; }
.calc-grid label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.95rem; }
.calc-grid input { min-height: 46px; padding: 0 0.8rem; background: #060909; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 10px; color: #fff; font: inherit; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.6rem; margin: 0.6rem 0; }
.calc-out p { margin: 0; padding: 0.7rem 0.9rem; background: rgba(0, 0, 0, 0.25); border-radius: 10px; }
.calc-out b { display: block; font-size: 1.35rem; color: #7ee3bf; }
