/* MyTechSupport.tech — shared styles.
   Brand: near-black ground, white serif headlines, orange accent (from the logo).
   Use the tokens below in components, never raw colors. */
:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --surface-alt: #1d1d20;
  --rule: #2a2a2e;
  --rule-strong: #46464c;
  --text: #f5f5f4;
  --text-dim: #a8a8ad;
  --text-muted: #85858b;
  --accent: #ff5a00;
  --accent-hi: #ff7a33;
  --accent-tint: #24140a;
  --accent-text: #0b0b0c;
  --ok: #4fb477;
  --ok-tint: #10261a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hi); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.3rem; }
h1 .accent, h2 .accent { display: block; }
p { margin: 0 0 1em; }
.accent { color: var(--accent); }
.dim { color: var(--text-dim); }
.small { font-size: .9rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-text); padding: 8px 12px; z-index: 20; }

/* Header / nav */
.site-header { border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: rgba(11,11,12,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px 22px; }
.nav a { color: var(--text-dim); text-decoration: none; font-size: .93rem; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--text); border-bottom-color: var(--rule-strong); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-text); }
.nav .btn { padding: 9px 16px; border-bottom-width: 2px; margin-left: 6px; }
.nav .btn:hover { border-color: var(--accent-hi); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule-strong); color: var(--text); border-radius: 8px; min-height: 44px; padding: 0 14px; font: inherit; cursor: pointer; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px 16px 20px; }
  .nav.open { display: flex; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--accent); }
  .nav .btn { margin: 16px 0 0; text-align: center; }
}

/* Sections */
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--rule); }
.hero { padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; grid-template-columns: 1.05fr 1fr; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--text-dim); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .lede { margin-bottom: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 2px solid var(--accent); font: 600 1rem/1 var(--sans); cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--accent-text); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.arrow { text-decoration: none; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (max-width: 400px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.feature { border-left: 4px solid var(--accent); }
.card .kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }

.split { display: grid; gap: 48px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { padding-left: 1.6em; position: relative; margin-bottom: .5em; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7em; height: .7em; background: var(--accent); border-radius: 2px; }
ul.ticks.cols { columns: 2 260px; column-gap: 32px; }
ul.ticks.cols li { break-inside: avoid; }

/* Hero quick-start */
.quickstart { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 560px; }
.quickstart label { flex-basis: 100%; font-size: .85rem; font-weight: 600; color: var(--text-dim); }
.quickstart select { flex: 1 1 240px; }
.quickstart .btn { flex: 0 0 auto; }
.reassure { font-size: .9rem; color: var(--text-muted); margin-top: 12px; }

/* Forms */
input, select, textarea { font: inherit; color: var(--text); background: var(--surface-alt); border: 1px solid var(--rule-strong); border-radius: 8px; min-height: 48px; padding: 10px 14px; width: 100%; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255,90,0,.25); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-size: .85rem; color: var(--text-muted); margin-top: 6px; }
.form-row { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); }
.proof > div { padding: 24px; border-left: 1px solid var(--rule); }
.proof > div:first-child { border-left: 0; }
.proof strong { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: var(--accent); margin-bottom: 8px; }
.proof span { color: var(--text-dim); font-size: .92rem; line-height: 1.45; display: block; }
@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div:nth-child(3) { border-left: 0; }
  .proof > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
.proof-wrap { padding: 0 0 8px; margin-top: -24px; border-top: 0; }

/* Offering cards with illustrated art */
.offer { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .22s var(--ease), border-color .22s, box-shadow .22s; }
.offer .art { aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 50% 100%, var(--accent-tint), #0d0d0f 70%); border-bottom: 1px solid var(--rule); overflow: hidden; }
.offer .art svg { width: 100%; height: 100%; transition: transform .4s var(--ease); }
.offer .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.offer h3 { font-size: 1.45rem; }
.offer p { color: var(--text-dim); }
.offer .arrow { margin-top: auto; color: var(--accent); }
.offer:hover { transform: translateY(-4px); border-color: var(--rule-strong); box-shadow: 0 16px 40px rgba(0,0,0,.45); color: var(--text); }
.offer:hover .art svg { transform: scale(1.05); }
.offer:hover .arrow::after { transform: translateX(4px); }

.art-panel { border: 1px solid var(--rule); border-radius: 14px; background: radial-gradient(120% 90% at 50% 100%, var(--accent-tint), #0d0d0f 70%); overflow: hidden; aspect-ratio: 16 / 10; }
.art-panel svg { width: 100%; height: 100%; }

/* Shared drawing classes for the line-art system */
.ln { fill: none; stroke: var(--rule-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ln-hot { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fill-panel { fill: #141416; stroke: var(--rule-strong); stroke-width: 2; }
.fill-hot { fill: var(--accent); }
.fill-dim { fill: var(--rule-strong); }
.glow { filter: drop-shadow(0 0 6px rgba(255,90,0,.7)); }
.svg-label { font: 600 13px var(--sans); fill: var(--text-dim); }
.svg-label-hot { font: 700 13px var(--sans); fill: var(--text); }
.pulse-line { stroke-dasharray: 6 14; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.blink { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* Hero network (home) */
.network { position: relative; }
.network svg { width: 100%; height: auto; overflow: visible; }
.network .node rect { fill: #121214; stroke: var(--rule-strong); stroke-width: 1.5; transition: stroke .4s; }
.network .node text { font: 600 13px var(--sans); fill: var(--text-dim); }
.network .node.on rect { stroke: var(--accent); }
.network .node.on text { fill: var(--text); }
.network .wire { fill: none; stroke: var(--rule); stroke-width: 1.5; }
.network .spark { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 10 400; stroke-dashoffset: 410; opacity: 0; }
.network .hub circle.ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: .5; transform-origin: center; transform-box: fill-box; animation: ring 3.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.8); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
.js .network .node { opacity: .25; transition: opacity .5s; }
.js .network .node.on { opacity: 1; }
.network.run .spark { animation: spark 2.8s var(--ease) infinite; }
@keyframes spark { 0% { stroke-dashoffset: 410; opacity: 0; } 10% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { counter-increment: step; border-top: 3px solid var(--accent); padding-top: 18px; }
.step::before { content: "0" counter(step); display: block; font: 700 .85rem var(--mono); color: var(--accent); margin-bottom: 8px; letter-spacing: .08em; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--text-dim); margin: 0; }

/* Practices list (AI page) */
.practices { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--rule); }
.practices li { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; }
.practices .n { font: 700 .9rem var(--mono); color: var(--accent); grid-row: span 2; padding-top: 4px; }
.practices strong { font-size: 1.05rem; }
.practices span { color: var(--text-dim); font-size: .95rem; }

/* Size tiers */
.tier .who { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.tier .fit { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.tier.mid { border-color: #4a2408; background: linear-gradient(180deg, var(--accent-tint), var(--surface) 60%); }

/* Badges and chips */
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--accent-tint); color: var(--accent-hi); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.ok { background: var(--ok-tint); color: var(--ok); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--rule-strong); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--text-dim); }

/* Review */
.review { border-left: 4px solid var(--accent); padding: 4px 0 4px 28px; margin: 0; }
.review p { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.4; font-weight: 700; margin-bottom: .6em; }
.review footer { color: var(--text-muted); font-size: .9rem; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--text-dim); max-width: 70ch; }
.faq details > div p:last-child { margin: 0; }

/* Closer */
.closer { background: linear-gradient(180deg, var(--bg) 0%, var(--accent-tint) 100%); text-align: center; padding: 96px 0; }
.closer h2 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.closer .btns { justify-content: center; }
.closer .contact-line { color: var(--text-dim); margin-top: 22px; font-size: .95rem; }
.closer .contact-line a { color: var(--text); }

/* Spotlight banner */
.spotlight { background: linear-gradient(135deg, var(--accent-tint) 0%, var(--surface) 60%); border: 1px solid #4a2408; border-radius: 14px; padding: clamp(24px, 4vw, 44px); }
.spotlight h2 { margin-bottom: .3em; }

/* AI readiness check */
.quiz { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(20px, 4vw, 36px); }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.quiz legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; padding: 0; }
.quiz .opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.quiz .opt { position: relative; }
.quiz .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.quiz .opt span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule-strong); border-radius: 8px; color: var(--text-dim); cursor: pointer; transition: border-color .15s, background .15s, color .15s; font-size: .95rem; line-height: 1.35; }
.quiz .opt input:checked + span { border-color: var(--accent); background: var(--accent-tint); color: var(--text); }
.quiz .opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz .meter { height: 8px; background: var(--surface-alt); border-radius: 999px; overflow: hidden; margin: 8px 0 18px; }
.quiz .meter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.quiz-result { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 8px; }
.quiz-result[hidden] { display: none; }
.quiz-result h3 { font-size: 1.6rem; }

/* MySignage */
.screens { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .screens { grid-template-columns: 1fr; } }
.screen { background: #000; border: 6px solid #222; border-radius: 8px; aspect-ratio: 16 / 9; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.screen .label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.screen .title { font-family: var(--serif); font-size: 1.25rem; font-weight: 800; }
.screen .sub { font-size: .85rem; color: var(--text-dim); }

.dayparts { display: grid; gap: 10px; grid-template-columns: repeat(5, 1fr); margin-top: 20px; }
@media (max-width: 760px) { .dayparts { grid-template-columns: repeat(2, 1fr); } }
.daypart { background: var(--surface-alt); border-radius: 8px; padding: 14px; text-align: center; }
.daypart strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.daypart span { font-size: .85rem; color: var(--text-dim); }

.sms { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 20px; max-width: 360px; margin-left: auto; margin-right: auto; }
.bubble { padding: 10px 14px; border-radius: 16px; margin: 8px 0; max-width: 85%; font-size: .95rem; width: fit-content; }
.bubble.out { background: var(--accent); color: var(--accent-text); margin-left: auto; border-bottom-right-radius: 4px; font-weight: 600; }
.bubble.in { background: var(--surface-alt); border-bottom-left-radius: 4px; }

.cmds { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cmds th, .cmds td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmds code { font-family: var(--mono); color: var(--accent); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* MySignage live demo */
.demo { display: grid; gap: 24px; grid-template-columns: 1.5fr 1fr; align-items: start; }
.demo > * { min-width: 0; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }
.tv { background: #000; border: 10px solid #1f1f22; border-radius: 12px; aspect-ratio: 16 / 9; position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.6); container-type: inline-size; }
.tv-inner { position: absolute; inset: 0; padding: 4.5cqw 5cqw; display: flex; flex-direction: column; transition: opacity .35s; }
.tv.off .tv-inner { opacity: 0; }
.tv.off::after { content: "Displays off"; position: absolute; inset: 0; display: grid; place-items: center; color: #333; font: 600 3cqw var(--sans); }
.tv-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--accent); padding-bottom: 1.5cqw; margin-bottom: 2.5cqw; }
.tv-head b { font: 800 4.6cqw/1 var(--serif); }
.tv-head span { font: 700 2cqw var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tv-items { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw 5cqw; flex: 1; align-content: start; }
.tv-item { display: flex; justify-content: space-between; gap: 2cqw; font: 600 2.4cqw/1.3 var(--sans); }
.tv-item small { display: block; font: 400 1.7cqw/1.3 var(--sans); color: var(--text-muted); }
.tv-item em { font-style: normal; color: var(--accent); font-weight: 700; white-space: nowrap; }
.tv-item.out { opacity: .45; }
.tv-item.out .nm { text-decoration: line-through; }
.tv-item .back { display: inline-block; font: 700 1.5cqw var(--sans); background: var(--accent); color: var(--accent-text); border-radius: 99px; padding: .2cqw 1cqw; margin-left: 1cqw; vertical-align: middle; text-decoration: none; }
.tv-banner { margin-top: auto; background: var(--accent-tint); border: 1px solid #4a2408; border-radius: 1cqw; padding: 1.4cqw 2cqw; font: 700 2.2cqw var(--sans); color: var(--accent-hi); }
.tv-msg { display: grid; place-items: center; text-align: center; flex: 1; }
.tv-msg b { font: 800 7cqw/1.05 var(--serif); display: block; }
.tv-msg span { font: 600 2.4cqw var(--sans); color: var(--text-dim); }
.demo-panel h3 { font-size: 1.1rem; margin-bottom: 10px; }
.cmd-btns, .soldout-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cmd-btns button, .soldout-btns button { font: 700 .85rem var(--mono); min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--rule-strong); background: var(--surface-alt); color: var(--text); cursor: pointer; }
.soldout-btns button { font-family: var(--sans); font-weight: 600; }
.cmd-btns button:hover, .soldout-btns button:hover { border-color: var(--accent); }
.cmd-btns button[aria-pressed="true"], .soldout-btns button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-hi); }
.demo-log { min-height: 128px; }
.demo-log .bubble { font-size: .88rem; }

/* Contact */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-card + .contact-card { margin-top: 16px; }

/* Phone booking bar */
.phone-bar { display: none; }
@media (max-width: 700px) {
  .phone-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,11,12,.95); border-top: 1px solid var(--rule); z-index: 9; transform: translateY(110%); transition: transform .25s var(--ease); }
  .phone-bar.show { transform: none; }
  .phone-bar .btn { flex: 1; padding: 0 10px; }
  body.has-bar { padding-bottom: 72px; }
}

/* Scroll reveal: content is hidden only once the script has run */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; color: var(--text-dim); font-size: .92rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--text); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-base { border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 20px; color: var(--text-muted); font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .network .node { opacity: 1; }
}
.h2 { font-size: clamp(1.8rem, 3.8vw, 2.75rem); }
.h2 .accent { display: block; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 400px) { .grid-3 { grid-template-columns: 1fr; } }
.career { margin: 16px 0 0; font-size: .9rem; color: var(--text-muted); }
.career strong { color: var(--text-dim); font-weight: 600; }

/* Example dashboard (apps page hero) */
.dash { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 14px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-top b { font-family: var(--serif); font-size: 1.2rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-kpis div { background: var(--surface-alt); border-radius: 10px; padding: 12px; }
.dash-kpis span { display: block; font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.dash-kpis b { display: block; font-size: 1.4rem; margin: 2px 0; }
.dash-kpis em { font-style: normal; font-size: .8rem; color: var(--text-dim); }
.dash-kpis em.up { color: var(--ok); }
.dash-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 4px; border-bottom: 1px solid var(--rule); }
.dash-chart i { flex: 1; background: var(--rule-strong); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow .9s var(--ease) both; }
.dash-chart i.hot { background: var(--accent); }
.dash-chart i:nth-child(2) { animation-delay: .05s; } .dash-chart i:nth-child(3) { animation-delay: .1s; } .dash-chart i:nth-child(4) { animation-delay: .15s; }
.dash-chart i:nth-child(5) { animation-delay: .2s; } .dash-chart i:nth-child(6) { animation-delay: .25s; } .dash-chart i:nth-child(7) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } }
.dash-days { display: flex; gap: 8px; padding: 6px 4px 0; }
.dash-days span { flex: 1; text-align: center; font-size: .75rem; color: var(--text-muted); }
.dash-list { margin-top: 14px; }
.dash-list div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); font-size: .92rem; }
.dash-note { margin: 10px 0 0; font-size: .75rem; color: var(--text-muted); text-align: right; }

/* Problem picker (apps page) */
.pick { font: 600 .95rem/1.35 var(--sans); text-align: left; min-height: 56px; padding: 12px 16px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--surface-alt); color: var(--text-dim); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pick:hover { border-color: var(--accent); color: var(--text); }
.pick[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); color: var(--text); }
.grid-2x2 { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid-2x2 { grid-template-columns: 1fr; } }
#picker-opts { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { #picker-opts { grid-template-columns: 1fr; } }

/* ---- Motion layer: signals, pulses and drawn lines ---- */

/* Scroll progress: a thin orange line under the header */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 20; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; pointer-events: none; }

/* Header gains depth once the page moves */
.site-header { transition: box-shadow .3s, border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--rule-strong); box-shadow: 0 8px 24px rgba(0,0,0,.45); }

/* Page fades in; leaving fades out */
.js body { animation: pagein .5s var(--ease) both; }
.js body.leaving { opacity: 0; transition: opacity .18s ease-in; }
@keyframes pagein { from { opacity: 0; } }

/* Hero: a slow orange glow drifts behind the content, with a faint scan line */
.hero::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; top: -35vmax; background: radial-gradient(closest-side, rgba(255,90,0,.16), rgba(255,90,0,0) 70%); animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; top: 0; background: linear-gradient(90deg, transparent, rgba(255,90,0,.55), transparent); animation: scan 9s linear infinite; opacity: .7; pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
@keyframes drift { to { transform: translate(-9vmax, 7vmax) scale(1.12); } }
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: .7; } 90% { opacity: .7; } 100% { top: 100%; opacity: 0; } }

/* Headline lines rise into place on load */
.js .hero h1 { animation: rise .9s var(--ease) both; }
.js .hero .lede { animation: rise .9s .12s var(--ease) both; }
.js .hero .btns, .js .hero form { animation: rise .9s .24s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Eyebrow labels draw a short orange rule */
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--accent); transform-origin: 0 50%; animation: ruledraw .8s .1s var(--ease) both; }
@keyframes ruledraw { from { transform: scaleX(0); } }

/* Cards: an orange light follows the pointer along the edge */
.card, .offer, .step, .pick { position: relative; }
.card::before, .offer::before, .step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255,90,0,.16), transparent 60%); }
.card:hover::before, .offer:hover::before, .step:hover::before { opacity: 1; }
.card { transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: rgba(255,90,0,.45); }

/* Primary buttons: a light sheen crosses on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); }
.btn-primary:hover::after { animation: sheen .7s var(--ease); }
@keyframes sheen { to { left: 130%; } }
.btn:active { transform: translateY(1px) scale(.985); }

/* Line-art draws itself when scrolled into view */
[data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in [data-draw], [data-draw].in-view { animation: drawline 1.4s .15s var(--ease) forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }

/* Numbers settle with a soft lift once they finish counting */
.proof strong.counted { animation: settle .5s var(--ease); }
@keyframes settle { 50% { transform: translateY(-3px); color: var(--accent); } }

/* Steps: the number line fills as each step appears */
.step.in::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; background: var(--accent); animation: ruledraw .9s .1s var(--ease) both; width: 100%; transform-origin: 0 50%; }

@media (prefers-reduced-motion: reduce) {
  .progress, .hero::before, .hero::after, .btn-primary::after { display: none; }
  .js body { animation: none; }
}

/* Live MySignage demos (iframes) */
.live { margin: 0 0 56px; }
.live:last-child { margin-bottom: 0; }
.live-frame { position: relative; width: 100%; background: #000; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.live-wide { aspect-ratio: 10 / 3; }
.live-tv { aspect-ratio: 16 / 9; max-width: 960px; margin-inline: auto; }
.live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; display: block; }
.live figcaption { margin-top: 14px; color: var(--text-dim); font-size: .95rem; text-align: center; }
