/* ==========================================================================
   Ganakya Studio — multi-page additions
   (portrait hero, side menu, characters, page headers, story, team)
   ========================================================================== */

/* ---------- page transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; background: var(--ink); color: #fff; transform: translateY(101%); pointer-events: none; }
.curtain span { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -.03em; opacity: .92; }
.no-loader .loader { display: none !important; }
.js.no-loader .curtain { transform: none; }
.js.no-loader.is-loaded .curtain { transform: translateY(-101%); transition: transform 1s var(--ease-io) .05s; }
.js.is-leaving .curtain { transform: none !important; transition: transform .65s var(--ease-io) !important; pointer-events: auto; }

/* ---------- portrait hero (home) ---------- */
.phero { position: relative; height: max(780px, 100svh); overflow: clip; isolation: isolate; }
.phero-word {
  position: absolute; left: 0; right: 0; top: clamp(84px, 11vh, 118px); z-index: 1;
  display: flex; justify-content: center;
  font-family: var(--serif); font-size: 15.6vw; line-height: .82; letter-spacing: -.01em;
  color: rgba(15, 15, 16, .035); -webkit-text-stroke: 1.2px rgba(15, 15, 16, .78);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.phero-word span { display: inline-block; overflow: hidden; padding: 0 .01em .06em; }
.phero-word span i { display: inline-block; font-style: normal; transform: translateY(105%); transition: transform 1.4s var(--ease); transition-delay: calc(var(--li) * 70ms + 120ms); }
.is-loaded .phero-word span i { transform: none; }
.phero-portrait { position: absolute; z-index: 2; bottom: 0; left: 50%; width: min(90vh, 62vw); aspect-ratio: 1; transform: translateX(-28%); }
.phero-portrait canvas, .founder-portrait canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.portrait-hint { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow-sm); pointer-events: none; }
.portrait-hint .ico { width: 14px; height: 14px; color: var(--blue); animation: twinkle 3s ease-in-out infinite; }
.phero .portrait-hint { right: -2%; top: 30%; }
.js .phero .portrait-hint { opacity: 0; transition: opacity 1s 2.4s; }
.js.is-loaded .phero .portrait-hint { opacity: 1; }
.phero-content { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-bottom: clamp(36px, 6vh, 64px); pointer-events: none; }
.phero-content a, .phero-content button { pointer-events: auto; }
.phero-left { max-width: 470px; }
.phero-left .label { margin-bottom: 20px; }
.phero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 4.9vw, 4.9rem); line-height: .95; letter-spacing: -.03em; }
.phero-title .line { display: block; }
.phero-title .italic { font-style: italic; --split-delay: 160ms; }
.phero-sub { margin-top: 18px; max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.phero .hero-cta { justify-content: flex-start; margin-top: 26px; }
.founder-tag { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow-sm); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .5s var(--ease); }
.founder-tag:hover { transform: translateY(-2px); }
.founder-tag .ft-av { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 18px; font-style: italic; }
.founder-tag b { display: block; font-size: 14px; line-height: 1.2; }
.founder-tag small { display: block; font-size: 12px; color: var(--muted); }
.founder-tag .ico { width: 15px; height: 15px; color: var(--muted); }
.scroll-cue { position: absolute; z-index: 3; right: max(var(--pad), (100vw - var(--container)) / 2); bottom: clamp(36px, 6vh, 64px); display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 64px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- side section menu (home) ---------- */
.side-nav { position: fixed; left: 20px; top: 50%; z-index: 400; transform: translate(-150%, -50%); opacity: 0; transition: transform .9s var(--ease), opacity .5s var(--ease); }
.side-nav.on { transform: translate(0, -50%); opacity: 1; }
.sn-pill { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; border-radius: 26px; background: rgba(255, 255, 255, .66); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .92), 0 0 0 1px var(--line), var(--shadow); }
.sn-track { position: absolute; left: 22px; top: 25px; bottom: 25px; width: 1.5px; margin-left: -.75px; border-radius: 2px; background: var(--line-2); }
.sn-track i { display: block; width: 100%; height: var(--p, 0%); border-radius: inherit; background: var(--blue); transition: height .7s var(--ease); }
.sn-item { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 8px 0 7px; border-radius: 999px; color: var(--ink-2); transition: background .3s; }
.sn-item:hover { background: rgba(15, 15, 16, .05); }
.sn-dot { width: 14px; height: 14px; flex: none; display: grid; place-items: center; }
.sn-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--dim); transition: all .5s var(--ease); }
.sn-item.is-done .sn-dot::before { background: var(--blue); box-shadow: none; }
.sn-item.is-active .sn-dot::before { width: 12px; height: 12px; background: var(--blue); box-shadow: 0 0 0 4px rgba(59, 91, 253, .18); }
.sn-label { display: flex; align-items: baseline; gap: 7px; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-size: 13px; font-weight: 500; transition: max-width .55s var(--ease), opacity .35s var(--ease); }
.sn-label small { font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.side-nav:hover .sn-label, .side-nav:focus-within .sn-label { max-width: 130px; opacity: 1; }
.sn-item.is-active .sn-label { color: var(--ink); }
.sn-chip { position: absolute; left: calc(100% + 12px); top: 0; display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 13px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 500; color: #fff; background: var(--ink); box-shadow: var(--shadow); transform: translate(-6px, var(--cy, 0px)); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .6s var(--ease); }
.sn-chip small { font-size: 10.5px; color: #a1a1aa; }
.sn-chip.show { opacity: 1; transform: translate(0, var(--cy, 0px)); }
.side-nav:hover .sn-chip { opacity: 0; }
.sn-count { margin-top: 10px; text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- characters ---------- */
.char { position: relative; }
.char-in { position: relative; transition: transform .7s var(--ease); will-change: transform; }
.char-float { animation: charFloat 9s ease-in-out infinite; }
@keyframes charFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.char img { display: block; width: 100%; height: auto; filter: drop-shadow(0 34px 44px rgba(20, 20, 40, .16)); user-select: none; -webkit-user-drag: none; }
.char-fade { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
.char-fade img { filter: none; }
.char-sheen { position: absolute; inset: 0; pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; background: linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); background-size: 280% 100%; background-position: 130% 0; animation: charSheen 7s var(--ease-io) infinite; }
@keyframes charSheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.js [data-char] .char-in { clip-path: inset(100% 0 0 0); scale: 1.08; transition: clip-path 1.6s var(--ease), scale 1.8s var(--ease), transform .7s var(--ease); }
.js [data-char].is-in .char-in { clip-path: inset(-10% -10% -10% -10%); scale: 1; }

/* ---------- page header with character ---------- */
.phead { position: relative; padding: clamp(140px, 18vh, 190px) 0 clamp(60px, 8vw, 100px); overflow: clip; isolation: isolate; }
.phead-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.phead-text { position: relative; z-index: 2; }
.phead-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 6.4vw, 6.2rem); line-height: .95; letter-spacing: -.03em; }
.phead-title .line { display: block; }
.phead-title .italic { font-style: italic; --split-delay: 160ms; }
.phead-sub { margin-top: 24px; max-width: 520px; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.65; }
.phead .hero-cta { justify-content: flex-start; }
.phead-char .char { width: min(620px, 100%); margin-left: auto; }
.phead.center { text-align: center; padding-bottom: 30px; }
.phead.center .phead-sub { margin-inline: auto; }
.phead.center .hero-cta { justify-content: center; }
.phead .badge { position: absolute; top: auto; right: auto; left: calc(max(var(--pad), (100vw - var(--container)) / 2) + 470px); bottom: 70px; z-index: 3; }

/* ---------- CTA band ---------- */
.band { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; min-height: 540px; border-radius: 40px; overflow: hidden; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow-lg); isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 20% 100%, rgba(180, 196, 255, .45), transparent 70%), radial-gradient(40% 60% at 90% 10%, rgba(221, 205, 255, .4), transparent 70%); }
.band-char { align-self: end; margin: 30px 0 -40px -10px; }
.band-char .char { width: min(500px, 100%); margin: 0 auto; }
.band-text { position: relative; z-index: 1; padding: clamp(32px, 5vw, 70px) clamp(28px, 5vw, 70px) clamp(32px, 5vw, 70px) 10px; }
.band-text .title { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.band-text .hero-cta { justify-content: flex-start; }
.band.plain { grid-template-columns: 1fr; min-height: 0; text-align: center; }
.band.plain .band-text { padding: clamp(48px, 7vw, 96px) 24px; }
.band.plain .lead { margin-inline: auto; }
.band.plain .hero-cta { justify-content: center; }
.band .badge { position: absolute; right: 5%; top: 9%; left: auto; }
.statement-link { margin-top: 36px; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.statement-link .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.statement-link:hover .ico { transform: translateX(4px); }

/* ---------- story: values + quote ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 30px 26px; border-radius: 30px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow-sm); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), translate 1.2s var(--ease), opacity 1s var(--ease); }
.value:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow-lg); }
.value-num { font-family: var(--serif); font-style: italic; font-size: 72px; line-height: .9; color: var(--blue); }
.value h3 { margin-top: auto; font-family: var(--serif); font-size: 32px; line-height: 1.05; letter-spacing: -.015em; }
.value p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.value::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 91, 253, .14), transparent 70%); transition: transform .8s var(--ease); }
.value:hover::after { transform: scale(1.6); }
.quote { max-width: 1000px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; }
.quote blockquote em { color: var(--blue); }
.quote figcaption { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.quote .qmark { display: block; margin: 0 auto 10px; font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--blue); }

/* ---------- team ---------- */
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.founder-portrait { position: relative; aspect-ratio: 1; border-radius: 40px; overflow: hidden; background: radial-gradient(90% 80% at 50% 20%, #ffffff, #f1f0eb 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow-lg); }
.founder-portrait::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); opacity: .6; }
.founder-portrait canvas { position: relative; }
.founder-portrait .portrait-hint { left: 20px; top: 20px; }
.founder-portrait .fp-tag { position: absolute; right: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: var(--ink); }
.founder-info .title { font-size: clamp(3rem, 6vw, 5.6rem); }
.founder-role { margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--blue); letter-spacing: .02em; }
.founder-facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.founder-facts li { padding: 18px 16px 0 0; }
.founder-facts small { display: block; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.founder-facts b { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.founder-links { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.founder-links a.ext { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; }
.founder-links a.ext .ico { width: 15px; height: 15px; color: var(--muted); transition: transform .4s var(--ease); }
.founder-links a.ext:hover .ico { transform: translate(2px, -2px); }

.future { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.seats { margin-top: 34px; display: grid; gap: 12px; }
.seat { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s, translate 1.2s var(--ease), opacity 1s var(--ease); }
.seat:hover { transform: translateX(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow); }
.seat-av { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed var(--line-2); color: var(--dim); font-size: 20px; }
.seat b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; }
.seat small { display: block; color: var(--muted); font-size: 13.5px; }
.seat .seat-status { margin-left: auto; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); white-space: nowrap; }
.future-char .char { width: min(540px, 100%); margin-left: auto; }

/* ---------- apps: fox feature ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-bottom: clamp(60px, 8vw, 100px); }
.feature-char .char { width: min(500px, 100%); }
.feature-points { margin-top: 30px; display: grid; gap: 16px; }
.feature-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--muted); }
.feature-points .ico { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); stroke-width: 2.4; }
.feature-points b { display: block; font-size: 16px; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .side-nav { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .phero { height: auto; padding: 116px 0 0; display: flex; flex-direction: column; }
  .phero-word { position: relative; top: auto; order: 1; font-size: 17vw; }
  .phero-portrait { position: relative; order: 2; left: auto; bottom: auto; width: min(560px, 100%); margin: -5vw auto 0; transform: none; }
  .phero .portrait-hint { right: 3%; top: auto; bottom: 18%; }
  .phero-content { position: relative; order: 3; padding: 14px 0 56px; }
  .phero-left { max-width: none; }
  .scroll-cue { display: none; }
  .phead-grid, .band, .founder-grid, .future, .feature { grid-template-columns: 1fr; }
  .phead-char .char { width: min(440px, 90%); margin: 0 auto; }
  .band-char { order: 2; margin: 0 auto -30px; }
  .band-text { padding: 40px 28px 10px; }
  .feature-char { order: -1; }
  .feature-char .char, .future-char .char { margin: 0 auto; width: min(420px, 90%); }
  .phead .badge { display: none; }
}
@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .value h3 { margin-top: 26px; }
  .founder-facts { grid-template-columns: 1fr; }
  .founder-facts li { padding: 14px 0 0; }
  .seat { flex-wrap: wrap; }
  .seat .seat-status { margin-left: 64px; }
  .band { border-radius: 30px; }
  .founder-portrait { border-radius: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .phero-word span i { transform: none; }
  .js [data-char] .char-in { clip-path: none; scale: 1; }
  .curtain { display: none; }
}

/* tighter rhythm after centred page headers */
.phead.center + .section { padding-top: clamp(40px, 6vw, 80px); }

.hint-touch { display: none; }
@media (hover: none) { .hint-touch { display: inline; } .hint-mouse { display: none; } }

/* ---------- team: real founder photo ---------- */
.founder-photo { position: relative; }
.founder-photo .char-in { border-radius: 40px; }
.fp-frame { position: relative; aspect-ratio: 1; border-radius: 40px; overflow: hidden; background: #e9e7e1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 0 1px var(--line), var(--shadow-lg); }
.fp-frame img { width: 100%; height: 100%; object-fit: cover; filter: none; transform: scale(1.03); transition: transform 1.6s var(--ease); }
.founder-photo:hover .fp-frame img { transform: scale(1.08); }
.fp-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 15, 16, .38), transparent 38%); pointer-events: none; }
.founder-photo .fp-tag { position: absolute; right: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); background: #fff; }
.fp-chip { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
.fp-chip i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .2); animation: blink 1.8s ease-in-out infinite; }
.founder-apps { margin-top: 28px; }
.founder-apps > small, .founder-skills-k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.app-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.app-chips > * { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .4s; }
.app-chips > *:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.app-chips i { width: 20px; height: 20px; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.app-chips .ico { width: 13px; height: 13px; color: var(--muted); }
.founder-skills { margin-top: 18px; }
@media (max-width: 640px) { .fp-frame, .founder-photo .char-in { border-radius: 30px; } }

/* ---------- portrait stage: full-screen layer so dots can drift across the page ---------- */
.portrait-stage { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

/* ---------- home section rail (built into the page margin) ---------- */
.rail { position: fixed; left: 30px; top: 50%; z-index: 400; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; opacity: 0; pointer-events: none; transform: translate(-14px, -50%); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.rail.on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.rail-list { display: grid; gap: 4px; }
.rail-item { display: flex; align-items: center; gap: 10px; height: 24px; font-size: 11px; font-weight: 600; letter-spacing: .05em; font-variant-numeric: tabular-nums; color: var(--dim); transition: color .4s var(--ease); }
.rail-item i { display: block; width: 12px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: .55; transition: width .6s var(--ease), background .4s, opacity .4s, height .3s; }
.rail-item:hover { color: var(--ink); }
.rail-item:hover i { width: 22px; opacity: 1; }
.rail-item.is-done { color: var(--ink-2); }
.rail-item.is-active { color: var(--ink); }
.rail-item.is-active i { width: 30px; height: 2px; background: var(--blue); opacity: 1; }
.rail-line { display: block; width: 1px; height: 44px; margin-left: 6px; background: var(--line-2); }
.rail-label { margin-left: 1px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); transition: opacity .16s ease, translate .3s var(--ease); }
.rail-label.swap { opacity: 0; translate: 0 6px; }
.rail-count { font-size: 10.5px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* keep a clean margin for the rail so it never sits on top of content */
@media (min-width: 1101px) {
  html[data-page="home"] .container { width: min(var(--container), 100% - 2 * max(var(--pad), 108px)); }
  html[data-page="home"] .work-track { padding-inline: max(108px, (100vw - var(--container)) / 2); }
}
@media (max-width: 1100px) { .rail { display: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* keep moving content out of the rail margin on home */
@media (min-width: 1101px) {
  html[data-page="home"] .marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 104px, #000 240px, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(90deg, transparent 0, transparent 104px, #000 240px, #000 calc(100% - 140px), transparent); }
  html[data-page="home"] .work-window { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 96px, #000 170px); mask-image: linear-gradient(90deg, transparent 0, transparent 96px, #000 170px); }
}

.work-window { position: relative; }

/* ==========================================================================
   The studio's own apps — real screens, each in its own design language
   ========================================================================== */
.wv-app, .appx-vis { background: #f1f1ee; }
.t-recline { background: radial-gradient(120% 90% at 80% 0%, #c3cdff 0%, #e2e7ff 45%, #f3f4fb 100%); }
.t-helper { background: radial-gradient(120% 90% at 20% 0%, #e3f5a3 0%, #f0f7d5 45%, #f6f7f1 100%); }
.t-saaransh { background: radial-gradient(120% 90% at 80% 0%, #b7e2da 0%, #def0ec 45%, #f3f7f6 100%); }
.t-mapsync { background: radial-gradient(120% 90% at 20% 0%, #e8fb9a 0%, #f2fad0 45%, #f5f6f1 100%); }
.t-gymdesk { background: radial-gradient(120% 90% at 80% 0%, #c6ccd9 0%, #e3e6ee 45%, #f4f5f8 100%); }
.t-dealnest { background: radial-gradient(120% 90% at 20% 0%, #ffcfb4 0%, #ffe8da 45%, #fbf6f2 100%); }

.aphone {
  position: absolute; left: 50%; top: 12%;
  width: 236px; height: 480px; margin-left: -118px;
  border-radius: 38px; overflow: hidden;
  background: #0d0d10;
  box-shadow: 0 0 0 7px #1a1a1e, 0 0 0 8px rgba(0, 0, 0, .25), 0 50px 80px -24px rgba(20, 24, 60, .45);
  transition: transform 1s var(--ease);
}
.wcard:hover .aphone, .appx:hover .aphone { transform: translateY(-10px); }
.aphone-island { position: absolute; z-index: 3; top: 9px; left: 50%; width: 68px; height: 20px; margin-left: -34px; border-radius: 12px; background: #000; }
.wv-app .toast { z-index: 4; animation-delay: var(--td, 0s); }
.toast.t-left { left: 18px; right: auto; }
.toast.t-bottom { top: auto; bottom: 26px; }

/* one screen — sizes are in container units so it scales with the phone */
.ascr { position: absolute; inset: 0; overflow: hidden; container-type: inline-size; text-align: left; font-family: var(--sans, Inter, system-ui, sans-serif); }
.ascr ul { margin: 0; }
.ascr p { margin: 0; max-width: none; color: inherit; font-size: inherit; }
.ascr-ui { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 5cqw; padding: 15cqw 7cqw 6cqw; font-size: 4.4cqw; line-height: 1.3; }
.ascr-ui b { font-weight: 600; }
.ascr-ui small { display: block; font-size: 3.5cqw; opacity: .7; }
.ascr-status { position: absolute; top: 4.6cqw; left: 10cqw; right: 9cqw; display: flex; justify-content: space-between; align-items: center; font-size: 3.9cqw; font-weight: 600; }
.ascr-status span { display: flex; gap: 1.4cqw; align-items: center; }
.ascr-status span i { display: block; width: 1.2cqw; border-radius: 1px; background: currentColor; }
.ascr-status span i:nth-child(1) { height: 1.6cqw; }
.ascr-status span i:nth-child(2) { height: 2.4cqw; }
.ascr-status span i:nth-child(3) { height: 3.2cqw; }
.ascr-status span i:nth-child(4) { width: 6cqw; height: 3cqw; margin-left: 1cqw; border-radius: 1cqw; }
.ascr .a-row { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; }
.ascr .a-row > div { flex: 1; }
.ascr .a-btn { margin-top: auto; height: 13cqw; border-radius: 99px; display: grid; place-items: center; font-weight: 600; font-size: 4.4cqw; }
.ascr-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 3cqw 2cqw 0; }
.ascr-tabs i { width: 6cqw; height: 6cqw; border-radius: 2cqw; background: currentColor; opacity: .3; }
.ascr-tabs i.on { opacity: 1; }
.ascr svg.ic { width: 6.4cqw; height: 6.4cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 01 · Recline — phone dialer with call recording */
.ascr--recline { background: radial-gradient(120% 70% at 50% 16%, #2a3a78 0%, #151a2b 52%, #0F1115 100%); color: #EAECEF; }
.rc-top { display: flex; justify-content: center; gap: 2.4cqw; }
.rc-rec { display: inline-flex; align-items: center; gap: 1.6cqw; padding: 1.4cqw 3.2cqw; border-radius: 99px; background: rgba(255, 77, 77, .15); color: #FF8F8F; font-size: 3.4cqw; font-weight: 600; letter-spacing: .04em; }
.rc-rec i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #FF4D4D; animation: recBlink 1.4s ease-in-out infinite; }
@keyframes recBlink { 50% { opacity: .25; } }
.rc-hd { padding: 1.4cqw 2.8cqw; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: 3.2cqw; color: #9AA4AF; }
.rc-who { display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; margin-top: 5cqw; text-align: center; }
.rc-avatar { width: 27cqw; height: 27cqw; border-radius: 50%; display: grid; place-items: center; font-size: 9.5cqw; font-weight: 500; color: #fff; background: linear-gradient(140deg, #8AA0FF, #5678F7 60%, #3B57D8); box-shadow: 0 0 0 2.6cqw rgba(86, 120, 247, .16), 0 0 0 5.6cqw rgba(86, 120, 247, .07); }
.rc-who b { margin-top: 5cqw; font-size: 7.6cqw; font-weight: 500; letter-spacing: -.03em; }
.rc-who small { color: #9AA4AF; opacity: 1; }
.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5cqw 2cqw; margin-top: auto; text-align: center; font-size: 3.3cqw; color: #9AA4AF; }
.rc-grid span { display: flex; flex-direction: column; align-items: center; gap: 1.8cqw; }
.rc-grid i { width: 16cqw; height: 16cqw; border-radius: 50%; display: grid; place-items: center; color: #EAECEF; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09); }
.rc-grid .on i { background: #5678F7; border-color: #5678F7; color: #fff; }
.rc-grid .on { color: #C9D3FF; }
.rc-end { align-self: center; margin-top: 6cqw; width: 18cqw; height: 18cqw; border-radius: 50%; background: #F0473E; display: grid; place-items: center; box-shadow: 0 4cqw 9cqw -2cqw rgba(240, 71, 62, .6); }
.rc-end svg { width: 8.4cqw; height: 8.4cqw; fill: #fff; transform: rotate(135deg); }

/* 02 · Recline Helper — unlocks call recording */
.ascr--helper { background: #F2F3F0; color: #111214; }
.hp-title { font-size: 8cqw; font-weight: 500 !important; letter-spacing: -.045em; line-height: .98; }
.hp-chip { padding: 1.2cqw 2.8cqw; border-radius: 99px; background: #fff; border: 1px solid #DCDDD8; font-size: 3.2cqw; color: #6B6E73; }
.hp-hero { position: relative; display: flex; flex-direction: column; gap: 1cqw; padding: 5.5cqw; border-radius: 6cqw; background: #111214; color: #fff; }
.ascr .hp-hero small { opacity: .55; text-transform: uppercase; letter-spacing: .1em; font-size: 3cqw; }
.ascr .hp-hero b { font-size: 7.6cqw; font-weight: 500; letter-spacing: -.035em; }
.ascr .hp-hero p { font-size: 3.7cqw; opacity: .7; }
.hp-dot { position: absolute; top: 5.5cqw; right: 5.5cqw; width: 3cqw; height: 3cqw; border-radius: 50%; background: #C8F542; box-shadow: 0 0 0 1.6cqw rgba(200, 245, 66, .22); }
.hp-switch { position: relative; margin-top: 3cqw; width: 15cqw; height: 8.4cqw; border-radius: 99px; background: #C8F542; }
.hp-switch i { position: absolute; right: 1cqw; top: 1cqw; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: #111214; }
.hp-list { display: flex; flex-direction: column; padding: .6cqw 4cqw; border-radius: 5cqw; background: #fff; }
.hp-list div { display: flex; align-items: center; gap: 3cqw; padding: 3.2cqw 0; border-bottom: 1px solid #ECEDE9; }
.hp-list div:last-child { border-bottom: 0; }
.hp-list i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #B5B7B2; flex: none; }
.hp-list i.ok { background: #8DB51F; }
.hp-list span { flex: 1; font-size: 3.9cqw; font-weight: 500; }
.hp-list span small { display: inline; opacity: .55; font-weight: 400; font-size: inherit; }
.hp-list b { color: #6B6E73; font-weight: 500; }
.ascr--helper .a-btn { background: #C8F542; color: #111214; }

/* 03 · Saaransh — records audio, turns it into a summary */
.ascr--saaransh { background: #F9FAFB; color: #101828; }
.sr-btn { width: 9cqw; height: 9cqw; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #EAECF0; color: #344054; }
.sr-head small { color: #667085; font-size: 3.4cqw; opacity: 1; }
.sr-head b { display: block; margin-top: 1cqw; font-size: 8.2cqw; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.sr-tabs { display: flex; gap: 4.4cqw; border-bottom: 1px solid #EAECF0; font-size: 3.7cqw; color: #667085; }
.sr-tabs span { padding-bottom: 2.2cqw; }
.sr-tabs .on { color: #107569; font-weight: 600; box-shadow: inset 0 -.7cqw 0 #107569; }
.sr-card { display: flex; flex-direction: column; gap: 2cqw; padding: 4cqw 4.4cqw; border-radius: 4.5cqw; background: #fff; border: 1px solid #EAECF0; }
.ascr .sr-k { font-size: 3.1cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #107569; }
.sr-card ul { display: flex; flex-direction: column; gap: 1.6cqw; font-size: 3.7cqw; color: #344054; }
.sr-card li { position: relative; padding-left: 4cqw; }
.sr-card li::before { content: ""; position: absolute; left: 0; top: 1.7cqw; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #107569; }
.sr-task { display: flex; align-items: center; gap: 2.6cqw; font-size: 3.7cqw; color: #344054; }
.sr-task i { position: relative; width: 4.6cqw; height: 4.6cqw; border-radius: 1.3cqw; border: 1.5px solid #D0D5DD; flex: none; }
.sr-task.done { color: #98A2B3; text-decoration: line-through; }
.sr-task.done i { background: #107569; border-color: #107569; }
.sr-task.done i::after { content: ""; position: absolute; left: 30%; top: 12%; width: 30%; height: 55%; border: solid #fff; border-width: 0 .5cqw .5cqw 0; transform: rotate(45deg); }
.sr-ask { margin-top: auto; height: 12.5cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 1.6cqw 0 4.4cqw; border-radius: 99px; background: #fff; border: 1px solid #D0D5DD; color: #98A2B3; font-size: 3.6cqw; }
.sr-ask i { width: 9.4cqw; height: 9.4cqw; border-radius: 50%; display: grid; place-items: center; background: #107569; color: #fff; font-style: normal; }

/* 04 · MapSync — map home in the "Volt" design */
.ascr--mapsync { background: #ECEFF4; color: #0D0F12; }
.ms-map, .ms-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ascr--mapsync .ascr-ui { z-index: 1; }
.ms-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 2.4cqw; padding: 1.4cqw 4.2cqw 1.4cqw 1.4cqw; border-radius: 99px; background: #fff; font-size: 4.2cqw; font-weight: 600; box-shadow: 0 2cqw 6cqw -2cqw rgba(13, 15, 18, .32); }
.ms-pill i { width: 8cqw; height: 8cqw; border-radius: 50%; display: grid; place-items: center; background: #E4E7EC; color: #3A3F47; font-size: 3cqw; font-style: normal; }
.ms-cards { margin-top: auto; display: flex; gap: 2.6cqw; }
.ms-cards span { flex: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 2.4cqw; align-items: center; padding: 2.8cqw; border-radius: 4.4cqw; background: #fff; box-shadow: 0 2cqw 6cqw -2cqw rgba(13, 15, 18, .28); }
.ms-cards i { grid-row: span 2; width: 9cqw; height: 9cqw; border-radius: 2.6cqw; display: grid; place-items: center; background: #F1F3F6; color: #4B6600; font-style: normal; }
.ms-cards small { font-size: 3cqw; color: #6B7280; opacity: 1; }
.ms-cards b { font-size: 4.2cqw; font-weight: 600; }
.ms-cards b.num { font-variant-numeric: tabular-nums; font-weight: 500; }
.ms-search { display: flex; align-items: center; gap: 3cqw; height: 14cqw; padding: 0 2cqw 0 4.4cqw; border-radius: 99px; background: #fff; font-size: 5cqw; font-weight: 600; box-shadow: 0 2cqw 6cqw -2cqw rgba(13, 15, 18, .3); }
.ms-mic { margin-left: auto; width: 10.6cqw; height: 10.6cqw; display: grid; place-items: center; background: #D7FF3D; color: #141A00; clip-path: polygon(50% 0, 61% 8%, 75% 5%, 82% 18%, 95% 25%, 92% 39%, 100% 50%, 92% 61%, 95% 75%, 82% 82%, 75% 95%, 61% 92%, 50% 100%, 39% 92%, 25% 95%, 18% 82%, 5% 75%, 8% 61%, 0 50%, 8% 39%, 5% 25%, 18% 18%, 25% 5%, 39% 8%); }
.ascr .ms-mic svg { width: 5cqw; height: 5cqw; }
.ms-dock { display: flex; align-items: center; justify-content: space-between; height: 14cqw; padding: 0 4cqw 0 1.6cqw; border-radius: 99px; background: #fff; box-shadow: 0 2cqw 6cqw -2cqw rgba(13, 15, 18, .3); color: #3A3F47; }
.ms-dock .on { display: flex; align-items: center; gap: 1.6cqw; height: 10.6cqw; padding: 0 4.6cqw; border-radius: 99px; background: #D7FF3D; color: #141A00; font-size: 4cqw; font-weight: 700; }
.ascr .ms-dock svg { width: 5.6cqw; height: 5.6cqw; }

/* 05 · GymDesk — the gym's front desk */
.ascr--gymdesk { background: #323845; color: #F2F5FA; }
.ascr--gymdesk small { color: #B7C0D2; opacity: 1; }
.gd-gym { font-size: 6.4cqw; font-weight: 500 !important; letter-spacing: -.03em; }
.gd-sync { padding: 1.2cqw 2.6cqw; border-radius: 99px; background: rgba(200, 242, 78, .12); color: #C8F24E; font-size: 3cqw; white-space: nowrap; }
.gd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; }
.gd-stat { padding: 3.4cqw 3.6cqw; border-radius: 4cqw; background: #3B4250; border: 1px solid #4A5364; }
.gd-stat small { font-size: 3.1cqw; }
.gd-stat b { display: block; margin-top: .8cqw; font-size: 8.4cqw; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.gd-stat--volt { background: #C8F24E; border-color: #C8F24E; color: #1E2430; }
.ascr--gymdesk .gd-stat--volt small { color: #3D4A14; }
.gd-stat--volt em { font-style: normal; font-size: 3cqw; font-weight: 600; }
.gd-radar { display: flex; flex-direction: column; gap: 2.6cqw; padding: 3.6cqw; border-radius: 4cqw; background: #2A2F3B; }
.ascr .gd-radar p { font-size: 3.1cqw; letter-spacing: .08em; text-transform: uppercase; color: #8A95A9; }
.gd-radar div { display: flex; align-items: center; gap: 2.6cqw; }
.gd-radar i { width: 9cqw; height: 9cqw; border-radius: 50%; display: grid; place-items: center; background: #454D5D; font-size: 3cqw; font-style: normal; flex: none; }
.gd-radar span { flex: 1; font-size: 3.8cqw; font-weight: 500; }
.gd-radar span small { display: inline; font-size: inherit; }
.gd-radar em { padding: 1cqw 2.4cqw; border-radius: 99px; background: rgba(255, 200, 87, .15); color: #FFC857; font-size: 3cqw; font-style: normal; }
.gd-radar em.hi { background: rgba(255, 128, 106, .16); color: #FF8F7A; }
.ascr--gymdesk .a-btn { display: flex; align-items: center; justify-content: center; gap: 2cqw; background: #C8F24E; color: #1E2430; }
.ascr--gymdesk .a-btn svg { width: 5.4cqw; height: 5.4cqw; }

/* 06 · DealNest — deals around you, right now */
.ascr--dealnest { background: #FFF7F2; color: #16171B; }
.dn-logo { display: flex; align-items: center; gap: 2cqw; font-size: 6.4cqw; font-weight: 700 !important; letter-spacing: -.045em; }
.dn-bird { position: relative; width: 8cqw; height: 8cqw; border-radius: 55% 55% 55% 14%; background: linear-gradient(160deg, #FFB07F, #FF8A50 55%, #E8641F); }
.dn-bird::before { content: ""; position: absolute; right: 22%; top: 30%; width: 22%; height: 22%; border-radius: 50%; background: #16171B; }
.dn-bird::after { content: ""; position: absolute; right: -16%; top: 42%; width: 26%; height: 18%; background: #F2B53A; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.dn-loc { padding: 1.2cqw 2.6cqw; border-radius: 99px; background: #fff; border: 1px solid #F2C9B3; color: #5C6068; font-size: 3.2cqw; }
.dn-chips { display: flex; gap: 1.8cqw; font-size: 3.4cqw; }
.dn-chips span { padding: 1.6cqw 3.2cqw; border-radius: 99px; background: #fff; border: 1px solid #F2C9B3; color: #45484F; }
.dn-chips .on { background: #C9470F; border-color: #C9470F; color: #fff; }
.dn-deal { display: flex; gap: 3cqw; padding: 2.6cqw; border-radius: 5cqw; background: #fff; box-shadow: 0 3cqw 8cqw -4cqw rgba(201, 71, 15, .28); }
.dn-img { position: relative; flex: none; width: 26cqw; height: 26cqw; border-radius: 3.6cqw; overflow: hidden; }
.dn-img--bake { background: radial-gradient(circle at 36% 40%, #F6C98C 0 17%, transparent 18%), radial-gradient(circle at 66% 60%, #E39A4C 0 19%, transparent 20%), radial-gradient(circle at 30% 74%, #F0B26B 0 12%, transparent 13%), linear-gradient(135deg, #FCEBE1, #F2C9B3); }
.dn-img--auction { background: radial-gradient(ellipse 22% 18% at 50% 36%, #F4D27A 0 60%, transparent 62%), linear-gradient(90deg, transparent 47%, #C8964A 47% 53%, transparent 53%) 0 0 / 100% 78% no-repeat, radial-gradient(ellipse 30% 8% at 50% 80%, #C8964A 0 70%, transparent 72%), linear-gradient(140deg, #2B2420, #4A3A2C); }
.dn-img em { position: absolute; left: 1.6cqw; top: 1.6cqw; padding: .8cqw 2cqw; border-radius: 99px; background: #C9470F; color: #fff; font-size: 2.9cqw; font-weight: 700; font-style: normal; }
.dn-meta { display: flex; flex-direction: column; gap: .8cqw; min-width: 0; }
.dn-meta small { color: #C9470F; font-weight: 600; font-size: 3.1cqw; opacity: 1; }
.dn-meta > b { font-size: 4.2cqw; font-weight: 600; line-height: 1.2; }
.dn-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1.6cqw; margin-top: auto; }
.dn-price b { font-size: 5cqw; font-weight: 700; }
.dn-price s { color: #8A8D93; font-size: 3.4cqw; }
.dn-price span { width: 100%; color: #6B6F77; font-size: 3cqw; }
.ascr--dealnest .ascr-tabs { color: #C9470F; }

/* ---------- Home: in numbers ---------- */
.numbers { padding: 0 0 clamp(80px, 10vw, 140px); }
.numbers-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 30px; }
.numbers-head .title { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.numbers-head .label { margin-bottom: 16px; }
.numbers .stat > span { max-width: 230px; margin-inline: auto; }

/* ---------- Apps page: the six apps in detail ---------- */
.apps-section { padding-top: clamp(40px, 6vw, 80px); }
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.appx {
  scroll-margin-top: 96px;
  display: flex; flex-direction: column;
  border-radius: 34px; overflow: hidden;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), var(--shadow);
}
.appx-vis { position: relative; height: 420px; margin: 12px 12px 0; border-radius: 26px; overflow: hidden; isolation: isolate; }
.appx-vis .aphone { top: 46px; }
.appx-body { display: flex; flex-direction: column; flex: 1; padding: 28px clamp(24px, 3vw, 40px) 36px; }
.appx-top { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.appx-live { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: #e7f5ec; color: #15803d; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.appx-live i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.appx h3 { margin-top: 14px; font-family: var(--serif); font-size: clamp(2.3rem, 3.4vw, 3.2rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.appx-desc { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 470px; }
.appx-feats { margin-top: 20px; display: grid; gap: 10px; }
.appx-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.appx-feats .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); stroke-width: 2.2; }
.appx .tags { margin-top: 22px; }

/* ---------- Team: four hats ---------- */
.role .tags { margin-top: auto; padding-top: 18px; }
.role h3 { margin-top: 44px; font-size: 34px; }

/* ---------- Services preview: a live route for Maps & location ---------- */
.pv-track { height: 600%; transform: translateY(calc(var(--pv, 0) * -16.666667%)); }
.pv { height: 16.666667%; }
.pv-7 { background: #eceee8; }
.pv-7 svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pvm-block { fill: #e0e3dc; }
.pvm-road { stroke: #fff; stroke-width: 9; fill: none; }
.pvm-route { stroke: var(--blue); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: pvmDraw 2.8s var(--ease) infinite; }
.pvm-pin { fill: var(--ink); }
.pvm-me { fill: var(--blue); stroke: #fff; stroke-width: 3; }
@keyframes pvmDraw { 70%, 100% { stroke-dashoffset: 0; } }

@media (max-width: 1024px) {
  .apps-grid { grid-template-columns: 1fr; }
  .numbers-head { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (max-width: 640px) {
  .aphone { transform: scale(.92); transform-origin: top center; }
  .wcard:hover .aphone, .appx:hover .aphone { transform: scale(.92); }
  .appx-vis { height: 380px; }
}

/* footer email */
.footer-mail { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.footer-mail:hover { border-color: var(--ink); }

/* ==========================================================================
   Liquid glass — clear body, bright specular rim, light that follows the
   pointer. In Chromium, main.js adds real edge refraction on [data-lg].
   ========================================================================== */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #3b5bfd; }

.lg {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .2));
  -webkit-backdrop-filter: blur(14px) saturate(190%) brightness(1.04);
  backdrop-filter: blur(14px) saturate(190%) brightness(1.04);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(255, 255, 255, .45),
    inset 1px 0 0 rgba(255, 255, 255, .5),
    inset -1px 0 0 rgba(255, 255, 255, .3),
    inset 0 12px 22px -16px rgba(255, 255, 255, .9),
    inset 0 -14px 22px -18px rgba(255, 255, 255, .85),
    0 1px 2px rgba(20, 24, 60, .06),
    0 22px 44px -18px rgba(20, 24, 60, .3);
}
.lg::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .2) 28%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .25) 72%, rgba(255, 255, 255, .95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.lg::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 30%) var(--my, -10%), rgba(255, 255, 255, .55), transparent 65%);
  mix-blend-mode: soft-light; opacity: .9;
}
.lg > * { position: relative; z-index: 3; }

/* ==========================================================================
   Apps page — pinned showcase (desktop); stacked cards on smaller screens
   ========================================================================== */
.apps-section { padding-bottom: clamp(60px, 8vw, 110px); }
.apps-section .section-head { margin-bottom: clamp(10px, 2vw, 24px); }
.showx { position: relative; display: none; }
@media (min-width: 1024px) and (min-height: 600px) {
  .showx { display: block; height: calc(100vh + 6 * 72vh); }
  .apps-mobile { display: none; }
}

.sx-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; --accent: #3b5bfd; --px: 0; --py: 0; transition: --accent .9s var(--ease); }

/* living colour behind the glass */
.sx-bg { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.sx-blob { position: absolute; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%); transition: opacity 1.2s var(--ease); }
.sx-blob.is-active { opacity: 1; }
.sx-blob.b1 { left: 54%; top: 50%; width: 78vmin; height: 78vmin; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 70%, transparent), color-mix(in srgb, var(--c) 22%, transparent) 60%, transparent); animation: sxDrift 16s ease-in-out infinite alternate; }
.sx-blob.b2 { left: 74%; top: 60%; width: 56vmin; height: 56vmin; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 70%, transparent), transparent); animation: sxDrift 21s ease-in-out -7s infinite alternate-reverse; }
@keyframes sxDrift { from { translate: -7% -5%; } to { translate: 7% 6%; } }

.sx-word { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sx-word span {
  grid-area: 1 / 1; margin-top: 8vh;
  font-family: var(--serif); font-style: italic; font-size: clamp(8rem, 16vw, 17rem); line-height: 1; letter-spacing: -.035em; white-space: nowrap;
  color: rgba(15, 15, 16, .05); -webkit-text-stroke: 1.2px rgba(15, 15, 16, .16);
  opacity: 0; transform: translateY(70px) scale(.96);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.sx-word span.is-past { transform: translateY(-70px) scale(.96); }
.sx-word span.is-active { opacity: 1; transform: none; }

.sx-inner {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 90px);
  padding: 84px 0 112px;
}
.sx-top { position: absolute; left: 0; bottom: 50px; display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.sx-top b { font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.sx-top > span:not(.sx-bar) { color: var(--muted); font-size: 14px; }
.sx-bar { align-self: center; width: 120px; height: 2px; margin-left: 10px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.sx-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* text: one app at a time — outgoing rises away, incoming rises in */
.sx-texts { display: grid; align-self: center; }
.sx-text { grid-area: 1 / 1; align-self: center; max-width: 470px; visibility: hidden; transition: visibility 0s .7s; }
.sx-text > * { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .4s var(--ease), transform .55s var(--ease), filter .4s var(--ease); }
.sx-text.is-past > * { transform: translateY(-28px); }
.sx-text.is-active { visibility: visible; transition-delay: 0s; }
.sx-text.is-active > * { opacity: 1; transform: none; filter: blur(0); transition-duration: .8s, 1s, .8s; }
.sx-text.is-active > :nth-child(2) { transition-delay: .05s; }
.sx-text.is-active > :nth-child(3) { transition-delay: .1s; }
.sx-text.is-active > :nth-child(4) { transition-delay: .15s; }
.sx-text.is-active > :nth-child(5) { transition-delay: .2s; }
.sx-text.is-active > :nth-child(6) { transition-delay: .25s; }

.sx-meta { display: flex; align-items: center; gap: 12px; }
.sx-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--bg); color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .15), 0 8px 18px -8px rgba(15, 15, 16, .45); }
.sx-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sx-cat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sx-cat i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.sx-name { margin-top: 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 5.4vw, 5.6rem); line-height: .95; letter-spacing: -.03em; }
.sx-tagline { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2vw, 1.95rem); line-height: 1.15; color: var(--accent); }
.sx-desc { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.sx-feats { margin-top: 18px; display: grid; gap: 9px; }
.sx-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.sx-feats .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); stroke-width: 2.4; }
.sx-cta { margin-top: 28px; }

/* the phone: one frame, screens slide up through it like sheets */
.sx-phone-wrap { --pw: clamp(206px, calc((100vh - 240px) * .49), 296px); position: relative; width: var(--pw); height: calc(var(--pw) * 2.03); perspective: 1400px; }
.sx-glow { position: absolute; left: 50%; top: 56%; width: 170%; height: 70%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent); filter: blur(10px); }
.sx-phone {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: calc(var(--pw) * .165); background: #0d0d10;
  box-shadow: 0 0 0 calc(var(--pw) * .028) #1b1b1f, 0 0 0 calc(var(--pw) * .032) rgba(0, 0, 0, .35), 0 70px 90px -40px rgba(20, 24, 60, .55), 0 30px 50px -30px rgba(20, 24, 60, .45);
  transform: rotateY(calc(var(--px) * 10deg)) rotateX(calc(var(--py) * -8deg));
}
.sx-phone .aphone-island { top: calc(var(--pw) * .038); width: calc(var(--pw) * .29); height: calc(var(--pw) * .085); margin-left: calc(var(--pw) * -.145); z-index: 20; }
.sx-screen { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transform-origin: 50% 30%; transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), transform .9s cubic-bezier(.7, 0, .2, 1), filter .9s var(--ease); }
.sx-screen.is-active { clip-path: inset(0 0 0 0); }
.sx-screen.is-past { clip-path: inset(0 0 0 0); transform: scale(.88); filter: brightness(.45); }
.sx-gloss { position: absolute; inset: 0; z-index: 19; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, .2) 46%, rgba(255, 255, 255, .04) 52%, transparent 62%); background-size: 260% 100%; background-position: calc(50% - var(--px) * 40%) 0; }

/* floating glass facts around the phone */
.sx-facts { position: absolute; left: 100%; top: 0; bottom: 0; width: clamp(230px, 21vw, 300px); }
.sx-fact-pos { position: absolute; width: 100%; max-width: 262px; transform: translate3d(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * 1px), 0); }
.sx-fact-pos.f0 { top: 8%; left: calc(var(--pw) * -.3); --d: 26; }
.sx-fact-pos.f1 { top: 40%; left: 26px; --d: 40; }
.sx-fact-pos.f2 { top: 71%; left: calc(var(--pw) * -.16); --d: 18; }
.sx-fact-pos .sx-fact { position: absolute; left: 0; top: 0; }
.sx-fact {
  background: linear-gradient(150deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .14) 60%, rgba(255, 255, 255, .26));
  display: flex; align-items: center; gap: 13px; width: max-content; max-width: 262px;
  padding: 12px 18px 12px 12px; border-radius: 22px;
  opacity: 0; visibility: hidden; transform: translate3d(60px, 46px, 0) scale(.9); filter: blur(10px);
  transition: opacity .45s var(--ease), transform .8s var(--ease), filter .45s var(--ease), visibility 0s .8s;
  animation: sxFloat 7s ease-in-out infinite; animation-delay: calc(var(--k) * -2.3s);
}
.sx-fact.is-past { transform: translate3d(-30px, -60px, 0) scale(.94); }
.sx-fact.is-active { opacity: 1; visibility: visible; transform: none; filter: blur(0); transition-delay: calc(.18s + var(--k) * .1s), calc(.18s + var(--k) * .1s), calc(.18s + var(--k) * .1s), 0s; transition-duration: .7s, 1.1s, .7s, 0s; }
@keyframes sxFloat { 50% { translate: 0 -9px; } }
.sx-fi { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.sx-fi .ico { width: 19px; height: 19px; stroke-width: 2.1; }
.sx-ft b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sx-ft small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--ink-2); opacity: .72; }

/* the dock: a glass bar of app icons with a liquid lens under the current one */
.sx-dock { position: absolute; left: 50%; bottom: 24px; z-index: 6; display: flex; gap: 12px; padding: 12px; border-radius: 28px; transform: translateX(-50%); }
.sx-lens { position: absolute !important; z-index: 1 !important; left: 4px; top: 4px; width: 68px; height: 68px; border-radius: 22px; pointer-events: none; transform: translateX(calc(var(--li, 0) * 64px)); transition: transform .75s cubic-bezier(.3, 1.35, .45, 1); background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55)); box-shadow: inset 0 1.5px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 -10px 16px -12px rgba(255, 255, 255, 1), 0 12px 24px -10px rgba(20, 24, 60, .4), 0 0 0 1px rgba(20, 24, 60, .04); }
.sx-dock-btn { position: relative; z-index: 3; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 15px; background: none; cursor: pointer; transition: transform .4s var(--ease); }
.sx-dock-btn .sx-icon { width: 100%; height: 100%; border-radius: inherit; }
.sx-dock-btn .sx-icon svg { width: 24px; height: 24px; }
.sx-dock-btn:hover { transform: translateY(-9px) scale(1.2); }
.sx-dock-btn:hover + .sx-dock-btn, .sx-dock-btn:has(+ .sx-dock-btn:hover) { transform: translateY(-4px) scale(1.08); }
.sx-dock-btn::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); opacity: 0; transition: opacity .3s; }
.sx-dock-btn.is-active::after { opacity: .75; }
.sx-dock-btn.is-active { transform: translateY(-2px); }
.sx-dock-btn.is-active:hover { transform: translateY(-9px) scale(1.2); }
.sx-dock-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sx-tip { position: absolute; left: 50%; bottom: calc(100% + 16px); padding: 6px 12px; border-radius: 999px; background: rgba(15, 15, 16, .88); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 6px); transition: opacity .25s, transform .35s var(--ease); }
.sx-dock-btn:hover .sx-tip, .sx-dock-btn:focus-visible .sx-tip { opacity: 1; transform: translate(-50%, 0); }

/* smaller screens: the stacked cards, each with a glass fact chip */
.sx-chip { position: absolute; z-index: 4; right: 16px; top: 18px; display: flex; align-items: center; gap: 11px; padding: 9px 15px 9px 9px; border-radius: 18px; animation: sxFloat 7s ease-in-out infinite; }
.sx-chip .sx-fi { width: 34px; height: 34px; border-radius: 11px; }
.sx-chip .sx-fi .ico { width: 16px; height: 16px; }
.sx-chip .sx-ft b { font-size: 14px; }
.sx-chip .sx-ft small { font-size: 12px; }
.appx { background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5)); }

@media (prefers-reduced-motion: reduce) {
  .sx-blob, .sx-fact, .sx-chip { animation: none; }
  .sx-screen, .sx-text > *, .sx-fact, .sx-word span { transition-duration: .01s !important; transition-delay: 0s !important; }
}

/* ==========================================================================
   Site-wide liquid glass — every surface gets a clear body, a bright
   specular rim and light that follows the pointer. A soft colour wash
   sits behind every page so the glass has something to bend.
   ========================================================================== */
:root {
  --glass: linear-gradient(155deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .28) 55%, rgba(255, 255, 255, .42));
  --glass-strong: linear-gradient(155deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .52) 55%, rgba(255, 255, 255, .64));
  --lg-rim: inset 0 1.5px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .5), inset 1px 0 0 rgba(255, 255, 255, .55), inset -1px 0 0 rgba(255, 255, 255, .35), inset 0 14px 24px -18px rgba(255, 255, 255, .95), inset 0 -16px 26px -20px rgba(255, 255, 255, .9);
  --lg-rim-sm: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .45), inset 0 8px 14px -10px rgba(255, 255, 255, .9);
  --lg-line: 0 0 0 1px rgba(20, 24, 60, .07);
  --lg-blur: blur(18px) saturate(185%) brightness(1.03);
}

/* the colour wash behind everything */
body::before {
  content: ""; position: fixed; inset: -10vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38vmax 32vmax at 14% 18%, rgba(132, 154, 255, .26), transparent 70%),
    radial-gradient(34vmax 30vmax at 86% 24%, rgba(196, 181, 253, .24), transparent 70%),
    radial-gradient(40vmax 32vmax at 74% 86%, rgba(253, 186, 116, .16), transparent 70%),
    radial-gradient(34vmax 30vmax at 20% 82%, rgba(134, 239, 172, .14), transparent 70%);
}

/* ---------- the shared material ---------- */
.label, .nav .brand, .nav-links, .nav-toggle, .btn-light, .founder-tag, .wcard, .toast, .eta, .stats,
.why-card, .value, .seat, .faq-item, .band, .hcard-in, .appx, .app-chips > *, .fp-chip, .fp-tag,
.sc-time, .svc-arrow, .mobile-menu-inner, .sx-cat {
  --lg-sheen: radial-gradient(320px circle at var(--mx, 50%) var(--my, -45%), rgba(255, 255, 255, .55), transparent 70%);
  background: var(--lg-sheen), var(--glass);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-rim), var(--lg-line), var(--shadow-sm);
}
.wcard, .stats, .why-card, .value, .band, .appx, .hcard-in { box-shadow: var(--lg-rim), var(--lg-line), var(--shadow); }
.why-card:hover, .value:hover, .seat:hover, .appx:hover { box-shadow: var(--lg-rim), var(--lg-line), var(--shadow-lg); }
.app-chips > *:hover, .founder-tag:hover, .btn-light:hover { box-shadow: var(--lg-rim), var(--lg-line), var(--shadow); }
.btn-light:hover { background: var(--lg-sheen), var(--glass-strong); }
.faq-item.is-open { background: var(--lg-sheen), var(--glass-strong); box-shadow: var(--lg-rim), var(--lg-line), var(--shadow); }
.svc-row:hover .svc-arrow { background: var(--ink); }
.label.light { background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* small pills sit on glass already: rim only, no extra blur */
.tags li { background: linear-gradient(160deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .38)); box-shadow: var(--lg-rim-sm), 0 0 0 1px rgba(20, 24, 60, .06); }

/* ---------- navigation: floating glass capsules, no bar ---------- */
.nav::before { display: none; }
.nav .brand { padding: 5px 15px 5px 5px; border-radius: 16px; background: var(--lg-sheen), var(--glass-strong); }
.nav-links { background: var(--lg-sheen), var(--glass-strong); padding: 5px; }
.nav-toggle { background: var(--lg-sheen), var(--glass-strong); }
.nav-indicator { background: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .68)); box-shadow: inset 0 1.5px 0 #fff, inset 0 -6px 12px -8px #fff, 0 0 0 1px rgba(20, 24, 60, .05), 0 6px 14px -6px rgba(20, 24, 60, .28); }
.mobile-menu-inner { background: var(--lg-sheen), var(--glass-strong); }

/* ---------- dark smoked glass ---------- */
.btn-dark {
  background: linear-gradient(180deg, rgba(56, 56, 64, .94), rgba(15, 15, 16, .97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 12px 26px -12px rgba(15, 15, 16, .65);
}
.btn-dark:hover { background: linear-gradient(180deg, rgba(70, 70, 80, .94), rgba(24, 24, 28, .97)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .09), 0 18px 32px -12px rgba(15, 15, 16, .6); }
.contact-card { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .07), var(--shadow-lg); }
.choice span { background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.choice input:checked + span { background: linear-gradient(160deg, #fff, rgba(255, 255, 255, .82)); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(0, 0, 0, .5); }

/* ---------- process cards: solid colour, glass rim and light ---------- */
.sc { --lg-sheen: radial-gradient(420px circle at var(--mx, 70%) var(--my, -30%), rgba(255, 255, 255, .6), transparent 70%); background-image: var(--lg-sheen); box-shadow: var(--lg-rim), var(--lg-line), var(--shadow-lg); }
.sc-3 { --lg-sheen: radial-gradient(420px circle at var(--mx, 70%) var(--my, -30%), rgba(255, 255, 255, .1), transparent 70%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .07), var(--shadow-lg); }
.sc-3 .sc-time { background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .1); }

@media (max-width: 900px) {
  /* lighter on phones: fewer blurred layers */
  .tags li, .sc-time, .app-chips > * { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ==========================================================================
   Home hero v2 — big portrait on the left, the founder on the right
   ========================================================================== */
.phero-v2 { --ps: clamp(620px, 128vh, 1240px); }
.phero-v2 .phero-portrait { top: 58px; bottom: auto; left: calc(30vw - var(--ps) * .577); width: var(--ps); height: var(--ps); aspect-ratio: auto; transform: none; }
.phero-v2 .phero-content { top: 0; bottom: 0; display: flex; align-items: center; padding: 96px 0 64px; }
.phero-v2 .phero-content > .container { display: flex; justify-content: flex-end; }
.phero-right { width: min(580px, 45%); margin-right: clamp(0px, 1vw, 20px); }
.phero-right .label { margin-bottom: 22px; }
.phero-v2 .phero-title { font-size: clamp(3rem, 4.4vw, 5rem); }
.phero-v2 .phero-sub { max-width: 480px; font-size: 16.5px; }
.phero-v2 .scroll-cue { right: max(var(--pad), (100vw - var(--container)) / 2 - 40px); }
.hero-apps { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 8px 18px 8px 8px; border-radius: 22px; transition: transform .5s var(--ease), box-shadow .4s; }
.hero-apps:hover { transform: translateY(-2px); }
.ha-icons { display: flex; }
.ha-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--bg); color: var(--fg); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 4px 10px -4px rgba(15, 15, 16, .35); }
.ha-ico + .ha-ico { margin-left: -9px; }
.ha-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ha-text b { display: block; font-size: 14px; line-height: 1.2; }
.ha-text small { display: block; font-size: 12px; color: var(--muted); }
.hero-apps > .ico { width: 15px; height: 15px; color: var(--muted); }
html.no-word .phero-word { display: none; }
@media (max-width: 900px) {
  .phero-v2 .phero-portrait { position: relative; top: auto; left: auto; width: 122vw; height: 122vw; max-width: none; margin: -2vw 0 -30vw -17vw; }
  .phero-v2 .phero-content { position: relative; padding: 0 0 56px; display: block; }
  .phero-v2 .phero-content > .container { display: block; }
  .phero-right { width: auto; margin: 0; }
}

/* ==========================================================================
   Navigation — a clear bar at the top that folds into a floating glass
   pill as you scroll (driven by --pane: 0 at the top, 1 once scrolled)
   ========================================================================== */
.nav, .nav.is-scrolled { padding: 0; height: 84px; pointer-events: none; }
.nav { --pane: 0; }
.menu-open .nav { --pane: 1 !important; }
.nav-inner {
  position: absolute; width: auto; margin: 0; pointer-events: auto;
  top: calc(var(--pane) * 12px);
  left: calc(var(--pane) * max(14px, 50% - 590px) + (1 - var(--pane)) * max(var(--pad), 50% - 660px));
  right: calc(var(--pane) * max(14px, 50% - 590px) + (1 - var(--pane)) * max(var(--pad), 50% - 660px));
  height: calc(84px - 22px * var(--pane));
  padding: 0 calc(9px * var(--pane)) 0 calc(10px * var(--pane));
  border-radius: 999px;
  background: linear-gradient(155deg, rgba(255, 255, 255, calc(.74 * var(--pane))), rgba(255, 255, 255, calc(.44 * var(--pane))));
  -webkit-backdrop-filter: blur(calc(20px * var(--pane))) saturate(calc(1 + .8 * var(--pane)));
  backdrop-filter: blur(calc(20px * var(--pane))) saturate(calc(1 + .8 * var(--pane)));
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, calc(.95 * var(--pane))),
    inset 0 -1px 0 rgba(255, 255, 255, calc(.5 * var(--pane))),
    inset 0 12px 22px -16px rgba(255, 255, 255, calc(.9 * var(--pane))),
    0 0 0 1px rgba(20, 24, 60, calc(.07 * var(--pane))),
    0 16px 40px rgba(20, 24, 60, calc(.14 * var(--pane)));
}
.nav .brand, .nav-links, .nav-toggle { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.nav .brand { padding: 0; }
.nav-links { gap: calc(18px + 10px * (1 - var(--pane))); padding: 0; }
.nav-indicator { display: none; }
.nav-links a { padding: 8px 2px; font-size: 15px; color: var(--ink-2); }
.nav-links a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 3px; height: 1.5px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.is-active { color: var(--blue); }
.nav-links a.is-active::after { transform: scaleX(1); opacity: .35; }
@media (max-width: 900px) {
  .nav, .nav.is-scrolled { height: 76px; }
  .nav-inner { left: calc(var(--pane) * 10px + (1 - var(--pane)) * var(--pad)); right: calc(var(--pane) * 10px + (1 - var(--pane)) * var(--pad)); height: calc(76px - 18px * var(--pane)); padding: 0 calc(7px * var(--pane)) 0 calc(14px * var(--pane)); }
}

/* ==========================================================================
   Stronger glass — colour that moves behind the glass, clearer bodies
   ========================================================================== */
:root {
  --glass: linear-gradient(155deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .16) 55%, rgba(255, 255, 255, .3));
  --lg-blur: blur(22px) saturate(200%) brightness(1.04);
}
.lg-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.lg-orbs i { position: absolute; border-radius: 50%; will-change: transform; background: radial-gradient(closest-side, var(--c), transparent); }
.lg-orbs i:nth-child(1) { --c: rgba(109, 131, 255, .44); width: 46vmax; height: 46vmax; right: -12vmax; top: -10vh; }
.lg-orbs i:nth-child(2) { --c: rgba(180, 140, 255, .38); width: 40vmax; height: 40vmax; left: -14vmax; top: 62vh; }
.lg-orbs i:nth-child(3) { --c: rgba(255, 170, 130, .36); width: 38vmax; height: 38vmax; left: 34vw; top: 58vh; }
.lg-orbs i:nth-child(4) { --c: rgba(110, 225, 180, .3); width: 30vmax; height: 30vmax; left: 6vw; top: 70vh; }
.lg-orbs i:nth-child(5) { --c: rgba(255, 140, 200, .28); width: 26vmax; height: 26vmax; right: 4vw; top: 52vh; }

/* the work cards fade past the left rail instead of being masked, so their glass can see the colour behind */
@media (min-width: 1101px) {
  html[data-page="home"] .work-window { -webkit-mask-image: none; mask-image: none; }
}

/* process cards become tinted glass too */
.sc { background: var(--lg-sheen), linear-gradient(155deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .38)); -webkit-backdrop-filter: blur(26px) saturate(190%); backdrop-filter: blur(26px) saturate(190%); }
.sc-2 { background: var(--lg-sheen), linear-gradient(155deg, rgba(236, 235, 253, .82), rgba(222, 220, 252, .5)); }
.sc-4 { background: var(--lg-sheen), linear-gradient(155deg, rgba(231, 238, 255, .82), rgba(214, 226, 255, .5)); }
.sc-3 { background: var(--lg-sheen), linear-gradient(155deg, rgba(30, 30, 36, .9), rgba(12, 12, 14, .86)); }

/* card text stays crisp on clearer glass */
.wcard p, .value p, .why-card p, .sc p, .seat small, .faq-a p { color: #55555c; }
.hero-apps {
  --lg-sheen: radial-gradient(320px circle at var(--mx, 50%) var(--my, -45%), rgba(255, 255, 255, .55), transparent 70%);
  background: var(--lg-sheen), var(--glass);
  -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-rim), var(--lg-line), var(--shadow-sm);
}
.hero-apps:hover { box-shadow: var(--lg-rim), var(--lg-line), var(--shadow); }

/* ==========================================================================
   Type system — a mix of six fonts, each with one job
   Exo 2 headings · Nanum Pen (orange) hero accents · Caveat (blue) accents
   Doto numbers · Pixelify Sans labels · Kola logo and app names · Inter body
   ========================================================================== */
:root {
  --serif: 'Exo 2', system-ui, sans-serif;
  --hand-pen: 'Nanum Pen Script', 'Caveat', cursive;
  --hand: 'Caveat', cursive;
  --dot: 'Doto', ui-monospace, monospace;
  --pixel: 'Pixelify Sans', var(--sans);
  --stencil: 'Kola', var(--serif);
  --pen-orange: #e2892b;
}

/* headings: Exo 2, a touch smaller than the old serif so the wider letters fit the same space */
.title,
.mobile-menu-inner > a:not(.btn),
.hero-title,
.app-h,
.ac-num,
.marquee-track li,
.statement,
.svc-row h3,
.pv-aa,
.mp-top b,
.sc h3,
.note,
.g-tip b,
.why-card h3,
.fan-aa,
.growth-label b,
.faq-q,
.contact-mail b,
.form-success h3,
.phero-title,
.founder-tag .ft-av,
.phead-title,
.value h3,
.quote blockquote,
.seat b {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size-adjust: .47;
}

/* accent words inside headings: handwritten Caveat in blue */
:is(.title, .mobile-menu-inner > a:not(.btn), .hero-title, .app-h, .ac-num, .marquee-track li, .statement, .svc-row h3, .pv-aa, .mp-top b, .sc h3, .note, .g-tip b, .why-card h3, .fan-aa, .growth-label b, .faq-q, .contact-mail b, .form-success h3, .phero-title, .founder-tag .ft-av, .phead-title, .value h3, .quote blockquote, .seat b) :is(em, .italic),
:is(.title, .mobile-menu-inner > a:not(.btn), .hero-title, .app-h, .ac-num, .marquee-track li, .statement, .svc-row h3, .pv-aa, .mp-top b, .sc h3, .note, .g-tip b, .why-card h3, .fan-aa, .growth-label b, .faq-q, .contact-mail b, .form-success h3, .phero-title, .founder-tag .ft-av, .phead-title, .value h3, .quote blockquote, .seat b).italic {
  font-family: var(--hand); font-style: normal; font-weight: 700; letter-spacing: 0; color: var(--blue);
}

/* the big page headlines: second line in orange pen */
#main :is(.phero-title, .phead-title) :is(.italic, em) {
  font-family: var(--hand-pen); font-weight: 400; color: var(--pen-orange); letter-spacing: 0; font-size-adjust: .42;
}

/* numbers: dot-matrix */
.stat b, .sc-num, .value-num, .sx-top b, .gauge-num b, .loader-count {
  font-family: var(--dot); font-weight: 900; font-style: normal; letter-spacing: -.04em; font-size-adjust: none;
}

/* logo, app names, loader words: stencil */
.brand-name, .wcard h3, .sx-name, .appx h3, .curtain span, .loader-word, .sx-word span {
  font-family: var(--stencil); font-weight: 400; font-style: normal; letter-spacing: 0; font-size-adjust: none;
}
.brand-name { font-size: 23px; }

/* small labels: pixel */
.label, .wcard-num, .appx-top > span:first-child, .sc-time, .scroll-cue, .svc-num, .footer-cols h4, .sx-cat, .rail-label, .rail-count {
  font-family: var(--pixel); font-weight: 500; letter-spacing: .02em;
}

/* the big GANAKYA behind the dot portrait: dot-matrix to match the dots */
.phero-word {
  font-family: var(--dot); font-weight: 900; font-size: 13.2vw; letter-spacing: -.02em; line-height: .9;
  color: rgba(15, 15, 16, .09); -webkit-text-stroke: 0; font-size-adjust: none;
}

/* the giant word at the bottom of every page: blue handwriting */
.footer-word { font-family: var(--hand); font-style: normal; font-weight: 700; letter-spacing: -.01em; color: var(--blue); font-size-adjust: none; }
.footer-word .fl:hover { color: var(--pen-orange); }

/* app taglines in the Apps showcase: handwriting in each app's colour */
.sx-tagline { font-family: var(--hand); font-style: normal; font-weight: 700; font-size: clamp(1.9rem, 2.5vw, 2.5rem); line-height: 1.05; }
.quote .qmark { font-family: var(--hand); font-style: normal; }

.note { font-family: var(--hand); font-style: normal; font-weight: 700; font-size-adjust: none; letter-spacing: 0; }

/* ==========================================================================
   Home · Our apps — one phone frame; the app screens queue on its right
   and slide through it one by one as you scroll
   ========================================================================== */
.wv2 { position: relative; }
.wv2-pin { position: relative; height: calc(100vh + 6 * 62vh); }
.wv2-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding-top: 96px; }
.wv2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.wv2-head .title { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.wv2-head .label { margin-bottom: 14px; }
.wv2-count { display: flex; align-items: baseline; gap: 8px; flex: none; }
.wv2-count b { font-family: var(--dot); font-weight: 900; font-size: 46px; line-height: 1; letter-spacing: -.04em; }
.wv2-count span { color: var(--muted); font-size: 14px; }
.wv2-body { position: relative; flex: 1; --sw: clamp(196px, calc((100vh - 300px) * .49), 268px); --sh: calc(var(--sw) * 2.03); --fx: 47%; --gap: 40px; }
.wv2-body::before { content: ""; position: absolute; left: var(--fx); top: 50%; width: calc(var(--sw) * 2.6); height: calc(var(--sw) * 2.6); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(59, 91, 253, .2), transparent); pointer-events: none; }
.wv2-frame, .wv2-scr { position: absolute; top: 50%; left: var(--fx); width: var(--sw); height: var(--sh); margin: calc(var(--sh) / -2) 0 0 calc(var(--sw) / -2); }
.wv2-frame { z-index: 300; pointer-events: none; border-radius: calc(var(--sw) * .165); box-shadow: 0 0 0 calc(var(--sw) * .03) #17171b, 0 0 0 calc(var(--sw) * .034) rgba(0, 0, 0, .3), 0 70px 90px -40px rgba(20, 24, 60, .55); }
.wv2-frame .aphone-island { top: calc(var(--sw) * .038); width: calc(var(--sw) * .29); height: calc(var(--sw) * .085); margin-left: calc(var(--sw) * -.145); }
.wv2-scr { margin: calc(var(--sh) / -2) 0 0 calc(var(--sw) / -2); transform-origin: 0 50%; will-change: transform, opacity; }
.wv2-glass { position: absolute; inset: 0; border-radius: calc(var(--sw) * .165); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(20, 24, 60, .45), 0 0 0 1px rgba(20, 24, 60, .06); }
.wv2-scr figcaption { display: none; }
.wv2-capwrap { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
.wv2-caps { position: absolute; z-index: 310; left: 0; top: 50%; width: min(340px, 30vw); transform: translateY(-50%); display: grid; }
.wv2-cap { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .6s var(--ease); pointer-events: none; }
.wv2-cap.is-active { opacity: 1; transform: none; pointer-events: auto; }
.wv2-ico { width: 46px; height: 46px; border-radius: 13px; }
.wv2-ico svg { width: 22px; height: 22px; }
.wv2-cap h3 { margin-top: 16px; font-family: var(--stencil); font-weight: 400; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; }
.wv2-cap p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.wv2-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; font-weight: 600; }
.wv2-link .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.wv2-link:hover .ico { transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .wv2-pin { height: auto; }
  .wv2-stage { position: relative; height: auto; overflow: visible; padding: 80px 0 40px; }
  .wv2-count, .wv2-frame, .wv2-capwrap, .wv2-body::before { display: none; }
  .wv2-body { --sw: min(60vw, 250px); }
  .wv2-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--pad) 10px; scrollbar-width: none; }
  .wv2-rail::-webkit-scrollbar { display: none; }
  .wv2-scr { position: relative; top: auto; left: auto; flex: none; height: auto; margin: 0; transform: none !important; opacity: 1 !important; scroll-snap-align: center; }
  .wv2-glass { position: relative; height: var(--sh); box-shadow: 0 0 0 6px #17171b, 0 24px 40px -24px rgba(20, 24, 60, .5); }
  .wv2-scr figcaption { display: block; margin-top: 18px; }
  .wv2-scr figcaption b { display: block; font-family: var(--stencil); font-weight: 400; font-size: 26px; line-height: 1.1; }
  .wv2-scr figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
}
/* the phone is sized from the space actually left under the heading (container height), so on
   short windows its bezel never runs past the pinned stage and gets cut */
@media (min-width: 901px) {
  .wv2-body { container-type: size; --sw: clamp(120px, min(calc((100vh - 300px) * .49), calc((100cqh - 44px) / 2.03)), 268px); }
}
@media (min-width: 901px) and (max-height: 720px) {
  .wv2-stage { padding-top: 78px; }
  .wv2-head .label { margin-bottom: 8px; }
  .wv2-head .title { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
}

/* ==========================================================================
   The big GANAKYA sits behind the head, not across the text
   ========================================================================== */
@media (min-width: 901px) {
  .phero-v2 .phero-word { left: calc(30vw - 26vw); right: auto; width: 52vw; top: clamp(70px, 9vh, 116px); font-size: 10.6vw; justify-content: center; }
}
.phero-v2 .phero-word span i { background: linear-gradient(180deg, rgba(59, 91, 253, .34), rgba(124, 92, 255, .12) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   No visible page scrollbar (scrolling still works everywhere)
   ========================================================================== */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ==========================================================================
   Home background hero — as the dot portrait dissolves, the cyborg wolf
   rises in behind everything, so the glass has a real image to bend
   ========================================================================== */
.hero-bgimg {
  --hbo: 0;
  position: fixed; z-index: -1; right: -3vw; bottom: -8vh; height: 112vh;
  pointer-events: none; opacity: var(--hbo);
  transform: translate3d(calc((1 - var(--hbo)) * 9vw), calc((1 - var(--hbo)) * 4vh), 0) scale(calc(1.08 - var(--hbo) * .08));
  transform-origin: 80% 100%;
  will-change: opacity, transform;
}
.hero-bgimg img { display: block; height: 100%; width: auto; max-width: none; transform: scaleX(-1); }
.hero-bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(244, 243, 239, .9)); pointer-events: none; }
@media (max-width: 900px) {
  .hero-bgimg { right: -34vw; bottom: -4vh; height: 78vh; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bgimg { transform: none; }
}

/* ---------- Process · Test step ---------- */
.sc-test { background: var(--lg-sheen), linear-gradient(155deg, rgba(231, 247, 237, .86), rgba(212, 240, 223, .52)); }
.art-test { display: grid; place-items: center; }
.testrun { width: min(340px, 92%); padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .84); box-shadow: var(--lg-rim), 0 0 0 1px rgba(20, 24, 60, .06), var(--shadow); font-size: 14px; }
.tr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tr-head b { font-family: var(--pixel); font-weight: 500; font-size: 15px; }
.tr-pass { padding: 4px 10px; border-radius: 999px; background: #e7f5ec; color: #15803d; font-size: 12px; font-weight: 600; }
.testrun ul { display: grid; gap: 8px; }
.testrun li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(244, 243, 239, .85); font-weight: 500; }
.testrun li i { width: 16px; height: 16px; flex: none; border-radius: 50%; }
.testrun li i.ok { background: #16a34a; box-shadow: inset 0 0 0 4px #bbf7d0; }
.testrun li i.run { border: 2px solid #3b5bfd; border-top-color: transparent; animation: spin 1s linear infinite; }
.testrun li em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #15803d; }
.testrun li:last-child em { color: #3b5bfd; }
.tr-bar { display: block; margin-top: 12px; height: 6px; border-radius: 6px; background: rgba(20, 24, 60, .08); overflow: hidden; }
.tr-bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #16a34a, #3b5bfd); transform-origin: left; animation: trFill 3.2s var(--ease) infinite; }
@keyframes trFill { 0% { transform: scaleX(.05); } 70%, 100% { transform: scaleX(1); } }

/* ==========================================================================
   No sliced letters — the word-reveal boxes used to hide everything outside
   them, which cut the leaning handwritten letters. Now they clip only the
   bottom (needed for the rise-up reveal) and let letters overhang freely.
   ========================================================================== */
.w { overflow: visible; clip-path: inset(-.7em -.9em 0 -.9em); padding-bottom: .42em; margin-bottom: -.42em; }
.js [data-split] .wi { transform: translate3d(0, 150%, 0); }
.js [data-split].is-in .wi { transform: none; }
.js .statement .w { clip-path: none; padding: 0; margin: 0; }
.footer-word { overflow: visible; clip-path: inset(-.8em -1.2em 0 -1.2em); }
@media (prefers-reduced-motion: reduce) {
  .w, .footer-word { clip-path: none; }
  .js [data-split] .wi { transform: none; }
}

/* ==========================================================================
   Smoother scrolling — the stacked process cards no longer re-blur what is
   behind them every frame (they cover each other anyway), and they dim with
   a light overlay instead of a filter
   ========================================================================== */
.sc { -webkit-backdrop-filter: none; backdrop-filter: none; }
.sc { background: var(--lg-sheen), linear-gradient(155deg, rgba(255, 255, 255, .96), rgba(246, 245, 241, .9)); }
.sc-2 { background: var(--lg-sheen), linear-gradient(155deg, rgba(240, 239, 253, .97), rgba(228, 226, 252, .92)); }
.sc-4 { background: var(--lg-sheen), linear-gradient(155deg, rgba(236, 242, 255, .97), rgba(222, 232, 255, .92)); }
.sc-test { background: var(--lg-sheen), linear-gradient(155deg, rgba(236, 249, 241, .97), rgba(220, 243, 229, .92)); }
.sc-3 { background: var(--lg-sheen), linear-gradient(155deg, #1d1d22, #0f0f11); }
.sc { --dim: 0; }
.sc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0f0f10; opacity: var(--dim); pointer-events: none; z-index: 5; }
.sc { contain: paint; }
/* big glass cards: lighter blur keeps scrolling at full frame rate */
.wcard, .stats, .why-card, .value, .band, .appx { --lg-blur: blur(14px) saturate(180%); }

/* ==========================================================================
   Team v2 — founder intro, role cards
   ========================================================================== */
.tm-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 118px 0 70px; isolation: isolate; }
.tm-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.tm-photo { position: relative; max-width: 540px; width: 100%; justify-self: center; }
.tm-photo .fp-frame { border-radius: 36px; }
.tm-photo .fp-frame::after { background: linear-gradient(to top, rgba(15, 15, 16, .18), transparent 30%); }
.tm-photo .founder-photo .char-in { border-radius: 36px; }
.tm-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 12px; border-radius: 20px; white-space: nowrap; animation: sxFloat 7s ease-in-out infinite; }
.tm-chip b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.tm-chip small { display: block; font-size: 12px; color: var(--muted); }
.tm-chip .ico { width: 18px; height: 18px; color: var(--blue); }
.tm-chip.c1 { top: 7%; left: -8%; }
.tm-chip.c2 { top: 44%; right: -10%; animation-delay: -2.4s; }
.tm-chip.c3 { bottom: 9%; left: -6%; animation-delay: -4.6s; }
.tm-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .2); animation: blink 1.8s ease-in-out infinite; }
.tm-num { font-family: var(--dot); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.tm-info .label { margin-bottom: 20px; }
.tm-name { font-size: clamp(3.6rem, 7vw, 6.6rem); line-height: .95; }
.tm-role { margin-top: 18px; font-family: var(--pixel); font-size: 15px; color: var(--blue); letter-spacing: .02em; }
.tm-bio { margin-top: 12px; max-width: 460px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.tm-apps-wrap { margin-top: 26px; }
.tm-apps-wrap small { display: block; margin-bottom: 10px; font-family: var(--pixel); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.tm-apps { display: flex; gap: 10px; flex-wrap: wrap; }
.tm-app { position: relative; display: block; transition: transform .45s var(--ease); }
.tm-app:hover { transform: translateY(-6px) scale(1.12); }
.tm-ico { width: 48px; height: 48px; border-radius: 14px; }
.tm-ico svg { width: 22px; height: 22px; }
.tm-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); padding: 5px 11px; border-radius: 999px; background: rgba(15, 15, 16, .88); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 6px); transition: opacity .25s, transform .35s var(--ease); }
.tm-app:hover .tm-tip, .tm-app:focus-visible .tm-tip { opacity: 1; transform: translate(-50%, 0); }
.tm-skills { margin-top: 18px; }
.tm-cta { justify-content: flex-start; margin-top: 28px; }

.hats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.hats::before { content: ""; position: absolute; left: 8%; right: 8%; top: 58px; height: 2px; background: repeating-linear-gradient(90deg, rgba(20, 24, 60, .18) 0 8px, transparent 8px 16px); }
.hat {
  position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 30px 26px;
  border-radius: 30px; overflow: hidden;
  --lg-sheen: radial-gradient(320px circle at var(--mx, 50%) var(--my, -45%), rgba(255, 255, 255, .55), transparent 70%);
  background: var(--lg-sheen), var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--lg-rim), var(--lg-line), var(--shadow);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), translate 1.2s var(--ease), opacity 1s var(--ease);
}
.hat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease); }
.hat:hover { transform: translateY(-8px); box-shadow: var(--lg-rim), var(--lg-line), var(--shadow-lg); }
.hat:hover::after { transform: scaleX(1); }
.hat-ico { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: var(--c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -10px var(--c); transition: transform .6s var(--ease); }
.hat-ico .ico { width: 24px; height: 24px; stroke-width: 2; }
.hat:hover .hat-ico { transform: rotate(-8deg) scale(1.08); }
.hat-num { position: absolute; right: 24px; top: 26px; font-family: var(--dot); font-weight: 900; font-size: 30px; line-height: 1; color: color-mix(in srgb, var(--c) 55%, transparent); }
.hat h3 { margin-top: auto; padding-top: 40px; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.hat p { margin-top: 8px; color: #55555c; font-size: 15px; }

@media (max-width: 1024px) {
  .hats { grid-template-columns: repeat(2, 1fr); }
  .hats::before { display: none; }
}
@media (max-width: 900px) {
  .tm-hero { min-height: 0; padding: 104px 0 40px; }
  .tm-grid { grid-template-columns: 1fr; gap: 34px; }
  .tm-photo { max-width: 440px; }
  .tm-chip.c1 { left: 4%; top: 4%; }
  .tm-chip.c2 { right: 3%; }
  .tm-chip.c3 { left: 4%; bottom: 5%; }
}
@media (max-width: 560px) {
  .hats { grid-template-columns: 1fr; }
  .hat { min-height: 0; }
  .tm-chip { padding: 8px 12px 8px 10px; }
  .tm-chip b { font-size: 12.5px; }
  .tm-num { font-size: 26px; }
}

/* ==========================================================================
   App pages, support, policies, setup, story chapters — all glass
   ========================================================================== */
:root { --gl: radial-gradient(320px circle at var(--mx, 50%) var(--my, -45%), rgba(255, 255, 255, .55), transparent 70%), var(--glass); }
.ap-card, .ap-feat, .tech, .gs-step, .gs-way, .hc, .oa, .pg-card, .pol-doc, .way, .pre, .sh-card, .sh-else, .ch-card, .sp-form, .del-steps li, .ap-sub-in {
  background: var(--gl); -webkit-backdrop-filter: blur(16px) saturate(185%); backdrop-filter: blur(16px) saturate(185%);
  box-shadow: var(--lg-rim), var(--lg-line), var(--shadow-sm);
}
.ap-hero ~ .section, .sp-hero ~ .section { padding: clamp(56px, 7vw, 100px) 0; }

/* ---------- hero ---------- */
.ap-hero, .sp-hero { position: relative; isolation: isolate; overflow: clip; }
.ap-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 60px; }
.sp-hero { padding: 130px 0 40px; }
.ap-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ap-bg i { position: absolute; border-radius: 50%; filter: blur(2px); }
.ap-bg .b1 { width: 62vmax; height: 62vmax; right: -14vmax; top: -18vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 70%, transparent), transparent); animation: sxDrift 18s ease-in-out infinite alternate; }
.ap-bg .b2 { width: 44vmax; height: 44vmax; left: -12vmax; bottom: -16vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--c2) 60%, transparent), transparent); animation: sxDrift 23s ease-in-out -6s infinite alternate-reverse; }
.ap-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.ap-crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-family: var(--pixel); font-size: 13px; color: var(--muted); }
.ap-crumbs a:hover { color: var(--ink); }
.ap-crumbs b { color: var(--ink); font-weight: 500; }
.ap-id, .sp-head { display: flex; align-items: center; gap: 12px; }
.ap-icon { width: 60px; height: 60px; border-radius: 18px; }
.ap-icon svg { width: 28px; height: 28px; }
.ap-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--gl); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); box-shadow: var(--lg-rim), var(--lg-line); }
.ap-status i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }
.st-test i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .22); }
.st-dev i { background: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, .22); }
.st-apk i { background: var(--blue); box-shadow: 0 0 0 3px rgba(59, 91, 253, .2); }
.ap-name { margin-top: 22px; font-family: var(--stencil); font-weight: 400; font-size: clamp(3.6rem, 8vw, 7.4rem); line-height: .95; letter-spacing: 0; }
.ap-tag { margin-top: 10px; font-family: var(--hand); font-weight: 700; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.1; color: var(--ac); }
.ap-lead { margin-top: 14px; max-width: 470px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.ap-hero .hero-cta { justify-content: flex-start; margin-top: 28px; }
.ap-vis { position: relative; justify-self: center; width: min(100%, 460px); height: min(72vh, 600px); }
.ap-glow { position: absolute; left: 50%; top: 52%; width: 120%; height: 80%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 30%, transparent), transparent); filter: blur(8px); }
.ap-phone { position: absolute; left: 50%; top: 50%; width: 236px; height: 480px; transform: translate(-50%, -50%) scale(clamp(.85, calc((100vh - 180px) / 560px), 1.12)); }
.ap-phone .aphone { left: 0; top: 0; margin: 0; }
.ap-fact { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 20px; white-space: nowrap; --accent: var(--ac); animation: sxFloat 7s ease-in-out infinite; }
.ap-fact.f0 { top: 10%; right: -6%; }
.ap-fact.f1 { top: 46%; left: -10%; animation-delay: -2.3s; }
.ap-fact.f2 { bottom: 9%; right: -2%; animation-delay: -4.6s; }

/* ---------- sticky sub-navigation ---------- */
.ap-sub { position: sticky; top: 78px; z-index: 50; display: flex; justify-content: center; padding: 0 var(--pad); margin-top: -20px; pointer-events: none; }
.ap-sub-in { display: flex; gap: 4px; padding: 6px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; pointer-events: auto; }
.ap-sub-in::-webkit-scrollbar { display: none; }
.ap-sub-in a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s; }
.ap-sub-in a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.ap-sub-in a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- overview blocks ---------- */
.ap-stats-wrap { padding: 48px 0 0; }
.ap-stats-wrap .stat > span { max-width: 200px; margin-inline: auto; }
.ap-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ap-card { position: relative; padding: clamp(28px, 3.4vw, 46px); border-radius: 32px; overflow: hidden; }
.ap-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 28%, transparent), transparent); }
.ap-card .title { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.ap-card .title em { color: var(--ac); }
.ap-card p { margin-top: 14px; max-width: 460px; color: #55555c; font-size: 16.5px; line-height: 1.6; }
.ap-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ap-feat { padding: 28px; border-radius: 28px; transition: transform .6s var(--ease), box-shadow .6s var(--ease), translate 1.2s var(--ease), opacity 1s var(--ease); }
.ap-feat:hover { transform: translateY(-6px); box-shadow: var(--lg-rim), var(--lg-line), var(--shadow); }
.ap-feat-ico, .tech-ico, .hc-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--ac); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 20px -10px var(--ac); }
.ap-feat-ico .ico, .tech-ico .ico, .hc-ico .ico { width: 22px; height: 22px; stroke-width: 2; }
.ap-feat h3 { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: 24px; }
.ap-feat ul { margin-top: 14px; display: grid; gap: 9px; }
.ap-feat li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.ap-feat li .ico { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--ac); stroke-width: 2.4; }

/* ---------- built with ---------- */
.tech-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; margin-bottom: 18px; padding: clamp(28px, 4vw, 48px); border-radius: 34px; overflow: hidden; color: #fff;
  background: radial-gradient(420px circle at var(--mx, 80%) var(--my, 0%), rgba(255, 255, 255, .12), transparent 70%), linear-gradient(150deg, rgba(30, 30, 38, .94), rgba(12, 12, 16, .96));
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .07), var(--shadow-lg); }
.tech-badge { grid-column: 1; justify-self: start; padding: 6px 12px; border-radius: 999px; font-family: var(--pixel); font-size: 12px; color: #d7ff3d; background: rgba(215, 255, 61, .12); box-shadow: inset 0 0 0 1px rgba(215, 255, 61, .25); }
.tech-hero h3 { grid-column: 1; margin-top: 8px; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; }
.tech-hero p { grid-column: 1; color: #c4c4cc; font-size: 16px; line-height: 1.55; }
.tech-hero ul { grid-column: 1; display: grid; gap: 8px; margin-top: 6px; }
.tech-hero li { display: flex; gap: 10px; font-size: 15px; color: #e4e4e7; }
.tech-hero li .ico { width: 17px; height: 17px; flex: none; margin-top: 2px; color: #d7ff3d; stroke-width: 2.4; }
.tech-route { grid-column: 2; grid-row: 1 / span 4; align-self: center; height: 220px; }
.tech-route svg { width: 100%; height: 100%; overflow: visible; }
.tech-route path { fill: none; stroke-linecap: round; }
.tr-old { stroke: rgba(255, 255, 255, .18); stroke-width: 6; stroke-dasharray: 2 12; }
.tr-new { stroke: #d7ff3d; stroke-width: 6; stroke-dasharray: 100; stroke-dashoffset: 100; animation: trDraw 3.6s var(--ease) infinite; }
.tech-route circle { fill: #fff; }
@keyframes trDraw { 60%, 100% { stroke-dashoffset: 0; } }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tech { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border-radius: 22px; }
.tech-ico { grid-row: span 2; }
.tech b { font-size: 16px; font-weight: 600; }
.tech small { font-size: 13.5px; color: var(--muted); }

/* ---------- get started ---------- */
.gs-steps, .pre-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gs-step, .pre { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 26px; }
.gs-n { font-family: var(--dot); font-weight: 900; font-size: 34px; line-height: 1; color: var(--ac); }
.gs-step b, .pre b { font-size: 18px; font-weight: 600; line-height: 1.3; }
.pre small { color: var(--muted); font-size: 14.5px; }
.pre .btn { align-self: flex-start; margin-top: auto; --h: 46px; font-size: 14px; }
.gs-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.gs-way { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 20px; transition: transform .5s var(--ease); }
.gs-way:hover { transform: translateY(-4px); }
.gs-way b { font-size: 15px; } .gs-way small { color: var(--muted); font-size: 13px; }
.gs-sec .statement-link { display: flex; justify-content: center; }

/* ---------- privacy summary ---------- */
.ap-priv { display: flex; gap: 26px; padding: clamp(28px, 4vw, 50px); border-radius: 34px; color: #fff;
  background: radial-gradient(420px circle at var(--mx, 10%) var(--my, 0%), color-mix(in srgb, var(--ac) 30%, transparent), transparent 70%), linear-gradient(150deg, rgba(30, 30, 38, .94), rgba(12, 12, 16, .96));
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .07), var(--shadow-lg); }
.ap-priv-ico { width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.ap-priv-ico .ico { width: 28px; height: 28px; color: #fff; }
.ap-priv h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; }
.ap-priv h2 em { font-family: var(--hand); font-style: normal; font-weight: 700; color: var(--ac); filter: brightness(1.4); }
.ap-priv p { margin-top: 12px; max-width: 620px; color: #c4c4cc; font-size: 16.5px; }
.ap-priv ul { margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ap-priv li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #e4e4e7; }
.ap-priv li .ico { width: 18px; height: 18px; color: #4ade80; stroke-width: 2.4; }

/* ---------- help cards & more apps ---------- */
.hc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.hc:hover { transform: translateY(-6px); box-shadow: var(--lg-rim), var(--lg-line), var(--shadow); }
.hc b { margin-top: 12px; font-size: 19px; } .hc small { color: var(--muted); font-size: 14.5px; }
.hc-go { position: absolute; right: 22px; top: 24px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s, transform .5s var(--ease); }
.hc:hover .hc-go { background: var(--ink); color: #fff; transform: rotate(45deg); }
.hc-go .ico { width: 17px; height: 17px; }
.oa-section { padding-top: 0 !important; }
.oa-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.oa { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; transition: transform .5s var(--ease); }
.oa:hover { transform: translateY(-4px); }
.oa-ico { width: 42px; height: 42px; border-radius: 13px; flex: none; }
.oa b { display: block; font-size: 15px; } .oa small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- support pages ---------- */
.sp-title { margin-top: 22px; font-size: clamp(3rem, 6vw, 5.4rem); }
.sp-hero .phead-sub { margin-top: 14px; }
.sp-quicks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sp-quick { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; }
.sp-quick .ico { width: 17px; height: 17px; color: var(--ac); }
.sp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.sp-grid .label { margin-bottom: 20px; }
.faq-n { margin-right: 14px; font-family: var(--dot); font-weight: 900; font-size: 18px; color: var(--ac, var(--blue)); }
.faq-a a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.sp-form { position: sticky; top: 150px; display: grid; gap: 14px; padding: 28px; border-radius: 30px; }
.sp-form-head h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; }
.sp-form-head p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.sp-field input, .sp-field textarea { width: 100%; padding: 13px 15px; border: 0; border-radius: 16px; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); resize: vertical;
  background: rgba(255, 255, 255, .62); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 24, 60, .08); transition: box-shadow .3s; }
.sp-field input:focus, .sp-field textarea:focus { outline: none; box-shadow: inset 0 1px 0 #fff, inset 0 0 0 2px var(--ac, var(--blue)); }
.sp-field.bad input, .sp-field.bad textarea { box-shadow: inset 0 0 0 2px #dc2626; }
.sp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sp-mail { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.sp-note { font-size: 12.5px; color: var(--muted); }

/* ---------- policies ---------- */
.pg-sec .label { margin-bottom: 20px; }
.pg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pg-grid.two { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.pg-card { padding: 26px; border-radius: 26px; border-top: 4px solid var(--t); }
.pg-ok { --t: #16a34a; } .pg-up { --t: #f59e0b; } .pg-no { --t: #dc2626; }
.pg-card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.pg-card ul { margin-top: 14px; display: grid; gap: 9px; }
.pg-card li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.pg-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--t); }
.pol-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }
.pol-toc { position: sticky; top: 150px; display: grid; gap: 2px; padding: 18px; border-radius: 24px; max-height: calc(100vh - 180px); overflow: auto; scrollbar-width: none; }
.pol-toc b { margin: 0 0 8px 8px; font-family: var(--pixel); font-weight: 500; font-size: 13px; color: var(--muted); }
.pol-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: 14px; color: var(--ink-2); transition: background .25s; }
.pol-toc a:hover { background: rgba(255, 255, 255, .7); }
.pol-toc a span { font-family: var(--dot); font-weight: 900; color: var(--ac); min-width: 22px; }
.pol-doc { padding: clamp(26px, 4vw, 54px); border-radius: 32px; }
.pol-sec { scroll-margin-top: 150px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.pol-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pol-sec h2 { display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.pol-sec h2 span { font-family: var(--dot); font-weight: 900; font-size: .8em; color: var(--ac); }
.pol-sec h3, .pol-sec h4 { margin-top: 20px; font-size: 17px; font-weight: 600; }
.pol-sec p, .pol-sec li { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: #3f3f46; }
.pol-sec ul, .pol-sec ol { padding-left: 20px; list-style: disc; }
.pol-sec ol { list-style: decimal; }
.pol-sec li { margin-top: 8px; }
.pol-sec a, .del-steps a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.pol-sec table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.pol-sec th, .pol-sec td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.pol-sec th { font-weight: 600; background: rgba(255, 255, 255, .6); }
.del-sec { scroll-margin-top: 120px; }
.del-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.del-steps li { display: flex; gap: 16px; padding: 24px; border-radius: 24px; font-size: 15.5px; line-height: 1.6; }
.del-cta { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- setup guide ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.way { scroll-margin-top: 150px; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 28px; }
.way-top { display: flex; justify-content: space-between; align-items: center; }
.way-n { font-family: var(--dot); font-weight: 900; font-size: 34px; color: var(--ac); }
.way-badge { padding: 6px 12px; border-radius: 999px; font-family: var(--pixel); font-size: 12px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.way h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.way p { color: #55555c; font-size: 15.5px; line-height: 1.55; }
.way-vids { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.way-vids a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; background: linear-gradient(180deg, rgba(56, 56, 64, .94), rgba(15, 15, 16, .97)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.way-vids a .ico { width: 13px; height: 13px; }
.way-vids small { color: var(--muted); font-size: 12.5px; }
.way-steps summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ac); }
.way-steps ol { margin-top: 10px; padding-left: 20px; list-style: decimal; display: grid; gap: 7px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* ---------- support hub ---------- */
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sh-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 28px; overflow: hidden; transition: transform .5s var(--ease); }
.sh-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 55%, transparent), transparent); pointer-events: none; }
.sh-card:hover { transform: translateY(-6px); }
.sh-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sh-ico { width: 52px; height: 52px; border-radius: 16px; }
.sh-card h3 { margin-top: 10px; font-family: var(--stencil); font-weight: 400; font-size: 30px; }
.sh-card p { color: var(--muted); font-size: 14.5px; }
.sh-links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sh-links a { padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.sh-links .sh-main { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--ink); box-shadow: none; }
.sh-links .ico { width: 14px; height: 14px; }
.sh-else { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding: 26px 30px; border-radius: 28px; }
.sh-else h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; } .sh-else p { color: var(--muted); }

/* ---------- contact → support strip ---------- */
.ct-help { padding: 10px 0 0; }
.ct-help-in { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-radius: 24px; }
.ct-icons { display: flex; } .ct-icons .ha-ico + .ha-ico { margin-left: -8px; }
.ct-help-in b { display: block; font-size: 16px; } .ct-help-in small { display: block; color: var(--muted); font-size: 14px; }
.ct-help-in > .ico { margin-left: auto; width: 18px; height: 18px; }

/* ---------- story chapters ---------- */
.chapters { position: relative; display: grid; gap: 26px; max-width: 980px; margin: 0 auto; }
.ch-line { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; border-radius: 2px; background: rgba(20, 24, 60, .1); overflow: hidden; }
.ch-line i { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--blue), #e2892b); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.ch { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.ch-dot { position: absolute; left: 50%; top: 34px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(59, 91, 253, .18), inset 0 0 0 4px var(--blue); z-index: 2; }
.ch:nth-child(odd) .ch-card { grid-column: 1; margin-right: 44px; }
.ch:nth-child(even) .ch-card { grid-column: 2; margin-left: 44px; }
.ch-card { padding: 26px 28px; border-radius: 28px; transition: transform .6s var(--ease), translate 1.2s var(--ease), opacity 1s var(--ease); }
.ch-card:hover { transform: translateY(-5px); }
.ch-top { display: flex; align-items: center; gap: 12px; }
.ch-n { font-family: var(--dot); font-weight: 900; font-size: 38px; line-height: 1; color: var(--blue); }
.ch-k { font-family: var(--pixel); font-size: 13px; color: var(--muted); }
.ch-card h3 { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.1; }
.ch-card p { margin-top: 8px; color: #55555c; font-size: 15.5px; line-height: 1.6; }
.ch-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ch-app { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease); }
.ch-app:hover { transform: translateY(-2px); }
.ch-ico { width: 28px; height: 28px; border-radius: 9px; }
.ch-ico svg { width: 14px; height: 14px; }

/* ---------- more glass: footer and the tech strip ---------- */
.footer-top { padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: var(--gl); -webkit-backdrop-filter: blur(16px) saturate(185%); backdrop-filter: blur(16px) saturate(185%); box-shadow: var(--lg-rim), var(--lg-line), var(--shadow-sm); }
.strip { background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .22)); -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(20, 24, 60, .05); }

@media (max-width: 1024px) {
  .ap-feats, .tech-grid, .hc-grid, .sh-grid { grid-template-columns: 1fr 1fr; }
  .oa-row { grid-template-columns: repeat(3, 1fr); }
  .gs-ways { grid-template-columns: 1fr 1fr; }
  .pol-grid { grid-template-columns: 1fr; }
  .pol-toc { position: relative; top: auto; max-height: none; grid-template-columns: 1fr 1fr; }
  .pol-toc b { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ap-hero { min-height: 0; padding: 110px 0 30px; }
  .ap-grid, .ap-two, .sp-grid, .tech-hero { grid-template-columns: 1fr; }
  .ap-vis { height: 520px; }
  .ap-fact.f1 { left: 0; } .ap-fact.f0 { right: 0; }
  .tech-route { grid-column: 1; grid-row: auto; height: 140px; }
  .gs-steps, .pre-steps, .del-steps, .ways, .pg-grid, .pg-grid.two { grid-template-columns: 1fr; }
  .sp-form { position: relative; top: auto; }
  .ap-sub { top: 70px; }
  .ch-line { left: 18px; }
  .ch-dot { left: 18px; }
  .ch:nth-child(odd) .ch-card, .ch:nth-child(even) .ch-card { grid-column: 1 / -1; margin: 0 0 0 46px; }
  .sh-else { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .ap-feats, .tech-grid, .hc-grid, .sh-grid, .oa-row, .gs-ways, .pol-toc { grid-template-columns: 1fr; }
  .ap-priv { flex-direction: column; }
  .ap-priv ul, .sp-row { grid-template-columns: 1fr; }
  .ap-vis { height: 460px; }
  .ap-fact { padding: 8px 12px 8px 8px; }
  .ct-icons { display: none; }
}

/* contact card: the long email address wraps on phones instead of being cut */
.contact-card > * { min-width: 0; }
.contact-mail b { overflow-wrap: anywhere; }
@media (max-width: 560px) { .contact-mail b { font-size: 18px; } }

/* FAQ: questions read left to right, in the body font */
.faq-q { justify-content: flex-start; text-align: left; gap: 0; font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: -.01em; font-size-adjust: none; }
.faq-q .faq-icon { margin-left: auto; flex: none; }
.faq-q .faq-n { flex: none; }
@media (max-width: 640px) { .faq-q { font-size: 15.5px; } }

/* ==========================================================================
   Apps page — one app per row, phone and story alternating sides
   ========================================================================== */
.arows { display: grid; gap: clamp(22px, 3vw, 36px); }
.arow {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  min-height: 560px; border-radius: 40px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(420px circle at var(--mx, 85%) var(--my, 0%), rgba(255, 255, 255, .6), transparent 70%),
    linear-gradient(140deg, color-mix(in srgb, var(--c1) 26%, rgba(255, 255, 255, .92)), rgba(255, 255, 255, .86) 55%, color-mix(in srgb, var(--c2) 22%, rgba(255, 255, 255, .9)));
  box-shadow: var(--lg-rim), var(--lg-line), var(--shadow-lg);
}
.arow.flip .arow-vis { order: 2; }
.arow-num { position: absolute; z-index: 0; right: 34px; top: 26px; font-family: var(--dot); font-weight: 900; font-size: clamp(5rem, 9vw, 8.5rem); line-height: .8; color: color-mix(in srgb, var(--ac) 16%, transparent); pointer-events: none; }
.arow.flip .arow-num { right: auto; left: 34px; }
.arow-vis { position: relative; align-self: stretch; min-height: 560px; }
.arow-glow { position: absolute; left: 50%; top: 50%; width: 120%; height: 90%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 30%, transparent), transparent); }
.arow .aphone { top: 50%; margin-top: -240px; transform: rotate(-4deg); transition: transform 1s var(--ease); }
.arow.flip .aphone { transform: rotate(4deg); }
.arow:hover .aphone { transform: rotate(0deg) translateY(-10px) scale(1.03); }
.arow-chip { position: absolute; z-index: 4; top: 16%; right: 8%; display: flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px; border-radius: 20px; white-space: nowrap; --accent: var(--ac); animation: sxFloat 7s ease-in-out infinite; }
.arow.flip .arow-chip { right: auto; left: 8%; }
.arow-body { position: relative; z-index: 1; padding: clamp(32px, 4.5vw, 64px); }
.arow-top { display: flex; align-items: center; gap: 12px; }
.arow-ico { width: 52px; height: 52px; border-radius: 16px; }
.arow-ico svg { width: 24px; height: 24px; }
.arow h3 { margin-top: 20px; font-family: var(--stencil); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: .95; }
.arow-tag { margin-top: 10px; font-family: var(--hand); font-weight: 700; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.1; color: var(--ac); }
.arow-desc { margin-top: 12px; max-width: 420px; color: #55555c; font-size: 16.5px; line-height: 1.55; }
.arow-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.arow-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 9px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .72); box-shadow: var(--lg-rim-sm), 0 0 0 1px rgba(20, 24, 60, .06); }
.arow-pills .ico { width: 16px; height: 16px; color: var(--ac); stroke-width: 2.2; }
.arow-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.arow-link { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; border-bottom: 1.5px solid color-mix(in srgb, var(--ac) 40%, transparent); padding-bottom: 2px; }
.arow-link .ico { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.arow-link:hover .ico { transform: translate(2px, -2px); }

@media (max-width: 760px) {
  .arow { grid-template-columns: 1fr; min-height: 0; border-radius: 32px; }
  .arow.flip .arow-vis { order: 0; }
  .arow-vis { min-height: 520px; }
  .arow-num, .arow.flip .arow-num { left: auto; right: 22px; top: 18px; font-size: 4.6rem; }
  .arow-chip, .arow.flip .arow-chip { left: auto; right: 6%; top: 8%; padding: 8px 12px 8px 8px; }
  .arow-body { padding: 4px 26px 32px; }
}

/* Scroll-scrubbed build: main.js writes --p (card in), --x (card out), --pv (phone side in) and
   --pb (text side in), each 0→1. Everything follows the scroll position, so scrolling back up
   plays it in reverse. Defaults of 1/0 show the finished card when JS is off. */
.arow { --dir: 1; transform-origin: 50% 100%;
  translate: 0 calc((1 - var(--p, 1)) * 120px + var(--x, 0) * -50px);
  scale: calc(.86 + var(--p, 1) * .14 - var(--x, 0) * .08);
  transform: perspective(1500px) rotateX(calc((1 - var(--p, 1)) * 16deg - var(--x, 0) * 6deg));
  opacity: calc(min(1, var(--p, 1) * 1.7) - var(--x, 0) * .6);
  will-change: translate, scale, transform, opacity; }
.arow.flip { --dir: -1; }
.js .arow { --p: 0; --x: 0; }
.js .arow-vis { --pv: 0; }
.js .arow-body { --pb: 0; }
/* light sweeping across the glass as the card arrives */
.arow::after { content: ''; position: absolute; z-index: 2; inset: -10% -70%; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .7) 50%, transparent 58%);
  translate: calc((var(--p, 1) * 2 - 1) * -60%) 0;
  opacity: min(calc(var(--p, 1) * 2.4), calc(2.4 - var(--p, 1) * 2.4), .9); }
.arow-num { translate: calc((1 - var(--p, 1)) * var(--dir) * 90px) calc((1 - var(--p, 1)) * -40px + var(--x, 0) * 60px);
  opacity: var(--p, 1); }
.arow-glow { scale: calc(.25 + var(--pv, 1) * .75); opacity: var(--pv, 1); }
.arow .aphone {
  translate: calc((1 - var(--pv, 1)) * var(--dir) * -200px) calc((1 - var(--pv, 1)) * 160px + var(--x, 0) * -90px);
  rotate: calc((1 - var(--pv, 1)) * var(--dir) * -20deg);
  scale: calc(.74 + var(--pv, 1) * .26);
  opacity: min(1, calc(var(--pv, 1) * 2)); }
.arow-chip { --q: clamp(0, (var(--pv, 1) - .45) * 2.2, 1); opacity: var(--q); scale: calc(.55 + var(--q) * .45); }
/* text side: each line arrives a beat after the one above */
.arow-body > :not(h3, .arow-pills) { --q: clamp(0, (var(--pb, 1) - var(--d, 0)) * 2.4, 1); opacity: var(--q);
  translate: calc((1 - var(--q)) * var(--dir) * 46px) calc((1 - var(--q)) * 40px); }
.arow-top { --d: 0; }
.arow-tag { --d: .2; }
.arow-desc { --d: .27; }
.arow-cta { --d: .42; }
.arow h3 .wd { display: inline-block; white-space: nowrap; }
.arow h3 .ch { display: inline-block; --q: clamp(0, (var(--pb, 1) - .05 - var(--i) * .022) * 4, 1); opacity: var(--q);
  translate: 0 calc((1 - var(--q)) * .75em); rotate: calc((1 - var(--q)) * 12deg); }
.arow-pills li { --q: clamp(0, (var(--pb, 1) - .32 - var(--i) * .06) * 3.2, 1); opacity: var(--q);
  translate: 0 calc((1 - var(--q)) * 24px); scale: calc(.7 + var(--q) * .3); }

@media (max-width: 760px) {
  .arow { --dir: .5; } .arow.flip { --dir: -.5; }
}
@media (prefers-reduced-motion: reduce) {
  .js .arow { --p: 1; --x: 0; } .js .arow-vis { --pv: 1; } .js .arow-body { --pb: 1; }
  .arow::after { display: none; }
  .arow .aphone, .arow.flip .aphone { transform: none; }
}

/* ==========================================================================
   Loader and page-switch curtain — black screen, "Ganakya" in Kola that
   writes itself: each letter's outline is traced, then the ink fills in.
   The word is vector outlines traced from Kola, so no web font is involved.
   ========================================================================== */
.js .loader { background: var(--ink); color: #fff; }
.loader-foot { color: rgba(255, 255, 255, .55); }
.loader-count { color: #fff; }
.loader-line { background: rgba(255, 255, 255, .12); }
.loader-line i { background: #fff; }
.loader-word-w { width: clamp(262px, 53vw, 722px); transition: translate 1s var(--ease-io), opacity .7s var(--ease); }
.js.is-loaded .loader-word-w { translate: 0 -46px; opacity: 0; }
.gword { display: block; width: 100%; height: auto; overflow: visible; }
.gword path { fill: #fff; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; paint-order: stroke; }
.curtain .gword path { stroke: none; }
.curtain .gword { width: clamp(197px, 32.8vw, 427px); opacity: .92; }
.js .loader .gword path { fill-opacity: 0; stroke-dasharray: 1 2; stroke-dashoffset: 1.01; }
.js .loader.go .gword path {
  animation: gwDraw 1.15s cubic-bezier(.45, .05, .25, 1) forwards, gwFill .55s ease forwards;
  animation-delay: calc(var(--i) * .15s), calc(.8s + var(--i) * .15s);
}
@keyframes gwDraw { from { stroke-dashoffset: 1.01; } to { stroke-dashoffset: 0; } }
@keyframes gwFill { from { fill-opacity: 0; } to { fill-opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .loader .gword path { fill-opacity: 1; stroke-dasharray: none; animation: none; }
}

/* ==========================================================================
   The hero character, softly blurred, sits behind every page so the glass
   always has colour and shape to bend. On Home it arrives as the dot
   portrait dissolves (main.js drives --cbo there).
   ========================================================================== */
.char-bg {
  --cbo: 1;
  /* the image carries a transparent margin (11.8% of the wolf's height) so the blur fades out
     softly; size and offsets below put the wolf itself exactly where the sharp home wolf sits */
  position: fixed; z-index: -1; right: calc(-3vw - 13.25vh); bottom: calc(-8vh - 13.25vh); height: 138.5vh;
  pointer-events: none; opacity: calc(var(--cbo) * .55);
  transform: translate3d(calc((1 - var(--cbo)) * 9vw), calc((1 - var(--cbo)) * 4vh), 0) scale(calc(1.08 - var(--cbo) * .08));
  transform-origin: 80% 100%;
}
.char-bg img { display: block; height: 100%; width: auto; max-width: none; }
.js .char-bg-home { --cbo: 0; will-change: opacity, transform; }
@media (max-width: 900px) {
  .char-bg { right: calc(-34vw - 9.23vh); bottom: calc(-4vh - 9.23vh); height: 96.5vh; opacity: calc(var(--cbo) * .4); }
}
.hero-bgimg { opacity: var(--hbs, var(--hbo)); }

/* ==========================================================================
   Page animal (every page but Home): starts sharp in the page header, then,
   as you scroll, blurs, shrinks and settles into the background where it
   stays behind the glass. main.js moves .pchar-box and sets --ps / --pbl.
   ========================================================================== */
.pchar { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1s var(--ease) .3s; }
.js.is-loaded .pchar.is-set { opacity: 1; }
.no-js .pchar { display: none; }
.pchar-box { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.pchar-blur { position: absolute; max-width: none; opacity: var(--pbl, 1); }
.pchar-sharp { position: absolute !important; inset: 0; width: 100% !important; margin: 0 !important; opacity: var(--ps, 1); }
.phead-char.is-lifted .char { visibility: hidden; }

/* ==========================================================================
   Real app screenshots in every phone frame. Frames are 20:9 like the phones
   the captures came from (236 x 512), so nothing is cropped off the screens.
   ========================================================================== */
.ascr-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.ascr:has(> .ascr-shot) { background: #0d0d10; }
.aphone { height: 512px; }
.arow .aphone { margin-top: -256px; }
.arow, .arow-vis { min-height: 600px; }
.ap-phone { height: 512px; transform: translate(-50%, -50%) scale(clamp(.8, calc((100vh - 180px) / 600px), 1.08)); }
.sx-phone-wrap { --pw: clamp(196px, calc((100vh - 240px) * .46), 280px); height: calc(var(--pw) * 2.17); }
.wv2-body { --sw: clamp(184px, calc((100vh - 300px) * .46), 252px); --sh: calc(var(--sw) * 2.17); }
@media (min-width: 901px) {
  .wv2-body { --sw: clamp(120px, min(calc((100vh - 300px) * .46), calc((100cqh - 44px) / 2.17)), 252px); }
}
@media (max-width: 900px) {
  .wv2-body { --sw: min(56vw, 236px); }
}
@media (max-width: 760px) {
  .arow-vis { min-height: 590px; }
}

/* header animals fit the first screen: width is capped by the height left under the nav,
   using each image's own proportions */
.phead-char .char { width: min(620px, 100%, calc((100vh - 170px) * var(--char-ar, 1))); }
.phead-char .char:has(img[src*="/tiger.webp"]) { --char-ar: 0.854; }
.phead-char .char:has(img[src*="/fox.webp"]) { --char-ar: 0.774; }
.phead-char .char:has(img[src*="/eagle.webp"]) { --char-ar: 0.989; }
@media (max-width: 900px) {
  .phead-char .char { width: min(440px, 90%, calc((100svh - 150px) * var(--char-ar, 1))); }
}
/* launching now (GymDesk, MapSync) */
.st-soon i { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .22); }

/* ==========================================================================
   Home reviews — two rows of Recline reviews drifting in opposite directions
   (light cards one way, dark the other). Transform-only animation, no
   backdrop blur, so it stays smooth; hovering a row pauses it.
   ========================================================================== */
.reviews { overflow: hidden; }
.rv-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.rv-head .title { margin-top: 14px; }
.rv-sub { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.rv-sub b { color: var(--ink); font-family: var(--dot); font-weight: 900; font-size: 1.15em; }
.rv-rows { display: grid; gap: 18px; margin-top: clamp(36px, 5vw, 56px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rv-row { overflow: hidden; padding: 6px 0 16px; }
.rv-track { display: flex; width: max-content; will-change: transform; animation: rvLeft 124s linear infinite; }
.rv-track.rv-right { animation-name: rvRight; animation-duration: 112s; }
@keyframes rvLeft { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes rvRight { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.rv-card { flex: none; width: 380px; min-height: 178px; margin: 0 18px 0 0; padding: 22px 24px 20px; border-radius: 22px;
  display: flex; flex-direction: column; gap: 12px; text-align: left;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--lg-rim), 0 0 0 1px rgba(20, 24, 60, .06), 0 18px 36px -26px rgba(20, 24, 60, .4); }
.rv-left .rv-card { background: rgba(24, 26, 34, .93); color: #f4f4f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(255, 255, 255, .05), 0 18px 36px -24px rgba(10, 12, 30, .6); }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-av { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(140deg, #8AA0FF, #3B57D8); }
.rv-left .rv-av { background: linear-gradient(140deg, #f5b04a, #e2892b); }
.rv-who { min-width: 0; }
.rv-who b { display: block; font-size: 15px; font-weight: 600; }
.rv-who small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }
.rv-left .rv-who small { color: rgba(255, 255, 255, .55); }
.rv-stars { margin-left: auto; flex: none; color: #f5a524; font-size: 15px; letter-spacing: 1px; }
.rv-stars i { font-style: normal; color: rgba(20, 24, 60, .16); }
.rv-left .rv-stars i { color: rgba(255, 255, 255, .2); }
.rv-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card figcaption { margin-top: auto; font-size: 12.5px; color: var(--muted); }
.rv-left .rv-card figcaption { color: rgba(255, 255, 255, .5); }
.rv-app { font-family: var(--stencil); font-size: 14px; color: var(--ink); }
.rv-left .rv-app { color: #fff; }
.rv-foot { display: flex; justify-content: center; margin-top: 18px; }
@media (max-width: 640px) {
  .rv-card { width: 300px; min-height: 168px; padding: 18px 20px; }
  .rv-rows { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-track { animation: none; }
  .rv-row { overflow-x: auto; }
  .rv-card[aria-hidden="true"] { display: none; }
}
/* keep the side rail's margin clear: on wide screens the rows fade out before the rail */
@media (min-width: 1101px) {
  .rv-rows {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 108px, #000 210px, #000 calc(100% - 210px), transparent calc(100% - 108px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, transparent 108px, #000 210px, #000 calc(100% - 210px), transparent calc(100% - 108px), transparent 100%);
  }
}

/* no text selection or image dragging (his request); form fields stay selectable */
html { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-user-drag: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }

/* ==========================================================================
   Page changes: the browser cross-fades into the next page (no loading
   screen); the top bar stays put. Logo: the stencil G, white on near-black.
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .24s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn .42s cubic-bezier(0, 0, .2, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }
.nav { view-transition-name: site-nav; }
.curtain[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
.brand-mark { background: linear-gradient(160deg, #24262d, #0f0f10); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(0, 0, 0, .25), 0 8px 18px -10px rgba(10, 12, 20, .6); }
.brand-mark svg { width: 21px; height: 21px; }

/* review cards: blue and peach, alternating card by card (rows start on opposite colours) */
.rv-card.rv-blue { color: #fff; background: linear-gradient(145deg, #7189ff, #3d58df);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 1px rgba(30, 50, 160, .25), 0 18px 36px -22px rgba(40, 60, 190, .6); }
.rv-card.rv-peach { color: #3a2414; background: linear-gradient(145deg, #ffe0c2, #ffbc8f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 1px rgba(200, 110, 40, .18), 0 18px 36px -22px rgba(200, 100, 30, .5); }
.rv-blue .rv-av { color: #3d58df; background: #fff; }
.rv-peach .rv-av { color: #fff; background: linear-gradient(140deg, #f59e4c, #e2732b); }
.rv-card.rv-blue .rv-who small, .rv-card.rv-blue figcaption { color: rgba(255, 255, 255, .72); }
.rv-card.rv-peach .rv-who small, .rv-card.rv-peach figcaption { color: rgba(58, 36, 20, .62); }
.rv-blue .rv-stars { color: #ffd36b; } .rv-blue .rv-stars i { color: rgba(255, 255, 255, .28); }
.rv-peach .rv-stars { color: #c2410c; } .rv-peach .rv-stars i { color: rgba(58, 36, 20, .18); }
.rv-blue .rv-app { color: #fff; } .rv-peach .rv-app { color: #3a2414; }

/* ==========================================================================
   Recline Helper: downloads graph + first-visit download dialog
   ========================================================================== */
.dl-sec { padding-top: clamp(30px, 5vw, 60px); }
.dl-card { padding: clamp(24px, 4vw, 44px); border-radius: 34px; --ac: #4d7c0f; }
.dl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.dl-head .title { margin-top: 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.dl-total { text-align: right; }
.dl-total b { display: block; font: 900 clamp(2.6rem, 6vw, 4.4rem)/1 var(--dot); letter-spacing: -.02em; color: var(--ink); }
.dl-total span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.dl-total small { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #3f6212; background: rgba(163, 230, 53, .28); }
.dl-total small[hidden] { display: none; }
.dl-chart { position: relative; height: clamp(220px, 30vw, 320px); margin: 28px 0 34px 46px; cursor: crosshair; }
.dl-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dl-grid line { stroke: rgba(20, 24, 60, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dl-line { fill: none; stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(.65, 0, .35, 1) .2s; }
.dl-area { opacity: 0; transition: opacity 1.4s ease 1.4s; }
.dl-card.is-in .dl-line { stroke-dashoffset: 0; }
.dl-card.is-in .dl-area { opacity: 1; }
.dl-y span { position: absolute; left: -46px; width: 38px; text-align: right; transform: translateY(-50%); font-size: 11.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.dl-x span { position: absolute; bottom: -26px; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--muted); }
.dl-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #4d7c0f; box-shadow: 0 0 0 4px #fff, 0 0 0 0 rgba(101, 163, 13, .45); animation: dlPulse 2s ease-out infinite; opacity: 0; transition: opacity .6s ease 2.4s; }
.dl-card.is-in .dl-dot { opacity: 1; }
@keyframes dlPulse { 70% { box-shadow: 0 0 0 4px #fff, 0 0 0 16px rgba(101, 163, 13, 0); } 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 0 rgba(101, 163, 13, 0); } }
.dl-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 14px)); padding: 8px 12px; border-radius: 12px; white-space: nowrap; pointer-events: none;
  background: rgba(17, 24, 39, .92); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.dl-tip b { display: block; font: 900 18px/1.1 var(--dot); }
.dl-tip span { display: block; margin-top: 2px; font-size: 12px; opacity: .75; }
.dl-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.dl-live { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.dl-live i { width: 9px; height: 9px; border-radius: 50%; background: #65a30d; box-shadow: 0 0 0 0 rgba(101, 163, 13, .5); animation: dlPing 1.8s infinite; }
@keyframes dlPing { 70% { box-shadow: 0 0 0 8px rgba(101, 163, 13, 0); } 100% { box-shadow: 0 0 0 0 rgba(101, 163, 13, 0); } }
@media (max-width: 640px) { .dl-total { text-align: left; } .dl-chart { margin-left: 40px; } .dl-y span { left: -40px; width: 34px; } }

.hdl-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; }
.hdl-modal[hidden] { display: none; }
.hdl-scrim { position: absolute; inset: 0; background: rgba(17, 24, 39, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .38s; }
.hdl-panel { position: relative; width: min(480px, 100%); padding: 30px 30px 24px; border-radius: 30px; --ac: #4d7c0f;
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .5s var(--ease), opacity .38s; }
.hdl-modal.is-open .hdl-scrim { opacity: 1; }
.hdl-modal.is-open .hdl-panel { transform: none; opacity: 1; }
.hdl-x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink); cursor: pointer; }
.hdl-top { display: flex; align-items: center; gap: 12px; }
.hdl-ico { width: 52px; height: 52px; border-radius: 16px; }
.hdl-ico svg { width: 24px; height: 24px; }
.hdl-panel h2 { margin-top: 18px; font-family: var(--head, 'Exo 2', sans-serif); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.3rem); line-height: 1.05; }
.hdl-panel h2 em { font-family: var(--hand); font-style: normal; color: var(--ac); }
.hdl-panel > p { margin-top: 10px; color: #4b5563; font-size: 15.5px; line-height: 1.55; }
.hdl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.hdl-meta { margin-top: 18px !important; font-size: 13px !important; color: var(--muted) !important; }
.hdl-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
html.dl-open { overflow: hidden; }
