/* CLC Technologies concept: dark, technical, alive. Tokens first. */
:root {
  --bg: #070b16; --bg2: #0c1325; --card: #111a31; --card2: #16213d; --line: #24304f;
  --ink: #eaf0ff; --muted: #a9b6d3; --cyan: #22d3ee; --violet: #8b6cff; --green: #34d399; --amber: #fbbf24;
  --accent: #22d3ee; --accent-2: #8b6cff;
  --radius: 16px; --max: 1160px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Outfit", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7ee8fa; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; } li { margin-bottom: .35em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.grad { background: linear-gradient(100deg, var(--cyan), var(--violet) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--cyan); margin: 0 0 14px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
#progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet)); z-index: 60; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 22, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand-logo { display: block; height: 46px; width: auto; max-width: none; }
.brand-foot { margin: 0 0 12px; }
.brand-foot .brand-logo { height: 60px; }
@media (max-width: 600px) { .brand-logo { height: 38px; } }
.brand small { font-weight: 400; color: var(--muted); font-size: .8rem; display: block; line-height: 1; letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav > a, .nav .dd > button { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: .96rem; background: none; border: 0; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.nav > a:hover, .nav .dd > button:hover, .nav a[aria-current="page"] { background: var(--card); color: var(--cyan); }
.dd { position: relative; }
.dd-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: block; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.dd-menu a:hover { background: var(--card2); color: var(--cyan); }
.nav .login { margin-left: 8px; border: 1px solid var(--cyan); color: var(--cyan); }
.menu-btn { display: none; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; min-width: 46px; min-height: 46px; font-size: 1.3rem; cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; max-height: calc(100vh - 68px); overflow: auto; }
  .nav.open { display: flex; }
  .dd-menu { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; }
  .nav .login { margin: 8px 0 0; justify-content: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; min-height: 46px; border-radius: 999px; background: linear-gradient(100deg, var(--cyan), #6aa8ff); color: #04111c; font-weight: 700; text-decoration: none; border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: 0 8px 30px rgba(34, 211, 238, .25); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(34, 211, 238, .4); color: #04111c; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn.wa { background: #25d366; color: #052b14; box-shadow: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(139, 108, 255, .28), transparent 60%); z-index: -1; animation: drift 18s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; left: -10%; bottom: -30%; width: 60vw; height: 60vw; max-width: 800px; background: radial-gradient(circle, rgba(34, 211, 238, .18), transparent 60%); z-index: -1; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.15); } }
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-in { position: relative; }
.rot { color: var(--cyan); border-bottom: 2px dashed rgba(34, 211, 238, .5); white-space: nowrap; }
.quick { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .95rem; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17, 26, 49, .7); color: var(--ink); text-decoration: none; font-size: .93rem; cursor: pointer; font-family: inherit; transition: border-color .2s, background .2s; }
.chip:hover, .chip[aria-pressed="true"], .chip.on { border-color: var(--cyan); background: rgba(34, 211, 238, .12); color: var(--cyan); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(251, 191, 36, .6); animation: pulse 2s infinite; }
.dot.on { background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg2); }
.ticker-in { display: flex; gap: 56px; width: max-content; padding: 16px 0; animation: marquee 32s linear infinite; font-family: var(--font-mono); font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticker:hover .ticker-in { animation-play-state: paused; }
.ticker b { color: var(--cyan); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 88px 0; position: relative; }
.section.alt { background: var(--bg2); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; overflow: hidden; transition: border-color .25s, transform .25s; display: block; color: var(--ink); text-decoration: none; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, .14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(34, 211, 238, .6); color: var(--ink); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: .6em; }
.card .more { color: var(--cyan); font-weight: 600; font-size: .95rem; }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(34, 211, 238, .2), rgba(139, 108, 255, .2)); margin-bottom: 18px; color: var(--cyan); }
.ico svg { width: 28px; height: 28px; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); background: rgba(139, 108, 255, .12); padding: 3px 9px; border-radius: 6px; margin-bottom: 10px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.pill-list li { margin: 0; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--muted); }

/* reveal: content is always visible; entering the viewport plays a short rise */
.js .reveal.in { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: .3; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.js .reveal.d1 { animation-delay: .08s; } .js .reveal.d2 { animation-delay: .16s; } .js .reveal.d3 { animation-delay: .24s; }

/* builder */
.panel { background: linear-gradient(160deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 40px); }
.builder { display: grid; gap: 32px; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 880px) { .builder { grid-template-columns: 1fr; } }
.step-label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.result { background: rgba(7, 11, 22, .6); border: 1px dashed var(--line); border-radius: 16px; padding: 22px; min-height: 260px; }
.result ul { list-style: none; padding: 0; }
.result li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; animation: pop .4s both; }
.result li a { white-space: nowrap; font-size: .9rem; }
@keyframes pop { from { opacity: 0; transform: translateX(14px); } }

/* diagram */
.diagram { display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr; align-items: center; }
@media (max-width: 880px) { .diagram { grid-template-columns: 1fr; } }
.diagram svg { width: 100%; height: auto; overflow: visible; }
.node { cursor: pointer; }
.node circle.bg { fill: var(--card2); stroke: var(--line); stroke-width: 2; transition: stroke .25s, fill .25s; }
.node:hover circle.bg, .node:focus circle.bg, .node.on circle.bg { stroke: var(--cyan); fill: #12304a; }
.node text { fill: var(--ink); font-family: var(--font-body); font-size: 13px; text-anchor: middle; pointer-events: none; }
.node .g { stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.link { stroke: var(--line); stroke-width: 2; fill: none; }
.flow { stroke: var(--cyan); stroke-width: 2.5; fill: none; stroke-dasharray: 4 14; animation: dash 1.2s linear infinite; opacity: .9; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.info { min-height: 210px; }
.info h3 { color: var(--cyan); }

/* tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: pop .4s both; }

/* process */
.steps { display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 0 20px 0 0; cursor: pointer; border: 0; background: none; text-align: left; color: inherit; font: inherit; }
.step .n { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--muted); background: var(--bg); margin-bottom: 14px; position: relative; z-index: 1; transition: all .3s; }
.step::before { content: ""; position: absolute; top: 23px; left: 48px; right: 0; height: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step.on .n { border-color: var(--cyan); color: #04111c; background: var(--cyan); box-shadow: 0 0 0 8px rgba(34, 211, 238, .15); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .step::before { display: none; } .step { padding: 0 0 20px; } }

/* stats */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { text-align: center; padding: 28px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stat b { display: block; font-family: var(--font-head); font-size: 3rem; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .95rem; }

/* faq / details */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
details[open] { border-color: rgba(34, 211, 238, .5); }
summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; list-style: none; position: relative; min-height: 48px; font-family: var(--font-head); font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--cyan); transition: transform .25s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details .ans { padding: 0 20px 6px; color: var(--muted); }
.search { width: 100%; padding: 14px 18px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; margin-bottom: 16px; }
.search:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); }
.none { display: none; padding: 20px; text-align: center; color: var(--muted); }

/* article pages */
.page-head { padding: 72px 0 36px; background: radial-gradient(ellipse at 80% 0%, rgba(139, 108, 255, .22), transparent 60%), radial-gradient(ellipse at 10% 100%, rgba(34, 211, 238, .12), transparent 55%); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 20ch; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; } .crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.meta { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 48px 0 80px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { color: #cdd8f0; } .prose p { color: #cdd8f0; }
.prose code, .code { font-family: var(--font-mono); font-size: .88em; background: var(--card); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; color: var(--green); word-break: break-word; }
pre.code { padding: 16px; overflow: auto; line-height: 1.5; white-space: pre-wrap; border-radius: 12px; }
.callout { border-left: 4px solid var(--cyan); background: rgba(34, 211, 238, .08); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 1.4em 0; color: var(--ink); }
.callout.warn { border-color: var(--amber); background: rgba(251, 191, 36, .08); }
.aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.aside .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.aside h2 { font-size: 1.05rem; margin-bottom: .6em; }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside li a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.aside li a:hover { color: var(--cyan); }
table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--cyan); font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.tablewrap { overflow-x: auto; }

/* calculator + forms */
.calc { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 20px 0; }
label { display: block; font-size: .9rem; color: var(--muted); }
input, select, textarea { width: 100%; padding: 12px 14px; min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; margin-top: 6px; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); }
input[type="range"] { padding: 0; accent-color: var(--cyan); }
.out { font-family: var(--font-head); font-size: 2.4rem; color: var(--cyan); margin: 0; }
.bar-track { height: 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet)); transition: width .5s; }
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 14px; }
.form-msg { padding: 14px 18px; border-radius: 12px; background: rgba(52, 211, 153, .12); border: 1px solid var(--green); display: none; }
.form-msg.err { background: rgba(251, 191, 36, .1); border-color: var(--amber); }
.form-msg.show { display: block; }
.hours td:first-child { color: var(--muted); }
.hours tr.today td { color: var(--cyan); font-weight: 700; }

/* cta + footer */
.cta { text-align: center; padding: 72px 20px; border-radius: 28px; background: radial-gradient(ellipse at 50% 0%, rgba(139, 108, 255, .35), transparent 70%), var(--card); border: 1px solid var(--line); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta .actions { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 56px 0 28px; color: var(--muted); font-size: .95rem; }
.fgrid { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .9rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { color: var(--muted); text-decoration: none; display: inline-block; padding: 5px 0; }
.site-footer li a:hover { color: var(--cyan); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
#top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--cyan); background: var(--card); color: var(--cyan); font-size: 1.3rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
#top.show { opacity: 1; pointer-events: auto; }
.portal-card { border-color: rgba(139, 108, 255, .5); }

/* ---- 2026-11-15: Charl's note (C:\DATA\CLC): AI Service Desk, platforms, legal pages, news, Living island, spaceship ---- */
.soon { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); }
.soon .dot { background: var(--amber); }
.desk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: radial-gradient(ellipse at 100% 0%, rgba(139, 108, 255, .25), transparent 60%), var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 52px); }
.desk-sec { border-top: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; color: #cdd8f0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.desk-demo { display: grid; gap: 12px; }
.desk-line { max-width: 88%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: var(--card2); border: 1px solid var(--line); opacity: 0; animation: deskin 12s infinite; }
.desk-line p { margin: 0; color: var(--ink); font-size: .95rem; }
.desk-line .who { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.desk-line.ai { justify-self: end; border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(139, 108, 255, .2)); border-color: rgba(34, 211, 238, .4); }
.desk-line.ai .who { color: var(--cyan); }
.desk-line.l2 { animation-delay: 1.4s; }
.desk-line.l3 { animation-delay: 3s; }
.desk-line.l4 { animation-delay: 4.4s; }
@keyframes deskin { 0% { opacity: 0; transform: translateY(10px); } 5%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
.platform { border-color: rgba(34, 211, 238, .35); }
.platform h3::after { content: " \2197"; color: var(--cyan); font-size: .9em; }
.legal-doc .legal-sec { border-top: 1px solid var(--line); padding-top: 8px; }
.legal-doc h2 { font-size: 1.35rem; }
.legal-doc h2 .n { color: var(--cyan); font-family: var(--font-mono); font-size: .9em; margin-right: 4px; }
.legal-doc ol, .legal-doc ul { padding-left: 1.4em; }
.legal-doc ol { list-style: decimal; }
.legal-doc ul { list-style: disc; }
.legal-doc .sign { margin-top: 18px; display: grid; gap: 10px; }
.legal-doc .sign p { display: flex; gap: 10px; align-items: flex-end; margin: 0; }
.legal-doc .sign .line { flex: 1; border-bottom: 1px dashed var(--muted); min-height: 1.4em; }
.aside .toc { padding-left: 0; margin: 0; list-style: none; }
.aside .toc li a { padding: 4px 0; font-size: .92rem; }
.news { display: grid; gap: 24px; max-width: 860px; }
.news-post h2 { font-size: 1.6rem; }
.news-post p { color: #cdd8f0; }
.news-post .meta { margin: 0 0 8px; }

/* Living websites island: the Living palette (light) inside the dark site */
.living-sec { background: #F5F8FC; color: #0B1220; }
.living-sec a { color: #0E7490; }
.lw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.lw-eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: #0E7490; margin: 0 0 12px; }
.lw-h { color: #0B1220; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.lw-h em { font-style: normal; background: linear-gradient(100deg, #06B6D4, #2563EB); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lw-copy p { color: #27354A; }
.lw-q { display: block; font-weight: 600; color: #0B1220; margin: 18px 0 8px; }
.lw-q strong { color: #c2410c; }
#lw-age { width: 100%; accent-color: #FF5A36; }
.lw-copy .lw-note { min-height: 3.3em; margin-top: 10px; color: #5E6E84; }
.living-sec .lw-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 22px; border-radius: 999px; background: #0B1220; color: #fff; font-weight: 700; text-decoration: none; }
.living-sec .lw-btn:hover { background: #2563EB; color: #fff; }
.lw-spec { border-radius: 14px; overflow: hidden; border: 1px solid #D5DEE9; background: #fff; box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .45); transition: filter .6s, transform .6s; }
.lw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #E9EFF7; border-bottom: 1px solid #D5DEE9; }
.lw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DEE9; }
.lw-bar b { margin-left: 10px; font: 500 .78rem var(--font-mono); color: #5E6E84; }
.lw-page { padding: 16px; font-family: var(--font-head); color: #0B1220; transition: all .5s; }
.lw-nav { display: flex; gap: 14px; align-items: center; font-size: .85rem; color: #5E6E84; }
.lw-nav b { color: #0B1220; margin-right: auto; }
.lw-hero { margin: 16px 0; padding: 22px; border-radius: 12px; background: linear-gradient(135deg, #06B6D4, #2563EB); color: #fff; transition: all .5s; }
.lw-copy .lw-hero p, .lw-hero .lw-t { color: #fff; }
.lw-hero .lw-t { font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.lw-hero .lw-sub { margin: 0 0 12px; opacity: .9; color: #fff; }
.lw-cta { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; color: #2563EB; font-weight: 700; font-size: .85rem; }
.lw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lw-cards div { height: 58px; border-radius: 10px; background: linear-gradient(135deg, #E9EFF7, #cfe9f7); transition: all .5s; }
.lw-page .lw-stale { display: none; margin: 12px 0 0; font-weight: 700; color: #c2410c; }
.lw-foot { margin-top: 14px; font-size: .75rem; color: #5E6E84; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lw-badge { padding: 2px 8px; border-radius: 999px; background: #d1fae5; color: #065f46; font-weight: 600; }
.lw-ie { display: none; }
.lw-spec[data-age="1"] .lw-badge { background: #fef3c7; color: #92400e; }
.lw-spec[data-age="1"] .lw-cards div { filter: grayscale(.4); }
.lw-spec[data-age="2"] .lw-hero { background: #5E6E84; }
.lw-spec[data-age="2"] .lw-cta { background: #E9EFF7; color: #5E6E84; }
.lw-spec[data-age="2"] .lw-badge, .lw-spec[data-age="3"] .lw-badge { background: #fee2e2; color: #991b1b; }
.lw-spec[data-age="2"] .lw-cards .c2 { background: repeating-linear-gradient(45deg, #eee 0 8px, #ddd 8px 16px); }
.lw-spec[data-age="2"] .lw-stale, .lw-spec[data-age="3"] .lw-stale, .lw-spec[data-age="4"] .lw-stale { display: block; }
.lw-spec[data-age="3"] .lw-page, .lw-spec[data-age="4"] .lw-page { font-family: "Times New Roman", Times, serif; }
.lw-spec[data-age="3"] .lw-hero { background: #000080; border-radius: 0; }
.lw-spec[data-age="3"] .lw-cta { border-radius: 0; text-decoration: underline; color: #0000ee; }
.lw-spec[data-age="3"] .lw-cards div { border-radius: 0; background: #c0c0c0; }
.lw-spec[data-age="4"] { filter: sepia(.55) contrast(.9); transform: rotate(-1deg); }
.lw-spec[data-age="4"] .lw-hero { background: #808080; border-radius: 0; }
.lw-spec[data-age="4"] .lw-cards div { background: #c0c0c0; border-radius: 0; }
.lw-spec[data-age="4"] .lw-cards .c1, .lw-spec[data-age="4"] .lw-cards .c3 { background: #fff; border: 2px dashed #999; }
.lw-spec[data-age="4"] .lw-badge { display: none; }
.lw-spec[data-age="4"] .lw-ie { display: inline; color: #000080; }

/* The spaceship: flies across now and then; catch it */
.ship { position: fixed; z-index: 45; left: 0; top: 0; width: 92px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; will-change: transform; filter: drop-shadow(0 0 12px rgba(34, 211, 238, .55)); }
.ship svg { width: 100%; height: 100%; overflow: visible; animation: bob 1.6s ease-in-out infinite; }
.ship.rtl .hull { transform: scaleX(-1); transform-origin: 46px 22px; }
.ship .flame { transform-box: fill-box; transform-origin: right center; animation: flame .18s linear infinite alternate; }
@keyframes bob { 50% { translate: 0 -5px; } }
@keyframes flame { to { transform: scaleX(1.6); opacity: .7; } }
.ship.warp { transition: transform .6s cubic-bezier(.6, 0, 1, .4), opacity .6s; opacity: 0; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: min(92vw, 460px); padding: 14px 18px; border-radius: 14px; background: var(--card2); border: 1px solid var(--cyan); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s, transform .3s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast p { margin: 0; }
.toast a { font-weight: 700; }

@media (max-width: 860px) { .desk, .lw { grid-template-columns: 1fr; } .desk-demo { order: 2; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
