/* =========================================================
   PCS Digital — white theme
   Brand tokens taken from pcsdigitaltech.com
   ========================================================= */

:root {
  /* Brand */
  --blue: #2875cc;          /* hsl(212 67% 48%) — live site primary */
  --blue-deep: #1e66b8;     /* hsl(212 72% 42%) — primary-dark, 5.8:1 on white */
  --blue-soft: #e9f2fc;
  --blue-tint: #f4f8fd;
  --orange: #f39a35;        /* live site secondary */
  --orange-ink: #c96a12;    /* orange for text on white (large sizes) */
  --orange-soft: #fff1e2;

  /* Neutrals */
  --bg: #ffffff;
  --ink: #121a26;           /* hsl(210 24% 9%) */
  --ink-2: #2e3a48;
  --muted: #56616e;         /* 6.3:1 on white */
  --faint: #6b7785;         /* 4.6:1 on white */
  --line: #e6ebf1;
  --line-2: #d9e1ea;
  --navy: #132033;
  --navy-2: #1a2a40;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(18, 26, 38, 0.04), 0 2px 8px rgba(18, 26, 38, 0.04);
  --shadow: 0 1px 2px rgba(18, 26, 38, 0.04), 0 12px 32px rgba(18, 26, 38, 0.07);
  --shadow-lg: 0 2px 4px rgba(18, 26, 38, 0.04), 0 24px 60px rgba(30, 102, 184, 0.14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
address { font-style: normal; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--blue-deep); color: #fff; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 16px; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h-display { font-size: clamp(42px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; }
.h-section { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; }
.accent { color: var(--orange-ink); font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.08em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 18px; }
.label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.label--center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--blue-deep); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 20px rgba(30, 102, 184, 0.25); }
.btn--primary:hover { background: #1a5ca7; box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 12px 28px rgba(30, 102, 184, 0.32); }
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: 0 8px 20px rgba(243, 154, 53, 0.3); }
.btn--orange:hover { background: #f5a650; }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #c3cfdc; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1f2b3b; }
.btn--on-blue { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.35); color: #fff; }
.btn--on-blue:hover { background: rgba(255,255,255,0.18); }
.btn--play { padding-left: 10px; }
.btn__play-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-soft); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--blue-deep); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Progress + header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue-deep), var(--blue) 70%, var(--orange)); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(18, 26, 38, 0.05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__word { display: inline-flex; align-items: baseline; gap: 4px; }
.brand__pcs { font-weight: 800; font-size: 28px; letter-spacing: -0.06em; color: var(--blue-deep); }
.brand__digital { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--orange); }
.brand__tag { font-size: 10.5px; font-weight: 600; color: var(--faint); margin-top: 4px; letter-spacing: 0.01em; }
.brand--light .brand__pcs { color: #fff; }

.nav { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(244, 248, 253, 0.9); border: 1px solid var(--line); }
.nav a { padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.nav a:hover { color: var(--ink); background: #fff; }
.nav a.is-active { color: var(--blue-deep); background: #fff; box-shadow: var(--shadow-sm); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.is-open { display: block; }
.mobile-nav__inner { display: flex; flex-direction: column; padding-block: 8px 20px; }
.mobile-nav a:not(.btn) { padding: 14px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; }
@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(48px, 7vw, 88px); }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 85% 20%, rgba(40, 117, 204, 0.10), transparent 70%),
    radial-gradient(520px 380px at 70% 85%, rgba(243, 154, 53, 0.10), transparent 70%),
    radial-gradient(circle, #dfe6ef 1px, transparent 1.2px) 0 0 / 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(32px, 5vw, 56px); }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; } }
.hero__copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.hero__copy .lead { max-width: 540px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 4px 0 0; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.trust svg { color: var(--blue-deep); }

.hero__visual { position: relative; min-width: 0; }
.scene { position: relative; width: 100%; }
.scene canvas { width: 100%; height: 100%; touch-action: pan-y; }
.scene__fallback { display: none; position: absolute; inset: 0; }
.no-webgl .scene canvas { display: none; }
.no-webgl .scene__fallback { display: block; }
.scene.is-failed canvas { display: none; }
.scene.is-failed .scene__fallback { display: block; }
.scene.is-failed .globe-tag { display: none; }
.scene--blocks { aspect-ratio: 1 / 0.92; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); }
.scene--blocks .scene__fallback { background: repeating-linear-gradient(60deg, transparent 0 22px, rgba(40,117,204,0.08) 22px 23px), repeating-linear-gradient(-60deg, transparent 0 22px, rgba(40,117,204,0.08) 22px 23px); }
@media (max-width: 960px) { .scene--blocks { aspect-ratio: 1 / 0.8; max-width: 620px; margin: 0 auto; } }

.chip { position: absolute; z-index: 2; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.chip--growth { top: 8%; left: 2%; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; animation: float-y 6s ease-in-out infinite alternate; }
.chip--sat { bottom: 10%; right: 2%; padding: 12px 16px 12px 12px; display: flex; align-items: center; gap: 12px; animation: float-y 7s ease-in-out infinite alternate-reverse; }
.chip__live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #0f7a55; margin-bottom: 4px; }
.chip__live-dot { width: 7px; height: 7px; border-radius: 50%; background: #1fb57f; animation: pulse-green 2s ease-in-out infinite; }
.chip__value { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.chip__label { display: block; font-size: 12px; color: var(--faint); font-weight: 600; }
.chip__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-ink); display: inline-flex; align-items: center; justify-content: center; }
.chip__title { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
@keyframes float-y { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes pulse-green { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 181, 127, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(31, 181, 127, 0); } }
.scene-hint { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.scene-hint--center { margin-top: 12px; }
@media (hover: none) { .hero .scene-hint { display: none; } }
@media (max-width: 520px) { .chip--growth { padding: 10px 12px; } .chip__value { font-size: 24px; } .chip--sat { right: 0; } }

/* Stats */
.stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: clamp(20px, 3vw, 30px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.stat__num { font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--orange); }
.stat__label { font-size: 15px; font-weight: 700; margin-top: 6px; }
.stat__sub { font-size: 13px; color: var(--faint); margin-top: 2px; }

/* ---------- Marquee ---------- */
.marquee-section { padding: 30px 0; border-block: 1px solid var(--line); background: var(--blue-tint); }
.marquee-section .label { margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: scroll-x 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 16px; padding: 0 30px; white-space: nowrap; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink-2); }
.marquee__item::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); transform: rotate(45deg) skew(-8deg, -8deg); }
.marquee__item:nth-child(3n)::before { background: var(--orange); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--blue-tint); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head__title { max-width: 720px; }
.section-head__body { max-width: 400px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-head--center { display: block; text-align: center; max-width: 760px; margin: 0 auto 56px; }

.about-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; margin-bottom: 56px; }
@media (max-width: 900px) { .about-head { grid-template-columns: 1fr; } }
.about-head__body { display: flex; flex-direction: column; gap: 16px; color: var(--muted); line-height: 1.7; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }

/* Cards + tilt */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(40, 117, 204, 0.09), transparent 60%);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: #cfdbea; --ty: -4px; }
.card:hover::before { opacity: 1; }
.card.is-tilting { transition: transform 0.08s linear, box-shadow 0.35s, border-color 0.35s; }

.pillar { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.pillar h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.pillar p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.icon-box { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; color: var(--blue-deep); background: linear-gradient(145deg, #fff, var(--blue-soft)); border: 1px solid #d6e5f6; box-shadow: 0 1px 0 #fff inset, 0 6px 14px rgba(30, 102, 184, 0.12); transform: translateZ(30px); }
.pillar:nth-child(2n) .icon-box { color: var(--orange-ink); background: linear-gradient(145deg, #fff, var(--orange-soft)); border-color: #f8dcbc; box-shadow: 0 1px 0 #fff inset, 0 6px 14px rgba(243, 154, 53, 0.16); }
.icon-box--sm { width: 40px; height: 40px; border-radius: 11px; transform: none; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ---------- Scroll-driven stack ---------- */
.stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 72px); }
.stack__visual { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; height: calc(100vh - var(--header-h) - 48px); max-height: 680px; min-height: 420px; display: flex; flex-direction: column; }
.stack__sticky { flex: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.scene--stack { flex: 1; min-height: 0; background: radial-gradient(ellipse at 50% 40%, #fff 30%, #f2f6fb 100%); }
.scene--stack .scene__fallback { background: repeating-linear-gradient(0deg, transparent 0 56px, rgba(40,117,204,0.1) 56px 60px); }
.stack__legend { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stack__legend li { padding: 14px 8px; text-align: center; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); border-right: 1px solid var(--line); position: relative; transition: color 0.3s; }
.stack__legend li:last-child { border-right: 0; }
.stack__legend li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--blue-deep); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.stack__legend li.is-active { color: var(--blue-deep); }
.stack__legend li.is-active::after { transform: scaleX(1); }

.stack__steps { display: flex; flex-direction: column; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-block: 32px; opacity: 0.32; transition: opacity 0.5s var(--ease); }
.step.is-active { opacity: 1; }
.step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 40px; }
.step:last-child { min-height: 64vh; }
.step__num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); }
.step h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.step p { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 480px; }

@media (max-width: 900px) {
  .stack { grid-template-columns: 1fr; gap: 0; }
  .stack__visual { top: calc(var(--header-h) + 8px); height: 44vh; min-height: 280px; max-height: 420px; z-index: 5; padding-bottom: 12px; background: linear-gradient(var(--blue-tint) 85%, rgba(244, 248, 253, 0)); }
  .step { min-height: 62vh; opacity: 0.4; }
  .step:first-child { min-height: 56vh; padding-top: 24px; }
}

.callout { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.callout__title { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.callout__body { font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.6; max-width: 620px; }

/* ---------- SAP ---------- */
.sap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .sap { grid-template-columns: 1fr; } }
.sap__intro { display: flex; flex-direction: column; gap: 22px; }
.sap__intro .eyebrow { margin-bottom: 0; }
.diff-list { list-style: none; margin: 8px 0 0; padding: 0; }
.diff-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.diff-list li:last-child { border-bottom: 1px solid var(--line); }
.diff-list__k { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); font-family: var(--font-mono); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.diff-list strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.diff-list .d { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }

.sap__tabs { display: flex; flex-direction: column; gap: 12px; }
.tablist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 420px) { .tablist { grid-template-columns: 1fr; } }
.tab { text-align: left; min-height: 62px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: var(--shadow-sm); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.tab:hover { border-color: #b9c9dc; transform: translateY(-1px); }
.tab[aria-selected="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; box-shadow: 0 10px 24px rgba(30, 102, 184, 0.25); }
.tab__n { font-family: var(--font-mono); font-size: 12px; font-weight: 500; opacity: 0.75; }
.tabpanel-wrap { position: relative; }
.tabpanel { min-height: 300px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden; position: relative; }
.tabpanel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 40px; transform: rotate(45deg); background: linear-gradient(135deg, var(--blue-soft), transparent 70%); pointer-events: none; }
.tabpanel[hidden] { display: none; }
.tabpanel.is-entering { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tabpanel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tabpanel__num { font-family: var(--font-serif); font-style: italic; font-size: clamp(64px, 8vw, 104px); line-height: 0.85; color: var(--orange-ink); }
.tabpanel h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 10px; }
.tabpanel p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 480px; }
.tabpanel > * { position: relative; z-index: 1; }
.tabpanel .btn { align-self: flex-start; }

/* ---------- Support / globe ---------- */
.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .support { grid-template-columns: 1fr; } .support__visual { order: 2; } }
.scene--globe { aspect-ratio: 1; max-width: 560px; margin: 0 auto; cursor: grab; }
.scene--globe:active { cursor: grabbing; }
.scene--globe canvas { touch-action: pan-y; }
.scene--globe .scene__fallback { border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--blue-soft) 70%); border: 1px solid #d6e5f6; inset: 8%; }
.globe-tag { position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.3s; will-change: transform; }
.globe-tag.is-visible { opacity: 1; }
.globe-tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.no-webgl .globe-tag { display: none; }
.support__copy { display: flex; flex-direction: column; gap: 22px; }
.support__copy .eyebrow { margin-bottom: 0; }
.feature-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature-list strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.feature-list .d { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---------- Testimonials ---------- */
.quote { padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.quote__top { display: flex; justify-content: space-between; align-items: center; }
.quote__mark { font-family: var(--font-serif); font-style: italic; font-size: 72px; line-height: 0.6; height: 34px; color: var(--orange); }
.quote__tag { font-family: var(--font-mono); padding: 5px 10px; border-radius: 999px; background: var(--blue-soft); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-deep); }
.quote blockquote { font-size: 17px; line-height: 1.65; color: var(--ink-2); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--blue-deep); background: var(--blue-soft); }
.avatar--orange { color: var(--orange-ink); background: var(--orange-soft); }
.quote__name { display: block; font-size: 15px; font-weight: 800; }
.quote__co { display: block; font-size: 13px; color: var(--faint); }

/* ---------- CTA ---------- */
.section--cta { padding-top: 0; }
.cta { position: relative; overflow: hidden; contain: paint; border-radius: 32px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); background: var(--blue-deep); color: #fff; box-shadow: 0 30px 80px rgba(30, 102, 184, 0.3); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1.2px) 0 0 / 26px 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta__inner { position: relative; max-width: 620px; display: flex; flex-direction: column; gap: 22px; }
.cta h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; }
.cta p { font-size: 18px; line-height: 1.6; color: #dbe8f8; }
.cta .btn-row { margin-top: 6px; }
.cta__blocks { position: absolute; right: clamp(-120px, -4vw, 0px); top: 50%; width: 420px; height: 420px; margin-top: -210px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotateX(55deg) rotateZ(45deg); transform-style: preserve-3d; z-index: -1; }
.cta__blocks span { border-radius: 18px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 18px 0 rgba(10, 40, 80, 0.35); animation: block-bob 4s ease-in-out infinite; }
.cta__blocks span:nth-child(2) { animation-delay: -0.6s; } .cta__blocks span:nth-child(3) { animation-delay: -1.2s; }
.cta__blocks span:nth-child(4) { animation-delay: -1.8s; } .cta__blocks span:nth-child(5) { animation-delay: -2.4s; background: var(--orange); border-color: var(--orange); box-shadow: 0 18px 0 #b86a14; }
.cta__blocks span:nth-child(6) { animation-delay: -3s; } .cta__blocks span:nth-child(7) { animation-delay: -3.6s; }
.cta__blocks span:nth-child(8) { animation-delay: -0.3s; background: rgba(255,255,255,0.92); box-shadow: 0 18px 0 #9fbbe0; } .cta__blocks span:nth-child(9) { animation-delay: -0.9s; }
@keyframes block-bob { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(26px); } }
@media (max-width: 800px) { .cta__blocks { opacity: 0.35; width: 300px; height: 300px; margin-top: -150px; right: -110px; } }

/* ---------- Footer (navy, as on the live site) ---------- */
.site-footer { background: var(--navy); color: #a9b6c6; }
.site-footer__inner { padding-top: 64px; padding-bottom: 32px; }
.newsletter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.newsletter__title { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.newsletter__sub { font-size: 15px; margin-top: 8px; line-height: 1.6; max-width: 480px; }
.inline-form { flex: 0 1 460px; display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); }
.inline-form input { flex: 1 1 140px; min-width: 0; min-height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: 15px; }
.inline-form input::placeholder { color: #8796a8; }
.inline-form input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.inline-form .btn { min-height: 46px; border-radius: 10px; }
.inline-form.is-invalid { border-color: #f87171; }
.form-error { flex-basis: 100%; font-size: 13px; color: #fca5a5; padding: 2px 10px 4px; }
.form-success { display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.1); font-size: 15px; font-weight: 600; color: #a7f3d0; }
.form-success[hidden] { display: none; }

.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 48px 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .label { color: #8796a8; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: #d5dee8; width: fit-content; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-about { gap: 14px; }
.footer-about p { font-size: 14px; line-height: 1.65; }
.footer-about address { font-size: 13px; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.socials a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); color: #d5dee8; transition: border-color 0.2s, color 0.2s; }
.socials a:hover { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.legal { display: flex; gap: 20px; }
.legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Placeholder pages ---------- */
.ph-page { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.ph-header { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; width: 100%; }
.ph-main { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-block: clamp(24px, 5vw, 64px) clamp(40px, 6vw, 80px); width: 100%; }
.ph-footer { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; width: 100%; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.ph-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.ph-footer a { color: var(--ink-2); font-weight: 600; }
.ph-footer a:hover { color: var(--blue-deep); }
.ph-h1 { font-size: clamp(48px, 8.5vw, 112px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 800; }

.cs__scene { position: absolute; inset: 0; z-index: 1; opacity: 0.9; }
.cs__scene .scene { height: 100%; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 60%, transparent 18%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 70% 60% at 50% 60%, transparent 18%, #000 60%, transparent 100%); }
.cs__content { max-width: 720px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: clamp(28px, 5vw, 48px); border-radius: 32px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cs__content .pill { align-self: center; }
.cs__content .lead { max-width: 520px; }
.inline-form--light { width: 100%; max-width: 480px; flex: 0 0 auto; background: #fff; border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.inline-form--light input { color: var(--ink); }
.inline-form--light input::placeholder { color: var(--faint); }
.inline-form--light input:focus-visible { outline-color: var(--blue); }
.inline-form--light .form-error { color: #c53030; }
.form-success--light { border-color: #a7e3c8; background: #ecfaf3; color: #0f7a55; }
.upcoming { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; list-style: none; margin: 4px 0 0; padding: 0; text-align: left; }
.upcoming li { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: flex; gap: 12px; align-items: center; }
.upcoming strong { display: block; font-size: 14px; font-weight: 800; }
.upcoming .d { display: block; font-size: 12px; color: var(--faint); }

.us__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 56px; width: 100%; }
@media (max-width: 900px) { .us__grid { grid-template-columns: 1fr; } }
.us__copy { display: flex; flex-direction: column; gap: 24px; }
.us__copy .lead { max-width: 500px; }
.doc-list { display: flex; flex-direction: column; gap: 10px; max-width: 500px; list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.doc-list__name { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.doc-list__name svg { color: var(--blue-deep); }
.badge-updating { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--orange-soft); color: #9a4f0b; }
.us__help { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 14px; color: var(--faint); }
.us__visual { display: flex; justify-content: center; perspective: 1200px; }
.doc-stack { position: relative; width: 100%; max-width: 420px; transform: rotateX(18deg) rotateZ(-6deg); transform-style: preserve-3d; animation: doc-float 7s ease-in-out infinite alternate; }
@keyframes doc-float { from { transform: rotateX(18deg) rotateZ(-6deg) translateY(-6px); } to { transform: rotateX(14deg) rotateZ(-4deg) translateY(8px); } }
.doc-sheet { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.doc-sheet--back { position: absolute; inset: 0; transform: translateZ(-40px) translate(18px, 22px); background: var(--blue-soft); border-color: #d6e5f6; box-shadow: none; }
.doc-sheet--back2 { position: absolute; inset: 0; transform: translateZ(-80px) translate(36px, 44px); background: var(--orange-soft); border-color: #f8dcbc; box-shadow: none; }
.doc-sheet__front { position: relative; transform: translateZ(0); }
.doc__top { display: flex; align-items: center; justify-content: space-between; }
.doc__draft { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #9a4f0b; }
.doc__draft::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.doc__title { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.caret { display: inline-block; width: 2px; height: 22px; margin-left: 4px; vertical-align: -3px; background: var(--blue); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.doc__block { display: flex; flex-direction: column; gap: 9px; }
.doc__rule { height: 1px; background: var(--line); }
.ln { height: 9px; border-radius: 6px; background: linear-gradient(90deg, #eef2f7 0%, #dfe6ef 50%, #eef2f7 100%); background-size: 200% 100%; animation: shim 2.4s ease-in-out infinite; }
.ln--head { height: 11px; background: #cfd9e5; animation: none; }
.ln--accent { background: var(--orange); opacity: 0.7; animation: none; }
.ln-row { display: flex; gap: 8px; }
@keyframes shim { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.doc-chip { position: absolute; right: -14px; bottom: 30px; transform: translateZ(40px); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 700; }
.doc-chip .icon-box { width: 30px; height: 30px; border-radius: 9px; transform: none; box-shadow: none; }
@media (max-width: 520px) { .doc-chip { right: 4px; } .doc-sheet--back2 { display: none; } }

/* ---------- Motion ---------- */
.rise { animation: rise 0.9s var(--ease) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.24s; } .d4 { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card.reveal.is-visible { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, opacity 0.8s var(--ease); }
.js .card.reveal.is-visible.is-tilting { transition: transform 0.08s linear, box-shadow 0.35s, border-color 0.35s, opacity 0.8s var(--ease); }

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