/* =========================================================
   Digital Roots Solutions — "Living Garden" art direction
   Bioluminescent roots, aurora light and glass surfaces.
   ========================================================= */
:root {
  color-scheme: light;
  --forest: #0e3b2e;
  --forest-deep: #062218;
  --emerald: #197b57;
  --mint: #34d399;
  --mint-soft: #a7f3d0;
  --sun: #ffb547;
  --coral: #ff7a59;
  --lilac: #a78bfa;
  --sky: #5cc8ff;
  --bg: #f6f2e8;
  --bg-2: #eee8d9;
  --surface: rgba(255, 253, 247, .72);
  --surface-solid: #fffdf8;
  --surface-2: #f1eee4;
  --ink: #0f241b;
  --muted: #56685e;
  --line: rgba(14, 59, 46, .12);
  --line-strong: rgba(14, 59, 46, .22);
  --accent: var(--emerald);
  --shadow-sm: 0 4px 14px rgba(14, 59, 46, .07);
  --shadow: 0 22px 60px -18px rgba(14, 59, 46, .22);
  --shadow-lg: 0 40px 100px -30px rgba(6, 34, 24, .45);
  --radius: 26px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Readex Pro", "Tahoma", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: max(20px, calc((100vw - 1260px) / 2));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --emerald: #4fd59c;
  --mint: #6ef0b5;
  --bg: #04130e;
  --bg-2: #071d16;
  --surface: rgba(16, 44, 34, .62);
  --surface-solid: #0b241c;
  --surface-2: #0e2a21;
  --ink: #ecf7f0;
  --muted: #9db6a8;
  --line: rgba(160, 240, 200, .11);
  --line-strong: rgba(160, 240, 200, .22);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .25);
  --shadow: 0 22px 60px -18px rgba(0, 0, 0, .6);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body { min-width: 320px; margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); line-height: 1.6; }
body::before { position: fixed; z-index: 9990; inset: 0; background-image: var(--grain); opacity: .035; content: ""; pointer-events: none; }
:root[data-theme="dark"] body::before { opacity: .04; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--mint); color: var(--forest-deep); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; }
.skip-link { position: fixed; z-index: 1000; inset-block-start: 12px; inset-inline-start: 12px; padding: 12px 18px; border-radius: 12px; background: var(--forest); color: #fff; transform: translateY(-180%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.ui-icon { width: 1.35em; height: 1.35em; display: block; }
.mono { font-family: var(--mono); }


/* ---------- Header ---------- */
.site-header { position: sticky; z-index: 60; inset-block-start: 0; padding-block: 12px; transition: padding .3s var(--ease); }
.site-header.is-scrolled { padding-block: 6px; }
.header-inner { position: relative; width: min(1320px, calc(100% - 32px)); height: 66px; margin: auto; padding-inline: 16px 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--surface-solid) 74%, transparent); box-shadow: var(--shadow-sm); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); }
.scroll-progress { position: absolute; inset-block-end: -1px; inset-inline: 22px; height: 2px; overflow: hidden; border-radius: 2px; pointer-events: none; }
.scroll-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--mint), var(--sun), var(--coral)); transform: scaleX(var(--progress, 0)); transform-origin: left; }
:root[dir="rtl"] .scroll-progress i { transform-origin: right; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; border-radius: 12px; }
.brand img { width: 148px; height: auto; transition: transform .4s var(--spring); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }
.brand-dark { display: none; }
:root[data-theme="dark"] .brand-light { display: none; }
:root[data-theme="dark"] .brand-dark { display: block; }
.primary-nav { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--bg-2) 70%, transparent); }
.nav-links a { position: relative; display: inline-flex; min-height: 38px; align-items: center; padding: 0 15px; border-radius: 999px; color: var(--muted); font-weight: 500; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--surface-solid) 80%, transparent); }
.nav-links a[aria-current="page"] { color: var(--forest-deep); background: var(--mint); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--mint) 80%, transparent); }
.header-cta { position: relative; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; overflow: hidden; border-radius: 999px; background: var(--forest); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s; }
:root[data-theme="dark"] .header-cta { background: var(--mint); color: var(--forest-deep); }
.header-cta::before { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); content: ""; }
.header-cta:hover::before { transform: translateX(120%); }
.header-cta:hover { box-shadow: 0 10px 26px -8px rgba(14, 59, 46, .5); }
.cta-spark { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 181, 71, .25); animation: spark 2s ease-in-out infinite; }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.language-toggle, .theme-toggle { height: 42px; min-width: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 600; cursor: pointer; transition: transform .3s var(--spring), border-color .2s, background .2s; }
.theme-toggle { padding: 0; }
.language-toggle:hover, .theme-toggle:hover { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 12%, transparent); transform: translateY(-2px); }
.theme-toggle:active .theme-icon { transform: rotate(180deg); }
.theme-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform .5s var(--spring); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons & links ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
:root[lang="ar"] .eyebrow { letter-spacing: .02em; font-size: 13px; }
.eyebrow::before { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); content: ""; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { position: relative; min-height: 54px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 0 26px; overflow: hidden; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s, color .3s; will-change: transform; }
.button .arrow { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: rgba(6, 34, 24, .12); font-family: var(--mono); font-size: 13px; transition: transform .4s var(--spring); }
.button:hover .arrow { transform: rotate(-45deg); }
:root[dir="rtl"] .button:hover .arrow { transform: rotate(45deg) scaleX(-1); }
:root[dir="rtl"] .button .arrow { transform: scaleX(-1); }
.button-primary { background: linear-gradient(120deg, var(--mint), #8ef5c4 45%, var(--sun) 130%); background-size: 200% 100%; color: #06281c; box-shadow: 0 14px 34px -12px rgba(52, 211, 153, .75); }
.button-primary:hover { background-position: 100% 0; box-shadow: 0 18px 44px -12px rgba(52, 211, 153, .9); }
.button-secondary { border-color: var(--line-strong); background: color-mix(in srgb, var(--surface-solid) 40%, transparent); color: var(--ink); }
.button-secondary .arrow { background: color-mix(in srgb, var(--mint) 22%, transparent); }
.button-secondary:hover { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 12%, transparent); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-size: 14px; font-weight: 600; }
.text-link span { transition: transform .3s var(--spring); }
.text-link:hover span { transform: translate(3px, -3px); }
:root[dir="rtl"] .text-link:hover span { transform: translate(-3px, -3px); }

/* ---------- Home hero: the portal ---------- */
.home-hero { position: relative; isolation: isolate; overflow: hidden; margin: -90px 0 0; padding: 150px var(--gutter) 40px; min-height: min(940px, 100svh); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(ellipse 60% 50% at 75% 45%, rgba(52, 211, 153, .22), transparent 70%), radial-gradient(ellipse 40% 40% at 10% 10%, rgba(167, 139, 250, .22), transparent 70%), radial-gradient(ellipse 50% 40% at 30% 100%, rgba(255, 181, 71, .16), transparent 70%), linear-gradient(160deg, #031510 0%, #072a1f 55%, #04150f 100%); color: #eaf7ef; }
.home-hero .eyebrow { color: var(--mint); }
.roots-canvas { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.aurora { position: absolute; z-index: -2; inset: -20%; pointer-events: none; opacity: .75; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; animation: aurora 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 40%; height: 45%; inset-block-start: 15%; inset-inline-end: 10%; background: radial-gradient(closest-side, rgba(52, 211, 153, .35), transparent); }
.aurora i:nth-child(2) { width: 30%; height: 35%; inset-block-start: 5%; inset-inline-start: 15%; background: radial-gradient(closest-side, rgba(167, 139, 250, .3), transparent); animation-delay: -6s; animation-duration: 22s; }
.aurora i:nth-child(3) { width: 35%; height: 30%; inset-block-end: 10%; inset-inline-start: 30%; background: radial-gradient(closest-side, rgba(255, 181, 71, .22), transparent); animation-delay: -11s; animation-duration: 26s; }
.aurora i:nth-child(4) { width: 25%; height: 30%; inset-block-end: 20%; inset-inline-end: 25%; background: radial-gradient(closest-side, rgba(92, 200, 255, .2), transparent); animation-delay: -3s; }
.home-hero-inner { position: relative; z-index: 2; width: min(1320px, 100%); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 70px); }
.home-copy { max-width: 640px; }
.home-hero h1 { margin-block-end: 24px; color: #fff; font-size: clamp(44px, 6.2vw, 92px); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
:root[lang="ar"] .home-hero h1 { font-size: clamp(42px, 5.8vw, 84px); line-height: 1.2; letter-spacing: 0; }
.home-hero h1 .line { display: block; overflow: hidden; padding-block-end: .06em; }
.home-hero h1 .line > span { display: inline-block; animation: line-up 1.1s var(--ease) both; }
.home-hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.home-hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.shimmer { background: linear-gradient(100deg, #6ef0b5 0%, #d6ffe9 25%, #ffcf7a 50%, #6ef0b5 75%, #a78bfa 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear 2; }
.home-lead { max-width: 540px; margin-block-end: 34px; color: #bcd3c5; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.9; }
.home-copy > .eyebrow, .home-copy > .home-lead, .home-copy > .hero-actions, .home-copy > .hero-pills { animation: rise-in 1s var(--ease) both; }
.home-copy > .home-lead { animation-delay: .35s; }
.home-copy > .hero-actions { animation-delay: .48s; }
.home-copy > .hero-pills { animation-delay: .62s; }
.home-hero .button-secondary { border-color: rgba(200, 255, 225, .25); background: rgba(255, 255, 255, .04); color: #f2fbf5; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 0; padding: 0; list-style: none; }
.hero-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border: 1px solid rgba(200, 255, 225, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #cfe6d8; font-size: 13px; }
.hero-pills li i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--mint)); box-shadow: 0 0 10px var(--c, var(--mint)); }
.scroll-cue { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 40px auto 0; color: #8fb3a0; font-size: 12px; letter-spacing: .08em; }
.scroll-cue span { width: 22px; height: 36px; border: 1.5px solid rgba(200, 255, 225, .35); border-radius: 12px; position: relative; }
.scroll-cue span::after { position: absolute; inset-block-start: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--mint); animation: scroll-dot 1.8s ease-in-out infinite; content: ""; }

/* The orbital world */
.world { position: relative; container-type: inline-size; width: min(100%, 620px); aspect-ratio: 1; margin-inline: auto; animation: world-in 1.6s var(--ease) both .2s; }
.world-core { position: absolute; inset: 34%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2fe0a0 0%, #13805a 38%, #0a3a2b 72%, #04150f 100%); box-shadow: 0 0 0 1px rgba(160, 255, 210, .25), 0 0 60px 10px rgba(52, 211, 153, .35), 0 0 160px 40px rgba(52, 211, 153, .15), inset -20px -26px 50px rgba(0, 0, 0, .45), inset 12px 14px 30px rgba(220, 255, 238, .25); animation: core-breathe 6s ease-in-out infinite; }
.world-core::after { position: absolute; inset: -14%; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(110, 240, 181, .5), transparent 30%, rgba(255, 181, 71, .45), transparent 60%, rgba(167, 139, 250, .5), transparent); -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 90%, transparent 100%); mask: radial-gradient(closest-side, transparent 88%, #000 90%, transparent 100%); animation: spin 14s linear infinite; content: ""; }
.world-core svg { width: 46%; height: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
.core-bar { transform-box: fill-box; transform-origin: bottom; animation: bar-rise 1.2s var(--spring) both; }
.core-bar:nth-of-type(2) { animation-delay: .15s; }
.core-bar:nth-of-type(3) { animation-delay: .3s; }
.core-root { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1.4s var(--ease) forwards .6s; }
.orbit { position: absolute; border: 1px dashed rgba(160, 255, 210, .2); border-radius: 50%; animation: spin var(--speed, 40s) linear infinite; }
.orbit-1 { inset: 20%; --speed: 32s; }
.orbit-2 { inset: 7%; --speed: 52s; animation-direction: reverse; border-style: solid; border-color: rgba(160, 255, 210, .1); }
.orbit-3 { inset: -5%; --speed: 80s; border-color: rgba(255, 207, 122, .12); }
.planet { position: absolute; inset-block-start: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)); }
.planet > span { position: absolute; display: grid; width: 52px; height: 52px; margin: -26px 0 0 -26px; place-items: center; border: 1px solid rgba(200, 255, 225, .25); border-radius: 18px; background: linear-gradient(145deg, rgba(40, 110, 82, .75), rgba(6, 34, 24, .85)); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .15); color: var(--pc, #7cf0b5); animation: planet-spin var(--speed, 40s) linear infinite; }
.orbit-2 .planet > span { animation-direction: reverse; }
.planet .ui-icon { width: 24px; height: 24px; }
.planet-sm > span { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 14px; }
.planet-sm .ui-icon { width: 18px; height: 18px; }
.world-card { position: absolute; z-index: 3; padding: 14px 16px; border: 1px solid rgba(200, 255, 225, .2); border-radius: 18px; background: linear-gradient(150deg, rgba(20, 60, 45, .94), rgba(4, 22, 16, .96)); box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1); color: #dff3e8; animation: bob 7s ease-in-out infinite; }
.world-code { inset-block-start: 4%; inset-inline-start: -6%; width: 255px; font: 12px/1.9 var(--mono); direction: ltr; text-align: left; }
.world-code .bar { display: flex; gap: 5px; margin-block-end: 8px; }
.world-code .bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff7a59; }
.world-code .bar i:nth-child(2) { background: #ffb547; }
.world-code .bar i:nth-child(3) { background: #34d399; }
.world-code .bar b { margin-inline-start: auto; color: #7cf0b5; font-size: 10px; font-weight: 500; }
.world-code .k { color: #7cf0b5; } .world-code .s { color: #ffcf7a; } .world-code .p { color: #6f9885; }
.world-code div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; animation: type-in .5s var(--ease) forwards; animation-delay: calc(1s + var(--i) * .22s); }
.world-shot { inset-block-end: 2%; inset-inline-end: -4%; width: 250px; padding: 8px; animation-delay: -3s; }
.world-shot img { width: 100%; aspect-ratio: 1.9; object-fit: cover; object-position: top; border-radius: 11px; }
.world-shot figcaption { display: flex; align-items: center; gap: 7px; padding: 8px 4px 2px; color: #b7d4c4; font-size: 11px; line-height: 1.4; }
.world-shot figcaption i, .live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); animation: spark 1.8s infinite; }
.world { margin-block: 0; }
.world figure { margin: 0; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line); background: var(--surface-solid); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
:root[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; transition: border-color .2s, background .2s, transform .3s var(--spring); }
.marquee a:hover { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 12%, var(--bg)); transform: translateY(-2px); }
.marquee .ui-icon { width: 28px; height: 28px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: color-mix(in srgb, var(--mint) 20%, transparent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.section-heading { max-width: 720px; margin-block-end: clamp(32px, 4vw, 54px); }
.section-heading h2 { margin-block-end: 16px; font-size: clamp(32px, 4.2vw, 58px); text-wrap: balance; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center > p:last-child { margin-inline: auto; }
.section-foot { display: flex; justify-content: center; margin-block-start: 40px; }
.gradient-word { background: linear-gradient(100deg, var(--emerald), var(--mint) 40%, var(--sun) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Spotlight surfaces */
.spot { position: relative; isolation: isolate; }
.spot::after { position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--mint) 18%, transparent), transparent 45%); opacity: 0; transition: opacity .35s; content: ""; pointer-events: none; }
.spot:hover::after { opacity: 1; }
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); transition: transform .5s var(--ease), border-color .3s, box-shadow .4s, background .3s; }
[data-tilt]:hover { --lift: -6px; }

/* Journeys */
.journey-section { overflow: hidden; background: radial-gradient(ellipse 50% 60% at 0% 0%, rgba(167, 139, 250, .1), transparent 70%), radial-gradient(ellipse 50% 60% at 100% 100%, rgba(52, 211, 153, .12), transparent 70%), var(--bg); }
.journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.journey-card { min-width: 0; display: flex; flex-direction: column; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.journey-card:hover { border-color: color-mix(in srgb, var(--jc) 60%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--jc) 60%, transparent); }
.journey-card:nth-child(1) { --jc: #34d399; } .journey-card:nth-child(2) { --jc: #ffb547; } .journey-card:nth-child(3) { --jc: #a78bfa; } .journey-card:nth-child(4) { --jc: #5cc8ff; }
.journey-card-head { display: flex; justify-content: space-between; align-items: center; margin-block-end: 24px; }
.journey-index { font-family: var(--mono); font-size: 44px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--jc); }
.journey-signal { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, var(--jc) 0 4px, color-mix(in srgb, var(--jc) 25%, transparent) 5px 10px, transparent 11px); animation: spark 2.8s ease-in-out infinite; }
.journey-card h3 { margin-block-end: 10px; font-size: 21px; }
.journey-intro { margin-block-end: 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.journey-flow { position: relative; display: grid; gap: 4px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: journey; }
.journey-flow::before { position: absolute; inset-block: 14px; inset-inline-start: 11px; width: 2px; border-radius: 2px; background: linear-gradient(var(--jc), transparent); content: ""; }
.journey-flow li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 34px; color: var(--ink); font-size: 14px; counter-increment: journey; }
.journey-flow li::before { position: relative; z-index: 1; width: 24px; height: 24px; display: inline-grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--surface-solid); box-shadow: inset 0 0 0 1.5px var(--jc); color: var(--ink); content: counter(journey); font-family: var(--mono); font-size: 11px; font-weight: 600; }
.journey-modules { margin-block-start: auto; padding-block-start: 16px; border-block-start: 1px dashed var(--line-strong); }
.journey-modules > span { display: block; margin-block-end: 10px; color: var(--muted); font-size: 12px; }
.journey-modules > div { display: flex; flex-wrap: wrap; gap: 6px; }
.journey-modules a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--jc) 16%, transparent); color: var(--ink); font-size: 12px; font-weight: 500; transition: background .2s, transform .3s var(--spring); }
.journey-modules a:hover { background: color-mix(in srgb, var(--jc) 32%, transparent); transform: translateY(-2px); }
.journey-scope { margin: 24px 0 0; color: var(--muted); font-size: 13px; }

/* Bento of modules */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); grid-auto-flow: dense; gap: 16px; }
.bento .content-card:nth-child(8), .bento .content-card:nth-child(14) { grid-column: span 2; }
.content-card { min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.content-card:hover { border-color: color-mix(in srgb, var(--mint) 55%, transparent); box-shadow: var(--shadow); }
.card-icon { position: relative; width: 52px; height: 52px; display: grid; place-items: center; margin-block-end: 22px; border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--hue, var(--mint)) 30%, transparent), color-mix(in srgb, var(--hue, var(--mint)) 8%, transparent)); color: var(--ink); font-size: 22px; transition: transform .5s var(--spring), background .3s, color .3s; }
.content-card:hover .card-icon { transform: rotate(-10deg) scale(1.1); background: var(--hue, var(--mint)); color: #06281c; }
.content-card h3 { margin-block-end: 10px; font-size: 20px; }
.content-card p { margin-block-end: 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.content-card .text-link { margin-block-start: auto; }
.card-num { position: absolute; inset-block-start: 20px; inset-inline-end: 22px; color: color-mix(in srgb, var(--ink) 25%, transparent); font-family: var(--mono); font-size: 12px; }
.bento .content-card:nth-child(1) { grid-column: span 2; grid-row: span 2; justify-content: flex-end; padding: 34px; background: radial-gradient(circle at 85% 15%, rgba(52, 211, 153, .35), transparent 50%), radial-gradient(circle at 10% 100%, rgba(255, 181, 71, .25), transparent 50%), linear-gradient(150deg, #0d3a2c, #05190f); color: #eaf7ef; border-color: transparent; }
.bento .content-card:nth-child(2) { grid-column: span 2; background: radial-gradient(circle at 100% 0%, rgba(167, 139, 250, .28), transparent 55%), var(--surface); }
.bento .content-card:nth-child(1) h3 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); }
.bento .content-card:nth-child(1) p { max-width: 420px; color: #bcd3c5; font-size: 16px; }
.bento .content-card:nth-child(1) .card-icon { width: 72px; height: 72px; margin-block-end: auto; border-radius: 22px; color: #eaf7ef; font-size: 30px; }
.bento .content-card:nth-child(1) .text-link { color: var(--mint); }
.bento .content-card:nth-child(1) .card-num { color: rgba(255, 255, 255, .4); }
.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid { display: grid; gap: 16px; }

/* Principles */
.principles { background: var(--bg-2); }
.principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.principle { padding: 30px 26px; border-radius: var(--radius); background: var(--surface-solid); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.principle-blob { width: 64px; height: 64px; display: grid; place-items: center; margin-block-end: 26px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: var(--pc); color: #06281c; transition: border-radius .8s var(--ease); }
.principle:hover .principle-blob { animation: blob 4s ease-in-out infinite; }
.principle:nth-child(2) .principle-blob { animation-delay: -3s; }
.principle:nth-child(3) .principle-blob { animation-delay: -5s; }
.principle-blob .ui-icon { width: 28px; height: 28px; }
.principle h3 { margin-block-end: 10px; font-size: 20px; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block-start: 16px; }
.stat { display: flex; align-items: baseline; gap: 14px; padding: 24px 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.stat b { font-family: var(--mono); font-size: clamp(40px, 5vw, 64px); line-height: 1; background: linear-gradient(120deg, var(--emerald), var(--mint), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 15px; }

/* Services rail */
.service-section { background: var(--bg); }
.service-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.service-aside { max-width: 300px; display: flex; gap: 14px; align-items: center; margin-block-end: 54px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-aside p { margin: 0; }
.aside-mark { width: 56px; height: 56px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--mint), var(--sun), var(--lilac), var(--mint)); color: #06281c; font-family: var(--mono); font-size: 12px; font-weight: 700; animation: spin 12s linear infinite; }
.aside-mark span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--bg); color: var(--ink); animation: counter-spin 12s linear infinite; }
.service-rail { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--line-strong); }
.service-rail li { border-block-end: 1px solid var(--line-strong); }
.service-rail a { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.3fr) 54px; align-items: center; gap: 24px; padding: 28px 8px; overflow: hidden; transition: padding .5s var(--ease), color .3s; }
.service-rail a::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--mint) 22%, transparent), color-mix(in srgb, var(--sun) 16%, transparent)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); content: ""; }
.service-rail a:hover::before, .service-rail a:focus-visible::before { transform: scaleY(1); }
.service-rail a:hover { padding-inline: 24px; }
.rail-num { color: var(--muted); font-family: var(--mono); font-size: 14px; }
.rail-title { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; line-height: 1.3; }
.rail-text { color: var(--muted); font-size: 14px; line-height: 1.75; }
.rail-arrow { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .5s var(--spring), background .3s, border-color .3s; }
.rail-arrow .ui-icon { width: 22px; height: 22px; }
.service-rail a:hover .rail-arrow { border-color: transparent; background: var(--ink); color: var(--bg); transform: rotate(-45deg); }
:root[dir="rtl"] .rail-arrow .ui-icon { transform: scaleX(-1); }
:root[dir="rtl"] .service-rail a:hover .rail-arrow { transform: rotate(45deg); }

/* Process */
.proof-section { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 90px); align-items: center; margin: 0 var(--gutter); padding: clamp(40px, 6vw, 80px); overflow: hidden; border-radius: 40px; background: radial-gradient(ellipse at 100% 0%, rgba(167, 139, 250, .3), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(52, 211, 153, .3), transparent 55%), linear-gradient(150deg, #0b3328, #041a12); color: #eaf7ef; }
.proof-section h2 { color: #fff; }
.proof-section .eyebrow { color: var(--mint); }
.proof-section .section-heading > p:last-child { color: #bcd3c5; }
.proof-steps { position: relative; }
.process-path { position: absolute; inset-inline: 5%; inset-block-start: 22px; width: 90%; height: 40px; overflow: visible; pointer-events: none; }
.process-path path { fill: none; stroke: url(#pg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
:root[dir="rtl"] .process-path { transform: scaleX(-1); }
.workflow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.workflow li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 4px 4px 0; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.6; }
.workflow li:not(:last-child)::after { position: absolute; inset-block-start: 23px; inset-inline-start: 56px; inset-inline-end: 4px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); content: ""; }
.workflow-number { position: relative; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-solid); box-shadow: inset 0 0 0 1.5px var(--mint), 0 8px 20px -8px rgba(52, 211, 153, .6); color: var(--accent); font-family: var(--mono); font-size: 13px; font-weight: 700; transition: transform .5s var(--spring); }
.workflow li:hover .workflow-number { transform: rotate(-8deg) scale(1.12); }
.proof-section .workflow li { color: #eaf7ef; }
.proof-section .workflow li:not(:last-child)::after { display: none; }
.proof-section .workflow-number { background: rgba(6, 34, 24, .9); color: var(--mint); }
.proof-section .workflow li > span:last-child { padding: 14px 16px; border: 1px solid rgba(200, 255, 225, .14); border-radius: 18px; background: rgba(255, 255, 255, .05); align-self: stretch; }

/* Screenshots */
.screenshot-section { padding-block: clamp(80px, 9vw, 120px); }
.screenshot-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.screenshot-gallery figure, .supplied-image-section figure { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-solid); box-shadow: var(--shadow); }
.screenshot-gallery img { width: 100%; aspect-ratio: 1.65; object-fit: cover; object-position: top; border-radius: 18px; transition: transform .8s var(--ease); }
.screenshot-gallery figure { overflow: hidden; }
.screenshot-gallery figure:hover img { transform: scale(1.03); }
.screenshot-gallery figcaption, .supplied-image-section figcaption { display: flex; align-items: center; gap: 8px; padding: 14px 8px 6px; color: var(--muted); font-size: 13px; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 30px; margin: clamp(60px, 8vw, 110px) var(--gutter); padding: clamp(40px, 6vw, 80px); overflow: hidden; border-radius: 40px; background: linear-gradient(120deg, #34d399 0%, #8ef5c4 35%, #ffcf7a 75%, #ff9f7a 110%); background-size: 180% 180%; color: #06281c; }
.cta-band::before, .cta-band::after { position: absolute; z-index: -1; border-radius: 50%; content: ""; }
.cta-band::before { width: 340px; height: 340px; inset-block-start: -160px; inset-inline-end: 12%; background: rgba(255, 255, 255, .35); filter: blur(10px); animation: bob 9s ease-in-out infinite; }
.cta-band::after { width: 220px; height: 220px; inset-block-end: -110px; inset-inline-start: 6%; border: 30px solid rgba(6, 40, 28, .08); animation: bob 11s ease-in-out infinite reverse; }
.cta-band h2 { max-width: 700px; margin-block-end: 12px; color: #06281c; font-size: clamp(30px, 4vw, 54px); }
.cta-band .eyebrow { color: #0b4a33; }
.cta-band p:not(.eyebrow) { max-width: 640px; margin: 0; color: #1d4a38; font-size: 17px; line-height: 1.75; }
.cta-band .button-primary { flex: 0 0 auto; background: #06281c; color: #eafff4; box-shadow: 0 18px 40px -14px rgba(6, 40, 28, .7); }
.cta-band .button-primary .arrow { background: var(--mint); color: #06281c; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 80px var(--gutter) 24px; background: #03120d; color: #c3d6ca; }
.site-footer::before { position: absolute; inset-block-start: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--mint), var(--sun), transparent); content: ""; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 44px; padding-block-end: 40px; }
.footer-brand img { width: 190px; margin-block-end: 18px; }
.footer-brand p { max-width: 260px; color: #8fae9c; font-size: 14px; line-height: 1.8; }
.footer-social { display: flex; gap: 8px; margin-block-start: 16px; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(200, 255, 225, .15); border-radius: 50%; transition: background .2s, transform .3s var(--spring), color .2s; }
.footer-social a:hover { background: var(--mint); color: #06281c; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer h2 { margin-block-end: 18px; color: #f1faf4; font-size: 15px; }
.site-footer ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: #9fbcab; font-size: 14px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--mint); }
.footer-word { position: relative; z-index: 0; margin: 10px 0 0; font-size: clamp(56px, 13vw, 210px); font-weight: 700; line-height: .9; letter-spacing: -.05em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(110, 240, 181, .22); background: linear-gradient(90deg, rgba(110, 240, 181, .25), rgba(255, 181, 71, .25)); -webkit-background-clip: text; background-clip: text; user-select: none; direction: ltr; }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 25px; padding-block-start: 20px; border-block-start: 1px solid rgba(200, 255, 225, .1); color: #7e9d8b; font-size: 12px; }
.footer-bottom span:last-child { max-width: 70%; text-align: end; }
.whatsapp-float { position: fixed; z-index: 55; inset-block-end: max(22px, env(safe-area-inset-bottom)); inset-inline-end: 22px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6); transition: transform .4s var(--spring); }
.whatsapp-float::before { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2.4s ease-out infinite; content: ""; }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-float:hover { transform: scale(1.1) rotate(-8deg); }

/* ---------- Inner pages ---------- */
.breadcrumbs { position: relative; z-index: 2; width: min(1260px, calc(100% - 40px)); margin: 18px auto 0; color: var(--muted); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-inline-start: 10px; color: var(--mint); content: "•"; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }
.page-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; gap: 30px; width: min(1260px, calc(100% - 40px)); min-height: 440px; margin: 16px auto 0; padding: clamp(36px, 5vw, 64px) clamp(26px, 5vw, 72px); overflow: hidden; border-radius: 40px; background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(52, 211, 153, .28), transparent 70%), radial-gradient(ellipse 40% 50% at 0% 0%, rgba(167, 139, 250, .25), transparent 70%), radial-gradient(ellipse 40% 50% at 30% 110%, rgba(255, 181, 71, .2), transparent 70%), linear-gradient(150deg, #072a1f, #03140e); color: #eaf7ef; box-shadow: var(--shadow-lg); }
.page-hero::before { position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(200, 255, 225, .18) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask: radial-gradient(ellipse at 75% 50%, #000, transparent 65%); mask: radial-gradient(ellipse at 75% 50%, #000, transparent 65%); content: ""; }
.page-hero-copy { position: relative; z-index: 2; }
.page-hero-copy > * { animation: rise-in .9s var(--ease) both; }
.page-hero-copy > :nth-child(2) { animation-delay: .1s; } .page-hero-copy > :nth-child(3) { animation-delay: .2s; } .page-hero-copy > :nth-child(4) { animation-delay: .3s; }
.page-hero h1 { margin-block-end: 18px; color: #fff; font-size: clamp(38px, 5vw, 70px); text-wrap: balance; }
.page-hero .eyebrow { color: var(--mint); }
.hero-lead { max-width: 640px; margin-block-end: 28px; color: #bcd3c5; font-size: 17px; line-height: 1.9; }
.hero-doc-link { color: var(--mint); }
.orb-scene { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; animation: world-in 1.3s var(--ease) both; }
.orb-scene .orb { position: absolute; inset: 24%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6ef0b5 0%, #1a8a61 35%, #0a3a2b 70%, #04150f 100%); box-shadow: 0 0 60px 10px rgba(52, 211, 153, .3), inset -16px -20px 40px rgba(0, 0, 0, .45), inset 10px 12px 24px rgba(220, 255, 238, .3); color: #eafff4; animation: core-breathe 6s ease-in-out infinite; }
.orb-scene .orb .ui-icon { width: 38%; height: 38%; stroke-width: 1.4; }
.orb-ring { position: absolute; inset: 8%; border: 1.5px solid rgba(160, 255, 210, .25); border-radius: 50%; transform: rotateX(70deg) rotateZ(var(--z, 0deg)); animation: ring-tilt 16s linear infinite; }
.orb-ring.r2 { inset: 0; --z: 60deg; border-color: rgba(255, 207, 122, .25); animation-duration: 24s; animation-direction: reverse; }
.orb-ring::after { position: absolute; inset-block-start: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 14px var(--sun); content: ""; }
.orb-ring:not(.r2)::after { background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.orb-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; max-width: 70%; padding: 10px 14px; border: 1px solid rgba(200, 255, 225, .2); border-radius: 14px; background: rgba(6, 34, 24, .72); color: #dff3e8; font-size: 13px; font-weight: 500; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); animation: bob 6s ease-in-out infinite; }
.orb-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orb-chip.c1 { inset-block-start: 6%; inset-inline-end: 0; }
.orb-chip.c2 { inset-block-end: 8%; inset-inline-start: 0; animation-delay: -3s; }
.orb-chip i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.orb-chip.c2 i { background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.sparkles i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: twinkle 3s ease-in-out infinite; }
.sparkles i:nth-child(1) { inset-block-start: 12%; inset-inline-start: 22%; }
.sparkles i:nth-child(2) { inset-block-start: 30%; inset-inline-end: 8%; animation-delay: -1s; }
.sparkles i:nth-child(3) { inset-block-end: 22%; inset-inline-end: 24%; animation-delay: -2s; }
.sparkles i:nth-child(4) { inset-block-end: 6%; inset-inline-start: 44%; animation-delay: -.5s; }

.content-wrap { width: min(1080px, calc(100% - 40px)); margin: auto; }
.content-section { padding-block: clamp(50px, 7vw, 84px); border-block-end: 1px dashed var(--line-strong); }
.content-section .section-heading { margin-block-end: 30px; }
.content-section .section-heading h2 { font-size: clamp(28px, 3.2vw, 42px); }
.intro-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.intro-block .section-heading { margin: 0; }
.problem-panel { position: relative; padding: 30px 32px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(140deg, color-mix(in srgb, var(--coral) 14%, var(--surface-solid)), var(--surface-solid)); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.problem-panel::before { position: absolute; inset-block-start: -40px; inset-inline-end: -40px; width: 120px; height: 120px; border-radius: 50%; background: color-mix(in srgb, var(--coral) 25%, transparent); filter: blur(10px); content: ""; }
.panel-label { display: inline-flex; align-items: center; gap: 8px; margin-block-end: 12px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--coral) 18%, transparent); color: var(--ink); font-size: 12px; font-weight: 600; }
.problem-panel p { position: relative; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.95; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { position: relative; min-height: 220px; padding: 28px 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.feature-card:nth-child(1) { --hue: #34d399; } .feature-card:nth-child(2) { --hue: #ffb547; } .feature-card:nth-child(3) { --hue: #a78bfa; }
.feature-card:hover { border-color: color-mix(in srgb, var(--hue) 60%, transparent); }
.feature-index { display: inline-grid; width: 46px; height: 46px; place-items: center; margin-block-end: 26px; border-radius: 15px; background: color-mix(in srgb, var(--hue) 22%, transparent); color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 700; }
.feature-card h3 { margin-block-end: 10px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.feature-dash { position: absolute; inset-block-end: 0; inset-inline-start: 0; width: 100%; height: 4px; background: var(--hue); transform: scaleX(.12); transform-origin: left; transition: transform .6s var(--ease); }
:root[dir="rtl"] .feature-dash { transform-origin: right; }
.feature-card:hover .feature-dash { transform: scaleX(1); }
.workflow-section > .workflow { padding-block-start: 10px; }
.example-panel { position: relative; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 40px; margin-block: 60px; padding: clamp(28px, 4vw, 48px); overflow: hidden; border: 0; border-radius: 32px; background: radial-gradient(ellipse at 100% 0%, rgba(255, 181, 71, .25), transparent 55%), linear-gradient(140deg, #0b3328, #041a12); color: #fff; }
.example-panel h2 { margin: 0; color: #fff; font-size: clamp(26px, 3vw, 36px); }
.example-panel .eyebrow { color: var(--sun); }
.example-panel > p { position: relative; margin: 0; padding-inline-start: 28px; color: #d1e5d8; font-size: 17px; line-height: 1.95; }
.example-panel > p::before { position: absolute; inset-block-start: -18px; inset-inline-start: -6px; color: var(--sun); font-family: Georgia, serif; font-size: 70px; line-height: 1; content: "“"; opacity: .7; }
.supplied-image-section h2 { font-size: clamp(24px, 2.6vw, 32px); }
.supplied-image-section img { width: 100%; max-height: 520px; object-fit: contain; border-radius: 16px; background: var(--forest-deep); }
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.split-content .section-heading { margin-block-end: 20px; }
.split-content .section-heading h2 { font-size: clamp(22px, 2.2vw, 28px); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span, .tag-list a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-solid); color: var(--ink); font-size: 14px; transition: transform .3s var(--spring), border-color .2s, background .2s; }
.tag-list span:hover { transform: rotate(-2deg) translateY(-2px); }
.tag-list a { border-color: color-mix(in srgb, var(--mint) 45%, transparent); background: color-mix(in srgb, var(--mint) 10%, var(--surface-solid)); }
.tag-list a:hover { background: var(--mint); color: #06281c; transform: translateY(-2px); }
.kpi-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.kpi-list li { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-solid); font-size: 15px; font-weight: 500; }
.kpi-list li span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--mint), var(--sun)); color: #06281c; font-family: var(--mono); }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit-grid article { padding: 28px; border-radius: var(--radius); background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.benefit-grid article:first-child { background: linear-gradient(140deg, color-mix(in srgb, var(--lilac) 16%, var(--surface-solid)), var(--surface-solid)); }
.benefit-grid article:last-child { background: linear-gradient(140deg, color-mix(in srgb, var(--mint) 16%, var(--surface-solid)), var(--surface-solid)); }
.benefit-grid article span { display: block; margin-block-end: 12px; color: var(--accent); font-size: 13px; font-weight: 700; }
.benefit-grid article p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.85; }
.scope-section > p { padding: 24px 28px; border-radius: 22px; background: var(--surface-2); color: var(--ink); line-height: 1.95; }
.scope-labels { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 18px; }
.scope-labels span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface-solid); border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; }
.scope-labels span::before { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); content: ""; }
.scope-labels span:nth-child(2)::before { background: var(--sun); }
.scope-labels span:nth-child(3)::before { background: var(--lilac); }
.hr-request-note { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-solid); }
.hr-request-note h3 { margin-block-end: 8px; font-size: 19px; }
.hr-request-note p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.hr-doc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 15px; }
.hr-doc-links a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--accent); font-size: 13px; font-weight: 600; transition: background .2s; }
.hr-doc-links a:hover { background: color-mix(in srgb, var(--mint) 20%, transparent); }
.implementation-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: impl; }
.implementation-list li { position: relative; padding: 20px 20px 20px 20px; padding-inline-start: 62px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-solid); color: var(--ink); font-size: 14px; line-height: 1.8; counter-increment: impl; }
.implementation-list li::before { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--mint) 22%, transparent); content: counter(impl); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.faq-item { margin-block-end: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-solid); transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--mint) 55%, transparent); box-shadow: var(--shadow-sm); }
.faq-item summary { position: relative; padding: 20px 24px; padding-inline-end: 64px; color: var(--ink); font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; inset-block-start: 50%; inset-inline-end: 18px; width: 32px; height: 32px; display: grid; place-items: center; margin-block-start: -16px; border-radius: 50%; background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--ink); content: "+"; font-family: var(--mono); font-size: 18px; transition: transform .4s var(--spring), background .3s; }
.faq-item[open] summary::after { background: var(--mint); color: #06281c; transform: rotate(135deg); }
.faq-item p { max-width: 860px; margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.9; animation: rise-in .5s var(--ease); }
.source-card { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-block: 64px; padding: 30px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.source-card h2 { margin-block-end: 9px; font-size: 22px; }
.source-card p:not(.eyebrow) { max-width: 690px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.source-card .eyebrow { margin-block-end: 10px; }
.source-card > .text-link { flex: 0 0 auto; padding: 12px 18px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 16%, transparent); }
.related-section { padding-block-end: 70px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a, .related-links span { padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-solid); color: var(--ink); font-size: 14px; font-weight: 500; transition: transform .3s var(--spring), background .2s, border-color .2s; }
.related-links a:hover { border-color: var(--mint); background: var(--mint); color: #06281c; transform: translateY(-3px) rotate(-1deg); }
.disclaimer { width: min(1260px, calc(100% - 40px)); margin: 25px auto 70px; padding: 20px 24px; border-radius: 20px; background: var(--surface-2); color: var(--muted); font-size: 13px; line-height: 1.85; }
.disclaimer a { color: var(--accent); font-weight: 700; }
.service-detail { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.service-detail h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); }
.service-detail > p { margin: 0; color: var(--ink); font-size: 17px; line-height: 2; }
.service-modules { border-block-end: none; }

/* ---------- Demo form ---------- */
.demo-form-section { width: min(1260px, calc(100% - 40px)); display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: clamp(28px, 5vw, 70px); margin: 60px auto 100px; }
.form-aside { position: sticky; inset-block-start: 110px; }
.form-aside h2 { margin-block-end: 18px; font-size: clamp(28px, 3vw, 40px); }
.form-aside > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.9; }
.form-contact-link a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 600; transition: transform .3s var(--spring); }
.form-contact-link a:hover { transform: translateY(-3px); }
.demo-form { padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: 32px; background: var(--surface-solid); box-shadow: var(--shadow); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form-field { min-width: 0; }
.form-field:has(textarea), .form-field:has(.check-fieldset), .form-field:has(.consent-label) { grid-column: 1 / -1; }
.form-field label, .check-fieldset legend { display: block; margin-block-end: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.form-field label span[aria-hidden="true"], .check-fieldset legend span[aria-hidden="true"] { color: var(--coral); }
.form-field input:not([type="checkbox"]), .form-field textarea, .form-field select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:hover, .form-field textarea:hover, .form-field select:hover { border-color: var(--line-strong); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--mint); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 22%, transparent); background: var(--surface-solid); }
.form-field [aria-invalid="true"] { border-color: var(--coral) !important; animation: shake .4s; }
.form-field small { display: block; margin-block-start: 6px; color: var(--muted); font-size: 12px; }
.field-error { display: block; min-height: 18px; margin-block-start: 4px; color: #d24b2f; font-size: 12px; }
:root[data-theme="dark"] .field-error { color: #ff9b85; }
.check-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.check-fieldset legend { padding: 0; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check-option { position: relative; display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted) !important; font-size: 13px !important; cursor: pointer; transition: transform .3s var(--spring), border-color .2s, background .2s, color .2s; }
.check-option:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.check-option input { position: absolute; opacity: 0; pointer-events: none; }
.check-option::before { width: 16px; height: 16px; flex: 0 0 auto; border: 1.5px solid var(--line-strong); border-radius: 50%; transition: background .2s, border-color .2s, box-shadow .2s; content: ""; }
.check-option:has(input:checked) { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 16%, var(--bg)); color: var(--ink) !important; }
.check-option:has(input:checked)::before { border-color: var(--emerald); background: var(--emerald); box-shadow: inset 0 0 0 3px var(--bg); }
.check-option:has(input:focus-visible) { outline: 3px solid var(--mint); outline-offset: 2px; }
.consent-label { display: flex !important; align-items: flex-start; gap: 12px; line-height: 1.8; }
.consent-label input { flex: 0 0 auto; width: 20px; height: 20px; margin-block-start: 3px; accent-color: var(--emerald); }
.consent-label a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-status { min-height: 22px; margin-block: 10px 14px; font-size: 14px; line-height: 1.75; }
.form-status:focus { outline: none; }
.form-status.is-success { padding: 18px; border-radius: 16px; background: #dcf7e8; color: #0d4a30; animation: rise-in .5s var(--ease); }
:root[data-theme="dark"] .form-status.is-success { background: #133f2d; color: #b2f0cc; }
.form-status.is-error { padding: 18px; border-radius: 16px; background: #ffece6; color: #8c2a14; animation: rise-in .5s var(--ease); }
:root[data-theme="dark"] .form-status.is-error { background: #47231b; color: #ffc6b8; }
.submission-id { display: block; margin-block-start: 5px; font-family: var(--mono); font-size: 12px; }
.submit-button { min-width: 220px; border: 0; }
.submit-button:disabled { cursor: wait; opacity: .75; }
.submit-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(6, 40, 28, .25); border-block-start-color: #06281c; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .submit-spinner { display: block; }
.required-note { margin-block: 12px 0; color: var(--muted); font-size: 12px; }
.privacy-content { width: min(820px, calc(100% - 40px)); margin: 55px auto 110px; }
.privacy-content h2 { margin-block: 38px 12px; font-size: 24px; }
.privacy-content p { color: var(--muted); font-size: 16px; line-height: 1.95; }
.privacy-content a { color: var(--accent); font-weight: 600; }
.not-found { min-height: 65vh; padding-block-end: 70px; text-align: center; }
.not-found .page-hero { margin-block-end: 30px; text-align: start; }

/* ---------- Reveal ---------- */
.motion-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.motion-reveal.is-revealed { opacity: 1; transform: none; }
.motion-reveal[data-tilt].is-revealed { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); transition-delay: 0ms; }

/* ---------- Splash ---------- */
#splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #0b3a2b, #020d09 70%); transition: opacity .7s var(--ease), visibility .7s, transform .7s var(--ease); }
#splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.06); }
.splash-core { display: grid; justify-items: center; gap: 22px; }
.splash-mark { width: 92px; height: auto; overflow: visible; filter: drop-shadow(0 0 22px rgba(52, 211, 153, .55)); }
.splash-mark rect { transform-box: fill-box; transform-origin: bottom; animation: bar-rise .9s var(--spring) both; }
.splash-mark rect:nth-of-type(2) { animation-delay: .12s; } .splash-mark rect:nth-of-type(3) { animation-delay: .24s; }
.splash-mark path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1s var(--ease) forwards .35s; }
.splash-mark circle { transform-box: fill-box; transform-origin: center; animation: pop .5s var(--spring) both 1s; }
.splash-word { color: #dff3e8; font: 600 15px var(--font); letter-spacing: .3em; text-transform: uppercase; direction: ltr; animation: rise-in .8s var(--ease) both .5s; }
html.no-splash #splash { display: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter-spin { to { transform: rotate(-360deg); } }
@keyframes planet-spin { from { transform: rotate(calc(var(--a) * -1)); } to { transform: rotate(calc(var(--a) * -1 - 360deg)); } }
@keyframes spark { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.75); } }
@keyframes aurora { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, -6%) scale(1.15); } 100% { transform: translate(-6%, 8%) scale(.9); } }
@keyframes line-up { from { transform: translateY(110%) rotate(3deg); } to { transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes world-in { from { opacity: 0; transform: scale(.85) rotate(-8deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes core-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes bar-rise { from { transform: scaleY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes type-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
@keyframes marquee-rtl { to { transform: translateX(calc(50% + 7px)); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--jc) 45%, transparent); } 80%, 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes blob { 0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } 33% { border-radius: 63% 37% 45% 55% / 55% 62% 38% 45%; } 66% { border-radius: 38% 62% 35% 65% / 62% 38% 62% 38%; } }
@keyframes gradient-pan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes ring-tilt { to { transform: rotateX(70deg) rotateZ(calc(var(--z, 0deg) + 360deg)); } }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .primary-nav { gap: 6px; font-size: 13px; }
  .nav-links a { padding-inline: 11px; }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento .content-card:nth-child(2), .bento .content-card:nth-child(8) { grid-column: span 1; }
  .journey-grid, .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-code { inset-inline-start: -2%; width: 220px; }
  .world-shot { width: 210px; inset-inline-end: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .menu-toggle { display: flex; }
  .header-inner { height: 62px; }
  .primary-nav { position: absolute; inset-block-start: calc(100% + 10px); inset-inline: 0; display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-solid); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; padding: 0; background: transparent; }
  .nav-links a { min-height: 50px; padding-inline: 18px; border-radius: 16px; font-size: 16px; }
  .header-cta { min-height: 52px; justify-content: center; font-size: 15px; }
  .nav-tools { justify-content: center; padding-block-start: 10px; border-block-start: 1px solid var(--line); }
  .home-hero { min-height: 0; padding-block: 130px 30px; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .home-copy { max-width: 700px; }
  .world { width: min(100%, 520px); margin-block-start: 20px; }
  .page-hero { grid-template-columns: 1fr; min-height: 0; padding-block-end: 20px; }
  .orb-scene { width: min(100%, 320px); }
  .proof-section { grid-template-columns: 1fr; }
  .service-rail a { grid-template-columns: 50px minmax(0, 1fr) 46px; }
  .rail-text { display: none; }
  .rail-arrow { width: 46px; height: 46px; }
  .intro-block, .service-detail, .example-panel, .split-content { grid-template-columns: 1fr; gap: 24px; }
  .demo-form-section { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .service-section-head { display: block; }
  .service-aside { margin-block: -20px 36px; }
}
@media (max-width: 700px) {
  .section { padding-inline: 18px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
  .bento .content-card:nth-child(1) { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .bento .content-card:nth-child(2), .bento .content-card:nth-child(14) { grid-column: 1 / -1; }
  .bento .content-card:nth-child(n+3) p { display: none; }
  .bento .content-card:nth-child(n+3) .card-icon { margin-block-end: 14px; }
  .bento .content-card:nth-child(n+3) h3 { font-size: 16px; margin-block-end: 12px; }
  .content-card { min-height: 0; padding: 20px; }
  .content-card p { font-size: 13px; }
  .module-grid, .service-grid { grid-template-columns: 1fr; }
  .journey-grid { display: flex; gap: 12px; margin-inline: -18px; padding: 4px 18px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .journey-grid::-webkit-scrollbar { display: none; }
  .journey-card { flex: 0 0 84%; scroll-snap-align: center; }
  .principle-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { padding: 18px 22px; }
  .workflow { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .workflow li:nth-child(2n)::after { display: none; }
  .process-path { display: none; }
  .proof-section, .cta-band { margin-inline: 12px; border-radius: 30px; padding: 34px 22px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .screenshot-gallery { grid-template-columns: 1fr; }
  .world-code { inset-block-start: -2%; inset-inline-start: 0; width: 190px; padding: 10px 12px; font-size: 10px; }
  .world-shot { display: none; }
  .planet > span { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 13px; }
  .planet .ui-icon { width: 18px; height: 18px; }
  .planet-sm > span { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .hero-pills li { font-size: 12px; }
  .scroll-cue { display: none; }
  .breadcrumbs, .page-hero, .content-wrap, .demo-form-section, .disclaimer, .privacy-content { width: calc(100% - 24px); }
  .page-hero { border-radius: 30px; padding: 34px 22px 10px; }
  .hero-lead { font-size: 15px; }
  .orb-chip { font-size: 11px; padding: 8px 10px; }
  .orb-scene { width: min(100%, 250px); }
  .feature-grid, .kpi-list, .benefit-grid, .implementation-list { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .source-card { flex-direction: column; align-items: flex-start; margin-block: 40px; padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .demo-form { padding: 22px 16px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-bottom span:last-child { max-width: none; text-align: start; }
  .whatsapp-float { width: 54px; height: 54px; inset-inline-end: 14px; }
  .service-rail a { gap: 14px; padding-block: 22px; }
  .marquee a { font-size: 13px; }
}
@media (max-width: 420px) {
  .brand img { width: 124px; }
  .header-inner { width: calc(100% - 20px); padding-inline: 12px 8px; }
  .button { min-height: 50px; padding-inline: 20px; font-size: 14px; }
  .hero-actions .button { flex: 1 1 auto; }

  .workflow { grid-template-columns: 1fr; }
  .workflow li { flex-direction: row; align-items: center; }
  .workflow li::after { display: none; }
  .proof-section .workflow li > span:last-child { align-self: auto; flex: 1; }
}
@media (hover: none) {
  [data-tilt]:hover { --lift: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .motion-reveal { opacity: 1; transform: none; filter: none; }
  .core-root, .splash-mark path { stroke-dashoffset: 0; }
}

/* Theme switch: circular reveal from the toggle */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .7s var(--ease); }
@keyframes theme-reveal { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); } to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 0)); } }

/* Simple demo request form */
.simple-demo { margin-block-start: 30px; align-items: center; }
.simple-demo .form-aside h1 { margin-block-end: 18px; font-size: clamp(34px, 4.4vw, 58px); text-wrap: balance; }
.simple-demo .form-aside > p:not(.eyebrow) { font-size: 17px; }
.demo-steps { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.demo-steps li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.demo-steps b { width: 36px; height: 36px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--mint), var(--sun)); color: #06281c; font-family: var(--mono); font-size: 14px; }
.simple-demo .demo-form { position: relative; overflow: hidden; }
.simple-demo .demo-form::before { position: absolute; inset-block-start: 0; inset-inline: 0; height: 5px; background: linear-gradient(90deg, var(--mint), var(--sun), var(--lilac)); content: ""; }
.simple-demo .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.simple-demo .form-grid > .form-field:has(fieldset), .simple-demo .email-reveal, .simple-demo .more-details, .simple-demo .form-grid > .form-field:has(.consent-label) { grid-column: 1 / -1; }
.form-field label em, .check-fieldset legend em, .more-details summary em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 400; }
.form-field input::placeholder, .form-field textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.segmented .check-option { justify-content: center; min-height: 50px; border-radius: 16px; font-size: 14px !important; font-weight: 500; }
.email-reveal:not([hidden]) { animation: rise-in .45s var(--ease); }
.more-details { border: 1.5px dashed var(--line-strong); border-radius: 18px; }
.more-details summary { padding: 14px 18px; color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary::before { display: inline-block; margin-inline-end: 8px; content: "+"; font-family: var(--mono); transition: transform .3s var(--spring); }
.more-details[open] summary::before { transform: rotate(45deg); }
.more-details > .form-grid { padding: 0 18px 18px; }
.more-details > .form-grid > .form-field:has(textarea) { grid-column: 1 / -1; }
.simple-demo .submit-button { width: 100%; min-height: 58px; font-size: 16px; }
@media (max-width: 700px) {
  .simple-demo { margin-block-start: 10px; }
  .simple-demo .form-grid { grid-template-columns: 1fr; }
  .demo-steps { display: none; }
  .segmented .check-option { min-height: 46px; padding-inline: 6px; font-size: 13px !important; }
}

/* HR employee app: phone screenshot gallery */
.hr-phones { position: relative; padding-block: clamp(60px, 8vw, 100px); overflow: visible; }
.hr-phones::before { position: absolute; z-index: -1; inset: 18% -6% 8%; border-radius: 48px; background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--mint) 22%, transparent), transparent 65%), radial-gradient(ellipse at 15% 90%, color-mix(in srgb, var(--sun) 16%, transparent), transparent 60%), radial-gradient(ellipse at 85% 90%, color-mix(in srgb, var(--lilac) 16%, transparent), transparent 60%); content: ""; }
.phone-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: clamp(12px, 2vw, 26px); padding-block: 20px 10px; }
.phone { margin: 0; text-align: center; }
.phone-frame { display: block; width: 100%; padding: 7px; border: 0; border-radius: 34px; background: linear-gradient(160deg, #1d4a3a, #06180f); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 30px 60px -24px rgba(6, 34, 24, .55); cursor: zoom-in; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); transition: transform .6s var(--spring), box-shadow .4s; }
.phone-frame img { width: 100%; height: auto; aspect-ratio: 584 / 1280; object-fit: cover; border-radius: 28px; background: #f4f1ea; }
.phone-frame:hover, .phone-frame:focus-visible { box-shadow: 0 0 0 2px var(--mint), 0 40px 70px -24px rgba(6, 34, 24, .6); transform: translateY(-12px) rotate(0) scale(1.03); }
.phone figcaption { display: grid; gap: 4px; margin-block-start: 22px; padding-inline: 4px; transform: translateY(var(--y, 0)); }
.phone figcaption b { font-size: 16px; }
.phone figcaption span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.phones-note { margin: 64px auto 0; max-width: 680px; color: var(--muted); font-size: 13px; text-align: center; }
.lightbox { max-width: min(440px, 92vw); max-height: 94vh; padding: 0; overflow: visible; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(3, 18, 13, .82); backdrop-filter: blur(8px); }
.lightbox[open] { animation: rise-in .4s var(--ease); }
.lightbox figure { margin: 0; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(94vh - 70px); margin-inline: auto; border: 7px solid #0d2a20; border-radius: 34px; }
.lightbox figcaption { padding: 14px 8px 0; font-size: 14px; line-height: 1.7; text-align: center; }
.lightbox-close { position: absolute; inset-block-start: -14px; inset-inline-end: -14px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mint); color: #06281c; font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 920px) {
  .phone-rail { display: flex; gap: 16px; margin-inline: -20px; padding: 20px 20px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .phone-rail::-webkit-scrollbar { display: none; }
  .phone { flex: 0 0 min(58%, 240px); scroll-snap-align: center; }
  .phone-frame, .phone figcaption { transform: none; }
  .phones-note { margin-block-start: 20px; }
}

/* Services index: let a lone last card span the row */
.service-grid .content-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
@media (max-width: 700px) { .service-grid .content-card:last-child:nth-child(3n + 1) { grid-column: auto; } }

/* =========================================================
   Rooty — the living mascot
   ========================================================= */
.rooty { display: block; max-width: none; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 18px 24px rgba(6, 34, 24, .18)); }
@keyframes rooty-bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -10px; rotate: -1.5deg; } }
@keyframes rooty-pop { 0% { transform: scale(.7) rotate(-8deg); } 60% { transform: scale(1.08) rotate(3deg); } 100% { transform: none; } }
@keyframes rooty-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }

/* Hero Rooty with a speech bubble */
.rooty-hero { position: absolute; z-index: 5; inset-block-end: -4%; inset-inline-start: -3%; width: 42%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rooty-hero-img { width: 100%; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .45)); animation: rooty-bob 4.5s ease-in-out infinite; transform-origin: 50% 90%; }
.rooty-hero.is-popping .rooty-hero-img { animation: rooty-pop .55s var(--spring), rooty-bob 4.5s ease-in-out .55s infinite; }
.rooty-hero:hover .rooty-hero-img { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .45)) drop-shadow(0 0 22px rgba(110, 240, 181, .45)); }
.rooty-hero:focus-visible { outline-offset: 6px; border-radius: 24px; }
.rooty-bubble { position: absolute; z-index: 2; inset-block-end: 96%; inset-inline-start: 38%; width: max-content; max-width: 230px; padding: 10px 14px; border-radius: 18px; border-end-start-radius: 4px; background: #fffdf8; color: #0f241b; font-size: 13px; font-weight: 500; line-height: 1.55; text-align: start; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .5); animation: rise-in .5s var(--ease) both .9s; }
.rooty-hero.is-popping .rooty-bubble { animation: rooty-pop .5s var(--spring); }
.rooty-bubble::after { position: absolute; inset-block-start: 100%; inset-inline-start: 0; width: 14px; height: 10px; background: #fffdf8; clip-path: polygon(0 0, 100% 0, 0 100%); content: ""; }
:root[dir="rtl"] .rooty-bubble::after { clip-path: polygon(0 0, 100% 0, 100% 100%); }

/* Section companions */
.journey-section, .section-modules, .principles, .screenshot-section { position: relative; }
.rooty-deco { position: absolute; z-index: 2; opacity: 0; transform: translateY(30px) scale(.9); transition: opacity .8s var(--ease), transform .9s var(--spring); }
.rooty-deco.is-in { opacity: 1; transform: none; animation: rooty-float 6s ease-in-out infinite 1s; }
.rooty-think { inset-block-start: clamp(50px, 6vw, 90px); inset-inline-end: var(--gutter); width: clamp(150px, 15vw, 230px); }
.rooty-cubes { inset-block-start: clamp(40px, 5vw, 80px); inset-inline-end: var(--gutter); width: clamp(170px, 17vw, 260px); }
.rooty-meditate { inset-block-start: clamp(40px, 5vw, 70px); inset-inline-start: var(--gutter); width: clamp(150px, 14vw, 220px); }
.proof-section { padding-block-end: calc(clamp(40px, 6vw, 80px) + 70px); }
.rooty-laptop { inset-block-end: -8px; inset-inline-end: 4%; width: clamp(140px, 13vw, 200px); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .4)); }
.rooty-laptop.is-in { animation: none; }
.service-aside .rooty-wrench { flex: 0 0 auto; width: 110px; opacity: 0; transform: rotate(-12deg) scale(.6); transition: opacity .6s, transform .8s var(--spring); }
.service-aside .rooty-wrench.is-in { opacity: 1; transform: none; }
.service-aside { max-width: 360px; }
.screenshot-section { overflow-x: clip; }
.rooty-peek { position: absolute; z-index: 2; inset-block-start: clamp(30px, 5vw, 70px); left: 0; width: clamp(110px, 11vw, 180px); translate: -100% 0; transition: translate 1s var(--spring) .2s; }
.rooty-peek.is-in { translate: -4% 0; }
:root[dir="ltr"] .rooty-peek { left: auto; right: 0; scale: -1 1; translate: 100% 0; }
:root[dir="ltr"] .rooty-peek.is-in { translate: 4% 0; }

/* CTA runner */
.cta-wrap { position: relative; margin: clamp(90px, 10vw, 140px) var(--gutter) clamp(60px, 8vw, 110px); }
.cta-wrap .cta-band { margin: 0; }
.rooty-runner { position: absolute; z-index: 3; inset-block-start: clamp(-130px, -9vw, -90px); inset-inline-end: 9%; width: clamp(170px, 17vw, 250px); opacity: 0; translate: -60vw 0; filter: drop-shadow(0 18px 20px rgba(6, 34, 24, .25)); }
:root[dir="rtl"] .rooty-runner { scale: -1 1; translate: 60vw 0; }
.rooty-runner.is-in { opacity: 1; translate: 0 0; transition: translate 1.3s cubic-bezier(.15, .85, .25, 1), opacity .3s; animation: rooty-bob 1.2s ease-in-out infinite 1.3s; }

/* Demo form + success */
.rooty-form { width: 150px; margin-block-end: 8px; margin-inline-start: -12px; animation: rooty-bob 5s ease-in-out infinite; }
.rooty-success { float: inline-end; width: 96px; margin: -36px 0 -8px 8px; animation: rooty-pop .6s var(--spring); }
.form-status.is-success { overflow: visible; }

/* Service heroes: Rooty in his element */
.mascot-scene { position: relative; width: min(100%, 400px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: end center; animation: world-in 1.2s var(--ease) both; }
.mascot-halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(110, 240, 181, .55), rgba(25, 123, 87, .25) 45%, transparent 70%); box-shadow: 0 0 0 1px rgba(160, 255, 210, .18), 0 0 0 30px rgba(160, 255, 210, .04), 0 0 0 60px rgba(160, 255, 210, .03); animation: core-breathe 6s ease-in-out infinite; }
.mascot-hero-img { position: relative; z-index: 1; width: 92%; margin-block-end: 4%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); animation: rooty-bob 5s ease-in-out infinite; }
.mascot-scene .orb-chip { z-index: 2; }

/* Click bursts */
.burst-bit { position: fixed; z-index: 10001; pointer-events: none; will-change: transform, opacity; }
.burst-leaf { width: 11px; height: 7px; border-radius: 0 100% 0 100%; background: var(--c); }
.burst-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.burst-digit { color: var(--c); font: 700 13px var(--mono); text-shadow: 0 0 8px var(--c); }

/* Sound toggle */
.sound-toggle { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: transform .3s var(--spring), border-color .2s, background .2s; }
.sound-toggle:hover { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 12%, transparent); transform: translateY(-2px); }
.sound-toggle .snd-off, .sound-toggle[aria-pressed="false"] .snd-on { display: none; }
.sound-toggle[aria-pressed="false"] .snd-off { display: inline; }

/* Rooty cursor (mouse devices only) */
html.has-rooty-cursor, html.has-rooty-cursor * { cursor: none !important; }
html.has-rooty-cursor input:not([type="checkbox"]):not([type="radio"]), html.has-rooty-cursor textarea { cursor: text !important; }
html.has-rooty-cursor select { cursor: default !important; }
.rooty-cursor { position: fixed; z-index: 10000; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; }
.rooty-cursor.is-visible { opacity: 1; }
.rooty-cursor.is-native { opacity: 0; }
.rc-dot { position: fixed; inset-block-start: 0; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px #06281c, 0 0 14px rgba(52, 211, 153, .9); transition: width .25s var(--spring), height .25s var(--spring), margin .25s var(--spring), background .2s; }
.rooty-cursor.is-down .rc-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.rc-head { position: fixed; inset-block-start: 0; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #2a7a5a, #06281c); box-shadow: 0 0 0 2px var(--mint), 0 10px 22px rgba(0, 0, 0, .35); will-change: transform; }
.rc-head img { width: 100%; height: 100%; transform: scale(1.18) translateY(4%); transition: transform .3s var(--spring); }
.rooty-cursor.is-down .rc-head img { transform: scale(1.45) translateY(6%) rotate(-6deg); }
.rooty-cursor.is-down .rc-head { box-shadow: 0 0 0 3px var(--sun), 0 0 26px rgba(255, 181, 71, .7); }

@media (max-width: 920px) {
  .rooty-hero { inset-inline-start: -4%; width: 40%; }
  .rooty-think, .rooty-cubes, .rooty-meditate { width: clamp(120px, 18vw, 170px); }
}
@media (max-width: 700px) {
  .rooty-deco:not(.rooty-laptop) { position: static; width: 128px; margin: 0 0 6px; }
  .rooty-meditate { margin-inline: auto !important; }
  .rooty-laptop { width: 120px; }
  .proof-section { padding-block-end: 120px; }
  .rooty-hero { inset-block-end: -2%; inset-inline-start: -2%; width: 42%; }
  .rooty-bubble { max-width: 170px; padding: 8px 11px; font-size: 12px; }
  .rooty-peek { width: 96px; inset-block-start: 10px; }
  .rooty-runner { width: 150px; inset-block-start: -96px; }
  .cta-wrap { margin: 110px 12px 60px; }
  .service-aside .rooty-wrench { width: 84px; }
  .mascot-scene { width: min(100%, 270px); }
}
@media (prefers-reduced-motion: reduce) {
  .rooty-deco, .rooty-runner, .rooty-peek, .service-aside .rooty-wrench { opacity: 1 !important; transform: none !important; translate: 0 0 !important; }
}
