/* Moonbyte Labs — one stylesheet for every page.
   Light and dark follow the device until the visitor picks one with the toggle (saved in localStorage).
   Every colour is a token below, so both themes (including the space hero) switch together. */
:root {
  --bg: #fbfbfe;
  --bg-soft: #f1f2fa;
  --card: #ffffff;
  --text: #14152b;
  --muted: #565975;
  --line: #e3e5f0;
  --brand: #5b4bdb;
  --brand-2: #8f83ff;
  --brand-ink: #ffffff;
  --brand-soft: #ece9ff;
  --ok: #157f4a;
  --ok-soft: #e3f5ea;
  --warn: #8a5a00;
  --warn-soft: #fff3d6;
  --shadow: 0 1px 2px rgb(20 21 43 / 6%), 0 10px 30px rgb(20 21 43 / 7%);
  --shadow-lift: 0 28px 60px -22px rgb(60 40 160 / 35%);
  --radius: 18px;
  /* Hero (a soft dawn sky in light mode, deep space in dark mode) */
  --hero-bg: radial-gradient(1100px 560px at 78% 18%, #ddd6ff 0%, #ece8ff 38%, #f7f6ff 70%, #fbfbfe 100%);
  --hero-ink: #14152b;
  --hero-muted: #4b4e6c;
  --star: rgb(91 75 219 / 35%);
  --glass: rgb(255 255 255 / 65%);
  --glass-line: rgb(91 75 219 / 22%);
  --glass-ink: #2a2464;
  --ring: rgb(91 75 219 / 35%);
  --ring-2: rgb(214 150 20 / 35%);
  --eyebrow-bg: rgb(91 75 219 / 10%);
  --eyebrow-ink: #4a3bc9;
  --header-bg: rgb(251 251 254 / 82%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c1a; --bg-soft: #11132a; --card: #15172d; --text: #eceefb; --muted: #a6aac8; --line: #262944;
    --brand: #8f83ff; --brand-2: #b3aaff; --brand-ink: #0b0c1a; --brand-soft: #232048;
    --ok: #5fd39a; --ok-soft: #133226; --warn: #f2c25b; --warn-soft: #33290f;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 35%);
    --shadow-lift: 0 28px 60px -22px rgb(0 0 0 / 70%);
    --hero-bg: radial-gradient(1200px 600px at 75% 20%, #2a2170 0%, #120f33 45%, #07081a 100%);
    --hero-ink: #f1f2ff; --hero-muted: #b9bde0; --star: #ffffff;
    --glass: rgb(255 255 255 / 8%); --glass-line: rgb(255 255 255 / 22%); --glass-ink: #ffffff;
    --ring: rgb(201 194 255 / 35%); --ring-2: rgb(255 213 107 / 30%);
    --eyebrow-bg: rgb(143 131 255 / 18%); --eyebrow-ink: #cfc9ff;
    --header-bg: rgb(11 12 26 / 80%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0c1a; --bg-soft: #11132a; --card: #15172d; --text: #eceefb; --muted: #a6aac8; --line: #262944;
  --brand: #8f83ff; --brand-2: #b3aaff; --brand-ink: #0b0c1a; --brand-soft: #232048;
  --ok: #5fd39a; --ok-soft: #133226; --warn: #f2c25b; --warn-soft: #33290f;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 35%);
  --shadow-lift: 0 28px 60px -22px rgb(0 0 0 / 70%);
  --hero-bg: radial-gradient(1200px 600px at 75% 20%, #2a2170 0%, #120f33 45%, #07081a 100%);
  --hero-ink: #f1f2ff; --hero-muted: #b9bde0; --star: #ffffff;
  --glass: rgb(255 255 255 / 8%); --glass-line: rgb(255 255 255 / 22%); --glass-ink: #ffffff;
  --ring: rgb(201 194 255 / 35%); --ring-2: rgb(255 213 107 / 30%);
  --eyebrow-bg: rgb(143 131 255 / 18%); --eyebrow-ink: #cfc9ff;
  --header-bg: rgb(11 12 26 / 80%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; overflow-x: hidden; }
/* Smooth colour change when the theme switches (added by site.js only during the switch). */
.theming, .theming * { transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.2rem); letter-spacing: -.02em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--bg-soft); padding: 1px 6px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ───────── Header ───────── */
.top { position: sticky; top: 0; z-index: 30; background: var(--header-bg); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(20 21 43 / 40%); }
.top .wrap { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.1rem; color: var(--text); text-decoration: none; margin-right: auto; white-space: nowrap; }
.logo img { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 6px 10px rgb(91 75 219 / 35%)); transition: transform .4s cubic-bezier(.2,.8,.2,1.4); }
.logo:hover img { transform: rotate(-12deg) scale(1.08); }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 550; font-size: .95rem; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav a[aria-current] { color: var(--brand); background: var(--brand-soft); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; flex: none; transition: transform .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
/* Sun shows in dark mode (tap for light); moon shows in light mode. */
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
#theme svg { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
#theme:active svg { transform: rotate(90deg) scale(.8); }
.menu-btn { display: none; }
@media (max-width: 800px) {
  .menu-btn { display: inline-grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1rem; }
  .nav a[aria-current]::after { left: 12px; right: auto; width: 24px; }
}

/* ───────── Buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 650; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .2s, box-shadow .2s, background-color .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #8f83ff, #5b4bdb); color: #fff; box-shadow: 0 10px 26px -10px rgb(91 75 219 / 70%); }
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgb(91 75 219 / 80%); filter: brightness(1.06); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-glass { background: var(--glass); color: var(--glass-ink); border-color: var(--glass-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; border-radius: 10px; }

/* ───────── Space hero (home) and page banners ───────── */
.space { position: relative; overflow: hidden; isolation: isolate; background: var(--hero-bg); color: var(--hero-ink); }
.space .lead, .space .stats, .space .sub { color: var(--hero-muted); }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .85;
  background-image:
    radial-gradient(1.6px 1.6px at 20px 30px, var(--star) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 120px 80px, var(--star) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 200px 160px, var(--star) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 60px 190px, var(--star) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 260px 40px, var(--star) 50%, transparent 51%);
  background-size: 300px 220px; animation: drift 120s linear infinite; }
@keyframes drift { to { background-position: 300px 220px; } }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 650; color: var(--eyebrow-ink); background: var(--eyebrow-bg); border: 1px solid var(--glass-line); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.grad { background: linear-gradient(90deg, #7b6cff, #e3a21a 55%, #ff6fb5); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .grad { background-image: linear-gradient(90deg, #a99fff, #ffd56b 60%, #ff9fd1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .grad { background-image: linear-gradient(90deg, #a99fff, #ffd56b 60%, #ff9fd1); } }

.hero { padding: 64px 0 72px; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); max-width: 620px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 36px; font-size: .95rem; }
.stats b { display: block; color: var(--hero-ink); font-size: 1.6rem; }
.hero-grid { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.scene { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin: 0 auto; perspective: 900px; }
.scene-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.halo { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgb(143 131 255 / 45%), transparent 65%); filter: blur(10px); }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px solid var(--ring); }
.ring-1 { width: 92%; height: 92%; margin: -46% 0 0 -46%; transform: rotateX(72deg); box-shadow: 0 0 22px rgb(143 131 255 / 30%); }
.ring-2 { width: 70%; height: 70%; margin: -35% 0 0 -35%; transform: rotateX(72deg) rotateY(-14deg); border-color: var(--ring-2); }
.moon { position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 1; margin: -22% 0 0 -22%; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 32% 28%, #ffffff 0, #ece9ff 16%, #bdb5ff 42%, #7466ee 72%, #2a2180 100%);
  box-shadow: inset -18px -22px 46px rgb(20 10 80 / 55%), inset 8px 10px 24px rgb(255 255 255 / 35%), 0 0 70px rgb(143 131 255 / 55%), 0 0 140px rgb(91 75 219 / 30%);
  animation: float 7s ease-in-out infinite; }
.crater { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgb(60 40 160 / 35%), rgb(60 40 160 / 10%) 70%); box-shadow: inset 2px 2px 4px rgb(30 20 90 / 30%); }
.c1 { width: 18%; height: 18%; left: 52%; top: 22%; }
.c2 { width: 11%; height: 11%; left: 30%; top: 55%; }
.c3 { width: 24%; height: 24%; left: 58%; top: 58%; }
.c4 { width: 8%; height: 8%; left: 22%; top: 34%; }
@keyframes float { 50% { transform: translateY(-10px); } }
.sat { position: absolute; left: 0; top: 0; width: 15%; height: auto; border-radius: 24%; box-shadow: 0 10px 24px -6px rgb(0 0 0 / 45%), 0 0 0 1px rgb(255 255 255 / 15%); will-change: transform; }

/* Inner page banner with a small 3D moon */
.page-hero { padding: 48px 0 44px; }
.page-hero .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 0 0 8px; }
.page-hero .sub { margin: 0; max-width: 620px; }
.mini-moon { position: relative; flex: none; width: 120px; aspect-ratio: 1; }
.mini-moon .moon { width: 70%; margin: -35% 0 0 -35%; }
.mini-moon .ring-1 { width: 118%; height: 118%; margin: -59% 0 0 -59%; }
@media (max-width: 560px) { .mini-moon { width: 76px; margin-right: 8px; } }

/* ───────── Sections ───────── */
section { padding: 64px 0; position: relative; }
.section-head { max-width: 700px; margin-bottom: 28px; position: relative; z-index: 1; }
.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.group-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 32px 0 12px; }
.group-label:first-of-type { margin-top: 0; }

/* Decorative 3D objects (hidden from screen readers, never block clicks) */
.deco { position: absolute; pointer-events: none; z-index: 0; perspective: 700px; }
.deco-cube { top: 40px; right: max(16px, calc(50% - 540px)); }
.deco-torus { top: 30px; right: max(16px, calc(50% - 560px)); }
.cube { width: 86px; height: 86px; position: relative; transform-style: preserve-3d; animation: spin3d 16s linear infinite; }
.cube i { position: absolute; inset: 0; border-radius: 16px; border: 1px solid rgb(255 255 255 / 40%); backface-visibility: visible; }
.cube i:nth-child(1) { transform: translateZ(43px); background: linear-gradient(135deg, rgb(143 131 255 / 90%), rgb(91 75 219 / 90%)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(43px); background: rgb(74 54 201 / 88%); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(43px); background: linear-gradient(135deg, rgb(255 213 107 / 90%), rgb(230 160 40 / 90%)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(43px); background: rgb(255 159 209 / 88%); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(43px); background: rgb(179 170 255 / 90%); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(43px); background: rgb(60 44 170 / 90%); }
@keyframes spin3d { from { transform: rotateX(-20deg) rotateY(0deg); } to { transform: rotateX(-20deg) rotateY(360deg); } }
.torus { width: 150px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, #8f83ff, #ffd56b, #ff9fd1, #6b5ce7, #8f83ff);
  -webkit-mask: radial-gradient(farthest-side, transparent 60%, #000 61%); mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
  filter: drop-shadow(0 18px 24px rgb(91 75 219 / 35%)); animation: torus 12s linear infinite; }
@keyframes torus { from { transform: rotateX(62deg) rotateZ(0deg); } to { transform: rotateX(62deg) rotateZ(360deg); } }
@media (max-width: 900px) { .deco { display: none; } }

/* ───────── Cards ───────── */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; position: relative; }
.card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.card-top img { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 8px 18px -8px rgb(20 21 43 / 45%); transition: transform .35s cubic-bezier(.2,.8,.2,1.3), box-shadow .35s; }
.card:hover .card-top img { transform: translateY(-4px) rotate(-4deg) scale(1.07); box-shadow: 0 16px 26px -10px rgb(60 40 160 / 55%); }
.card-top h3 { margin: 0; }
.card-top .kind { font-size: .85rem; color: var(--muted); }
.card p { color: var(--muted); }
.card .foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge-live { color: var(--ok); background: var(--ok-soft); }
.badge-soon { color: var(--warn); background: var(--warn-soft); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-live::before { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.tags li { font-size: .8rem; color: var(--muted); border: 1px solid var(--line); padding: 2px 9px; border-radius: 999px; }

/* 3D tilt + shine (pointer devices; values set by site.js) */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .25s; overflow: hidden; }
.tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: var(--shine, 0); transition: opacity .25s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgb(143 131 255 / 16%), transparent 42%); }
.tilt:hover { box-shadow: var(--shadow-lift); }

/* Gradient border on hover (product + price cards) */
.glow { isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .3s;
  background: linear-gradient(135deg, #8f83ff, #ffd56b, #ff9fd1); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glow:hover::before { opacity: 1; }

.card.soon { border-style: dashed; background: linear-gradient(160deg, var(--card), var(--bg-soft)); }
.soon-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--brand-soft); margin-bottom: 12px; }

/* ───────── Services ───────── */
.grid.services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 640px) and (max-width: 1060px) { .grid.services { grid-template-columns: repeat(2, 1fr); } }
.svc-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, #8f83ff, #5b4bdb);
  box-shadow: 0 12px 22px -10px rgb(91 75 219 / 70%), inset 0 1px 0 rgb(255 255 255 / 35%); transition: transform .35s cubic-bezier(.2,.8,.2,1.3); }
.card:hover .svc-ic { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.svc-ic svg { width: 24px; height: 24px; }
.services .card p { margin: 0; }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px dashed var(--line); border-radius: 14px; background: var(--card); }
.steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #8f83ff, #5b4bdb); color: #fff; box-shadow: 0 6px 14px -6px rgb(91 75 219 / 70%); }
.steps span { color: var(--muted); font-size: .95rem; }
.steps strong { display: block; color: var(--text); }
.cta-panel { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 28px; border-radius: 22px; color: #eef0ff;
  background: radial-gradient(600px 300px at 90% 0%, #3b2fa0, transparent 70%), linear-gradient(135deg, #1b1650, #0b0c1a); box-shadow: 0 24px 60px -26px rgb(60 40 160 / 65%); }
.cta-panel::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 230px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, #fff 0, #d9d4ff 18%, #8f83ff 50%, #3b2fa0 85%); opacity: .55; box-shadow: 0 0 80px rgb(143 131 255 / 60%); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h3 { font-size: 1.4rem; color: #fff; }
.cta-panel p { color: #c3c6e6; margin: 0; max-width: 560px; }
.cta-panel a:not(.btn) { color: #d6d0ff; overflow-wrap: anywhere; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-panel .btn-ghost { background: rgb(255 255 255 / 10%); color: #fff; border-color: rgb(255 255 255 / 25%); }

/* ───────── Pricing ───────── */
.price-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.price-card h3 { display: flex; align-items: center; gap: 10px; }
.price-card h3 img { width: 30px; height: 30px; border-radius: 9px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; color: var(--muted); }
td.amt { text-align: right; font-weight: 700; white-space: nowrap; color: var(--text); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 16px; }

/* ───────── About ───────── */
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.value { position: relative; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.value .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 10px; }
.value .ic svg { width: 22px; height: 22px; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ───────── Contact + text pages ───────── */
.contact-box { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.contact-box .card a.big { font-size: 1.02rem; font-weight: 650; overflow-wrap: anywhere; }
.page { padding: 40px 0 64px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ───────── Scroll reveal (classes added by site.js, so content shows without JS) ───────── */
.reveal { opacity: 0; translate: 0 26px; scale: .98; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.8,.2,1), scale .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; translate: 0 0; scale: 1; }

/* ───────── Footer ───────── */
footer { position: relative; border-top: 1px solid var(--line); padding: 44px 0 32px; color: var(--muted); font-size: .92rem; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, #8f83ff, #ffd56b, #ff9fd1, transparent); opacity: .7; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); margin-bottom: 24px; }
.foot-grid h2 { color: var(--text); margin: 0 0 10px; font-size: .95rem; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-grid a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.foot-grid a:hover { color: var(--text); text-decoration: underline; }

/* ───────── Phones ───────── */
@media (max-width: 899px) {
  .hero { padding: 24px 0 56px; }
  .scene { width: min(80%, 300px); order: -1; margin-bottom: -16px; }
  .hero-grid { gap: 8px; }
}
@media (max-width: 520px) { .cta-actions, .cta-actions .btn, .hero .actions .btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars, .moon, .cube, .torus, .badge-live::before { animation: none; }
  .reveal { opacity: 1; translate: none; scale: none; transition: none; }
  .tilt, .scene-inner { transition: none; }
}
.contact-box h2 { font-size: 1.15rem; letter-spacing: -.01em; }
