/* Cosmos Signage brand tokens, v1.0 (9 Nov 2026).
   One source for the website, the brand pack and anything else that says Cosmos.
   The dashboard keeps its own copy of the UI tokens; the values here match the locked decisions:
   accent orange-600 (8 Nov 2026), status colours (9 Nov 2026), Sweeping Orbit logo (9 Nov 2026). */
:root {
  /* Brand colours */
  --cosmos-orbit:        #F35B04;   /* Orbit Orange: the logo artwork and hero highlights only */
  --cosmos-orange:       #EA580C;   /* Cosmos Orange: UI accent, buttons, links (locked) */
  --cosmos-orange-deep:  #C2410C;   /* hover / pressed */
  --cosmos-navy:         #0B2845;   /* Space Navy: headlines on light, dark grounds */
  --cosmos-navy-deep:    #071A2F;   /* deeper hero ground */
  --cosmos-night:        #0C0E14;   /* dark dashboard ground (CNX family) */
  --cosmos-warm-white:   #F4F1EC;   /* light page ground */
  --cosmos-white:        #FFFFFF;
  --cosmos-sky:          #E9EEF6;   /* pale sky: light sign-in, soft panels */
  --cosmos-ink:          #1C2433;   /* body text on light */
  --cosmos-ink-soft:     #5B6677;   /* secondary text on light */
  --cosmos-line:         #D9DEE7;   /* hairlines on light */

  /* Status colours (locked 9 Nov 2026). Accent never means status. */
  --status-playing:      #22C07A;   /* online and playing */
  --status-nothing:      #E040FB;   /* online, nothing to show */
  --status-dark:         #FFAB00;   /* online, dark on purpose */
  --status-offline:      #FF1744;   /* offline */
  --status-unknown:      #8A8E9C;   /* never reported */
  --sync-group:          #3B82F6;   /* Sync Group frame (UI only) */

  /* Type */
  --font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --font-text:    "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* Shape */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-soft: 0 4px 12px rgba(11, 40, 69, .06), 0 12px 32px rgba(11, 40, 69, .08);
  --shadow-lift: 0 8px 24px rgba(11, 40, 69, .10), 0 24px 48px rgba(11, 40, 69, .14);
}

/* Cosmos Signage website. Tokens come from brand/tokens.css (prepended at build). */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  color: var(--cosmos-ink); background: var(--cosmos-warm-white); -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cosmos-orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--cosmos-navy); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--cosmos-ink-soft); max-width: 40em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap--narrow { max-width: 860px; }
.section { padding: clamp(3.2rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section--soft { background: var(--cosmos-sky); }
.section--white { background: #fff; }
.section--dark { background: var(--cosmos-navy); color: #d5deea; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lede { color: #b9c6d6; }
.section--dark a { color: #ffb17a; }
.section--night { background: var(--cosmos-night); color: #d5deea; }
.section--night h2, .section--night h3 { color: #fff; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cosmos-orange); margin-bottom: .9rem; }
.section__head { max-width: 46em; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section__head p { color: var(--cosmos-ink-soft); }
.section--dark .section__head p { color: #b9c6d6; }
.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 { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--cosmos-navy); padding: .5rem 1rem; border-radius: 6px; z-index: 99; }
.skip:focus { left: 8px; }
.sources { font-size: .84rem; color: var(--cosmos-ink-soft); margin-top: 1.4rem; }
.sources a { color: var(--cosmos-ink-soft); text-decoration: underline; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--cosmos-ink-soft); }
.center { text-align: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 236, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--cosmos-line); }
.top__row { display: flex; align-items: center; gap: 1.2rem; min-height: 70px; }
.top__logo img { height: 44px; width: auto; }
.top__nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.top__nav a { color: var(--cosmos-navy); font-weight: 500; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.top__nav a[aria-current="page"] { border-bottom-color: var(--cosmos-orange); }
.top__nav a:hover { text-decoration: none; color: var(--cosmos-orange-deep); }
.top__nav-cta { display: none; }
.top__cta { display: flex; gap: .6rem; }
.top__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; margin-left: auto; }
.top__burger span { display: block; height: 2px; background: var(--cosmos-navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.top--open .top__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top--open .top__burger span:nth-child(2) { opacity: 0; }
.top--open .top__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1040px) {
  .top__nav { position: fixed; left: 0; right: 0; top: 70px; background: #fff; flex-direction: column; align-items: stretch; padding: .6rem clamp(16px, 4vw, 40px) 1.4rem; gap: 0; border-bottom: 1px solid var(--cosmos-line); box-shadow: var(--shadow-lift); transform: translateY(-130%); transition: transform .25s ease; max-height: calc(100vh - 70px); overflow: auto; }
  .top--open .top__nav { transform: none; }
  .top__nav a { padding: .75rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--cosmos-line); }
  .top__nav a[aria-current="page"] { color: var(--cosmos-orange-deep); border-bottom-color: var(--cosmos-line); }
  .top__nav-cta { display: flex; gap: .6rem; margin-top: 1rem; }
  .top__cta { display: none; }
  .top__burger { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-text); font-weight: 700; font-size: .98rem; padding: .78rem 1.35rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; line-height: 1.1; transition: transform .15s, background .15s, color .15s, border-color .15s; text-decoration: none !important; white-space: nowrap; }
.btn--primary { background: var(--cosmos-orange); color: #fff; }
.btn--primary:hover { background: var(--cosmos-orange-deep); transform: translateY(-1px); }
.btn--ghost { border-color: var(--cosmos-navy); color: var(--cosmos-navy); background: transparent; }
.btn--ghost:hover { background: var(--cosmos-navy); color: #fff; }
.hero .btn--ghost, .section--dark .btn--ghost, .section--night .btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn--ghost:hover, .section--dark .btn--ghost:hover, .section--night .btn--ghost:hover { background: #fff; color: var(--cosmos-navy); }
.btn--s { padding: .55rem 1rem; font-size: .9rem; }
.btn--l { padding: .95rem 1.7rem; font-size: 1.05rem; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(3.2rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); background: radial-gradient(120% 90% at 85% 0%, #17426f 0%, var(--cosmos-navy) 45%, var(--cosmos-navy-deep) 100%); }
.hero .stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; }
.hero .lede { color: #c9d4e2; }
.hero .eyebrow { color: var(--cosmos-orbit); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__grid--wide-copy { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
@media (max-width: 900px) { .hero__grid, .hero__grid--wide-copy { grid-template-columns: 1fr; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__note { margin-top: 1.2rem; font-size: .9rem; color: #9fb0c4; }
.hero__accent { color: var(--cosmos-orbit); }
.hero--light { background: var(--cosmos-sky); color: var(--cosmos-ink); }
.hero--light h1 { color: var(--cosmos-navy); }
.hero--light .lede { color: var(--cosmos-ink-soft); }
.hero--light .eyebrow { color: var(--cosmos-orange); }
.hero--light .btn--ghost { border-color: var(--cosmos-navy); color: var(--cosmos-navy); }
.hero--light .btn--ghost:hover { background: var(--cosmos-navy); color: #fff; }
.hero--light .screen figcaption { color: var(--cosmos-ink-soft); }

/* Screens with content on them */
.screen { margin: 0; position: relative; }
.screen__panel { position: relative; container-type: inline-size; background: #06080c; border: 3px solid #181c25; border-radius: 10px; padding: 1.4%; box-shadow: 0 18px 44px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.screen__panel img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #000; }
.screen--portrait .screen__panel img { aspect-ratio: 9 / 16; }
.screen--bar .screen__panel img { aspect-ratio: 32 / 9; }
.screen--square .screen__panel img { aspect-ratio: 1 / 1; }
.screen--glow .screen__panel { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 40px rgba(255, 226, 180, .35), 0 0 120px rgba(243, 91, 4, .22), 0 18px 44px rgba(0, 0, 0, .4); }
.screen figcaption { margin-top: .6rem; font-size: .85rem; color: var(--cosmos-ink-soft); text-align: center; }
.hero .screen figcaption, .section--dark .screen figcaption, .section--night .screen figcaption { color: #9fb0c4; }
.screen__copy { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: .35em; max-width: 46%; font-size: 4cqw; line-height: 1.1; text-align: left; pointer-events: none; }
.screen__copy--left { left: 5.5%; top: 50%; transform: translateY(-50%); }
.screen__copy--right { right: 5.5%; top: 50%; transform: translateY(-50%); }
.screen__copy--bottom { left: 5.5%; bottom: 8%; max-width: 72%; }
.screen__copy--top { left: 5.5%; top: 8%; max-width: 72%; }
.screen__copy strong { font-family: var(--font-display); font-weight: 700; font-size: 1.6em; letter-spacing: -.02em; line-height: 1.02; }
.screen__copy span { font-size: .72em; font-weight: 500; line-height: 1.25; }
.screen__tag { display: inline-block; font-size: .5em !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; background: var(--cosmos-orange); color: #fff; margin-bottom: .2em; }
.screen__copy--dark { color: #0B2845; }
.screen__copy--light { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .4); }
.screen--bar .screen__copy { font-size: 2.7cqw; max-width: 40%; }
.screen--portrait .screen__copy { font-size: 6.5cqw; max-width: 86%; }
.screen__badge { position: absolute; left: 10px; bottom: 10px; background: rgba(6, 8, 12, .82); color: #fff; font-size: .74rem; font-weight: 500; padding: .25rem .6rem .25rem .5rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); display: inline-flex; align-items: center; gap: .35rem; }
.cluster { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 14px; align-items: end; }
.cluster .c1 { grid-column: 1; grid-row: 1; }
.cluster .c2 { grid-column: 2; grid-row: 1 / 3; }
.cluster .c3 { grid-column: 1; grid-row: 2; }
.cluster .screen figcaption { display: none; }
@media (max-width: 520px) { .cluster { grid-template-columns: 1fr; } .cluster .c2 { display: none; } .cluster .c1, .cluster .c3 { grid-column: 1; } .cluster .c3 { grid-row: 2; } }

/* Status */
.dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; vertical-align: middle; flex: none; }
.dot--playing { background: var(--status-playing); box-shadow: 0 0 8px var(--status-playing); }
.dot--nothing { background: var(--status-nothing); }
.dot--dark { background: var(--status-dark); }
.dot--offline { background: var(--status-offline); }
.dot--unknown { background: var(--status-unknown); }
.legend { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; font-size: .9rem; }
.legend li { display: inline-flex; align-items: center; gap: .45rem; }
.legend { list-style: none; margin: 0; padding: 0; }

/* Grids, cards, stats */
.grid { display: grid; gap: 1.3rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: #fff; border: 1px solid var(--cosmos-line); border-radius: var(--radius-m); padding: 1.5rem; box-shadow: var(--shadow-soft); color: var(--cosmos-ink); display: flex; flex-direction: column; }
.card h3 { margin-top: 0; }
.card p { color: var(--cosmos-ink-soft); flex: 1; }
.card--link { transition: transform .15s, box-shadow .15s; }
.card--link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card__more { color: var(--cosmos-orange-deep); font-weight: 700; margin-top: .9rem; }
.card__img { margin: -1.5rem -1.5rem 1.1rem; border-radius: var(--radius-m) var(--radius-m) 0 0; overflow: hidden; background: #000; }
.card__img img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__img--portrait img { aspect-ratio: 16 / 10; object-position: center 30%; }
.card__fig { margin: 0 0 1.1rem; border-radius: 10px; background: var(--cosmos-sky); border: 1px solid var(--cosmos-line); padding: .5rem .6rem; }
.card__fig svg { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.section--dark .card__fig, .section--night .card__fig { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(234, 88, 12, .12); color: var(--cosmos-orange); display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.25rem; }
.icon svg { width: 24px; height: 24px; }
.section--dark .card, .section--night .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #d5deea; box-shadow: none; }
.section--dark .card p, .section--night .card p { color: #b9c6d6; }
.section--dark .card h3, .section--night .card h3 { color: #fff; }
.section--dark .card__more { color: #ffb17a; }
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.stat { background: #fff; border-radius: var(--radius-m); padding: 1.4rem 1.3rem; border: 1px solid var(--cosmos-line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem); color: var(--cosmos-navy); line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: .55rem; color: var(--cosmos-ink); }
.stat small { display: block; margin-top: .5rem; color: var(--cosmos-ink-soft); font-size: .78rem; }
.section--dark .stat, .section--night .stat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.section--dark .stat strong, .section--night .stat strong { color: #fff; }
.section--dark .stat span, .section--night .stat span { color: #d5deea; }
.section--dark .stat small, .section--night .stat small { color: #9fb0c4; }

/* Steps, checks, FAQ, CTA */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 1.4rem; background: #fff; border-radius: var(--radius-m); border: 1px solid var(--cosmos-line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); color: var(--cosmos-orange); font-weight: 500; display: block; margin-bottom: .6rem; }
.step p { color: var(--cosmos-ink-soft); margin: 0; }
.section--dark .step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.section--dark .step p { color: #b9c6d6; }
.checks { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.checks li { position: relative; padding-left: 2rem; margin: .55rem 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15em; height: 1.15em; border-radius: 50%; background: var(--cosmos-orange); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='white'/><path d='M7 12.5l3 3 7-7' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='white'/><path d='M7 12.5l3 3 7-7' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.faq details { background: #fff; border: 1px solid var(--cosmos-line); border-radius: var(--radius-s); padding: 0 1.2rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--cosmos-navy); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--cosmos-orange); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1rem; margin: 0; color: var(--cosmos-ink-soft); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { margin: 0 0 .3rem; }
.cta p { margin: 0; color: #b9c6d6; }
.cta__btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Two-column feature rows */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.two + .two { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.two--flip > :first-child { order: 2; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .two--flip > :first-child { order: 0; } }
.two h2, .two h3 { margin-top: 0; }
.two p { color: var(--cosmos-ink-soft); }
.section--dark .two p { color: #b9c6d6; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--cosmos-line); font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--cosmos-line); vertical-align: top; }
.tbl th { background: var(--cosmos-sky); color: var(--cosmos-navy); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .mono { font-size: .88rem; }
.tbl-wrap { overflow-x: auto; }
.pill { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; background: rgba(234, 88, 12, .12); color: var(--cosmos-orange-deep); }
.pill--navy { background: rgba(11, 40, 69, .1); color: var(--cosmos-navy); }

/* ROI calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc__inputs label { display: block; margin-bottom: 1.15rem; }
.calc__inputs .lab { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; color: var(--cosmos-navy); margin-bottom: .3rem; }
.calc__inputs .lab output { font-family: var(--font-mono); color: var(--cosmos-orange-deep); font-weight: 500; }
.calc__inputs .hint { font-size: .82rem; color: var(--cosmos-ink-soft); margin-top: .2rem; }
input[type=range] { width: 100%; accent-color: var(--cosmos-orange); }
.calc__out { background: var(--cosmos-navy); color: #fff; border-radius: var(--radius-l); padding: 1.6rem; position: sticky; top: 90px; }
.calc__out h3 { color: #fff; margin-bottom: .2rem; }
.calc__big { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.02em; margin: .4rem 0 1rem; }
.calc__big small { font-size: .4em; font-family: var(--font-text); color: #b9c6d6; font-weight: 400; letter-spacing: 0; }
.calc__row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; color: #d5deea; }
.calc__row b { font-family: var(--font-mono); font-weight: 500; color: #fff; }
.calc__note { font-size: .8rem; color: #9fb0c4; margin-top: 1rem; }

/* Pull-the-plug demo (secure page) */
.plug { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 860px) { .plug { grid-template-columns: 1fr; } }
.plug__ctrl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-m); padding: 1rem 1.2rem; }
.plug__ctrl .mono { color: #9fb0c4; font-size: .85rem; }
.switch { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; font-weight: 700; color: #fff; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { width: 54px; height: 30px; border-radius: 999px; background: var(--status-playing); position: relative; transition: background .25s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.switch input:checked + .switch__track { background: var(--status-offline); }
.switch input:checked + .switch__track::after { transform: translateX(24px); }
.switch input:focus-visible + .switch__track { outline: 3px solid #ffb17a; outline-offset: 2px; }
.plug__card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-m); padding: 1.2rem; }
.plug__card h3 { display: flex; align-items: center; gap: .55rem; color: #fff; font-size: 1.1rem; }
.plug__state { font-family: var(--font-mono); font-size: .82rem; color: #9fb0c4; margin: .3rem 0 .9rem; min-height: 1.4em; }
.plug .screen__panel img { transition: filter .5s, opacity .5s; }
.plug--off .typical .screen__panel img { filter: grayscale(1) brightness(.22); }
.nosignal { position: absolute; inset: 1.4%; display: grid; place-items: center; color: #fff; font-family: var(--font-mono); font-size: clamp(.8rem, 2vw, 1.1rem); opacity: 0; transition: opacity .5s; border-radius: 4px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 10px, transparent 10px 20px); pointer-events: none; }
.plug--off .typical .nosignal { opacity: 1; }
.progress { height: 6px; background: rgba(255, 255, 255, .12); border-radius: 999px; overflow: hidden; margin-top: .8rem; }
.progress i { display: block; height: 100%; width: 0; background: var(--status-playing); transition: width .2s linear; }
.typical .progress i { background: #9fb0c4; }
.plug--off .typical .progress i { background: var(--status-offline); }
.wire { list-style: none; margin: 1rem 0 0; padding: 0; font-family: var(--font-mono); font-size: .8rem; color: #9fb0c4; }
.wire li { padding: .3rem 0; border-top: 1px dashed rgba(255, 255, 255, .12); display: flex; gap: .6rem; }
.wire li b { color: #fff; font-weight: 500; min-width: 4.5em; }
.wire li.bad b { color: #ff8aa0; }
.wire li.good b { color: #7ee2b4; }

/* Sunlight demo (super bright page) */
.sun { --ambient: 0; position: relative; border-radius: var(--radius-l); padding: 1.5rem; color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, var(--ambient)) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #1b2a44 0%, var(--cosmos-navy) 100%); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; }
.sun__ctrl { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.sun__ctrl .mono { font-size: .88rem; color: #fff; min-width: 9em; text-align: right; }
.sun__ctrl .ico { font-size: 1.6rem; line-height: 1; }
@media (max-width: 600px) { .sun__ctrl { grid-template-columns: auto 1fr; } .sun__ctrl .mono { grid-column: 1 / -1; text-align: left; } }
.sun__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.sun__item .screen__panel { position: relative; }
.sun__wash { position: absolute; inset: 1.4%; background: #e8ecf2; opacity: 0; border-radius: 4px; pointer-events: none; transition: opacity .15s; }
.sun__label { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .6rem; font-size: .86rem; }
.sun__label b { font-family: var(--font-mono); font-weight: 500; }
.verdict { font-size: .74rem; font-weight: 700; padding: .18rem .55rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.verdict--ok { background: rgba(34, 192, 122, .22); color: #7ee2b4; }
.verdict--meh { background: rgba(255, 171, 0, .22); color: #ffd27a; }
.verdict--bad { background: rgba(255, 23, 68, .22); color: #ff8aa0; }
.sun__name { font-size: .78rem; color: #b9c6d6; margin-top: .15rem; }
.sun .sun__name, .sun .sun__label { color: #e6edf5; }
.sun--bright .sun__name, .sun--bright .sun__label { color: #0B2845; }
.sun--bright .sun__ctrl .mono { color: #0B2845; }

/* Sync demo (platform page) */
.sync { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; border: 3px solid var(--sync-group); border-radius: var(--radius-m); position: relative; }
.sync::before { content: "Sync Group · Shopfront"; position: absolute; top: -13px; left: 14px; background: var(--sync-group); color: #fff; font-size: .74rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.sync .screen__panel img { transition: opacity .25s; }
.sync__tick { font-family: var(--font-mono); font-size: .8rem; color: var(--cosmos-ink-soft); margin-top: .6rem; }

/* Industry pages */
.where { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.where div { background: #fff; border: 1px solid var(--cosmos-line); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; }
.where h4 { margin-bottom: .3rem; }
.where p { margin: 0; color: var(--cosmos-ink-soft); font-size: .95rem; }
.ind-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.3rem; }

/* Brand page */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1rem; }
.swatch { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--cosmos-line); background: #fff; }
.swatch i { display: block; height: 84px; }
.swatch div { padding: .7rem .9rem; font-size: .85rem; }
.swatch b { display: block; color: var(--cosmos-navy); }
.swatch .mono { color: var(--cosmos-ink-soft); font-size: .8rem; }
.logo-tile { border-radius: var(--radius-m); padding: 2rem; display: grid; place-items: center; min-height: 170px; border: 1px solid var(--cosmos-line); }
.logo-tile img { width: min(100%, 320px); height: auto; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__ways { display: grid; gap: 1rem; }
.form { background: #fff; border: 1px solid var(--cosmos-line); border-radius: var(--radius-l); padding: 1.6rem; }
.form label { display: block; margin-bottom: 1rem; font-weight: 500; color: var(--cosmos-navy); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: .35rem; font: inherit; padding: .7rem .85rem; border: 1px solid var(--cosmos-line); border-radius: var(--radius-s); background: #fff; color: var(--cosmos-ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(234, 88, 12, .35); border-color: var(--cosmos-orange); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form__note { font-size: .82rem; color: var(--cosmos-ink-soft); margin-top: .8rem; }

/* Footer */
.foot { background: var(--cosmos-navy-deep); color: #b9c6d6; padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h4 { color: #fff; font-family: var(--font-text); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .8rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: .35rem 0; }
.foot a { color: #d5deea; }
.foot a:hover { color: #fff; }
.foot__brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.foot__brand p { font-size: .95rem; }
.foot__contact a { color: #fff; font-weight: 500; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; font-size: .84rem; color: #8fa2b8; }
.foot__base a { color: #8fa2b8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
