/* =========================================================
   RENAUSH — theme.css  ·  "Cinematic Aurora"
   Loaded AFTER css/style.css on every page. It re-skins the light
   "Professional Clean" design into the look of the live demos:

     • Style A (Cinematic): near-black stage, warm brand light, a glowing
       particle ring in the hero (js/hero-3d.js), giant gradient type.
     • Style E (Aurora): slow-moving aurora light behind everything,
       frosted-glass cards and panels.

   Layout, markup and content are untouched — only colour, type, surfaces
   and motion change. To roll the redesign back, remove the
   <link rel="stylesheet" href="…/css/theme.css"> line from each page.

   Contrast: every text colour here is checked against --c-bg, which is
   the solid colour behind all translucent panels (see
   tests/design-system.spec.js).
   ========================================================= */

/* ── 1. TOKENS ─────────────────────────────────────────── */
:root {
  color-scheme: dark;

  --c-bg:        #07060B;   /* the stage */
  --c-bg-2:      #0E0B15;
  --c-ink:       #F5F0E8;   /* warm paper white — 18:1 on --c-bg */
  --c-muted:     #C3BCCD;   /* body copy — 11:1 */
  --c-faint:     #968FA3;   /* small print — 6.4:1 */
  --c-line:      rgba(255, 255, 255, 0.12);
  --c-glass:     rgba(255, 255, 255, 0.055);
  --c-glass-2:   rgba(255, 255, 255, 0.09);
  --c-glass-line: rgba(255, 255, 255, 0.16);

  /* Aurora light, drawn from the logo's orange → crimson arrow. */
  --a1: #FF6A2B;
  --a2: #D6246E;
  --a3: #5B3FD1;
  --gold: #F6C177;
  --accent-ink: #1A0A03;    /* text on the warm accent fills */

  /* The existing accent is used for labels and icons sitewide; lifted so it
     reads on the dark stage (7.6:1). */
  --accent:       #FF7A3D;
  --accent-dark:  #E8581A;
  --accent-light: #FFA066;

  --font-serif: 'Instrument Serif', 'Instrument Serif Fallback', 'Instrument Serif Fallback Android', Georgia, 'Times New Roman', serif;
  /* style.css's body stack plus the matched fallbacks from css/fonts.css, so
     the swap to DM Sans does not move text. Set here rather than in style.css,
     which returning visitors already hold in cache. */
  --font-body: 'DM Sans', 'DM Sans Fallback', 'DM Sans Fallback Android', "Noto Sans Arabic", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-glass: 24px;
  --glow: 0 30px 80px -30px rgba(255, 106, 43, 0.45);
}

/* ── 2. STAGE + AURORA ─────────────────────────────────── */
/* html deliberately has no background: body's colour then propagates to the
   canvas, so the z-index:-1 aurora below paints above it instead of being
   covered by body's own background box. */
body {
  background-color: var(--c-bg);
  color: var(--c-ink);
}

/* Moving aurora behind every page. Radial gradients are already soft, so
   no blur filter is needed; only transform animates (compositor-only). */
body::before {
  content: '';
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(255, 106, 43, 0.20), transparent 70%),
    radial-gradient(34% 30% at 82% 28%, rgba(214, 36, 110, 0.17), transparent 70%),
    radial-gradient(42% 36% at 55% 86%, rgba(91, 63, 209, 0.20), transparent 70%);
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(4%, -3%, 0) rotate(7deg); }
  100% { transform: translate3d(-4%, 3%, 0) rotate(-5deg); }
}

::selection { background: rgba(255, 106, 43, 0.35); color: #fff; }

::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: #2A2433; }
::-webkit-scrollbar-thumb:hover { background: #3A3346; }

.scroll-progress-wrap { background: rgba(255, 255, 255, 0.06); }
.scroll-progress-fill { background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3)); }

/* ── 3. TYPE ───────────────────────────────────────────── */
h1, h2, h3, h4, h5,
.section-dark h2, .section-dark h3 { color: var(--c-ink); }

h2 { letter-spacing: -0.025em; }

p, .section-sub,
.section-dark p, .section-dark .section-sub { color: var(--c-muted); }

strong { color: var(--c-ink); }

a { color: inherit; }

.section-label,
.section-label-light { color: var(--accent); letter-spacing: 0.18em; }
.section-label::before,
.section-label-light::before {
  content: '';
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  opacity: 1;
}

/* Serif italic accent, as in the demos' "See it working" headlines. */
.line-accent,
.hero-headline .line-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: 0.08em;
  background: linear-gradient(100deg, var(--gold) 0%, var(--a1) 45%, var(--a2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 4. SURFACES ───────────────────────────────────────── */
.section,
.section-alt,
.section-dark { background: transparent; }

/* Alternate sections get a faint band so the rhythm of the page survives. */
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025) 18%, rgba(255, 255, 255, 0.025) 82%, transparent);
}

/* Frosted glass, shared by every card on the site. */
.service-card,
.industry-card,
.why-card,
.portfolio-card,
.pricing-card,
.testimonial-card,
.about-badge,
.blog-card,
.article-callout,
.contact-form-wrap,
.value-card,
.process-step {
  background: var(--c-glass);
  border: 1px solid var(--c-glass-line);
  border-radius: var(--radius-glass);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -40px rgba(0, 0, 0, 0.9);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .service-card, .industry-card, .why-card, .portfolio-card, .pricing-card,
  .testimonial-card, .about-badge, .blog-card, .contact-form-wrap, .value-card,
  .site-header, .cookie-bar, .toast, .hero-screenshot {
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
  }
}

.service-card:hover,
.industry-card:hover,
.why-card:hover,
.portfolio-card:hover,
.blog-card:hover,
.value-card:hover {
  background: var(--c-glass-2);
  border-color: rgba(255, 138, 61, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, var(--glow);
}

.service-card h3, .industry-card h3, .why-card h3, .portfolio-card h3,
.pricing-card h3, .t-info strong, .blog-card h2, .blog-card h3,
.faq-q, .contact-info h2, .contact-details strong, .form-group label,
.article-prose h3, .article-table th, .article-prose blockquote,
.blog-card-link, .hero-headline { color: var(--c-ink); }

.service-card p, .industry-card p, .why-card p, .portfolio-card p,
.pricing-desc, .pricing-from, .pricing-note, .pricing-note-bottom,
.section-dark .pricing-card p,
.t-info span, .faq-a p, .contact-lead, .contact-details span,
.badge-text, .stat-label, .stat-sub, .article-meta, .article-table td,
.blog-card p, .form-consent, .hero-sub { color: var(--c-muted); }

.article-prose p, .article-prose li, .t-quote { color: var(--c-ink); }

.service-card-img,
.portfolio-card-img { background: var(--c-bg-2); }

/* ── 5. BUTTONS ────────────────────────────────────────── */
/* Primary: warm light with dark ink. Dark text on the light fill clears
   WCAG AA (4.5:1) at every stop — the old white-on-orange did not. */
.btn-accent {
  background: linear-gradient(120deg, #FFC27D 0%, var(--a1) 55%, #F0477A 100%);
  background-size: 160% 100%;
  color: var(--accent-ink);
  border-color: transparent;
  box-shadow: 0 10px 40px -12px rgba(255, 106, 43, 0.7);
}
.btn-accent:hover {
  background: linear-gradient(120deg, #FFC27D 0%, var(--a1) 55%, #F0477A 100%);
  background-size: 160% 100%;
  background-position: 100% 0;
  border-color: transparent;
  color: var(--accent-ink);
  box-shadow: 0 16px 50px -12px rgba(255, 106, 43, 0.85);
}

.btn-outline-navy,
.btn-outline-white {
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-ink);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-outline-navy:hover,
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8);
}

.btn-outline-teal {
  background: rgba(255, 122, 61, 0.06);
  color: #FFB585;
  border-color: rgba(255, 138, 61, 0.55);
}
.btn-outline-teal:hover {
  background: linear-gradient(120deg, #FFC27D, var(--a1));
  color: var(--accent-ink);
  border-color: transparent;
  box-shadow: 0 12px 30px -12px rgba(255, 106, 43, 0.7);
}

/* ── 6. HEADER ─────────────────────────────────────────── */
.site-header,
.site-header.scrolled {
  background: rgba(9, 7, 14, 0.62);
  border-bottom: 1px solid var(--c-line);
  box-shadow: none;
}
.site-header.scrolled { background: rgba(9, 7, 14, 0.82); }

.nav-link { color: var(--c-muted); }
.nav-link:hover,
.nav-link.active { color: var(--c-ink); }
.nav-link::after { background: linear-gradient(90deg, var(--a1), var(--a2)); }

.hamburger:hover { background: rgba(255, 255, 255, 0.08); }
.bar { background: var(--c-ink); }

/* ── 7. HERO ───────────────────────────────────────────── */
.hero {
  background: var(--c-bg);
  isolation: isolate;
}
/* The photograph stays, but as a dim texture under the light. */
.hero-bg-img { opacity: 0.22; filter: grayscale(0.4) contrast(1.1); }
.hero-overlay {
  background:
    radial-gradient(60% 55% at 72% 45%, rgba(255, 106, 43, 0.16), transparent 70%),
    radial-gradient(50% 50% at 20% 80%, rgba(91, 63, 209, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(7, 6, 11, 0.55) 0%, rgba(7, 6, 11, 0.86) 70%, var(--c-bg) 100%);
}

/* Glowing arc on the horizon, from demo style A. */
.hero-arc {
  position: absolute;
  left: 50%;
  bottom: -62vw;
  width: 120vw;
  height: 80vw;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1px solid rgba(255, 200, 140, 0.55);
  box-shadow: 0 -30px 120px -20px rgba(255, 106, 43, 0.55), inset 0 40px 120px -50px rgba(214, 36, 110, 0.5);
  z-index: 1;
  pointer-events: none;
}

/* Giant outlined word behind the content. Decorative only (aria-hidden). */
.hero-giant {
  position: absolute;
  left: 0; right: 0;
  bottom: 4vh;
  z-index: 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(90px, 21vw, 340px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 75%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.hero-content { z-index: 3; }

.hero-headline {
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
  /* Bold, not ExtraBold: Syne 800 is so wide that "Engineered" (813px at
     full size) set the width of the hero's text column and squeezed the
     product screenshot beside it to ~250px on 1280-1920px screens. At 700
     the word is ~550px and the screenshot gets its full ~520px. */
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-eyebrow {
  color: #FFC9A6;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.hero-eyebrow::before { background: var(--a1); box-shadow: 0 0 12px var(--a1); }

.hero-screenshot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 10px;
  box-shadow:
    0 40px 100px -30px rgba(255, 106, 43, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-screenshot img { border-radius: 14px; }
.hero-visual:hover .hero-screenshot { transform: perspective(1400px) rotateY(0) rotateX(0); }

.hero-scroll-indicator { color: var(--c-faint); }
.hero-scroll-indicator:hover { color: var(--c-ink); }

/* Hero entrance — pure CSS so it starts at first paint instead of waiting
   for js/motion.js (Lighthouse measured an 8.5 s LCP on phones when it
   waited). Nothing stays hidden for more than a moment, and .hero-giant —
   the largest text, so Lighthouse's LCP element — is never hidden at all.
   fill-mode "backwards": the first frame holds during the delay, and once
   the animation ends the normal styles apply again, so hover lifts, the
   magnetic buttons and the screenshot's pointer-follow keep working.
   The hero's .reveal classes are neutralised: they kept the whole hero at
   opacity 0 until main.js's IntersectionObserver ran. */
.hero .reveal { opacity: 1; transform: none; }
@keyframes hx-up {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes hx-wipe {
  from { clip-path: inset(0 0 100% 0); transform: translate3d(0, 0.3em, 0); }
  to   { clip-path: inset(0 0 -30% 0); transform: none; }
}
/* The screenshot is the LCP element on phones: it only moves, never fades,
   so it counts as painted at the very first frame. */
@keyframes hx-shot {
  from { transform: perspective(1400px) translate3d(0, 60px, 0) rotateY(-25deg) rotateX(3deg); }
  to   { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
}
@keyframes hx-rise {
  from { transform: translate3d(0, 40px, 0); }
  to   { transform: none; }
}
.hero-eyebrow                    { animation: hx-up 0.6s 0.05s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.hero-headline                   { animation: hx-wipe 0.9s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.hero-headline .line-accent      { display: inline-block; animation: hx-up 0.9s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.hero-sub                        { animation: hx-up 0.7s 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.hero-ctas .btn                  { animation: hx-up 0.6s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.hero-ctas .btn:nth-child(2)     { animation-delay: 0.52s; }
.hero-ctas .btn:nth-child(3)     { animation-delay: 0.59s; }
.hero-screenshot                 { animation: hx-shot 1.1s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }

/* One soft beam of light crosses the hero after it lands. Above the 3D
   canvas, below the content, never interactive. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 225, 185, 0.08) 46%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 225, 185, 0.08) 54%, transparent 62%);
  transform: translateX(-100%);
  animation: hx-sweep 1.8s 0.7s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}
@keyframes hx-sweep { to { transform: translateX(100%); } }

/* Stand-in for the 3D hero (js/hero-3d.js adds html.hero-3d-off on light
   phones — Save-Data, ≤ 4 GB or ≤ 4 cores — and whenever WebGL fails): a
   tilted ring of warm light drawn with one gradient and a mask, turning
   slowly. Cheap: one composited layer, transform-only animation. */
html.hero-3d-off .hero::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 3vw;
  width: min(56vw, 620px);
  aspect-ratio: 1;
  margin-top: calc(min(56vw, 620px) / -2);
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(255, 200, 140, 0.75) 27%, transparent 38% 55%, rgba(214, 36, 110, 0.55) 66%, transparent 78% 100%);
  -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 82%, #000 86%, transparent 88%);
  mask: radial-gradient(closest-side, transparent 80%, #000 82%, #000 86%, transparent 88%);
  filter: drop-shadow(0 0 14px rgba(255, 140, 60, 0.6));
  transform: rotateX(64deg) rotateZ(0deg);
  animation: hx-ring 16s linear infinite;
}
@keyframes hx-ring { to { transform: rotateX(64deg) rotateZ(360deg); } }
@media (max-width: 960px) {
  html.hero-3d-off .hero::before {
    top: auto;
    bottom: 4vh;
    right: 50%;
    width: min(92vw, 520px);
    margin: 0 calc(min(92vw, 520px) / -2) 0 0;
  }
}

/* ── 8. TICKER (between hero and about) ────────────────── */
.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: ticker-run 38s linear infinite;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--c-ink);
  white-space: nowrap;
}
.ticker span em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-light);
}
.ticker span::after { content: '✦'; color: var(--a1); font-size: 0.8em; }
@keyframes ticker-run { to { transform: translateX(-50%); } }

/* ── 9. SECTION DETAILS ────────────────────────────────── */
.about-badge { color: var(--c-ink); }
.badge-num, .stat-num, .counter {
  background: linear-gradient(120deg, #fff, var(--gold) 55%, var(--a1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-step h3 { color: var(--c-ink); }
.process-step p { color: var(--c-muted); }
.step-num { color: var(--accent-ink); background: linear-gradient(135deg, #FFC27D, var(--a1)); }

.industry-card,
.why-card { background: var(--c-glass); }

.pos-highlight {
  background:
    radial-gradient(60% 70% at 85% 50%, rgba(255, 106, 43, 0.14), transparent 70%),
    radial-gradient(50% 60% at 10% 30%, rgba(91, 63, 209, 0.14), transparent 70%),
    transparent;
}
.pos-highlight-overlay { background: linear-gradient(90deg, rgba(7, 6, 11, 0.92), rgba(7, 6, 11, 0.6)); }
.pos-lead, .pos-features span { color: var(--c-muted); }

.portfolio-view { color: var(--c-ink); }

.faq-item { border-bottom-color: var(--c-line); }
.faq-q:hover { color: var(--accent-light); }

/* ── 10. PRICING ───────────────────────────────────────── */
.pricing-region {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.pricing-region-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.pricing-country {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F5F0E8' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center,
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 12px 46px 12px 20px;
  min-height: 48px;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pricing-country:hover { border-color: rgba(255, 138, 61, 0.6); }
.pricing-country:focus-visible {
  outline: none;
  border-color: var(--a1);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.25);
}
.pricing-country option { background: #15111D; color: var(--c-ink); }
.pricing-detected {
  font-size: 0.8rem;
  color: #FFC9A6;
  background: rgba(255, 106, 43, 0.1);
  border: 1px solid rgba(255, 106, 43, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
}
.pricing-region-note {
  text-align: center;
  color: var(--c-muted);
  margin: 0 auto 3rem;
  max-width: 62ch;
}

.pricing-card { padding-top: 2rem; min-width: 0; }
.pricing-card--featured {
  background:
    linear-gradient(160deg, rgba(255, 106, 43, 0.16), rgba(214, 36, 110, 0.12) 50%, rgba(91, 63, 209, 0.12)),
    var(--c-glass);
  border-color: rgba(255, 150, 90, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 40px 90px -40px rgba(255, 106, 43, 0.6);
}
.pricing-badge {
  color: var(--accent-ink);
  background: linear-gradient(120deg, #FFC27D, var(--a1));
}
.pricing-value { color: var(--c-ink); letter-spacing: -0.02em; }
.pricing-amount { border-bottom-color: var(--c-line); }
/* Was display:flex, which made every text run and <strong> price its own
   flex item: lines with several prices could not wrap and pushed the card
   wider than a phone screen. Block text with an absolutely placed tick. */
.pricing-features li {
  display: block;
  position: relative;
  padding-left: 1.6em;
  color: var(--c-muted);
  border-bottom-color: var(--c-line);
}
.pricing-features li::before {
  position: absolute;
  left: 0;
  top: 10px;
  margin: 0;
}
[dir="rtl"] .pricing-features li { padding-left: 0; padding-right: 1.6em; }
[dir="rtl"] .pricing-features li::before { left: auto; right: 0; }
.pricing-features li strong { color: var(--c-ink); }

/* ── 11. FORMS ─────────────────────────────────────────── */
.contact-form-wrap { padding: clamp(1.25rem, 3vw, 2.25rem); }

.form-group input,
.form-group textarea,
.form-group select,
.newsletter-form input {
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder,
.newsletter-form input::placeholder { color: var(--c-faint); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.newsletter-form input:focus {
  border-color: var(--a1);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.2);
  outline: none;
}
.form-group select option { background: #15111D; color: var(--c-ink); }

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select { background: rgba(239, 68, 68, 0.1); border-color: #F87171; }

.form-note.success { background: rgba(16, 185, 129, 0.14); color: #A7F3D0; }
.form-note.error   { background: rgba(239, 68, 68, 0.14);  color: #FECACA; }
.form-note.info    { background: rgba(59, 130, 246, 0.14); color: #BFDBFE; }

/* ── 12. NEWSLETTER, CEO, FOOTER, CHROME ───────────────── */
.newsletter-section,
.blog-hero,
.article-cta {
  background:
    radial-gradient(70% 90% at 80% 20%, rgba(255, 106, 43, 0.14), transparent 70%),
    radial-gradient(60% 80% at 10% 90%, rgba(91, 63, 209, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--c-line);
}
.newsletter-form button { color: var(--accent-ink); }

.site-footer {
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid var(--c-line);
}

.cookie-bar,
.toast,
.whatsapp-tooltip {
  background: rgba(16, 12, 22, 0.92);
  border: 1px solid var(--c-glass-line);
}

.legal-table th { background: rgba(255, 255, 255, 0.06); color: var(--c-ink); }
.legal-table th,
.legal-table td,
.article-table th,
.article-table td { border-color: var(--c-line); }

/* The collapsed nav drawer was a white sheet. */
@media (max-width: 1250px) {
  .nav-links { background: rgba(10, 8, 15, 0.97); }
  .nav-link { border-bottom-color: var(--c-line); }
}

/* ── 13. LIVE DEMOS TEASER ─────────────────────────────── */
.demos-teaser-lead { max-width: 60ch; margin: 0 auto; }
.demos-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 2.5rem 0;
}
.demos-teaser-card {
  position: relative;
  min-height: 190px;
  border-radius: var(--radius-glass);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  background: var(--dt);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s;
}
.demos-teaser-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.6));
}
.demos-teaser-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.demos-teaser-card b { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; color: #fff; }
.demos-teaser-card span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.86); }
.demos-teaser .section-header { margin-bottom: 0; }
.demos-teaser-cta { text-align: center; }
@media (max-width: 960px) { .demos-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .demos-teaser-grid { grid-template-columns: 1fr; } }

/* ── 14. MOTION ────────────────────────────────────────── */
/* Slower, smoother rise than the base reveal. (No blur: filtering dozens of
   elements at once made scrolling stutter on slower machines.) */
.reveal { transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

@media (prefers-reduced-motion: reduce) {
  body::before,
  .ticker-track { animation: none; }
  .hero-screenshot { transform: none; }
}

@media (max-width: 960px) {
  /* No resting tilt on phones, so the entrance is a plain rise (a tilted
     entrance would snap flat at the end). */
  .hero-screenshot { transform: none; animation-name: hx-rise; }
  .hero-giant { bottom: 2vh; }
}

/* ── 15. MOTION LAYER (js/motion.js) ───────────────────── */
/* Split-text masks: each word clips its own letters as they rise. */
.mx-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.mx-in { display: inline-block; will-change: transform; }

/* Cursor ring + dot, mouse only (added by script on fine pointers). */
.mx-cursor, .mx-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 9998;
  pointer-events: none;
  border-radius: 50%;
  translate: -50% -50%;
  opacity: 0;
  transition: opacity 0.3s, width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s, border-color 0.35s;
}
.mx-cursor {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 190, 140, 0.7);
  mix-blend-mode: screen;
}
.mx-cursor.is-big {
  width: 70px; height: 70px;
  background: rgba(255, 106, 43, 0.14);
  border-color: rgba(255, 150, 90, 0.9);
}
.mx-cursor-dot { width: 6px; height: 6px; background: #FFC27D; box-shadow: 0 0 12px #FF6A2B; }
.mx-cursor-on .mx-cursor, .mx-cursor-on .mx-cursor-dot { opacity: 1; }

/* Shine that sweeps across primary buttons on hover. */
.btn-accent { overflow: hidden; isolation: isolate; }
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.btn-accent:hover::after { left: 130%; }

/* Rotating light border on the featured price card and demo cards. */
@property --mx-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.pricing-card--featured::before,
.demos-teaser-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--mx-angle), transparent 0 55%, #FFC27D 70%, #FF6A2B 80%, #D6246E 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: mx-spin 5s linear infinite;
  pointer-events: none;
}
.demos-teaser-card::before { opacity: 0; transition: opacity 0.4s; z-index: 1; }
.demos-teaser-card:hover::before { opacity: 1; }
@keyframes mx-spin { to { --mx-angle: 360deg; } }

/* Warm spotlight instead of the white sheen, and a lift for every card that
   main.js now tilts. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tilt-card::after {
    background: radial-gradient(420px circle at var(--tilt-px, 50%) var(--tilt-py, 50%), rgba(255, 140, 70, 0.16), transparent 45%);
  }
  .tilt-card:hover { --tilt-lift: -8px; }
  .why-card.tilt-card, .industry-card.tilt-card, .portfolio-card.tilt-card,
  .blog-card.tilt-card { position: relative; }
}

/* Soft film grain over everything — static, so it costs nothing per frame. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Giant outlined brand word at the foot of every page. */
.site-footer { position: relative; overflow: hidden; }
.mx-footer-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 17vw, 280px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 140, 70, 0.22), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 2rem;
  margin-bottom: -0.12em;
  user-select: none;
  pointer-events: none;
}

/* Section labels get a glowing lead line. */
.section-label::before, .section-label-light::before { box-shadow: 0 0 10px var(--a1); }

@media (prefers-reduced-motion: reduce) {
  .pricing-card--featured::before, .demos-teaser-card::before { animation: none; }
  .btn-accent::after { display: none; }
}

/* ── 16. FUSION — one signature from each live-demo style ────
   The site mixes the six demo styles into one look:
     A Cinematic  dark stage, 3D light ring, giant word (hero, above)
     B Bloom      footer word fills with colour as you reach it;
                  a bloom of light turns behind the POS screen
     C Neon HUD   viewfinder corners on service cards and the POS
                  screen; section labels decode (js/motion.js)
     D Editorial  highlighter pen across key phrases; hairline rules
     E Aurora     moving aurora, frosted glass, tint per section
     F Swiss      big numbered section index, square number blocks
   ─────────────────────────────────────────────────────────── */

/* F · Swiss: numbered index behind every section heading. */
main { counter-reset: mx-sec; }
main .section-header { counter-increment: mx-sec; position: relative; isolation: isolate; }
main .section-header::before {
  content: counter(mx-sec, decimal-leading-zero);
  position: absolute;
  left: 50%;
  top: -0.42em;
  z-index: -1;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(88px, 13vw, 190px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 140, 70, 0.12), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}
.process-step .step-num { border-radius: 6px; letter-spacing: -0.02em; }

/* C · Neon HUD: viewfinder corners. */
.service-card, .pos-screen { position: relative; }
.service-card::before,
.pos-screen::before {
  --hud: rgba(255, 190, 140, 0.7);
  content: '';
  position: absolute;
  inset: 12px;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(var(--hud) 0 0) top left / 18px 1.5px no-repeat,
    linear-gradient(var(--hud) 0 0) top left / 1.5px 18px no-repeat,
    linear-gradient(var(--hud) 0 0) top right / 18px 1.5px no-repeat,
    linear-gradient(var(--hud) 0 0) top right / 1.5px 18px no-repeat,
    linear-gradient(var(--hud) 0 0) bottom left / 18px 1.5px no-repeat,
    linear-gradient(var(--hud) 0 0) bottom left / 1.5px 18px no-repeat,
    linear-gradient(var(--hud) 0 0) bottom right / 18px 1.5px no-repeat,
    linear-gradient(var(--hud) 0 0) bottom right / 1.5px 18px no-repeat;
  opacity: 0.35;
  transition: opacity 0.35s, inset 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover::before, .pos-screen:hover::before { opacity: 1; inset: 7px; }

/* B · Bloom: a slow bloom of light behind the POS screen. */
.pos-screen { isolation: isolate; }
.pos-screen::after {
  content: '';
  position: absolute;
  inset: -16%;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 0deg, rgba(255, 106, 43, 0) 0deg, rgba(255, 106, 43, 0.38) 40deg, rgba(255, 106, 43, 0) 80deg,
    rgba(214, 36, 110, 0.32) 140deg, rgba(214, 36, 110, 0) 190deg, rgba(91, 63, 209, 0.34) 250deg, rgba(91, 63, 209, 0) 300deg, rgba(255, 190, 120, 0.3) 340deg, rgba(255, 106, 43, 0) 360deg);
  -webkit-mask: radial-gradient(closest-side, #000 25%, transparent 72%);
  mask: radial-gradient(closest-side, #000 25%, transparent 72%);
  filter: blur(24px);
  animation: mx-bloom 22s linear infinite;
}
@keyframes mx-bloom { to { transform: rotate(360deg); } }

/* B · Bloom: the footer's outlined word fills from left to right as you
   reach it (scroll-driven; stays outlined where unsupported). */
@property --fill { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.mx-footer-word {
  background:
    linear-gradient(90deg, #FFC27D, #FF6A2B 50%, #D6246E) 0 0 / var(--fill) 100% no-repeat,
    linear-gradient(180deg, rgba(255, 140, 70, 0.22), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .mx-footer-word { animation: mx-fill linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  }
}
@keyframes mx-fill { to { --fill: 100%; } }

/* D · Editorial: highlighter pen (js/motion.js wraps the phrases). */
mark.mx-hl {
  color: inherit;
  padding: 0 0.08em;
  background: linear-gradient(transparent 60%, rgba(255, 140, 60, 0.42) 60%, rgba(255, 140, 60, 0.42) 94%, transparent 94%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}
mark.mx-hl.is-on { background-size: 100% 100%; }

/* E · Aurora: per-section tint layer (js/motion.js). */
.mx-tint {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 50% at 70% 30%, var(--tint, transparent), transparent 70%);
}

/* Process: the line draws with scroll and steps light up in turn. */
.has-motion .process-line {
  display: block;
  position: absolute;
  left: 2%; right: 2%;
  top: 1.4rem;
  height: 2px;
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
  box-shadow: 0 0 18px rgba(255, 106, 43, 0.6);
}
[dir="rtl"] .has-motion .process-line { transform-origin: right center; }
.process-step { transition: border-color 0.5s, box-shadow 0.5s, background-color 0.5s; }
.process-step.is-lit {
  border-color: rgba(255, 150, 90, 0.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 70px -35px rgba(255, 106, 43, 0.75);
}
.process-step.is-lit .step-num { animation: mx-pulse 2.4s ease-in-out infinite; }
@keyframes mx-pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 106, 43, 0.18), 0 0 26px rgba(255, 106, 43, 0.6); } }

/* Headings: one pass of light across the words after they rise. The
   gradient is 3x the word's width and only travels between 100% and 0%,
   so the word is always fully covered (solid colour at both ends). */
.mx-lit .mx-in {
  background: linear-gradient(100deg, currentColor 42%, #FFE0B5 50%, currentColor 58%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mx-shine 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes mx-shine { to { background-position: 0% 0; } }

/* Desktop nav: a soft pill that glides to the hovered / current link.
   Scoped to wide screens: below 1251 px #nav-links is the fixed drawer, and
   an id selector here would override its position. */
@media (min-width: 1251px) { #nav-links { position: relative; } }
.mx-nav-ind {
  position: absolute;
  left: 0; top: 50%;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}
.mx-nav-ind.is-on { opacity: 1; }

/* Back-to-top: ring that fills with the scroll position. */
.back-to-top::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(var(--a1) calc(var(--scroll-p, 0) * 360deg), rgba(255, 255, 255, 0.12) 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

/* Press ripple on every button (js/motion.js sets --rx/--ry). */
.btn { overflow: hidden; }
.btn::before {
  content: '';
  position: absolute;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  opacity: 0;
  pointer-events: none;
}
.btn.is-rippling::before { animation: mx-ripple 0.6s ease-out; }
@keyframes mx-ripple { from { opacity: 0.6; transform: scale(0); } to { opacity: 0; transform: scale(28); } }

/* Pricing count-up: the real price stays in the DOM (transparent) and the
   counting digits are painted over it, so the text never changes. */
.pricing-value.is-counting { position: relative; color: transparent; -webkit-text-fill-color: transparent; }
.pricing-value.is-counting::after {
  content: attr(data-count);
  position: absolute;
  inset: 0;
  color: var(--c-ink);
  -webkit-text-fill-color: var(--c-ink);
  text-align: inherit;
  white-space: nowrap;
}

/* Animated underline for footer and article links. */
.footer-links a, .article-prose a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s;
}
.footer-links a:hover, .footer-links a:focus-visible,
.article-prose a:hover, .article-prose a:focus-visible { background-size: 100% 1px; }

/* Footer: a thin line of light runs along its top edge. */
.site-footer::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--a1), var(--a2), var(--a3), transparent) 0 0 / 200% 100%;
  animation: mx-line 8s linear infinite;
}
@keyframes mx-line { to { background-position: -200% 0; } }

/* Cards: richer hovers (desktop pointers). */
@media (hover: hover) and (pointer: fine) {
  .service-card-img img, .portfolio-card-img img, .blog-card img { transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.7s; }
  .service-card:hover .service-card-img img, .portfolio-card:hover .portfolio-card-img img, .blog-card:hover img { transform: scale(1.08); filter: brightness(1.08) saturate(1.1); }
  .industry-icon, .why-icon, .service-icon, .feature-icon { transition: transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
  .industry-card:hover .industry-icon, .why-card:hover .why-icon, .service-card:hover .service-icon { transform: translateY(-6px) scale(1.08); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .demos-teaser-card { background-size: 160% 160%; animation: mx-drift 9s ease-in-out infinite alternate; }
  .industry-icon, .why-icon { animation: mx-float 6s ease-in-out infinite; }
  .industry-card:nth-child(2n) .industry-icon, .why-card:nth-child(2n) .why-icon { animation-delay: -3s; }
}
@keyframes mx-drift { to { background-position: 100% 100%; } }
@keyframes mx-float { 50% { translate: 0 -6px; } }

/* FAQ: softer open/close and a glowing icon. */
.faq-a { transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s, padding-top 0.4s; }
.faq-q[aria-expanded="true"] .faq-icon { color: var(--accent-light); text-shadow: 0 0 12px rgba(255, 106, 43, 0.7); }

/* Lite mode (phones, tablets, coarse pointers): no grain layer, and cards
   and headings reveal with CSS scroll-driven animations — the browser runs
   them off the main thread, so the phone stays smooth. Browsers without
   scroll-driven animations simply show everything. */
@media (max-width: 1023px), (pointer: coarse) {
  body::after { display: none; }
}
@supports (animation-timeline: view()) {
  @media (max-width: 1023px) and (prefers-reduced-motion: no-preference), (pointer: coarse) and (prefers-reduced-motion: no-preference) {
    .service-card, .industry-card, .why-card, .portfolio-card, .blog-card, .demos-teaser-card,
    .process-step, .value-card, .stat-card, .leadership-card, .faq-item, main .section-header {
      animation: mx-view-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
  }
}
/* Movement only, no fade: a half-faded card measures as low-contrast text
   (Lighthouse flagged it), and moving costs nothing on the compositor. */
@keyframes mx-view-up {
  from { transform: translate3d(0, 44px, 0) scale(0.96); }
  to   { transform: none; }
}

/* IN/KW badges: ".contact-details span" (0,1,1) used to outrank ".cc" and
   paint light text on the orange badge. */
.contact-details .cc, .footer-contact .cc, span.cc { color: var(--accent-ink); }

/* Phones and touch devices: keep the look, drop the GPU-heavy parts.
   Frosted-glass blur on every card, a constantly animating aurora layer and
   blur-in reveals are expensive on low-end Android phones, so cards get a
   slightly more solid fill instead and the aurora holds still. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  body::before { animation: none; }
  .service-card, .industry-card, .why-card, .portfolio-card, .pricing-card,
  .testimonial-card, .about-badge, .blog-card, .contact-form-wrap, .value-card,
  .hero-screenshot {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(22, 18, 30, 0.88);
  }
  .site-header, .site-header.scrolled { background: rgba(9, 7, 14, 0.94); }
}

/* Country badge used beside phone numbers. Flag emojis render as plain
   "IN"/"KW" letters on Windows, so a styled badge is used everywhere. */
.cc {
  display: inline-block;
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 4px;
  margin-right: 2px;
  vertical-align: 0.15em;
  color: var(--accent-ink);
  background: linear-gradient(120deg, #FFC27D, var(--a1));
}

/* "View Project" was a 20px-tall tap target on phones. */
.portfolio-link { min-height: 44px; align-items: center; }

/* <picture> wrappers (WebP sources) must not change layout: the <img>
   inside keeps behaving as if it were the direct child. */
picture { display: contents; }

/* Fragment links, scrollIntoView() and focus moves stop below the fixed
   header (it is always --header-h tall). */
html { scroll-padding-top: calc(var(--header-h) + 8px); }


/* Reduced motion: the global rule in css/style.css shortens animations but
   keeps their delays, so a delayed effect would still jump into place a
   moment after load. The hero's entrance and light sweep are switched off
   outright instead. */
@media (prefers-reduced-motion: reduce) {
  .hero::after { display: none; }
  .hero-eyebrow, .hero-headline, .hero-headline .line-accent, .hero-sub,
  .hero-ctas .btn, .hero-screenshot, .site-footer::before,
  .process-step.is-lit .step-num, .pos-screen::after { animation: none !important; }
}

/* In-page links move focus to the section they open (js/main.js gives it
   tabindex="-1"), so the next Tab continues from there. Like <main> in
   style.css, a whole section must not draw a focus ring. */
section[tabindex="-1"]:focus { outline: none; }

/* style.css hides .reveal until js/main.js adds .is-visible. Only do that when
   scripts run: index.html sets html.js first thing in <head> and removes it if
   main.js fails to load, so without JavaScript every section, price and the
   contact form stay visible. */
html:not(.js) .reveal { opacity: 1; transform: none; }
