/* ============================================================
   Sense Softech — design system v2 (glossy gradients)
   Brand navy #265C84 + green #67A442 (from the logo) on deep gradients.
   Fonts: Sora (display) + Inter (body).
   ============================================================ */

/* Fonts are served from this site (wwwroot/fonts), not from Google: one less connection before
   the first paint. Both are variable fonts, so one file covers every weight used.
   The "... Fallback" faces are Arial stretched to the same average letter width, so the text
   does not re-wrap and push the page down when the real font arrives. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Roboto"), local("Helvetica Neue"); size-adjust: 107%; }
@font-face { font-family: "Sora Fallback"; font-weight: 600 800; src: local("Arial Bold"), local("Arial"), local("Roboto Bold"), local("Roboto"); size-adjust: 107.5%; }

:root {
  --brand: #67a442;
  --brand-navy: #265c84;
  --brand-2: #8cc95f;
  --brand-600: #568c36;
  --brand-700: #43702a;
  --brand-100: #edf5e5;
  --brand-glow: rgba(103, 164, 66, 0.45);

  --ocean: #0b2c6b;
  --ocean-2: #0e3a8a;
  --indigo: #3730a3;
  --violet: #6d28d9;
  --teal: #0ea5b7;
  --sky: #38bdf8;

  --grad-deep: linear-gradient(135deg, #0a2033 0%, #11385a 38%, #1b5078 72%, #133f60 100%);
  --grad-band: linear-gradient(120deg, #0e2a44 0%, #1b5078 55%, #265c84 100%);
  --grad-footer: linear-gradient(180deg, #0a2559 0%, #071740 60%, #060f2e 100%);
  --grad-lime: linear-gradient(135deg, #7cba52 0%, #67a442 55%, #528a33 100%);
  --grad-text: linear-gradient(90deg, #8cc95f 0%, #67a442 35%, #5ec8b8 70%, #8cc95f 100%);

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: linear-gradient(180deg, #f7faff 0%, #eef3fc 100%);
  --bg-soft-2: #eef2f7;

  --on-dark: #ffffff;
  --on-dark-2: #c7d3ec;
  --on-dark-3: #9fb0d3;

  --font-display: "Sora", "Sora Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Inter Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 14px 34px -14px rgba(15, 23, 42, 0.22);
  --shadow-lg: 0 34px 70px -24px rgba(11, 44, 107, 0.45);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2em; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1:focus, h1:focus-visible { outline: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-soft { background: var(--bg-soft); }

/* Gradient text */
.grad-text {
  background: var(--grad-text); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Dark glossy sections ---------- */
.section-dark {
  position: relative; overflow: hidden; color: var(--on-dark-2);
  background: var(--grad-deep);
  isolation: isolate;
}
.section-dark::before {
  /* glossy sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.03) 28%, rgba(255,255,255,0) 55%);
}
.section-dark::after {
  /* aurora glows */
  content: ""; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 50% at 12% 20%, rgba(103,164,66,.30), transparent 70%),
    radial-gradient(34% 44% at 88% 18%, rgba(56,189,248,.28), transparent 70%),
    radial-gradient(40% 50% at 70% 95%, rgba(79,163,209,.28), transparent 70%);
  animation: auroraShift 18s ease-in-out infinite alternate;
  filter: blur(10px);
}
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-2); }

@keyframes auroraShift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -4%, 0) scale(1.06); }
  100% { transform: translate3d(-3%, 3%, 0) scale(1.02); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-700);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-lime); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brand-2); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--on-dark-3); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .3s ease, background .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn::after {
  /* sheen sweep */
  content: ""; position: absolute; top: -60%; bottom: -60%; left: -40%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(-120%); transition: transform .7s var(--ease-out); pointer-events: none;
}
.btn:hover::after { transform: skewX(-20deg) translateX(420%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: var(--grad-lime); color: #0e2109;
  box-shadow: 0 12px 28px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn-primary:hover { color: #0e2109; box-shadow: 0 18px 36px -10px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 4px rgba(103,164,66,.18); }
.btn-dark { background: var(--grad-band); color: #fff; box-shadow: 0 14px 30px -12px rgba(14,42,68,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-dark:hover { color: #fff; box-shadow: 0 18px 36px -12px rgba(14,42,68,.7), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(15,23,42,.35); }
.btn-ghost-light { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.14); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.9); border-bottom-color: rgba(226,232,240,.9); box-shadow: 0 8px 30px -18px rgba(11,44,107,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
/* ---------- Brand lockup: two arcs that animate independently ---------- */
.brand { display: inline-flex; align-items: center; gap: .66rem; --mark: 52px; }
.brand-logo { position: relative; display: block; width: calc(var(--mark) * 472 / 512); height: var(--mark); flex: none; }
.brand-logo .arc {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform-origin: 52% 50%;
  transition: transform .55s var(--ease-out), filter .35s ease;
  will-change: transform;
}
/* Settle into place on first paint. fill-mode is "backwards", not "both", on
   purpose: "both" would keep the animation's final transform applied forever,
   and an animated value outranks a normal declaration, so the :hover rule
   below would silently never take effect. */
.brand-logo .arc-navy  { animation: arcInNavy .95s var(--ease-out) backwards; }
.brand-logo .arc-green { animation: arcInGreen .95s var(--ease-out) .08s backwards; }
@keyframes arcInNavy  { from { opacity: 0; transform: rotate(-38deg) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes arcInGreen { from { opacity: 0; transform: rotate(38deg)  scale(.86); } to { opacity: 1; transform: none; } }

/* hover: the two arcs open away from each other, then close again */
.brand:hover .arc-navy  { transform: rotate(-14deg) translateX(-1px); }
.brand:hover .arc-green { transform: rotate(14deg)  translateX(1px); }
.brand:focus-visible .arc-navy  { transform: rotate(-14deg); }
.brand:focus-visible .arc-green { transform: rotate(14deg); }

.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  letter-spacing: -0.025em; color: var(--brand-navy); white-space: nowrap; line-height: 1;
  transition: letter-spacing .45s var(--ease-out);
}
.brand:hover .brand-name { letter-spacing: -0.008em; }

@media (max-width: 560px) { .brand { --mark: 44px; } .brand-name { font-size: 1.24rem; } }
@media (max-width: 400px) { .brand { --mark: 38px; } .brand-name { font-size: 1.08rem; } }

@media (prefers-reduced-motion: reduce) {
  .brand-logo .arc { animation: none; transition: none; }
  .brand:hover .arc-navy, .brand:hover .arc-green { transform: none; }
  .brand:hover .brand-name { letter-spacing: -0.025em; }
}
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative; padding: 0.55rem 0.9rem; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: 0.95rem;
  transition: color .15s ease;
}
.nav a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; border-radius: 2px;
  background: var(--grad-lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--brand-700); }

.nav-toggle { display: none; }
.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s ease; }

@media (max-width: 960px) {
  .nav, .header-cta .btn, .header-phone { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-toggle:checked ~ .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 0.75rem 1.25rem 1.25rem;
    box-shadow: var(--shadow); animation: dropIn .3s var(--ease-out);
  }
  .nav-toggle:checked ~ .nav a { padding: 0.85rem 0.75rem; font-size: 1.05rem; }
  .nav-toggle:checked ~ .nav a::after { display: none; }
  .nav-toggle:checked ~ .nav .nav-mobile-cta { display: inline-flex; margin-top: .75rem; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav-mobile-cta { display: none; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: var(--grad-deep);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 30%, rgba(255,255,255,0) 60%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 80%);
}
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen;
  animation: blob 16s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 560px; height: 560px; left: -12%; top: -20%; background: radial-gradient(circle, rgba(103,164,66,.9), rgba(103,164,66,0) 65%); }
.aurora span:nth-child(2) { width: 640px; height: 640px; right: -14%; top: -30%; background: radial-gradient(circle, rgba(79,163,209,.7), rgba(79,163,209,0) 65%); animation-delay: -5s; animation-duration: 20s; }
.aurora span:nth-child(3) { width: 620px; height: 620px; left: 35%; bottom: -45%; background: radial-gradient(circle, rgba(38,92,132,.95), rgba(38,92,132,0) 65%); animation-delay: -10s; animation-duration: 22s; }
.aurora span:nth-child(4) { width: 380px; height: 380px; right: 22%; bottom: -10%; background: radial-gradient(circle, rgba(103,164,66,.55), rgba(103,164,66,0) 65%); animation-delay: -3s; animation-duration: 14s; }
@keyframes blob {
  0%   { transform: translate3d(0,0,0) scale(1); }
  33%  { transform: translate3d(6%, -6%, 0) scale(1.12); }
  66%  { transform: translate3d(-5%, 5%, 0) scale(.94); }
  100% { transform: translate3d(3%, 8%, 0) scale(1.05); }
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-lead { font-size: 1.15rem; color: var(--on-dark-2); max-width: 560px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: #e2e9f7; margin-bottom: 1.4rem;
  backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-lime); display: inline-grid; place-items: center; color: #0e2109; font-size: .7rem; font-weight: 800; box-shadow: 0 0 0 4px rgba(103,164,66,.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(103,164,66,.45); } 60% { box-shadow: 0 0 0 9px rgba(103,164,66,0); } }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stat span { font-size: .85rem; color: var(--on-dark-3); }

/* hero entrance */
.hero .hero-pill, .hero h1, .hero .hero-lead, .hero .hero-actions, .hero .hero-stats, .hero-visual {
  animation: riseIn .9s var(--ease-out) both;
}
.hero h1 { animation-delay: .08s; } .hero .hero-lead { animation-delay: .18s; } .hero .hero-actions { animation-delay: .28s; }
.hero .hero-stats { animation-delay: .38s; } .hero-visual { animation-delay: .25s; animation-duration: 1.1s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; perspective: 1400px; }
.browser-frame {
  border-radius: 18px; overflow: hidden; background: #0e1627;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 50px 100px -30px rgba(2,8,30,.8), 0 0 0 1px rgba(103,164,66,.15), 0 0 80px -20px rgba(56,189,248,.45);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform .8s var(--ease-out), box-shadow .8s ease;
}
.hero-visual:hover .browser-frame { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.browser-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; background: linear-gradient(180deg, #1b2740, #141d31); border-bottom: 1px solid rgba(255,255,255,.08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3a57; display: block; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar em { margin-left: .5rem; font-style: normal; font-size: .72rem; color: #8d9ab8; background: #0e1627; padding: .2rem .7rem; border-radius: 6px; flex: 1; display: flex; align-items: center; gap: .45rem; }
.browser-bar em b { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
.browser-frame img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: top; }
.float-card {
  position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); color: var(--ink); border-radius: 16px; padding: .8rem 1rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff; display: flex; align-items: center; gap: .75rem; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.7);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-lime); color: #0e2109; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.a { left: -28px; bottom: -26px; }
.float-card.b { right: -18px; top: -48px; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .browser-frame { transform: none; }
  .float-card.a { left: 8px; bottom: -14px; } .float-card.b { right: 8px; top: -14px; }
}
@media (max-width: 600px) { .float-card.b { display: none; } }

/* ---------- Logo marquee ---------- */
.logo-strip { padding: 2.2rem 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7faff); overflow: hidden; }
.logo-strip p { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1.4rem; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 42px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s ease, opacity .3s ease, transform .3s var(--ease-out); }
.marquee-track img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; border-radius: var(--radius-lg); padding: 1.8rem;
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #e6ecf5, #edf1f7) border-box;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s ease, background .35s ease;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(11,44,107,.35);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand), var(--sky) 50%, var(--violet)) border-box;
}
.card .ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #eef6e6, #d8ecc6); color: var(--brand-700);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(103,164,66,.6);
  transition: transform .35s var(--ease-out), background .35s ease, color .35s ease;
}
.card:hover .ic { transform: translateY(-2px) rotate(-4deg); background: var(--grad-lime); color: #0e2109; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; font-weight: 600; color: var(--ink); }
.card .card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.card:hover .card-link svg { transform: translateX(4px); }
.card-link-cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card ul { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.card ul li { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink-2); font-size: .93rem; }
.card ul li::before { content: "✓"; color: var(--brand-700); font-weight: 800; flex: none; margin-top: .05em; }

/* glass cards on gradient */
.card-dark {
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)) padding-box,
              linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.08)) border-box;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--on-dark-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 20px 40px -24px rgba(0,0,0,.5);
}
.card-dark:hover {
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.06)) padding-box,
              linear-gradient(135deg, var(--brand-2), var(--sky) 50%, #c4b5fd) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 30px 60px -24px rgba(0,0,0,.6), 0 0 40px -10px rgba(103,164,66,.35);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark-3); }
.card-dark .ic { background: linear-gradient(135deg, rgba(103,164,66,.35), rgba(56,189,248,.25)); color: var(--brand-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.card-dark:hover .ic { background: var(--grad-lime); color: #0e2109; }
.card-dark ul li { color: var(--on-dark-2); }
.card-dark ul li::before { color: var(--brand-2); }

/* ---------- Solutions ---------- */
.solution { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3rem 0; border-top: 1px solid var(--line); }
.solution:first-of-type { border-top: 0; }
.solution.flip .solution-media { order: -1; }
.solution-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.solution-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; }
.solution h3 { font-size: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; }
.chip { font-size: .8rem; font-weight: 500; padding: .35rem .75rem; border-radius: 999px; background: var(--bg-soft-2); color: var(--ink-2); border: 1px solid var(--line); }
@media (max-width: 960px) { .solution { grid-template-columns: 1fr; gap: 1.6rem; } .solution.flip .solution-media { order: 0; } }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 3.1rem; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(103,164,66,.7), rgba(56,189,248,.7), rgba(196,181,253,.7), transparent);
}
.step {
  position: relative; padding: 1.7rem;
  border-radius: var(--radius-lg); border: 1px solid transparent;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)) padding-box,
              linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.08)) border-box;
  backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 30px 50px -24px rgba(0,0,0,.6); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; display: block; margin-bottom: .6rem; line-height: 1;
  background: var(--grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--on-dark-3); font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Tech ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tech {
  display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.3rem .8rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .3s ease;
}
.tech:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -20px rgba(11,44,107,.35); border-color: #c7d2fe; }
.tech .tech-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 16px -8px rgba(0,0,0,.4); transition: transform .35s var(--ease-out); }
.tech:hover .tech-ic { transform: scale(1.1) rotate(-6deg); }
.tech strong { font-size: .9rem; font-weight: 600; }
.tech small { color: var(--muted); font-size: .75rem; }
@media (max-width: 960px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Portfolio ---------- */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.portfolio-filters a { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 500; font-size: .9rem; transition: all .25s ease; }
.portfolio-filters a.active, .portfolio-filters a:hover { background: var(--grad-band); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -12px rgba(14,42,68,.6); }
.work {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #e6ecf5, #edf1f7) border-box;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out), box-shadow .35s ease, background .35s ease;
}
.work:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(11,44,107,.35); background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand), var(--sky) 50%, var(--violet)) border-box; }
.work .work-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft-2); border-bottom: 1px solid var(--line); position: relative; }
.work .work-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11,44,107,.18)); opacity: 0; transition: opacity .4s ease; }
.work:hover .work-media::after { opacity: 1; }
.work .work-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease-out); }
.work:hover .work-media img { transform: scale(1.04); }
.work-body { padding: 1.2rem 1.4rem 1.4rem; }
.work-body .cat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); }
.work-body h3 { font-size: 1.1rem; margin: .3rem 0 .35rem; }
.work-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.work.mobile .work-media { display: grid; place-items: center; padding: 1rem; background: linear-gradient(135deg, #e0f2fe, #ede9fe); }
.work.mobile .work-media img { width: auto; height: 100%; object-fit: contain; }
.work-body .hl { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.work-body .hl li { display: flex; gap: .5rem; font-size: .88rem; color: var(--ink-2); }
.work-body .hl li::before { content: "✓"; color: var(--brand-700); font-weight: 800; flex: none; }
.work-body .site-link { display: inline-flex; margin: .9rem 1.1rem 0 0; font-size: .88rem; font-weight: 700; color: var(--brand-700); text-decoration: none; border-bottom: 2px solid currentColor; }
.work-body .site-link:hover { color: var(--brand); }
.work-body .site-link--wa { color: #15803d; }

/* ---------- Feature list / split / stats ---------- */
.feature-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .fi { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-lime); color: #0e2109; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px -10px var(--brand-glow); }
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list strong { display: block; font-family: var(--font-display); font-weight: 600; }
.feature-list span { color: var(--muted); font-size: .93rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: transform .6s var(--ease-out); }
.split-media:hover { transform: translateY(-6px) scale(1.01); }
.split-media.photo { margin: 0; background: #fff; }
.split-media.photo figcaption { font-size: .85rem; color: var(--muted); padding: .8rem 1.1rem; border-top: 1px solid var(--line); }

/* office photo on the contact page */
.office-photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 1.5rem 0 0; background: #fff; }
.office-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.office-photo figcaption { font-size: .85rem; color: var(--muted); padding: .7rem 1rem; border-top: 1px solid var(--line); }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  padding: 1.7rem 1.4rem; border-radius: var(--radius-lg); text-align: center; color: #fff; position: relative; overflow: hidden;
  background: var(--grad-band); box-shadow: 0 20px 40px -20px rgba(14,42,68,.6), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .35s var(--ease-out);
}
.stat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 50%); pointer-events: none; }
.stat:hover { transform: translateY(-5px); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; margin-bottom: .35rem; font-variant-numeric: tabular-nums; }
.stat strong em { font-style: normal; color: var(--brand-2); }
.stat span { color: var(--on-dark-2); font-size: .9rem; }
@media (max-width: 720px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(2.2rem, 5vw, 3.8rem);
  background: var(--grad-band); color: #fff; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center;
  box-shadow: 0 40px 80px -30px rgba(14,42,68,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 45%); pointer-events: none; }
.cta-band::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(103,164,66,.55), transparent 65%); pointer-events: none; filter: blur(20px);
  animation: blob 14s ease-in-out infinite alternate;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: var(--on-dark-2); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; position: relative; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-deep); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 50%); pointer-events: none; }
.page-hero::after {
  content: ""; position: absolute; inset: -30% -10%; z-index: -2; pointer-events: none; filter: blur(14px);
  background:
    radial-gradient(30% 45% at 85% 30%, rgba(103,164,66,.4), transparent 70%),
    radial-gradient(30% 45% at 10% 80%, rgba(56,189,248,.35), transparent 70%),
    radial-gradient(28% 40% at 55% 100%, rgba(79,163,209,.3), transparent 70%);
  animation: auroraShift 16s ease-in-out infinite alternate;
}
.page-hero h1 { color: #fff; max-width: 820px; animation: riseIn .8s var(--ease-out) both; }
.page-hero p { color: var(--on-dark-2); font-size: 1.12rem; max-width: 680px; margin: 0; animation: riseIn .8s var(--ease-out) .12s both; }
.breadcrumb { display: flex; gap: .5rem; font-size: .82rem; color: var(--on-dark-3); margin-bottom: 1rem; }
.breadcrumb a { color: var(--on-dark-2); }
.breadcrumb a:hover { color: var(--brand-2); }

/* ---------- Service detail ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.service-layout > * { min-width: 0; } /* let the comparison table scroll inside its box instead of widening the page on phones */
.service-layout .prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.service-layout .prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: .4rem; }
.side-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.side-card .card + .card { margin-top: 1.2rem; }
.side-nav { display: grid; gap: .3rem; }
.side-nav a { display: block; padding: .7rem .9rem; border-radius: 10px; color: var(--ink-2); font-weight: 500; transition: all .2s ease; }
.side-nav a:hover { background: var(--bg-soft-2); color: var(--ink); }
.side-nav a.active { background: var(--grad-band); color: #fff; box-shadow: 0 10px 20px -12px rgba(14,42,68,.6); }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } .side-card { position: static; } }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.screens figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out), box-shadow .35s ease; }
.screens figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.screens img { aspect-ratio: 16/10; object-fit: cover; object-position: top left; width: 100%; }
.screens figcaption { font-size: .8rem; color: var(--muted); padding: .55rem .8rem; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .screens { grid-template-columns: 1fr 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink-2); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(103,164,66,.22); }
.field textarea { min-height: 140px; resize: vertical; }
.field .invalid { border-color: #ef4444; }
.validation-message { color: #dc2626; font-size: .8rem; margin-top: .3rem; display: block; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.2rem; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.2rem; animation: riseIn .5s var(--ease-out) both; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; }
.alert-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ci { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-lime); color: #0e2109; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px -10px var(--brand-glow); }
.contact-item .ci svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: .15rem; }
.contact-item a, .contact-item span { color: var(--ink-2); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 1.5rem; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-footer); color: var(--on-dark-3); padding: 4rem 0 2rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(103,164,66,.8), rgba(56,189,248,.8), transparent); }
.site-footer::after {
  content: ""; position: absolute; inset: -40% -10% auto; height: 80%; z-index: -1; pointer-events: none; filter: blur(30px);
  background: radial-gradient(35% 50% at 15% 40%, rgba(103,164,66,.22), transparent 70%), radial-gradient(35% 50% at 85% 30%, rgba(79,163,209,.3), transparent 70%);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark-3); transition: color .2s ease, transform .2s ease; display: inline-block; }
.site-footer a:hover { color: var(--brand-2); transform: translateX(3px); }
/* .site-footer a sets display:inline-block, so restate the lockup with equal weight */
/* .site-footer a sets display:inline-block, so restate the lockup with equal weight */
.footer-brand .brand { display: inline-flex; align-items: center; gap: .66rem; margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
/* lift the navy arc so it reads against the dark footer */
.footer-brand .arc-navy { filter: brightness(1.45) saturate(1.15); }
.footer-brand .brand:hover { transform: none; }
.footer-brand p { max-width: 380px; font-size: .93rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--brand-2); margin-top: .15rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .85rem; }
.footer-bottom .made { color: #7f90b8; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #3ee37a, #1fbf59); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 32px -8px rgba(37,211,102,.7), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .25s var(--ease-out);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37,211,102,.7); animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation (JS-gated, staggered) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Accessibility utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Legal prose ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- Blazor chrome ---------- */
#blazor-error-ui {
  color-scheme: light only; background: #fff3cd; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2); box-sizing: border-box;
  display: none; left: 0; padding: .6rem 1.25rem .7rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.blazor-error-boundary { background: #b32121; padding: 1rem; color: white; }
.validation-summary { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; margin-top: 1rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 1.1rem; transition: border-color .25s ease, box-shadow .25s ease; }
.faq-item[open] { border-color: #c7d2fe; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.02rem; margin: 0; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); font-weight: 800; transition: transform .3s var(--ease-out), background .3s ease; }
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); background: var(--grad-lime); color: #0e2109; }
.faq-item p { margin: 0 0 1rem; color: var(--ink-2); }

/* ============================================================
   USB Device Control product page
   ============================================================ */
.usb-hero .hero-pill .dot { width: 24px; height: 24px; }
.usb-hero .hero-pill .dot svg { width: 13px; height: 13px; }

.usb-price-tag {
  display: inline-flex; align-items: center; gap: .85rem; margin-top: .4rem;
  padding: .7rem 1.2rem .7rem .95rem; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.usb-price-tag strong {
  font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--brand-2);
}
.usb-price-tag span { font-size: .84rem; color: var(--on-dark-2); line-height: 1.45; }
.usb-price-tag em { font-style: normal; color: var(--on-dark-3); font-size: .78rem; }

/* ---- hero illustration: admin list + desktop popup ---- */
.usb-visual { position: relative; padding: .5rem 0 5rem; perspective: 1400px; }
.usb-dash {
  border-radius: 18px; overflow: hidden; background: rgba(9,18,38,.82);
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -30px rgba(2,8,30,.85), 0 0 0 1px rgba(103,164,66,.12);
  transform: rotateY(-7deg) rotateX(3deg); transition: transform .8s var(--ease-out);
}
.usb-visual:hover .usb-dash { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.usb-dash-head {
  display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: #fff;
}
.usb-bell { margin-left: auto; position: relative; display: inline-grid; place-items: center; color: var(--on-dark-2); }
.usb-bell svg { width: 17px; height: 17px; }
.usb-bell i {
  position: absolute; top: -5px; right: -7px; min-width: 15px; height: 15px; padding: 0 3px;
  border-radius: 999px; background: #ef4444; color: #fff; font-style: normal;
  font-size: .62rem; font-weight: 800; display: grid; place-items: center;
  animation: usbPing 2s ease-in-out infinite;
}
@keyframes usbPing { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }

.usb-row {
  display: flex; align-items: center; gap: .7rem; padding: .78rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.07); font-size: .82rem;
}
.usb-row:last-child { border-bottom: 0; }
.usb-row div { flex: 1; min-width: 0; }
.usb-row strong { display: block; color: #fff; font-family: var(--font-display); font-size: .86rem; font-weight: 600; }
.usb-row small { color: var(--on-dark-3); font-size: .74rem; }
.usb-row.is-request { background: linear-gradient(90deg, rgba(103,164,66,.16), transparent 70%); }

.usb-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: #64748b; }
.usb-dot.live { background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.55); animation: usbPulse 2.4s ease-out infinite; }
.usb-dot.warn { background: #fbbf24; box-shadow: 0 0 0 0 rgba(251,191,36,.55); animation: usbPulse 2.4s ease-out infinite; }
@keyframes usbPulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 7px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }

.usb-chip {
  flex: none; font-size: .7rem; font-weight: 700; font-family: var(--font-display);
  padding: .3rem .6rem; border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
}
.usb-chip.deny  { background: rgba(239,68,68,.16); color: #fca5a5; border-color: rgba(239,68,68,.3); }
.usb-chip.open  { background: rgba(56,189,248,.16); color: #7dd3fc; border-color: rgba(56,189,248,.3); }
.usb-chip.grant { background: var(--grad-lime); color: #0e2109; box-shadow: 0 6px 16px -6px var(--brand-glow); }

.usb-toast {
  /* sits below the request row so the Grant chip stays visible */
  position: absolute; left: -26px; bottom: 0; max-width: 320px;
  display: flex; gap: .75rem; padding: .95rem 1.05rem;
  border-radius: 16px; background: rgba(255,255,255,.95); color: var(--ink);
  border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  animation: float 6s ease-in-out infinite;
}
.usb-toast-ic {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: #fee2e2; color: #dc2626;
}
.usb-toast-ic svg { width: 19px; height: 19px; }
.usb-toast strong { display: block; font-family: var(--font-display); font-size: .92rem; }
.usb-toast p { margin: .15rem 0 .6rem; font-size: .8rem; color: var(--muted); }
.usb-toast-btns { display: flex; gap: .4rem; }
.usb-toast-btns span {
  font-family: var(--font-display); font-size: .74rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 7px;
}
.usb-toast-btns .yes { background: var(--grad-lime); color: #0e2109; }
.usb-toast-btns .no  { background: #eef2f7; color: var(--ink-2); }

@media (max-width: 960px) {
  .usb-dash { transform: none; }
  .usb-visual { padding-bottom: 4.5rem; }
  .usb-toast { left: 8px; right: 8px; max-width: none; }
}

/* ---- pricing panel ---- */
.usb-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.2rem; align-items: start; }
@media (max-width: 960px) { .usb-split { grid-template-columns: 1fr; gap: 2.2rem; } }
.usb-lead-sm { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.6rem; }

.usb-plan {
  position: relative; overflow: hidden; border-radius: 26px; padding: 2rem 1.9rem;
  background: var(--grad-band); color: #fff; isolation: isolate;
  box-shadow: 0 40px 80px -30px rgba(14,42,68,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.usb-plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 45%);
}
.usb-plan::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -150px; top: -170px; z-index: -1;
  border-radius: 50%; filter: blur(20px); pointer-events: none;
  background: radial-gradient(circle, rgba(103,164,66,.5), transparent 65%);
  animation: blob 14s ease-in-out infinite alternate;
}
.usb-plan .eyebrow { color: var(--brand-2); }
.usb-plan-head { border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 1.2rem; margin-bottom: 1.3rem; }
.usb-plan-price { display: flex; align-items: center; gap: .8rem; }
.usb-plan-price strong { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: #fff; }
.usb-plan-price span { font-size: .88rem; color: var(--on-dark-2); line-height: 1.4; }
.usb-plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.usb-plan ul li { display: flex; gap: .6rem; font-size: .92rem; color: var(--on-dark-2); }
.usb-plan ul li::before { content: "✓"; color: var(--brand-2); font-weight: 800; flex: none; }
.usb-plan .btn { width: 100%; }
.usb-plan-note { font-size: .8rem; color: var(--on-dark-3); margin: .9rem 0 0; text-align: center; }

.usb-faq-wrap { max-width: 820px; }

/* ---- product promo strip (Home + Services) ---- */
.usb-promo {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center;
  margin-top: 2.2rem; padding: 1.6rem 1.8rem; border-radius: var(--radius-lg);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-band); color: #fff;
  box-shadow: 0 30px 60px -28px rgba(14,42,68,.55), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.usb-promo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 50%);
}
.usb-promo::after {
  content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -140px; z-index: -1;
  border-radius: 50%; filter: blur(18px); pointer-events: none;
  background: radial-gradient(circle, rgba(103,164,66,.55), transparent 65%);
}
.usb-promo:hover { transform: translateY(-4px); box-shadow: 0 38px 70px -28px rgba(14,42,68,.65), inset 0 1px 0 rgba(255,255,255,.28); color: #fff; }

.usb-promo-badge {
  flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-lime); color: #0e2109;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 22px -10px var(--brand-glow);
  transition: transform .35s var(--ease-out);
}
.usb-promo-badge svg { width: 27px; height: 27px; }
.usb-promo:hover .usb-promo-badge { transform: rotate(-6deg) scale(1.05); }

.usb-promo-tag {
  display: inline-block; font-family: var(--font-display); font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: .25rem;
}
.usb-promo-body strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #fff; line-height: 1.2; }
.usb-promo-text { display: block; margin-top: .35rem; font-size: .93rem; color: var(--on-dark-2); max-width: 54ch; }

.usb-promo-price { text-align: right; flex: none; }
.usb-promo-price strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: #fff; }
.usb-promo-price small { display: block; font-size: .78rem; color: var(--on-dark-3); margin-bottom: .6rem; }
.usb-promo-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--brand-2); white-space: nowrap;
}
.usb-promo-cta svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.usb-promo:hover .usb-promo-cta svg { transform: translateX(4px); }

@media (max-width: 860px) {
  .usb-promo { grid-template-columns: auto 1fr; gap: 1rem 1.1rem; }
  .usb-promo-price { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
  .usb-promo-price small { margin-bottom: 0; }
  .usb-promo-cta { margin-left: auto; }
}

/* nav pill for the product link */
.nav .nav-product { color: var(--brand-700); font-weight: 600; }
.nav .nav-product::after { background: var(--grad-lime); }

/* ---- comparison table ---- */
.usb-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.usb-table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: .9rem; }
.usb-table th, .usb-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.usb-table thead th {
  font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--ink);
  background: var(--bg-soft-2); border-bottom: 2px solid var(--line); white-space: nowrap;
}
.usb-table tbody th { font-weight: 600; color: var(--ink); font-size: .88rem; }
.usb-table td { color: var(--ink-2); }
.usb-table tbody tr:last-child th, .usb-table tbody tr:last-child td { border-bottom: 0; }
.usb-table tbody tr:hover td, .usb-table tbody tr:hover th { background: rgba(103,164,66,.04); }

/* our column, highlighted end to end */
.usb-table thead th.is-ours { background: var(--grad-lime); color: #0e2109; }
.usb-table td.is-ours { background: rgba(103,164,66,.08); color: var(--ink); font-weight: 500; }
.usb-table tbody tr:last-child td.is-ours { border-bottom-right-radius: var(--radius-lg); }

.usb-table .yes, .usb-table .no, .usb-table .mid { display: inline-flex; align-items: flex-start; gap: .35rem; }
.usb-table .yes::before { content: "✓"; color: var(--brand-700); font-weight: 800; flex: none; }
.usb-table .no::before  { content: "✕"; color: #dc2626; font-weight: 800; flex: none; }
.usb-table .mid::before { content: "~"; color: #b45309; font-weight: 800; flex: none; }

.usb-table-note { margin: 1.1rem auto 0; max-width: 760px; text-align: center; font-size: .92rem; color: var(--muted); }

/* comparison tables inside service pages: three options instead of four */
.usb-table.cmp-3 { min-width: 640px; }
.prose .usb-table-wrap { margin: 1rem 0 0; }
.prose .usb-table td, .prose .usb-table th { color: var(--ink-2); }
.prose .usb-table thead th { color: var(--ink); }
.prose .usb-table thead th.is-ours { color: #0e2109; }
.cmp-note { font-size: .92rem; color: var(--muted); margin-top: .9rem; }
.prose .chips { margin-top: .6rem; }

/* ---- USB cost calculator ---- */
.usb-calc { border-top: 1px solid rgba(255,255,255,.16); padding-top: 1.2rem; }
.usb-calc label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: #fff; margin-bottom: .6rem; }
.usb-calc-row { display: flex; align-items: center; gap: .8rem; }
.usb-calc-row input[type=range] { flex: 1; accent-color: var(--brand-2); height: 28px; }
.usb-calc-row input[type=number] {
  width: 88px; padding: .55rem .6rem; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1); color: #fff; font: inherit; font-weight: 600; text-align: center;
}
.usb-calc-row input[type=number]:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(140,201,95,.25); }
.usb-calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.1rem 0 1.3rem; }
.usb-calc-out div { padding: .7rem .6rem; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); text-align: center; }
.usb-calc-out small { display: block; font-size: .7rem; color: var(--on-dark-3); margin-bottom: .2rem; }
.usb-calc-out strong { font-family: var(--font-display); font-size: 1.12rem; color: #fff; font-variant-numeric: tabular-nums; }
.usb-calc-out div:first-child strong { color: var(--brand-2); }

/* ---- sticky contact bar on phones ---- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -16px rgba(11,44,107,.35); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
    padding: .6rem .3rem; font-family: var(--font-display); font-weight: 600; font-size: .74rem; color: var(--ink-2);
  }
  .mobile-bar a svg { width: 21px; height: 21px; }
  .mobile-bar a.is-wa { color: #128c4a; }
  .mobile-bar a.is-quote { background: var(--grad-lime); color: #0e2109; }
  .wa-float { display: none; }              /* the bar already carries WhatsApp */
  body { padding-bottom: 62px; }
}

/* These panels hold a decorative blob larger than themselves. With overflow:hidden the
   box is still scrollable, so focusing an input inside (the PC-count field) made the
   browser scroll the panel sideways and cut the text off. "clip" cannot be scrolled. */
.usb-plan, .usb-promo, .cta-band { overflow: clip; }

/* ---- IRepair product page ---- */
.ir-download { margin-top: 1.1rem; font-size: .9rem; }
.ir-download a { color: var(--brand-2); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.ir-download a:hover { text-decoration: underline; }
.ir-download svg { width: 15px; height: 15px; }
.usb-toast-ic.ir-ok { background: #dcfce7; color: #16a34a; }
.ir-promo {
  display: block; margin: 0 0 2rem; padding: 1.1rem 1.3rem; border-radius: 16px; text-decoration: none;
  background: linear-gradient(120deg, rgba(38,92,132,.08), rgba(103,164,66,.12));
  border: 1px solid rgba(103,164,66,.35); color: var(--ink);
}
.ir-promo strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.ir-promo span { color: var(--muted); font-size: .95rem; display: inline; }
.ir-promo svg { width: 15px; height: 15px; vertical-align: -2px; color: var(--brand); }
.ir-promo:hover { border-color: var(--brand); }

/* ---- Our Work: IRepair product panel ---- */
.ir-work-section { padding-bottom: 0; }
.ir-work {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center;
  padding: 2.4rem 2.6rem; border-radius: 26px; color: #fff;
  background: var(--grad-band);
  box-shadow: 0 40px 80px -30px rgba(14,42,68,.55), inset 0 1px 0 rgba(255,255,255,.22);
}
.ir-work::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -180px; z-index: -1;
  border-radius: 50%; filter: blur(20px); pointer-events: none;
  background: radial-gradient(circle, rgba(103,164,66,.5), transparent 65%);
}
.ir-work .eyebrow { color: var(--brand-2); }
.ir-work h2 { color: #fff; margin: .2rem 0 .6rem; }
.ir-work p { color: var(--on-dark-2); margin: 0 0 1.4rem; max-width: 560px; }
.ir-work-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.ir-work-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ir-work-points li {
  display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .95rem; color: #fff;
}
.ir-work-points svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; }
@media (max-width: 860px) {
  .ir-work { grid-template-columns: 1fr; padding: 1.8rem 1.5rem; gap: 1.6rem; }
}
.site-footer h4.footer-sub { margin-top: 1.6rem; }

/* ---- ZRA page: the real receipt ---- */
.zra-receipt-wrap { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.zra-receipt { margin: 0; position: sticky; top: calc(var(--header-h, 76px) + 1.5rem); }
.zra-receipt img {
  display: block; width: 100%; height: auto; background: #fff; padding: 14px 12px 18px;
  border: 1px solid var(--line); border-radius: 6px 6px 2px 2px;
  box-shadow: 0 30px 60px -30px rgba(14,42,68,.45), 0 2px 6px rgba(14,42,68,.08);
  transform: rotate(-1.2deg);
}
.zra-receipt figcaption { margin-top: 1rem; font-size: .82rem; color: var(--muted); text-align: center; }
.zra-points { list-style: none; counter-reset: zra; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.zra-points li { counter-increment: zra; display: grid; grid-template-columns: 34px 1fr; column-gap: .9rem; padding: .95rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.zra-points li::before {
  content: counter(zra); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-lime); color: #0e2109; font-weight: 800; font-size: .85rem;
}
.zra-points strong { font-family: var(--font-display); color: var(--ink); }
.zra-points span { color: var(--muted); font-size: .93rem; }
@media (max-width: 860px) {
  .zra-receipt-wrap { grid-template-columns: 1fr; }
  .zra-receipt { position: static; max-width: 300px; margin: 0 auto; }
}

/* ---- Google rating badge ---- */
.g-rating {
  display: inline-flex; align-items: center; gap: .7rem; padding: .55rem 1rem .55rem .6rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out), box-shadow .25s ease;
}
.g-rating:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.g-rating-score { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1; padding: .35rem .55rem; border-radius: 10px; background: #fef3c7; color: #92400e; }
.g-rating-body { display: grid; gap: .1rem; line-height: 1.15; }
.g-stars {
  font-size: 1rem; letter-spacing: 2px; width: max-content;
  background: linear-gradient(90deg, #f59e0b var(--pct), #d1d5db var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g-rating-text { font-size: .82rem; font-weight: 600; color: var(--muted); }
.g-rating--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.g-rating--dark:hover { color: #fff; background: rgba(255,255,255,.13); }
.g-rating--dark .g-rating-score { background: rgba(245,158,11,.18); color: #fcd34d; }
.g-rating--dark .g-stars { background: linear-gradient(90deg, #fbbf24 var(--pct), rgba(255,255,255,.25) var(--pct)); -webkit-background-clip: text; background-clip: text; }
.g-rating--dark .g-rating-text { color: var(--on-dark-2); }
.hero .g-rating { margin-top: 1.8rem; animation: riseIn .9s var(--ease-out) .45s both; }
.site-footer a.g-rating { display: inline-flex; margin-top: 1.2rem; }
.site-footer .g-rating-score { display: inline-block; }
.site-footer .g-rating-body { display: grid; }
.footer-profiles { margin-top: 1rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; align-items: center; }
.footer-profiles a { color: var(--on-dark-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-profiles a:hover { color: #fff; }
.contact-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin: 1.6rem 0 0; }
.contact-rating > span { color: var(--muted); font-size: .9rem; }

/* ---- Brand scrollbar ----
   Chromium ignores the ::-webkit-scrollbar rules once scrollbar-color is set, so the
   standard properties are only given to browsers without the webkit pseudo-elements (Firefox). */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #eef3f8; }
::-webkit-scrollbar-thumb {
  border-radius: 999px; border: 3px solid #eef3f8;
  background: linear-gradient(180deg, var(--brand-navy) 0%, #2f7a8a 55%, var(--brand) 100%);
}
::-webkit-scrollbar-thumb:hover {
  border-width: 2px;
  background: linear-gradient(180deg, #1b4766 0%, #256a78 55%, var(--brand-600) 100%);
}
::-webkit-scrollbar-thumb:horizontal { background: linear-gradient(90deg, var(--brand-navy) 0%, #2f7a8a 55%, var(--brand) 100%); }
::-webkit-scrollbar-thumb:active { background: var(--brand-navy); }
::-webkit-scrollbar-corner { background: #eef3f8; }
/* thinner bar inside the comparison tables, which scroll sideways on phones */
.usb-table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.usb-table-wrap::-webkit-scrollbar-track { background: transparent; }
.usb-table-wrap::-webkit-scrollbar-thumb { border-width: 2px; border-color: #fff; }
::selection { background: rgba(103,164,66,.28); color: inherit; }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--brand-navy) #eef3f8; }
  .usb-table-wrap { scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
}

/* A product page names itself inside its heading (the pill is part of the h1), so the search
   phrase is in the page's main heading while the big line stays the message. */
.hero h1 .hero-pill {
  display: flex; width: max-content; max-width: 100%; animation: none;
  font: 400 .85rem/1.5 var(--font-body); letter-spacing: normal; text-shadow: none; text-wrap: balance;
}

/* Support Desk product page: five screens as 3 across, then 2 wide */
.hd-screens { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hd-screens figure { grid-column: span 2; }
.hd-screens figure:nth-child(n+4) { grid-column: span 3; }
.hd-screens figcaption strong { color: var(--ink); }
@media (max-width: 720px) {
  .hd-screens { grid-template-columns: 1fr; }
  .hd-screens figure, .hd-screens figure:nth-child(n+4) { grid-column: auto; }
}
