/* ==========================================================================
   Swift Biz Solutions — Digit® ecosystem site
   Theme derived from SwiftBiz Logo.png:
     red #D80000 · grey #9B9B9B · black #000 · white field
   Light surfaces (product photography is shot on white), with dark
   contrast bands for the Digit flagship, the CTA and the footer.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* brand — sampled from the logo */
  --red:        #D80000;
  --red-bright: #FF2D16;   /* Digit wordmark red */
  --red-deep:   #A30000;
  --grey:       #9B9B9B;
  --black:      #000000;

  /* surfaces */
  --surface:    #FFFFFF;
  --surface-2:  #F6F6F7;
  --surface-3:  #EEEEF0;
  --dark:       #101013;
  --dark-2:     #191920;

  /* ink */
  --ink:        #101013;
  --ink-2:      #3A3A42;
  --muted:      #6E6E78;
  --muted-dim:  #94949E;
  --on-dark:    #FFFFFF;
  --on-dark-mut:#B2B2BC;

  --line:       #E4E4E8;
  --line-2:     rgba(216,0,0,0.28);
  --line-dark:  rgba(255,255,255,0.12);
  --red-glow:   rgba(216,0,0,0.28);
  --shadow:     0 1px 2px rgba(16,16,19,.04), 0 8px 24px -12px rgba(16,16,19,.14);
  --shadow-lg:  0 24px 60px -28px rgba(16,16,19,.38);

  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ambient page background — soft red / grey wash from the logo */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 85% -8%, rgba(216,0,0,0.07), transparent 62%),
    radial-gradient(50% 40% at 0% 6%, rgba(155,155,155,0.16), transparent 62%),
    var(--surface);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(16,16,19,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 80% at 50% 25%, black, transparent 82%);
  opacity: .6;
}

h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
a { color: var(--red); text-decoration: none; }
/* height:auto stops the width/height attributes (kept for CLS) from pinning a
   fixed pixel height and overriding aspect-ratio / intrinsic proportions. */
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: clamp(70px, 10vw, 130px); position: relative; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }

.section-head { max-width: 62ch; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); }
.section-head h2 .g { color: var(--red); }
.section-head p { color: var(--muted); font-size: clamp(16px, 2vw, 19px); margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px -8px var(--red-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--red-glow); background: var(--red-bright); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ---------- Card ("glass" kept as the shared class name) ---------- */
.glass {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .3s, box-shadow .3s;
}
.glass:hover { border-color: var(--line-2); box-shadow: 0 2px 4px rgba(16,16,19,.04), 0 18px 40px -22px rgba(216,0,0,.28); }

/* on the dark bands */
.on-dark .glass,
.glass.dark { background: rgba(255,255,255,0.04); border-color: var(--line-dark); box-shadow: none; }
.on-dark .glass:hover,
.glass.dark:hover { border-color: var(--line-2); box-shadow: none; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, backdrop-filter .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s; }
.nav.scrolled { background: rgba(255,255,255,0.86); backdrop-filter: blur(16px); border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(16,16,19,.5); }
.nav.scrolled .wrap { height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-logo { width: 40px; height: 40px; flex: none; object-fit: contain; }
.brand-txt { font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.05; letter-spacing: -.01em; }
.brand-txt small { display: block; font-family: var(--body); font-weight: 600; font-size: 10.5px; letter-spacing: .18em; color: var(--red); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 16px; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }

/* ---------- Hero ---------- */
/* trimmed bottom padding so the device + caption clear the fold on 720p laptops */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 84px; padding-bottom: 48px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow.g1 { width: 520px; height: 520px; background: rgba(216,0,0,0.14); top: -120px; right: -80px; }
.hero-glow.g2 { width: 460px; height: 460px; background: rgba(155,155,155,0.30); bottom: -160px; left: -120px; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--red-deep); background: rgba(216,0,0,0.07); border: 1px solid var(--line-2);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(216,0,0,.16); }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; margin-bottom: 22px; }
.hero h1 .g { background: linear-gradient(120deg, var(--red), var(--red-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 52ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-madein { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted-dim); font-weight: 500; }
.hero-madein .flag { width: 20px; height: 14px; border-radius: 2px; border: 1px solid var(--line); background: linear-gradient(90deg,#01411C 33%,#fff 33% 40%,#01411C 40%); }

/* ---------- Hero stage: DigitOS device mock + the Swift Biz lockup ---------- */
.device-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone-glow { position: absolute; top: 6%; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(216,0,0,0.13); filter: blur(72px); z-index: 0; }

.phone {
  position: relative; z-index: 2; width: 232px; height: 462px; border-radius: 40px;
  background: linear-gradient(160deg, #2c2c35, #101013);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 46px 92px -32px rgba(16,16,19,.52), inset 0 1px 0 rgba(255,255,255,0.10);
  padding: 11px; animation: float 6s ease-in-out infinite;
}
.phone::after { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.16); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: radial-gradient(125% 90% at 50% 0%, #3d0c0c, #0b0b0e);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.phone-screen .ring {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(216,0,0,0.38), transparent 70%);
  border: 2px solid var(--red-bright); box-shadow: 0 0 34px rgba(216,0,0,.5);
}
.phone-screen .ring b { font-family: var(--head); font-weight: 800; font-size: 34px; color: var(--red-bright); }
.phone-os { font-family: var(--head); font-weight: 700; color: #fff; font-size: 17px; letter-spacing: .02em; }
.phone-screen small { color: var(--on-dark-mut); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }

/* caption card under the device: who makes it, and the four fields we work across */
.hero-brand {
  position: relative; z-index: 2; width: min(100%, 400px); text-align: center;
  background: rgba(255,255,255,0.76); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; overflow: hidden;
  box-shadow: 0 24px 56px -32px rgba(16,16,19,.30);
}
.hb-mark { display: flex; align-items: center; justify-content: center; gap: 11px; text-align: left; }
.hb-mark img { width: 40px; height: 40px; flex: none; object-fit: contain; }
.hb-mark span { font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.15; }
.hb-mark small { display: block; font-family: var(--body); font-weight: 600; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red); }

.hb-fields { list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 7px; padding: 0; margin: 16px 0 0; }
.hb-fields li { font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface-2); overflow: hidden; padding-block: 16px; }
.ticker-track { display: flex; gap: 60px; white-space: nowrap; width: max-content; animation: scroll-x 22s linear infinite; }
.ticker span { font-family: var(--head); font-weight: 700; font-size: clamp(18px,2.4vw,26px); color: rgba(16,16,19,0.14); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 60px; }
.ticker span::after { content:"·"; color: var(--red); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stat { padding: 30px 20px; text-align: center; border-radius: var(--radius); }
.stat .n { font-family: var(--head); font-weight: 800; font-size: clamp(30px, 4vw, 46px); color: var(--ink); line-height: 1; }
.stat .n .g { color: var(--red); }
.stat .l { margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .02em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-copy p { color: var(--muted); font-size: 17px; }
.about-copy .lead { color: var(--ink); font-size: clamp(19px,2.4vw,24px); font-family: var(--head); font-weight: 600; line-height: 1.35; margin-bottom: 22px; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini { padding: 26px 22px; border-radius: 14px; }
.mini .k { font-family: var(--head); font-weight: 800; font-size: 30px; color: var(--red); }
.mini .v { color: var(--muted); font-size: 14px; margin-top: 4px; }
.on-dark .mini .v { color: var(--on-dark-mut); }

/* ---------- Field cards ---------- */
.fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.field-card { padding: 32px 26px; border-radius: var(--radius); transition: transform .25s, border-color .3s, box-shadow .3s; }
.field-card:hover { transform: translateY(-6px); }
.field-icn { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(216,0,0,0.07); border: 1px solid var(--line-2); color: var(--red); }
.field-icn svg { width: 26px; height: 26px; }
.field-card h3 { font-size: 20px; }
.field-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.field-card li { color: var(--muted); font-size: 14.5px; padding: 6px 0 6px 20px; position: relative; }
.field-card li::before { content:""; position:absolute; left:0; top:13px; width:7px; height:7px; border-radius:50%; background:var(--red); }

/* ---------- Dark band helper ---------- */
.on-dark { background: var(--dark); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--on-dark); }
.on-dark p { color: var(--on-dark-mut); }
.on-dark .section-head p { color: var(--on-dark-mut); }
.on-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 88% 0%, rgba(216,0,0,0.20), transparent 60%),
    radial-gradient(45% 50% at 0% 100%, rgba(155,155,155,0.12), transparent 60%);
}
.on-dark .wrap { position: relative; z-index: 2; }

/* ---------- Flagship Digit (dark band) ---------- */
.flagship { overflow: hidden; }
.flagship-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 50px; align-items: center; }
.digit-wordmark { width: min(100%, 340px); margin: 4px 0 6px; filter: drop-shadow(0 8px 30px rgba(216,0,0,.35)); }
.flagship-lede { color: var(--on-dark-mut); font-size: 18px; margin-top: 18px; }
.flagship-lede strong { color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.chip { font-size: 13px; font-weight: 500; color: var(--on-dark); padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); }
.chip.on { color: #fff; border-color: transparent; background: var(--red); }
.flagship .mini .k { color: #fff; }

/* ---------- Facility ---------- */
.facility { overflow: hidden; position: relative; background: var(--surface-2); }
.facility-bg { position: absolute; inset: 0; z-index: 0;
  background: repeating-linear-gradient(115deg, rgba(216,0,0,0.045) 0 2px, transparent 2px 26px); }
.facility .wrap { position: relative; z-index: 2; }
.facility-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.facility-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.facility-year { font-family:var(--head); font-weight:800; font-size:clamp(40px,7vw,72px); line-height:1;
  background:linear-gradient(120deg,var(--ink),var(--red)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.facility-card { border-radius: 20px; padding: 36px; text-align: center; }
.facility-card > p { color: var(--muted); margin: 14px 0 0; }
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.lineup figure { margin: 0; }
.lineup figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: contain;
  background: var(--surface); border-radius: 12px; border: 1px solid var(--line);
  mix-blend-mode: multiply; transition: transform .3s;
}
.lineup figure:hover img { transform: scale(1.06); }
.lineup figcaption { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.lineup-note { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

/* ---------- Solutions (tabbed) ---------- */
.sol { position: relative; }

/* tab rail */
.sol-rail {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 8px; margin-bottom: 28px;
}
.sol-tab {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 14px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 16px 18px; border-radius: 12px; font-family: var(--body);
  color: var(--muted); transition: color .25s;
}
.sol-tab .stn { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .08em;
  color: var(--muted-dim); transition: color .25s; }
.sol-tab .stt { font-family: var(--head); font-weight: 700; font-size: 16.5px; line-height: 1.2; color: var(--ink-2); transition: color .25s; }
.sol-tab .stt small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px;
  letter-spacing: .01em; color: var(--muted-dim); margin-top: 3px; transition: color .25s; }
.sol-tab:hover .stt { color: var(--ink); }
.sol-tab.is-active .stn { color: rgba(255,255,255,.55); }
.sol-tab.is-active .stt { color: #fff; }
.sol-tab.is-active .stt small { color: rgba(255,255,255,.72); }

/* the sliding pill behind the active tab */
.sol-ind {
  position: absolute; z-index: 1; top: 8px; left: 0; height: calc(100% - 16px);
  border-radius: 12px; background: var(--dark);
  box-shadow: 0 12px 30px -14px rgba(16,16,19,.55);
  transition: transform .42s cubic-bezier(.4,.9,.2,1), width .42s cubic-bezier(.4,.9,.2,1);
  will-change: transform, width;
}
.sol-ind::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 140% at 100% 0%, rgba(216,0,0,.55), transparent 62%);
}

/* panels */
.sol-panel[hidden] { display: none; }
.sol-panel > * { margin-bottom: 20px; }
.sol-panel > *:last-child { margin-bottom: 0; }

/* every direct child rises in, staggered by --i */
.sol-panel.is-animating > * { opacity: 0; animation: sp-rise .55s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes sp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* shared panel pieces */
.sp-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-dim); margin-bottom: 16px; }

.sp-intro { max-width: 78ch; }
.sp-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); background: rgba(216,0,0,.07);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; }
.sp-intro h3 { font-size: clamp(24px, 3.2vw, 34px); margin: 16px 0 12px; }
.sp-intro > p { color: var(--muted); font-size: 16px; margin: 0; }

.sp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp-family { background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 28px; box-shadow: var(--shadow); transition: border-color .3s, box-shadow .3s; }
.sp-family:hover { border-color: var(--line-2); box-shadow: 0 2px 4px rgba(16,16,19,.04), 0 22px 46px -26px rgba(216,0,0,.3); }
.spf-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.spf-head h4 { font-size: 22px; margin: 9px 0 10px; }
.spf-head p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }
.spf-list { list-style: none; padding: 0; margin: 0; }
.spf-list li { padding: 14px 0 14px 22px; border-top: 1px solid var(--line); position: relative; }
.spf-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--red); transition: transform .25s; }
.spf-list li:hover::before { transform: scale(1.5); }
.spf-list b { display: block; font-family: var(--head); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.spf-list span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.spf-note { font-size: 13px; color: var(--muted-dim); margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }

/* how we engage */
.sp-steps { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; }
.sps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sps { position: relative; padding-top: 18px; border-top: 2px solid var(--line); transition: border-color .3s; }
.sps:hover { border-top-color: var(--red); }
.sps-n { font-family: var(--head); font-weight: 800; font-size: 12px; letter-spacing: .1em; color: var(--red); }
.sps b { display: block; font-family: var(--head); font-size: 16px; margin: 8px 0 6px; }
.sps p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* feature cards */
.sp-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sp-feats.three { grid-template-columns: repeat(3, 1fr); }
.spft { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 22px; box-shadow: var(--shadow);
  transition: transform .28s, border-color .3s, box-shadow .3s; }
.spft::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.spft:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 2px 4px rgba(16,16,19,.04), 0 20px 44px -24px rgba(216,0,0,.3); }
.spft:hover::before { transform: scaleX(1); }
.spft-n { font-family: var(--head); font-weight: 800; font-size: 12px; letter-spacing: .1em; color: var(--red); opacity: .55; }
.spft h4 { font-size: 16px; margin: 9px 0 8px; }
.spft p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* two-up boxes */
.sp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chips span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; transition: border-color .25s, color .25s, transform .25s; }
.sp-chips span:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.sp-chips.muted span { font-weight: 500; color: var(--muted); }
.sp-int { list-style: none; padding: 0; margin: 0; }
.sp-int li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.sp-int li:first-child { border-top: 0; padding-top: 0; }
.sp-int b { font-family: var(--head); font-size: 14.5px; min-width: 130px; }
.sp-int span { font-size: 13.5px; color: var(--muted); }

/* the problem */
.sp-problem { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; }
.spp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spp-grid b { display: block; font-family: var(--head); font-size: 17px; margin-bottom: 7px; color: var(--red); }
.spp-grid p { font-size: 14px; color: var(--muted); margin: 0; }

/* animated decision split */
.sp-split-bars { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); }
.ssb { display: grid; gap: 22px; }
.ssb-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.ssb-top b { font-family: var(--head); font-size: 16px; }
.ssb-top em { font-style: normal; font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--red); }
.ssb-track { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.ssb-fill { display: block; height: 100%; width: 0; border-radius: 999px;
  transition: width 1.1s cubic-bezier(.2,.8,.25,1); }
.ssb-fill.s1 { background: linear-gradient(90deg, var(--red), var(--red-bright)); }
.ssb-fill.s2 { background: linear-gradient(90deg, #6E6E78, var(--grey)); }
.ssb-fill.s3 { background: linear-gradient(90deg, var(--ink), #4a4a55); }
.ssb-row p { font-size: 13.5px; color: var(--muted); margin: 9px 0 0; }
.ssb-note { font-size: 13px; color: var(--muted-dim); margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }

/* pipeline */
.sp-flow { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; }
.spf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow-step { position: relative; background: var(--dark); border-radius: 14px; padding: 22px 20px; color: var(--on-dark); overflow: hidden; }
.flow-step::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(90% 120% at 100% 0%, rgba(216,0,0,.4), transparent 62%);
}
.flow-step:hover::before { opacity: 1; }
.flow-step .fs-n { position: relative; font-family: var(--head); font-weight: 800; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-bright); }
.flow-step b { position: relative; display: block; font-family: var(--head); font-size: 17px; margin: 7px 0 8px; color: #fff; }
.flow-step p { position: relative; font-size: 13px; color: var(--on-dark-mut); margin: 0; }
/* single transform: a separate `rotate` property composes before this and skews the offset */
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px; height: 9px; border-top: 2px solid var(--red); border-right: 2px solid var(--red);
  z-index: 3;
}

/* network effect callout */
.sp-network { display: grid; gap: 8px; background: var(--dark); color: var(--on-dark);
  border-radius: 18px; padding: 28px 30px; position: relative; overflow: hidden; }
/* tight glow: a wide blur bleeds across a short card and muddies the whole panel */
.sp-network::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(216,0,0,.55); filter: blur(56px); top: -120px; right: -50px; pointer-events: none; }
.sp-network b { position: relative; font-family: var(--head); font-size: 19px; color: #fff; }
.sp-network p { position: relative; font-size: 14.5px; color: var(--on-dark-mut); margin: 0; max-width: 90ch; }

/* design targets */
.sp-targets { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); }
.spt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spt-grid b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(26px, 3.2vw, 36px);
  color: var(--red); line-height: 1.05; font-variant-numeric: tabular-nums; }
.spt-grid span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.spt-note { font-size: 12.5px; color: var(--muted-dim); margin: 20px 0 0; }

/* panel CTA */
.sp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.sp-cta b { display: block; font-family: var(--head); font-size: 18px; margin-bottom: 4px; }
.sp-cta span { font-size: 14px; color: var(--muted); }

/* ---------- Device Financing Program ---------- */
.dfp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dfp { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 22px; box-shadow: var(--shadow); transition: transform .25s, border-color .3s; }
.dfp:hover { transform: translateY(-5px); border-color: var(--line-2); }
.dfp-n { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--red); }
.dfp h4 { font-size: 16.5px; margin: 10px 0 8px; }
.dfp p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Products: categories, not every model ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  color: var(--ink); transition: transform .25s, border-color .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-vis {
  position: relative; background: var(--surface-2); aspect-ratio: 1 / 1;
  overflow: hidden; border-bottom: 1px solid var(--line);
}
/* absolute + inset:0 so the box is definite — a percentage height would not
   resolve against an aspect-ratio-derived track and the image would overflow */
.cat-vis img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply;              /* drops the studio white into the tile */
  transition: transform .35s ease;
}
.cat-card:hover .cat-vis img { transform: scale(1.06); }
.cat-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.cat-card h3 { font-size: 19px; margin: 9px 0 8px; }
.cat-body > p { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.cat-models { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.cat-models span { font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.cat-more { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--red);
  display: inline-flex; align-items: center; gap: 7px; }
.cat-more .arrow { transition: transform .2s; }
.cat-card:hover .cat-more .arrow { transform: translateX(4px); }

.cat-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 24px; padding: clamp(24px, 3.5vw, 38px); border-radius: 20px;
  background: var(--dark); color: var(--on-dark);
}
.cat-cta h3 { color: #fff; font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 6px; }
.cat-cta p { color: var(--on-dark-mut); font-size: 15px; margin: 0; max-width: 60ch; }

/* ---------- Ecosystem hub ---------- */
.eco-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.eco { padding: 26px 22px; border-radius: 14px; transition: transform .25s, border-color .3s, box-shadow .3s; }
.eco:hover { transform: translateY(-5px); }
.eco .ei { width: 44px; height: 44px; border-radius: 10px; display:grid; place-items:center; margin-bottom: 16px;
  background: var(--surface-3); border:1px solid var(--line); color: var(--ink); transition: .25s; }
.eco:hover .ei { background: rgba(216,0,0,0.07); border-color: var(--line-2); color: var(--red); }
.eco .ei svg { width: 22px; height: 22px; }
.eco h4 { font-size: 16px; margin-bottom: 4px; }
.eco p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Global presence ---------- */
.presence-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -26px 0 38px; }
.presence-summary span { font-size: 13px; color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; }
.presence-summary b { font-family: var(--head); font-weight: 800; color: var(--red); }

/* align-items:start so the taller HQ card doesn't stretch its row-mates */
.presence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.presence {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px;
  box-shadow: var(--shadow); transition: transform .25s, border-color .3s, box-shadow .3s;
}
.presence:hover { transform: translateY(-5px); border-color: var(--line-2);
  box-shadow: 0 2px 4px rgba(16,16,19,.04), 0 18px 40px -22px rgba(216,0,0,.28); }
.pr-region { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dim); }
.presence h4 { font-size: 18px; margin: 7px 0 6px; }
.presence p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* the HQ reads as the anchor of the footprint */
.presence.hq { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.presence.hq:hover { border-color: var(--red); }
.presence.hq .pr-region { color: var(--red-bright); }
.presence.hq h4 { color: #fff; }
.presence.hq p { color: var(--on-dark-mut); }
.presence.hq h4 em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; }
.pr-ops { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
/* sized so all four operators sit on one line and the HQ card stays compact */
.pr-ops span { font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); border-radius: 999px; padding: 4px 9px; }

/* ---------- Partners marquee ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: scroll-x 26s linear infinite; }
.logo-chip { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--muted-dim);
  padding: 16px 34px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  white-space: nowrap; transition: color .2s, border-color .2s; }
.logo-chip:hover { color: var(--red); border-color: var(--line-2); }

/* ---------- R&D ---------- */
.rd-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.rd { padding: 26px 22px; border-radius: 14px; }
.rd .ri { color: var(--red); margin-bottom: 14px; } .rd .ri svg { width: 24px; height: 24px; }
.rd h4 { font-size: 16px; margin-bottom: 6px; }
.rd p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- CTA / Contact (dark card) ---------- */
.cta { position: relative; }
.cta-card {
  border-radius: 26px; padding: clamp(30px,5vw,64px); position: relative; overflow: hidden;
  background: var(--dark); border: 1px solid var(--dark); color: var(--on-dark); box-shadow: var(--shadow-lg);
}
.cta-card:hover { border-color: var(--dark); box-shadow: var(--shadow-lg); }
.cta-card::after { content:""; position:absolute; width:460px; height:460px; border-radius:50%; background:rgba(216,0,0,0.28); filter: blur(90px); top:-190px; right:-140px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; position: relative; z-index: 2; align-items: start; }
.cta h2 { font-size: clamp(28px,4vw,44px); color: #fff; }
.cta h2 .g { color: var(--red-bright); }
.cta .sub { color: var(--on-dark-mut); font-size: 17px; }
.contact-list { list-style:none; padding:0; margin: 26px 0 0; }
.contact-list li { display:flex; gap:12px; align-items:center; color: var(--on-dark-mut); margin-bottom: 14px; font-size: 15px; }
.contact-list svg { width: 18px; height: 18px; color: var(--red-bright); flex: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: 13px; font-weight: 500; color: var(--on-dark-mut); }
.f input, .f select, .f textarea {
  font-family: var(--body); font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.f input::placeholder, .f textarea::placeholder { color: #7A7A85; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(216,0,0,0.22); }
.f select option { background: var(--dark-2); color: #fff; }
.f textarea { resize: vertical; min-height: 110px; }
/* honeypot — off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#form-status { font-size: 14px; margin-top: 10px; min-height: 20px; color: var(--on-dark-mut); }
#form-status.is-ok { color: #4ADE80; }
#form-status.is-error { color: var(--red-bright); }
#contact-submit.is-busy { opacity: .6; pointer-events: none; }
.form-note { font-size: 12.5px; color: #7A7A85; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding-block: 60px 30px; }
.footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer p { color: var(--on-dark-mut); font-size: 14.5px; max-width: 36ch; }
.footer h5 { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #7A7A85; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--on-dark-mut); font-size: 14.5px; }
.footer li a:hover { color: var(--red-bright); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; color: #7A7A85; font-size: 13px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-mut); transition: .2s; }
.socials a:hover { color: #fff; background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; }

/* keep the logo mark legible on the dark footer: the mark's inner disc is black */
.footer .brand-logo { background: #fff; border-radius: 50%; padding: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats .grid { grid-template-columns: repeat(3,1fr); }
  .fields { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .eco-wrap { grid-template-columns: 1fr 1fr; }
  .rd-grid { grid-template-columns: repeat(3,1fr); }
  .presence-grid { grid-template-columns: repeat(3,1fr); }
  .sp-feats, .sp-feats.three { grid-template-columns: 1fr 1fr; }
  .spf-grid { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2)::after { display: none; }
  .sps-grid { grid-template-columns: 1fr 1fr; }
  .spp-grid { grid-template-columns: 1fr; }
  .spt-grid { grid-template-columns: 1fr 1fr; }
  .dfp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .burger { display: block; }
  .nav.open { background: rgba(255,255,255,0.96); backdrop-filter: blur(16px); }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav.open .nav-links a { padding: 14px var(--gutter); width: 100%; }
  .hero .wrap { grid-template-columns: 1fr; }
  /* one column: keep the headline first and let the device follow it */
  .device-stage { margin-top: 44px; }
  .phone { width: 216px; height: 430px; border-radius: 38px; }
  .phone-screen { border-radius: 28px; }
  .about-grid, .flagship-inner, .facility-grid, .cta-grid { grid-template-columns: 1fr; }
  .sp-split, .sp-two { grid-template-columns: 1fr; }
  .sol-rail { grid-template-columns: 1fr; }
  .sol-ind { display: none; }
  .sol-tab.is-active { background: var(--dark); }
  .cat-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .fields, .cat-grid, .eco-wrap, .rd-grid, .presence-grid { grid-template-columns: 1fr 1fr; }
  .sp-feats, .sp-feats.three, .spf-grid, .sps-grid, .spt-grid, .dfp-grid { grid-template-columns: 1fr; }
  .flow-step::after { display: none !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facility-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .eco-wrap, .rd-grid, .presence-grid, .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
