/* PLG v8 "Electric" redesign layer.
   Loaded after style.css. Global: fonts, header, footer, mobile menu.
   Homepage: everything under .x-home (scoped so other pages keep their layouts). */

@font-face { font-family: 'Inter V'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --x-ink: #06070c;
  --x-night: #0b0d17;
  --x-panel: #11142a;
  --x-panel-2: #171b36;
  --x-line: rgba(255,255,255,.1);
  --x-line-strong: rgba(255,255,255,.18);
  --x-text: #f3f4fb;
  --x-dim: #a6abc4;
  --x-blue: #3b5bff;
  --x-blue-2: #6f8bff;
  --x-violet: #8b5cff;
  --x-lime: #2997ff;
  --x-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter V', 'Helvetica Neue', Arial, sans-serif;
  --x-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter V', 'Helvetica Neue', Arial, sans-serif;
  --x-apple: #0071e3;
  --x-link: #2997ff;
  --x-grad-text: linear-gradient(90deg, #2997ff 0%, #a27dff 50%, #ff6fb5 100%);
  --x-a1: rgba(59,91,255,.75); --x-a2: rgba(139,92,255,.55); --x-a3: rgba(41,151,255,.16); --x-a1-soft: rgba(59,91,255,.32);
  --x-wide: linear-gradient(130deg, #2140e6, #5b3df5 70%, #7c3aed);
  --x-btn-hover: #0077ed;
  --x-ease: cubic-bezier(.2,.75,.15,1);
  --font: var(--x-body);
}
body { font-family: var(--x-body); }
h1, h2, h3, .display-heading, .statement { font-family: var(--x-display); }


/* ---------- Header (global) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: transparent; border: 0; padding-top: 14px; pointer-events: none; }
.site-header .header-inner { pointer-events: auto; height: 68px; max-width: 1360px; margin-inline: auto; padding: 0 10px 0 26px; width: calc(100% - 2 * clamp(12px, 3vw, 40px));
  background: rgba(9, 11, 22, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--x-line-strong); border-radius: 100px; color: var(--x-text); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.site-header .brand img { width: auto; height: 38px; }
.site-header .desktop-nav a { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 450; }
.site-header .desktop-nav a:hover, .site-header .desktop-nav a[aria-current="page"] { color: #fff; }
.site-header .desktop-nav a::after { background: var(--x-lime); height: 2px; }
.site-header .theme-button { color: #fff; border-color: var(--x-line-strong); background: transparent; }
.site-header .header-cta { background: var(--x-apple); color: #fff; font-weight: 600; padding: 13px 22px; gap: 18px; transition: transform .25s var(--x-ease), box-shadow .25s; }
.site-header .header-cta:hover { background: var(--x-btn-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(41,151,255,.18); }
.reading-progress span { background: linear-gradient(90deg, var(--x-blue), var(--x-lime)); }
@media (max-width: 1100px) {
  .site-header .header-inner { height: 60px; padding-left: 18px; }
  .site-header .brand img { height: 32px; }
  .site-header .menu-lines, .site-header .menu-lines::before, .site-header .menu-lines::after { background: #fff; }
  .mobile-menu nav { top: 74px; left: 0; right: 0; margin-inline: clamp(12px, 3vw, 40px); border-radius: 24px; background: rgba(9,11,22,.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--x-line-strong); color: var(--x-text); }
  .mobile-menu nav a { border-color: var(--x-line); font-family: var(--x-display); }
  .mobile-menu nav p, .mobile-menu nav small { color: var(--x-dim); }
}
@media (max-width: 800px) { .mobile-menu nav { top: 68px; } }

/* ---------- Footer (global) ---------- */
.site-footer { background: var(--x-ink); color: var(--x-text); position: relative; overflow: hidden; padding-top: clamp(80px, 10vw, 150px); }
.site-footer::before { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(59,91,255,.35), transparent 70%); pointer-events: none; }
.site-footer > .container-xxl { position: relative; }
.site-footer .eyebrow { color: var(--x-lime); }
.site-footer .footer-invitation a { font-family: var(--x-display); font-weight: 600; letter-spacing: -.05em; color: #fff; }
.site-footer .footer-invitation em { font-style: normal; background: var(--x-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-footer .footer-bottom, .site-footer .footer-legal, .site-footer .footer-service-links { border-color: var(--x-line) !important; color: var(--x-dim); }
.site-footer a:hover { color: var(--x-lime); }
.site-footer .footer-bottom p { color: var(--x-dim); }

/* =====================================================================
   HOMEPAGE
   ===================================================================== */
body.is-home { background: var(--x-ink); color: var(--x-text); }
body.is-home .site-header { position: fixed; left: 0; right: 0; }
.x-home { --muted: var(--x-dim); background: var(--x-ink); color: var(--x-text); overflow-x: clip; font-family: var(--x-body); }
.x-home ::selection { background: var(--x-lime); color: #000; }
.x-home a { color: inherit; }
.x-home .container-xxl { max-width: 1440px; }
.x-section { position: relative; padding-block: clamp(90px, 11vw, 170px); }
.x-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--x-lime); margin: 0 0 22px; }
.x-eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.x-h2 { font-family: var(--x-display); font-weight: 700; font-size: clamp(40px, 6vw, 96px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 28px; text-wrap: balance; }
.x-home em { font-style: normal; background: var(--x-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-h2 em, .x-h1 em { font-weight: inherit; letter-spacing: inherit; }
.x-lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.6; color: var(--x-dim); max-width: 60ch; }
.x-grad { background: linear-gradient(100deg, #fff 10%, var(--x-blue-2) 55%, var(--x-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.x-btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 28px; border-radius: 100px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; border: 1px solid transparent; transition: transform .35s var(--x-ease), background .25s, box-shadow .35s, color .25s; will-change: transform; }
.x-btn i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.12); transition: transform .35s var(--x-ease); }
.x-btn:hover i { transform: rotate(45deg); }
.x-btn-primary { background: var(--x-apple); color: #fff !important; box-shadow: 0 10px 40px -10px rgba(41,151,255,.55); }
.x-btn-primary:hover { background: var(--x-btn-hover); box-shadow: 0 16px 60px -10px rgba(41,151,255,.7); }
.x-btn-ghost { border-color: var(--x-line-strong); color: #fff !important; background: rgba(255,255,255,.04); }
.x-btn-ghost i { background: rgba(255,255,255,.1); }
.x-btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Reveal (only hidden when JS is running and motion allowed) */
.x-js .x-home [data-x-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--x-ease), transform 1s var(--x-ease); transition-delay: var(--d, 0s); }
.x-js .x-home [data-x-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.x-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; isolation: isolate; overflow: hidden; }
.x-aurora { position: absolute; inset: -20%; z-index: -3; filter: blur(80px) saturate(1.3); opacity: .9;
  background:
    radial-gradient(40% 35% at 70% 35%, var(--x-a1), transparent 70%),
    radial-gradient(30% 30% at 88% 70%, var(--x-a2), transparent 70%),
    radial-gradient(25% 25% at 30% 85%, var(--x-a3), transparent 70%);
  animation: x-drift 18s ease-in-out infinite alternate; }
@keyframes x-drift { 0% { transform: translate3d(0,0,0) rotate(0); } 100% { transform: translate3d(-4%, 3%, 0) rotate(8deg); } }
.x-gridlines { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--x-line) 1px, transparent 1px), linear-gradient(90deg, var(--x-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%); opacity: .55; }
.x-spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 40%), rgba(255,255,255,.07), transparent 60%); }
.x-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 4vw, 70px); align-items: center; }
.x-kicker { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border: 1px solid var(--x-line-strong); border-radius: 100px; background: rgba(255,255,255,.04); font-size: 13px; color: var(--x-dim); margin: 0 0 30px; }
.x-kicker b { background: var(--x-lime); color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .06em; padding: 4px 10px; border-radius: 100px; }
.x-h1 { font-family: var(--x-display); font-weight: 700; font-size: clamp(50px, 7.2vw, 124px); line-height: .96; letter-spacing: -.05em; margin: 0 0 30px; }
.x-h1 .x-line { display: block; overflow: hidden; padding-bottom: .06em; }
.x-h1 .x-line > span { display: inline-block; animation: x-rise 1.1s var(--x-ease) both; animation-delay: calc(var(--i) * .09s + .1s); }
.x-h1 .x-loc { -webkit-text-stroke: 1.5px rgba(255,255,255,.85); color: transparent; }
@keyframes x-rise { from { transform: translateY(105%) rotate(4deg); } to { transform: none; } }
.x-hero-sub { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: var(--x-dim); max-width: 34em; margin: 0 0 38px; animation: x-fade 1s .55s both; }
.x-hero-sub strong { color: var(--x-text); font-weight: 600; }
.x-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; animation: x-fade 1s .7s both; }
.x-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 46px 0 0; animation: x-fade 1s .85s both; }
.x-proof li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--x-dim); }
.x-proof li::before { content: '✦'; color: var(--x-lime); font-size: 12px; }
@keyframes x-fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.x-stage { position: relative; height: min(640px, 72vh); perspective: 1600px; animation: x-fade 1.2s .4s both; }
.x-stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(14deg + var(--ty, 0) * 1deg)) rotateY(calc(-22deg + var(--tx, 0) * 1deg)) rotateZ(4deg); transition: transform .8s var(--x-ease); }
.x-shot { position: absolute; border-radius: 16px; overflow: hidden; background: #0d1020; border: 1px solid var(--x-line-strong); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04) inset; }
.x-shot .x-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(255,255,255,.06); font-size: 11px; color: var(--x-dim); }
.x-shot .x-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.x-shot .x-bar span { margin-left: 10px; }
.x-shot img { display: block; width: 100%; height: calc(100% - 30px); object-fit: cover; }
.x-shot-1 { width: 88%; height: 58%; left: 4%; top: 6%; transform: translateZ(40px); animation: x-float 9s ease-in-out infinite; }
.x-shot-2 { width: 56%; height: 46%; right: -6%; top: 44%; transform: translateZ(140px); animation: x-float 11s -3s ease-in-out infinite; }
.x-shot-3 { width: 48%; height: 40%; left: -4%; top: 56%; transform: translateZ(90px); animation: x-float 10s -6s ease-in-out infinite; }
@keyframes x-float { 50% { translate: 0 -14px; } }
.x-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(15,18,38,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--x-line-strong); box-shadow: 0 20px 40px -15px rgba(0,0,0,.7); animation: x-float 7s ease-in-out infinite; }
.x-chip b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--x-lime); color: #fff; font-size: 13px; }
.x-chip-a { top: 2%; right: 4%; }
.x-chip-b { bottom: 8%; right: 30%; animation-delay: -2s; }
.x-chip-c { top: 40%; left: -6%; animation-delay: -4s; }
.x-chip-c b { background: var(--x-blue); color: #fff; }
.x-scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; font-size: 11px; letter-spacing: .2em; color: var(--x-dim); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.x-scroll-cue::after { content: ''; width: 1px; height: 44px; background: linear-gradient(var(--x-lime), transparent); animation: x-cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes x-cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.x-marquee { border-block: 1px solid var(--x-line); background: var(--x-night); overflow: hidden; padding: 26px 0; transform: rotate(-1.2deg) scale(1.03); }
.x-marquee-track { display: flex; width: max-content; animation: x-marq 38s linear infinite; }
.x-marquee:hover .x-marquee-track { animation-play-state: paused; }
.x-marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.x-marquee li { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--x-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 54px); letter-spacing: -.04em; white-space: nowrap; }
.x-marquee li:nth-child(even) { -webkit-text-stroke: 1px rgba(255,255,255,.55); color: transparent; }
.x-marquee li::after { content: '✦'; color: var(--x-lime); font-size: .5em; -webkit-text-stroke: 0; }
@keyframes x-marq { to { transform: translateX(-50%); } }

/* ---------- Affordable ---------- */
.x-afford-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.x-afford-head .x-lead { margin: 0; }
.x-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.x-stat { position: relative; padding: 36px 34px 34px; border-radius: 28px; background: linear-gradient(160deg, var(--x-panel-2), var(--x-night)); border: 1px solid var(--x-line); overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; }
.x-stat::after { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(59,91,255,.45), transparent); }
.x-stat:nth-child(2)::after { background: radial-gradient(closest-side, rgba(139,92,255,.45), transparent); }
.x-stat:nth-child(3)::after { background: radial-gradient(closest-side, rgba(41,151,255,.28), transparent); }
.x-stat strong { position: relative; z-index: 1; display: block; font-family: var(--x-display); font-weight: 700; font-size: clamp(64px, 7vw, 116px); line-height: .9; letter-spacing: -.06em; }
.x-stat strong small { font-size: .3em; font-weight: 500; letter-spacing: 0; color: var(--x-dim); vertical-align: top; margin-right: 6px; }
.x-stat h3 { font-family: var(--x-display); font-size: 22px; font-weight: 600; margin: 40px 0 8px; letter-spacing: -.02em; }
.x-stat p { margin: 0; color: var(--x-dim); font-size: 15px; line-height: 1.55; }
.x-includes { margin-top: 18px; padding: clamp(30px, 4vw, 54px); border-radius: 28px; border: 1px solid var(--x-line); background: rgba(255,255,255,.02); display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.x-includes h3 { font-family: var(--x-display); font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 16px; font-weight: 650; }
.x-includes > div > p { color: var(--x-dim); margin: 0; }
.x-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.x-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--x-line); font-size: 15.5px; }
.x-checks li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(41,151,255,.14); color: var(--x-lime); font-size: 12px; font-weight: 700; }

/* ---------- Work (sticky stacked cards) ---------- */
.x-work-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
.x-work-head .x-lead { max-width: 30em; margin: 0; }
.x-cards { display: grid; gap: 0; }
.x-card { position: sticky; top: calc(110px + var(--n) * 22px); display: block; margin-bottom: 7vh; border-radius: 32px; overflow: hidden; border: 1px solid var(--x-line-strong); background: var(--x-panel); min-height: min(76vh, 720px); box-shadow: 0 -30px 80px -30px rgba(0,0,0,.9); transform-origin: top center; }
.x-card-media { position: absolute; inset: 0; }
.x-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--x-ease); }
.x-card:hover .x-card-media img { transform: scale(1.05); }
.x-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,12,0) 30%, rgba(6,7,12,.92) 100%), linear-gradient(90deg, rgba(6,7,12,.55), transparent 60%); }
.x-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(26px, 4vw, 56px); display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.x-card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.x-card-tags span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 100px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--x-line-strong); }
.x-card h3 { font-family: var(--x-display); font-size: clamp(44px, 6vw, 96px); font-weight: 700; letter-spacing: -.06em; line-height: .9; margin: 0 0 14px; }
.x-card p { margin: 0; color: #d7daea; font-size: clamp(16px, 1.3vw, 19px); max-width: 32em; }
.x-card-go { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--x-lime); color: #fff; font-size: 30px; transition: transform .5s var(--x-ease); }
.x-card:hover .x-card-go { transform: rotate(45deg) scale(1.08); }
.x-card-logo { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(26px, 4vw, 56px); max-height: 54px; width: auto; z-index: 2; }
.x-card--adloc .x-card-media img { object-position: left top; }
.x-work-foot { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- Services bento ---------- */
.x-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.x-tile { --gx: 50%; --gy: 50%; position: relative; grid-column: span 2; min-height: 280px; padding: 34px; border-radius: 26px; background: var(--x-night); border: 1px solid var(--x-line); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--x-ease), border-color .3s; }
.x-tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(111,139,255,.22), transparent 55%); opacity: 0; transition: opacity .4s; }
.x-tile:hover { transform: translateY(-6px); border-color: rgba(111,139,255,.5); }
.x-tile:hover::before { opacity: 1; }
.x-tile > * { position: relative; }
.x-tile-num { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--x-dim); display: flex; justify-content: space-between; }
.x-tile-num b { font-size: 22px; color: var(--x-text); transition: transform .4s var(--x-ease); }
.x-tile:hover .x-tile-num b { transform: rotate(45deg); color: var(--x-lime); }
.x-tile h3 { font-family: var(--x-display); font-size: clamp(26px, 2.3vw, 36px); line-height: 1; letter-spacing: -.045em; font-weight: 650; margin: 60px 0 12px; }
.x-tile p { margin: 0; color: var(--x-dim); font-size: 15px; line-height: 1.55; }
.x-tile--wide { grid-column: span 4; background: var(--x-wide); border: 0; color: #fff; }
.x-tile--wide p, .x-tile--wide .x-tile-num, .x-tile--wide .x-tile-num b { color: rgba(255,255,255,.82); }
.x-tile--wide h3 { font-size: clamp(36px, 3.8vw, 60px); max-width: 12em; }
.x-tile--lime { background: var(--x-lime); color: #fff; border: 0; }
.x-tile--lime { background: #f5f5f7; color: #1d1d1f; }
.x-tile--lime p, .x-tile--lime .x-tile-num, .x-tile--lime .x-tile-num b { color: #515154; }
.x-tile--lime::before { background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255,255,255,.5), transparent 55%); }

/* ---------- POS demo ---------- */
.x-pos { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.x-pos-copy p { color: var(--x-dim); font-size: 17px; line-height: 1.65; }
.x-pos-copy .x-btn { margin-top: 18px; }
.x-device { position: relative; border-radius: 30px; padding: 26px; background: linear-gradient(160deg, var(--x-panel-2), #0a0c18); border: 1px solid var(--x-line-strong); box-shadow: 0 60px 120px -40px rgba(59,91,255,.45); }
.x-device-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; color: var(--x-dim); margin-bottom: 20px; }
.x-device-top b { color: #fff; letter-spacing: .04em; font-size: 13px; }
.x-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 16px; background: rgba(0,0,0,.35); margin-bottom: 24px; }
.x-tabs button { border: 0; border-radius: 12px; padding: 13px 10px; background: transparent; color: var(--x-dim); font-weight: 600; font-size: 14px; transition: background .25s, color .25s; }
.x-tabs button.active { background: var(--x-lime); color: #fff; }
.x-panel h3 { font-family: var(--x-display); font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.04em; line-height: 1.05; margin: 10px 0 22px; }
.x-panel .x-eyebrow { margin-bottom: 0; font-size: 11px; }
.x-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.x-flow li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--x-line); animation: x-fade .6s both; }
.x-flow li:nth-child(2) { animation-delay: .08s; } .x-flow li:nth-child(3) { animation-delay: .16s; }
.x-flow li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(59,91,255,.2); color: var(--x-blue-2); font-weight: 700; font-size: 13px; }
.x-flow strong { display: block; font-size: 15.5px; }
.x-flow small { color: var(--x-dim); font-size: 13px; }
.x-flow b { color: var(--x-lime); }
.x-device-note { margin: 18px 0 0; font-size: 12px; color: var(--x-dim); }

/* ---------- Process ---------- */
.x-process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.x-process::before { content: ''; position: absolute; top: 31px; left: 0; right: 0; height: 2px; background: var(--x-line); }
.x-process::after { content: ''; position: absolute; top: 31px; left: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--x-apple), var(--x-lime)); box-shadow: 0 0 20px var(--x-lime); transition: width .2s linear; }
.x-step { position: relative; z-index: 1; }
.x-step-dot { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--x-ink); border: 2px solid var(--x-line-strong); font-family: var(--x-display); font-weight: 700; font-size: 20px; margin-bottom: 30px; transition: border-color .4s, background .4s, color .4s; }
.x-step.is-lit .x-step-dot { background: var(--x-lime); border-color: var(--x-lime); color: #fff; box-shadow: 0 0 0 8px rgba(41,151,255,.12); }
.x-step h3 { font-family: var(--x-display); font-size: clamp(24px, 2vw, 30px); letter-spacing: -.04em; margin: 0 0 12px; font-weight: 650; }
.x-step p { color: var(--x-dim); font-size: 15px; line-height: 1.6; margin: 0; max-width: 24em; }

/* ---------- Directors ---------- */
.x-people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.x-person { position: relative; display: grid; grid-template-columns: 1fr .9fr; align-items: end; min-height: 460px; border-radius: 30px; overflow: hidden; background: radial-gradient(120% 90% at 90% 100%, rgba(59,91,255,.55), transparent 60%), var(--x-night); border: 1px solid var(--x-line); }
.x-person:nth-child(2) { background: radial-gradient(120% 90% at 90% 100%, rgba(139,92,255,.55), transparent 60%), var(--x-night); }
.x-person > div { padding: 40px; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.x-person small { font-size: 11px; letter-spacing: .14em; color: var(--x-lime); font-weight: 600; }
.x-person h3 { font-family: var(--x-display); font-size: clamp(56px, 6vw, 96px); letter-spacing: -.07em; line-height: .85; margin: 0 0 10px; font-weight: 700; }
.x-person p { color: var(--x-dim); margin: 0; }
.x-person img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; object-position: bottom; transition: transform .8s var(--x-ease); filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.x-person:hover img { transform: scale(1.04) translateY(-6px); }
.x-people-note { color: var(--x-dim); margin: 28px 0 0; max-width: 60ch; }

/* ---------- Pricing ---------- */
.x-price-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.x-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x-price { position: relative; padding: 38px 34px; border-radius: 28px; border: 1px solid var(--x-line-strong); background: var(--x-night); display: flex; flex-direction: column; gap: 18px; min-height: 380px; transition: transform .5s var(--x-ease); }
.x-price:hover { transform: translateY(-8px); }
.x-price--hot { background: var(--x-wide); border: 0; box-shadow: 0 40px 90px -30px rgba(59,91,255,.7); }
.x-price-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 100px; background: rgba(255,255,255,.12); }
.x-price--hot .x-price-tag { background: var(--x-lime); color: #fff; }
.x-price strong { font-family: var(--x-display); font-size: clamp(54px, 5vw, 80px); letter-spacing: -.06em; line-height: .9; font-weight: 700; }
.x-price strong small { font-size: .26em; letter-spacing: 0; font-weight: 500; opacity: .8; display: block; margin-bottom: 6px; }
.x-price p { margin: 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.6; flex: 1; }
.x-price span.x-price-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* ---------- FAQ ---------- */
.x-faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 6vw, 100px); }
.x-faq details { border-bottom: 1px solid var(--x-line); }
.x-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 28px 0; font-family: var(--x-display); font-size: clamp(19px, 1.7vw, 25px); font-weight: 550; letter-spacing: -.025em; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--x-line-strong); font-style: normal; font-size: 20px; transition: transform .4s var(--x-ease), background .3s, color .3s; }
.x-faq details[open] summary i { transform: rotate(45deg); background: var(--x-lime); color: #fff; border-color: var(--x-lime); }
.x-faq details p { color: var(--x-dim); margin: 0 0 28px; max-width: 62ch; font-size: 16px; }

/* ---------- SEO content ---------- */
.x-depth { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.x-depth h3 { font-family: var(--x-display); font-size: 24px; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 600; }
.x-depth p { color: var(--x-dim); font-size: 15.5px; line-height: 1.75; }
.x-depth a { color: #fff; text-decoration: underline; text-decoration-color: var(--x-lime); text-underline-offset: 4px; }

/* ---------- Contact ---------- */
.x-contact { position: relative; overflow: hidden; }
.x-contact::before { content: ''; position: absolute; inset: 10% -10% auto auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(59,91,255,.35), transparent); pointer-events: none; }
.x-contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
.x-next { list-style: none; counter-reset: n; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.x-next li { counter-increment: n; display: flex; gap: 18px; align-items: center; color: var(--x-dim); }
.x-next li::before { content: '0' counter(n); display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--x-line-strong); color: var(--x-lime); font-size: 12px; font-weight: 700; }
.x-form-card { padding: clamp(28px, 4vw, 50px); border-radius: 32px; background: rgba(17,20,42,.75); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--x-line-strong); box-shadow: 0 50px 120px -40px rgba(0,0,0,.8); }
.x-home .contact-form { display: grid; gap: 18px; }
.x-home .contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; }
.x-home .contact-form .form-row > * { width: auto; padding: 0; margin: 0; }
.x-home .contact-form .form-label { display: grid; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--x-dim); }
.x-home .contact-form .form-control, .x-home .contact-form .form-select { background-color: rgba(255,255,255,.05); border: 1px solid var(--x-line-strong); border-radius: 14px; color: #fff; padding: 15px 18px; font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.x-home .contact-form .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d7ff3a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.x-home .contact-form .form-select option { color: #000; }
.x-home .contact-form .form-control::placeholder { color: rgba(255,255,255,.35); }
.x-home .contact-form .form-control:focus, .x-home .contact-form .form-select:focus { outline: 0; background-color: rgba(255,255,255,.08); border-color: var(--x-lime); box-shadow: 0 0 0 4px rgba(41,151,255,.15); }
.x-home .contact-form .submit-button { justify-self: start; border: 0; }
.x-home .form-success, .x-home .form-error { border-radius: 14px; padding: 16px 18px; }
.x-home .form-success { background: rgba(41,151,255,.12); color: var(--x-lime); }
.x-home .form-error { background: rgba(255,80,80,.12); color: #ff9c9c; }
.x-home .form-success b, .x-home .form-error b { display: block; }
.x-home .form-note { color: var(--x-dim); font-size: 13px; margin: 18px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .x-hero-inner { grid-template-columns: 1fr; }
  .x-stage { height: 440px; max-width: 720px; }
  .x-afford-head, .x-includes, .x-pos, .x-price-wrap, .x-faq-wrap, .x-contact-grid { grid-template-columns: 1fr; }
  .x-bento { grid-template-columns: repeat(2, 1fr); }
  .x-tile, .x-tile--wide { grid-column: span 1; }
  .x-tile--wide { grid-column: span 2; }
  .x-depth { grid-template-columns: 1fr; gap: 10px; }
  .x-people { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .x-hero { padding-top: 120px; min-height: auto; }
  .x-stage { height: 320px; margin-top: 10px; }
  .x-chip-c { display: none; }
  .x-stats, .x-prices, .x-checks { grid-template-columns: 1fr; }
  .x-stat { min-height: 240px; }
  .x-work-head { flex-direction: column; align-items: start; }
  .x-card { min-height: 520px; top: calc(90px + var(--n) * 14px); border-radius: 24px; }
  .x-card-body { flex-direction: column; align-items: start; }
  .x-card-go { width: 60px; height: 60px; font-size: 22px; }
  .x-bento { grid-template-columns: 1fr; }
  .x-tile, .x-tile--wide { grid-column: span 1; min-height: 230px; }
  .x-process { grid-template-columns: 1fr; gap: 34px; }
  .x-process::before, .x-process::after { display: none; }
  .x-person { grid-template-columns: 1fr 1fr; min-height: 340px; }
  .x-person > div { padding: 26px; }
  .x-home .contact-form .form-row { grid-template-columns: 1fr; }
  .x-scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .x-home *, .x-home *::before, .x-home *::after { animation: none !important; transition: none !important; }
  .x-stack { transform: rotateX(10deg) rotateY(-16deg) rotateZ(3deg); }
  .x-card { position: relative; top: auto; }
}

/* =====================================================================
   Apple-influenced layer: centred product headlines, light/dark rhythm,
   scroll-zoom reveal, word-by-word statement, "Learn more ›" links.
   ===================================================================== */
.x-center { text-align: center; margin-inline: auto; }
.x-center .x-lead { margin-inline: auto; }
.x-center .x-eyebrow::before { display: none; }
.x-more { display: inline-flex; align-items: center; gap: 4px; color: var(--x-link) !important; font-size: 17px; font-weight: 500; }
.x-more::after { content: '›'; font-size: 1.25em; line-height: 1; transition: transform .3s var(--x-ease); }
.x-more:hover { text-decoration: underline; }
.x-more:hover::after { transform: translateX(3px); }
.x-more-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin-top: 8px; }

/* Light sections, like Apple's #f5f5f7 bands */
html:not([data-bs-theme="light"]) .x-light { background: #f5f5f7; color: #1d1d1f; --x-dim: #6e6e73; --x-line: rgba(0,0,0,.09); --x-line-strong: rgba(0,0,0,.14); }
html:not([data-bs-theme="light"]) .x-light .x-eyebrow { color: #6e6e73; }
html:not([data-bs-theme="light"]) .x-light .x-stat { background: #fff; border: 0; box-shadow: 0 2px 30px rgba(0,0,0,.05); }
html:not([data-bs-theme="light"]) .x-light .x-stat::after { opacity: .35; }
html:not([data-bs-theme="light"]) .x-light .x-stat strong small { color: #6e6e73; }
html:not([data-bs-theme="light"]) .x-light .x-includes { background: #fff; border: 0; box-shadow: 0 2px 30px rgba(0,0,0,.05); }
html:not([data-bs-theme="light"]) .x-light .x-checks li::before { background: rgba(0,113,227,.1); color: var(--x-apple); }
html:not([data-bs-theme="light"]) .x-light .x-price { background: #fff; border: 0; color: #1d1d1f; box-shadow: 0 2px 30px rgba(0,0,0,.06); }
html:not([data-bs-theme="light"]) .x-light .x-price p { color: #6e6e73; }
html:not([data-bs-theme="light"]) .x-light .x-price-tag { background: #f5f5f7; color: #1d1d1f; }
html:not([data-bs-theme="light"]) .x-light .x-price--hot { background: #000; color: #f5f5f7; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
html:not([data-bs-theme="light"]) .x-light .x-price--hot p { color: #a1a1a6; }
html:not([data-bs-theme="light"]) .x-light .x-price--hot .x-price-tag { background: var(--x-apple); color: #fff; }
html:not([data-bs-theme="light"]) .x-light .x-price-go { color: var(--x-apple); }
html:not([data-bs-theme="light"]) .x-light .x-price--hot .x-price-go { color: var(--x-link); }
html:not([data-bs-theme="light"]) .x-light .x-faq summary i { border-color: rgba(0,0,0,.15); }
html:not([data-bs-theme="light"]) .x-light .x-depth a { color: #1d1d1f; text-decoration-color: var(--x-apple); }
html:not([data-bs-theme="light"]) .x-light .x-btn-ghost { color: #1d1d1f !important; border-color: rgba(0,0,0,.15); background: transparent; }

/* Scroll-zoom reveal (pinned) */
.x-zoom { position: relative; height: 260vh; background: #000; }
.x-zoom-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.x-zoom-copy { position: absolute; top: 15vh; left: 0; right: 0; text-align: center; padding-inline: 24px; z-index: 2; opacity: calc(1 - var(--z, 0) * 2.2); transform: translateY(calc(var(--z, 0) * -60px)); }
.x-zoom-copy .x-h2 { margin-bottom: 14px; }
.x-zoom-frame { position: relative; width: min(1500px, 96vw); aspect-ratio: 1782 / 781; border-radius: calc(36px - var(--z, 0) * 24px); overflow: hidden;
  transform: translateY(calc(18vh - var(--z, 0) * 18vh)) scale(calc(.52 + var(--z, 0) * .48));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 80px 160px -40px rgba(41,151,255,.45); }
.x-zoom-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-zoom-caption { position: absolute; left: 0; right: 0; bottom: 7vh; text-align: center; z-index: 2; opacity: clamp(0, (var(--z, 0) - .75) * 5, 1); color: #f5f5f7; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.02em; padding-inline: 24px; }
.x-zoom-caption span { display: inline-block; padding: 12px 22px; border-radius: 100px; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.x-zoom-caption a { color: var(--x-link); margin-left: 10px; }

/* Word-by-word statement */
.x-words { padding-block: clamp(110px, 14vw, 220px); background: #000; }
.x-words p { font-family: var(--x-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 72px); line-height: 1.12; letter-spacing: -.04em; max-width: 22ch; margin: 0 auto; text-align: left; color: #f5f5f7; }
.x-js .x-words .w { opacity: .16; transition: opacity .35s ease; }
.x-js .x-words .w.on { opacity: 1; }
.x-words .w.hl { background: var(--x-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 800px) {
  .x-zoom { height: 200vh; }
  .x-zoom-copy { top: 13vh; }
  .x-zoom-frame { width: 140vw; transform: translateY(calc(12vh - var(--z, 0) * 12vh)) scale(calc(.62 + var(--z, 0) * .38)); }
}
@media (prefers-reduced-motion: reduce) {
  .x-zoom { height: auto; }
  .x-zoom-sticky { position: relative; height: auto; padding: 120px 0; gap: 40px; }
  .x-zoom-copy, .x-zoom-caption { position: relative; top: auto; bottom: auto; opacity: 1; transform: none; }
  .x-zoom-frame { transform: none; width: 92vw; border-radius: 20px; }
}

/* fixes */
.x-home em, .site-footer .footer-invitation em { font-family: var(--x-display); font-style: normal; font-weight: inherit; }
.x-card--adloc .x-card-media img { object-position: right center; }
.x-card--adloc .x-card-media::after { background: linear-gradient(90deg, rgba(6,7,12,.97) 0%, rgba(6,7,12,.88) 38%, rgba(6,7,12,.2) 70%, transparent), linear-gradient(180deg, transparent 50%, rgba(6,7,12,.85)); }
.x-card--adloc .x-card-media img { width: 72%; margin-left: 28%; }
@media (max-width: 800px) { .x-card--adloc .x-card-media img { width: 100%; margin-left: 0; object-position: 88% center; } }

/* =====================================================================
   v8.1 section separation: distinct tones + stacked "sheets"
   ===================================================================== */
.x-sheet { position: relative; z-index: 1; margin-top: -48px; border-radius: 48px 48px 0 0; box-shadow: 0 -24px 60px -20px rgba(0,0,0,.55); }
.x-sheet:not(.x-light) { border-top: 1px solid rgba(255,255,255,.09); }
.x-tone-black { background: #000; }
.x-tone-night { background: linear-gradient(180deg, #0e1122 0%, #0a0c18 100%); }
.x-tone-blue { background: radial-gradient(80% 70% at 85% 30%, var(--x-a1-soft), transparent 70%), linear-gradient(180deg, #0c1233 0%, #080b1f 100%); }
.x-tone-blue .x-device { background: linear-gradient(160deg, #1a2150, #0b0f28); }
.x-tone-contact { background: linear-gradient(180deg, #0e1122 0%, #06070c 100%); }
html:not([data-bs-theme="light"]) .x-white { background: #fff; }
html:not([data-bs-theme="light"]) .x-white .x-faq summary i { background: #f5f5f7; border-color: transparent; }
/* Light sheets get a soft shadow rather than a dark one */
html:not([data-bs-theme="light"]) .x-light.x-sheet { box-shadow: 0 -20px 50px -25px rgba(0,0,0,.35); }
/* Section numbering for orientation */
.x-home { counter-reset: xsec; }
.x-sheet .x-eyebrow:first-child, .x-sheet [data-x-reveal] > .x-eyebrow:first-child { counter-increment: xsec; }
.x-sheet .x-eyebrow:first-child::before, .x-sheet [data-x-reveal] > .x-eyebrow:first-child::before { content: counter(xsec, decimal-leading-zero); width: auto; height: auto; background: none; padding: 4px 9px; border: 1px solid currentColor; border-radius: 100px; font-size: 10px; letter-spacing: .08em; }
/* The work section ends with a footer row; keep the stacked cards clear of the next sheet */
#work { padding-bottom: clamp(130px, 13vw, 200px); }
.x-contact { padding-bottom: clamp(120px, 12vw, 190px); }
body.is-home .site-footer { margin-top: -48px; border-radius: 48px 48px 0 0; border-top: 1px solid rgba(255,255,255,.09); position: relative; z-index: 2; }
@media (max-width: 800px) {
  .x-sheet, body.is-home .site-footer { margin-top: -28px; border-radius: 28px 28px 0 0; }
}

/* =====================================================================
   v8.2 LIGHT THEME for the homepage (follows the header toggle)
   Light page: white / #f5f5f7 sections; the former light bands invert to black.
   ===================================================================== */
[data-bs-theme="light"] body.is-home { background: #fff; }
[data-bs-theme="light"] .x-home {
  --x-ink: #ffffff; --x-night: #f5f5f7; --x-panel: #ffffff; --x-panel-2: #ffffff;
  --x-text: #1d1d1f; --x-dim: #6e6e73; --x-line: rgba(0,0,0,.09); --x-line-strong: rgba(0,0,0,.15);
  background: #fff; color: #1d1d1f;
}
/* Islands that stay dark in both themes */
[data-bs-theme="light"] .x-home :is(.x-light, .x-zoom, .x-card, .x-device, .x-tile--lime) {
  --x-ink: #06070c; --x-night: #0b0d17; --x-panel: #11142a; --x-panel-2: #171b36;
  --x-text: #f3f4fb; --x-dim: #a6abc4; --x-line: rgba(255,255,255,.1); --x-line-strong: rgba(255,255,255,.18);
  color: var(--x-text);
}
[data-bs-theme="light"] .x-home .x-light { background: #000; }
[data-bs-theme="light"] .x-home .x-white { background: #0b0d17; }
[data-bs-theme="light"] .x-home .x-tone-black { background: #fff; }
[data-bs-theme="light"] .x-home .x-tone-night { background: #f5f5f7; }
[data-bs-theme="light"] .x-home .x-tone-contact { background: linear-gradient(180deg, #f5f5f7, #fff); }
[data-bs-theme="light"] .x-home .x-tone-blue { background: radial-gradient(80% 70% at 85% 30%, var(--x-a1-soft), transparent 70%), linear-gradient(180deg, #eef2ff, #f7f8ff); }
[data-bs-theme="light"] .x-home .x-sheet:not(.x-light) { border-top-color: rgba(0,0,0,.06); box-shadow: 0 -20px 50px -25px rgba(0,0,0,.18); }
[data-bs-theme="light"] .x-home .x-aurora { opacity: .45; }
[data-bs-theme="light"] .x-home .x-gridlines { opacity: .7; }
[data-bs-theme="light"] .x-home .x-h1 .x-loc { -webkit-text-stroke-color: #1d1d1f; }
[data-bs-theme="light"] .x-home .x-marquee li:nth-child(even) { -webkit-text-stroke-color: rgba(0,0,0,.5); }
[data-bs-theme="light"] .x-home .x-btn-ghost { color: #1d1d1f !important; background: rgba(0,0,0,.03); }
[data-bs-theme="light"] .x-home .x-btn-ghost i { background: rgba(0,0,0,.07); }
[data-bs-theme="light"] .x-home .x-light .x-btn-ghost, [data-bs-theme="light"] .x-home .x-zoom .x-btn-ghost { color: #fff !important; }
[data-bs-theme="light"] .x-home .x-words { background: #fff; }
[data-bs-theme="light"] .x-home .x-words p { color: #1d1d1f; }
[data-bs-theme="light"] .x-home .x-stat { box-shadow: 0 2px 30px rgba(0,0,0,.06); border: 0; background: linear-gradient(160deg, #fff, #f5f5f7); }
[data-bs-theme="light"] .x-home .x-tile { box-shadow: 0 2px 24px rgba(0,0,0,.05); border-color: transparent; }
[data-bs-theme="light"] .x-home .x-tile--lime { background: #1d1d1f; color: #f5f5f7; }
[data-bs-theme="light"] .x-home .x-tile--lime p, [data-bs-theme="light"] .x-home .x-tile--lime .x-tile-num { color: #a1a1a6; }
[data-bs-theme="light"] .x-home .x-person { background: radial-gradient(120% 90% at 90% 100%, var(--x-a1-soft), transparent 60%), #f5f5f7; border: 0; }
[data-bs-theme="light"] .x-home .x-step.is-lit .x-step-dot { color: #fff; }
[data-bs-theme="light"] .x-home .x-form-card { background: rgba(255,255,255,.85); box-shadow: 0 40px 100px -40px rgba(0,0,0,.25); }
[data-bs-theme="light"] .x-home .contact-form .form-control, [data-bs-theme="light"] .x-home .contact-form .form-select { background-color: #f5f5f7; color: #1d1d1f; border-color: transparent; }
[data-bs-theme="light"] .x-home .contact-form .form-control::placeholder { color: #86868b; }
[data-bs-theme="light"] .x-home .contact-form .form-control:focus, [data-bs-theme="light"] .x-home .contact-form .form-select:focus { background-color: #fff; }
[data-bs-theme="light"] .x-home .x-contact::before { opacity: .4; }
[data-bs-theme="light"] .x-home .x-kicker { background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }

/* =====================================================================
   v8.2 EDITIONS: a fresh look on each visit (page-editions.js picks 0/1/2,
   never repeating the previous visit). Colour palette + hero composition.
   ===================================================================== */
/* 1: AURORA, teal & green, centred Apple-style hero */
:root[data-page-edition="1"] {
  --x-apple: #00876a; --x-btn-hover: #009c7a; --x-link: #2ee6a6; --x-lime: #2ee6a6;
  --x-grad-text: linear-gradient(90deg, #2ee6a6 0%, #5ad1ff 50%, #a98bff 100%);
  --x-a1: rgba(0,190,150,.6); --x-a2: rgba(40,140,255,.5); --x-a3: rgba(120,255,190,.18); --x-a1-soft: rgba(0,190,150,.25);
  --x-wide: linear-gradient(130deg, #00876a, #0f6fb8 75%, #3d5bd9);
}
:root[data-page-edition="1"][data-bs-theme="light"] { --x-link: #00805f; --x-lime: #00805f; }
[data-page-edition="1"] .x-hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
[data-page-edition="1"] .x-hero-copy { max-width: 1100px; }
[data-page-edition="1"] .x-hero-sub { margin-inline: auto; }
[data-page-edition="1"] .x-hero-ctas, [data-page-edition="1"] .x-proof { justify-content: center; }
[data-page-edition="1"] .x-h1 .x-line { display: inline-block; margin-inline: .12em; }
[data-page-edition="1"] .x-h1 .x-line:last-child { display: block; }
[data-page-edition="1"] .x-hero { padding-top: 150px; }
[data-page-edition="1"] .x-stage { width: min(1100px, 100%); height: 430px; margin-top: 10px; }
[data-page-edition="1"] .x-stack { transform: rotateX(calc(30deg + var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg)); }
[data-page-edition="1"] .x-shot-1 { width: 60%; height: 82%; left: 20%; top: 0; }
[data-page-edition="1"] .x-shot-2 { width: 36%; height: 62%; right: 0; left: auto; top: 18%; transform: translateZ(60px) rotateY(-14deg); }
[data-page-edition="1"] .x-shot-3 { width: 36%; height: 62%; left: 0; top: 18%; transform: translateZ(60px) rotateY(14deg); }
[data-page-edition="1"] .x-chip-c { left: 2%; top: 8%; }
[data-page-edition="1"] .x-marquee { transform: rotate(1.2deg) scale(1.03); }
[data-page-edition="1"] .x-marquee-track { animation-direction: reverse; }
[data-page-edition="1"] .x-words p { text-align: center; max-width: 24ch; }

/* 2: SUNSET, orange & pink, mirrored hero */
:root[data-page-edition="2"] {
  --x-apple: #e8501f; --x-btn-hover: #ff6232; --x-link: #ff9a6b; --x-lime: #ff9a6b;
  --x-grad-text: linear-gradient(90deg, #ffb347 0%, #ff5f6d 50%, #c471ed 100%);
  --x-a1: rgba(255,95,60,.6); --x-a2: rgba(196,113,237,.5); --x-a3: rgba(255,180,70,.2); --x-a1-soft: rgba(255,95,80,.22);
  --x-wide: linear-gradient(130deg, #ff5f45, #e8436f 55%, #a24bd8);
}
:root[data-page-edition="2"][data-bs-theme="light"] { --x-link: #c83d12; --x-lime: #c83d12; }
[data-page-edition="2"] .x-hero-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
[data-page-edition="2"] .x-stage { order: -1; }
[data-page-edition="2"] .x-stack { transform: rotateX(calc(14deg + var(--ty, 0) * 1deg)) rotateY(calc(22deg + var(--tx, 0) * 1deg)) rotateZ(-4deg); }
[data-page-edition="2"] .x-aurora { transform: scaleX(-1); animation-direction: alternate-reverse; }
[data-page-edition="2"] .x-h1 .x-loc { -webkit-text-stroke: 0; color: inherit; }
[data-page-edition="2"] .x-h1 .x-line:nth-child(2) > span { background: var(--x-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-page-edition="2"] .x-h1 .x-line:nth-child(3) em { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
[data-page-edition="2"] .x-tile { border-radius: 14px; }
[data-page-edition="2"] .x-card, [data-page-edition="2"] .x-stat, [data-page-edition="2"] .x-price { border-radius: 18px; }
@media (max-width: 1100px) { [data-page-edition="2"] .x-stage { order: 0; } }
@media (max-width: 800px) {
  [data-page-edition="1"] .x-stage { height: 300px; }
  [data-page-edition="1"] .x-h1 .x-line { display: block; }
}

/* =====================================================================
   v8.2 "No templates" section
   ===================================================================== */
.x-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 60px; }
.x-vs-col { border-radius: 28px; padding: clamp(28px, 4vw, 50px); }
.x-vs-col h3 { font-family: var(--x-display); font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.04em; font-weight: 700; margin: 0 0 26px; }
.x-vs-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.x-vs-col li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--x-line); font-size: 16px; }
.x-vs-col li:last-child { border: 0; }
.x-vs-them { background: transparent; border: 1px dashed var(--x-line-strong); color: var(--x-dim); }
.x-vs-them h3 { color: var(--x-dim); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(255,90,90,.7); }
.x-vs-them li::before { content: '✕'; color: #ff6b6b; font-weight: 700; }
.x-vs-us { background: var(--x-wide); color: #fff; box-shadow: 0 40px 90px -40px var(--x-a1); --x-line: rgba(255,255,255,.2); }
.x-vs-us li::before { content: '✓'; font-weight: 700; }
.x-nt-big { font-family: var(--x-display); font-weight: 800; font-size: clamp(80px, 17vw, 280px); line-height: .82; letter-spacing: -.07em; margin: 0; text-align: center; }
.x-nt-big span { display: block; font-size: .3em; letter-spacing: -.04em; font-weight: 700; margin-top: .2em; }
@media (max-width: 800px) { .x-vs { grid-template-columns: 1fr; } }
/* keep bright accents inside dark islands while the page is light */
[data-bs-theme="light"] .x-home :is(.x-light, .x-zoom, .x-card, .x-device, .x-tile--lime) { --x-link: #2997ff; --x-lime: #2997ff; }
[data-bs-theme="light"][data-page-edition="1"] .x-home :is(.x-light, .x-zoom, .x-card, .x-device, .x-tile--lime) { --x-link: #2ee6a6; --x-lime: #2ee6a6; }
[data-bs-theme="light"][data-page-edition="2"] .x-home :is(.x-light, .x-zoom, .x-card, .x-device, .x-tile--lime) { --x-link: #ff9a6b; --x-lime: #ff9a6b; }
/* edition 2: keep the mirrored stack clear of the headline */
@media (min-width: 1101px) {
  [data-page-edition="2"] .x-stage { width: 92%; }
  [data-page-edition="2"] .x-stack { transform: rotateX(calc(14deg + var(--ty, 0) * 1deg)) rotateY(calc(16deg + var(--tx, 0) * 1deg)) rotateZ(-3deg); transform-origin: left center; }
  [data-page-edition="2"] .x-shot-2 { right: 0; }
  [data-page-edition="2"] .x-shot-3 { left: -2%; }
  [data-page-edition="2"] .x-chip-a { right: 10%; }
}

/* =====================================================================
   v8.3 "Never the same twice": edition badge + switcher
   ===================================================================== */
.x-edition { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 10px 16px 10px 14px; border-radius: 100px; border: 1px solid var(--x-line-strong); background: rgba(255,255,255,.04); color: var(--x-dim); font-size: 13px; text-align: left; animation: x-fade 1s 1s both; transition: border-color .3s, color .3s; }
.x-edition b { color: var(--x-text); font-weight: 600; }
.x-edition i { font-style: normal; font-size: 16px; color: var(--x-link); transition: transform .6s var(--x-ease); }
.x-edition:hover { border-color: var(--x-link); color: var(--x-text); }
.x-edition:hover i { transform: rotate(360deg); }
.x-edition-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--x-grad-text); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
[data-page-edition="1"] .x-edition { margin-inline: auto; }
.x-fresh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.x-fresh-panel { padding: clamp(28px, 4vw, 48px); border-radius: 30px; background: var(--x-night); border: 1px solid var(--x-line); }
.x-fresh-now { margin: 0 0 22px; color: var(--x-dim); font-size: 15px; }
.x-fresh-now b { color: var(--x-text); font-size: 20px; margin-left: 6px; }
.x-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.x-swatch { display: grid; gap: 12px; justify-items: start; padding: 12px; border-radius: 18px; border: 2px solid transparent; background: rgba(255,255,255,.04); color: var(--x-text); font-weight: 600; font-size: 14px; transition: border-color .3s, transform .4s var(--x-ease); }
.x-swatch span { width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; }
.x-swatch-0 span { background: linear-gradient(135deg, #2140e6, #7c3aed 60%, #ff6fb5); }
.x-swatch-1 span { background: linear-gradient(135deg, #00876a, #2ee6a6 45%, #5ad1ff); }
.x-swatch-2 span { background: linear-gradient(135deg, #ffb347, #ff5f6d 50%, #c471ed); }
.x-swatch:hover { transform: translateY(-3px); }
.x-swatch[aria-pressed="true"] { border-color: var(--x-link); }
.x-fresh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.x-fresh-note { margin: 20px 0 0; font-size: 13px; color: var(--x-dim); }
[data-bs-theme="light"] .x-home .x-swatch { background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
[data-bs-theme="light"] .x-home .x-edition { background: #fff; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; }
@media (max-width: 1100px) { .x-fresh-grid { grid-template-columns: 1fr; } }

/* v8.4 monochrome logo */
.site-header .brand img { height: 46px; width: auto; filter: drop-shadow(0 1px 6px rgba(0,0,0,.35)); }
.site-footer .brand img { height: 64px; width: auto; }
@media (max-width: 1100px) { .site-header .brand img { height: 38px; } }
[data-bs-theme="light"] .site-header .header-inner { background: rgba(12, 14, 26, .9); }

/* v8.5 light mode: cards inside the inverted (black) bands stay dark */
[data-bs-theme="light"] .x-home .x-light .x-stat { background: linear-gradient(160deg, #171b36, #0b0d17); border: 1px solid rgba(255,255,255,.1); box-shadow: none; }
[data-bs-theme="light"] .x-home .x-light .x-stat strong small { color: #a6abc4; }
