/* Hiyya.ai 2.0 — the shared style kit.
   Every page links this: tokens, type, buttons, the bottom-docked nav, the footer,
   and the inner-page components (page hero, sections, cards, screenshot frames,
   3D stack, closing call to action, forms, legal prose). The homepage keeps its
   own section styles inline; js/hiyya.js drives the motion described here. */

@property --a { syntax: '<color>'; inherits: true; initial-value: #8b5cf6; }
@property --b { syntax: '<color>'; inherits: true; initial-value: #ec4899; }

:root {
  --bg: #07060c;
  --ink: #f6f4ff;
  --ink-2: rgba(240, 236, 255, .7);
  --ink-3: rgba(240, 236, 255, .5);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --violet: #7c3aed;
  --violet-2: #8b5cf6;
  --lilac: #c4b5fd;
  --pink: #ec4899;
  --paper: #f3f1fa;
  --paper-ink: #0c0a14;
  --paper-ink-2: rgba(12, 10, 20, .64);
  --r-xl: 32px;
  --gut: clamp(16px, 4vw, 56px);
  --nav-clear: 88px;   /* the bottom-docked nav: 16px off the edge, a 52px bar, then a 20px gap */
  --stage-clear: 88px; /* what a section leaves below it: js/hiyya-motion.js drops this to 24px where the nav stays away */
  --sec-y: clamp(56px, 9vh, 96px); /* top and bottom padding of a flowing section */
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

@media (max-width: 760px) { :root { --sec-y: clamp(44px, 7vh, 64px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-bottom: var(--stage-clear); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
main, .sec { overflow-x: clip; }   /* blocks sliding in from the side start off-screen */
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.preload .phero-inner { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .preload .phero-inner { opacity: 1; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; height: 50px; padding: 0 24px;
  border-radius: 999px; font: 500 15px/1 var(--font); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s, color .3s; cursor: pointer; border: 0;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-white { background: #fff; color: #0c0a14; box-shadow: 0 14px 34px -14px rgba(255, 255, 255, .55); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(255, 255, 255, .7); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .15); }
.btn-ink { background: var(--paper-ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); }
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.on-paper .kicker, .paper .kicker { color: var(--violet); }

/* ---------- nav: docked at the bottom of the screen ---------- */
.nav {
  position: fixed; bottom: 16px; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100% - 24px);
  z-index: 50; display: flex; align-items: center; gap: 2px; padding: 6px;
  border-radius: 999px; background: rgba(16, 11, 30, .58); border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .55);
}
.nav-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-right: 4px; transition: transform .5s var(--ease); }
.nav-mark:hover { transform: rotate(-12deg); }
.nav-mark img { width: 30px; height: 30px; }
.nav-links { display: flex; }
.nav-links a, .nav-login { padding: 9px 13px; font-size: 13.5px; color: rgba(255, 255, 255, .76); border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-login:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .16); margin: 0 6px; }
.nav .btn { margin-left: 2px; }
.nav-menu { display: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; place-items: center; }
.nav-menu span { display: block; width: 14px; height: 1.5px; background: currentColor; box-shadow: 0 -4.5px 0 currentColor, 0 4.5px 0 currentColor; }
.nav-drawer {
  position: fixed; bottom: 76px; left: 12px; right: 12px; z-index: 49; padding: 10px; border-radius: 22px;
  background: rgba(16, 11, 30, .92); border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: grid; gap: 2px;
}
.nav-drawer[hidden] { display: none; }
.nav-drawer a { padding: 13px 14px; border-radius: 14px; font-size: 16px; }
.nav-drawer a:hover, .nav-drawer a[aria-current="page"] { background: rgba(255, 255, 255, .07); }
@media (max-width: 860px) {
  .nav-links, .nav-login, .nav-sep { display: none; }
  .nav-menu { display: grid; }
}

/* ---------- the corner ribbon: the page's top-right corner rolls back in a gold curl and shows, underneath, a small
   piece of the /start page: its charcoal, its violet, pink and teal glows, its grid. That piece reads
   "FREE Consultation". It sits part-peeled at rest; on hover the curl springs back further and uncovers
   "Click to Begin", which lies under the curl until then. The page underneath and its words never move: only the
   curl does, scaled by --k (rest 110px, open 150px) and by --n (a small lift now and then). ---------- */
@property --k { syntax: '<number>'; inherits: true; initial-value: .7333; }
@property --n { syntax: '<number>'; inherits: true; initial-value: 1; }
.go-start {
  --k: .7333; --n: 1; --z: calc(var(--k) * var(--n));
  position: fixed; top: 0; right: 0; z-index: 51; width: 150px; height: 150px; pointer-events: none;
  transition: --k .85s cubic-bezier(.3, 1.4, .45, 1); animation: go-nudge 8s ease-in-out 4s infinite;
}
.go-panel { /* the uncovered part of the page underneath: a triangle whose long side follows the curl's fold */
  position: absolute; inset: 0; pointer-events: auto;
  clip-path: polygon(100% 0, 100% calc(150px * var(--z)),
    calc(100% - 16.34px * var(--z)) calc(128.84px * var(--z)), calc(100% - 33.38px * var(--z)) calc(108.38px * var(--z)),
    calc(100% - 51.09px * var(--z)) calc(88.59px * var(--z)), calc(100% - 69.5px * var(--z)) calc(69.5px * var(--z)),
    calc(100% - 88.59px * var(--z)) calc(51.09px * var(--z)), calc(100% - 108.38px * var(--z)) calc(33.38px * var(--z)),
    calc(100% - 128.84px * var(--z)) calc(16.34px * var(--z)), calc(100% - 150px * var(--z)) 0);
  background: /* near black, with only a trace of /start's three glows */
    radial-gradient(circle at 80% 4%, rgba(109, 61, 240, .16), rgba(109, 61, 240, 0) 55%),
    radial-gradient(circle at 98% 84%, rgba(236, 72, 153, .1), rgba(236, 72, 153, 0) 50%),
    radial-gradient(circle at 44% 36%, rgba(56, 225, 198, .05), rgba(56, 225, 198, 0) 45%),
    #050508;
}
.go-panel::before, .go-panel::after { content: ''; position: absolute; inset: 0; }
.go-panel::before { /* /start's grid, at half its pitch so a few squares show in the corner */
  background: linear-gradient(rgba(255, 255, 255, .085) 1px, transparent 0) 0 0 / 24px 24px,
              linear-gradient(90deg, rgba(255, 255, 255, .085) 1px, transparent 0) 0 0 / 24px 24px;
  -webkit-mask: radial-gradient(circle at 100% 0, #000 30%, transparent 92%); mask: radial-gradient(circle at 100% 0, #000 30%, transparent 92%);
}
.go-panel::after { background: radial-gradient(120% 90% at 100% 0, rgba(5, 5, 8, 0) 0, rgba(5, 5, 8, .35) 60%, rgba(5, 5, 8, .6) 100%); } /* and its veil */
.go-art { position: absolute; inset: 0; width: 150px; height: 150px; overflow: visible; transform-origin: 100% 0; transform: scale(var(--z)); }
.go-art .go-hit { pointer-events: visiblePainted; } /* only the panel and the curl take the click, never the square around them */
.go-text, .go-sub { position: absolute; top: 0; right: 0; pointer-events: none; white-space: nowrap; text-align: center; color: #f3d27a; }
.go-text { transform: translate(50%, -50%) translate(-38px, 38px) rotate(45deg); font: 600 12px/1.25 var(--font); text-shadow: 0 1px 6px rgba(11, 15, 26, .6); }
.go-text b { display: block; font-weight: inherit; }
.go-text b:first-child { font-weight: 700; letter-spacing: .14em; text-indent: .14em; }
.go-sub { transform: translate(50%, -50%) translate(-59px, 59px) rotate(45deg); font: 500 9.5px/1 var(--font); letter-spacing: .05em; opacity: .85; }
.go-start:hover, .go-start:focus-visible { --k: 1; }
.go-start:hover { animation-play-state: paused; }
.go-start:focus-visible { outline: none; }
.go-start:focus-visible .go-text { outline: 2px solid #f3d27a; outline-offset: 4px; border-radius: 4px; }
@keyframes go-nudge { 0%, 90%, 100% { --n: 1; } 95% { --n: 1.06; } } /* a lift now and then, to catch the eye */
@media (prefers-reduced-motion: reduce) { .go-start { transition: none; animation: none; } }

/* ---------- gyroscope: a still mark inside three moving rings ---------- */
.gyro { position: relative; width: clamp(190px, 25vw, 360px); aspect-ratio: 1; perspective: 900px; transform-style: preserve-3d; }
.gyro i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ring, #c4b5fd) 60%, transparent); box-shadow: 0 0 34px rgba(139, 92, 246, .4), inset 0 0 34px rgba(139, 92, 246, .25); }
.gyro .r1 { animation: g1 16s linear infinite; }
.gyro .r2 { inset: 9%; border-color: rgba(240, 171, 252, .55); animation: g2 11s linear infinite; }
.gyro .r3 { inset: 18%; border-color: rgba(255, 255, 255, .45); animation: g3 20s linear infinite; }
@keyframes g1 { from { transform: rotateX(70deg) rotateZ(0); } to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes g2 { from { transform: rotateY(66deg) rotateZ(0); } to { transform: rotateY(66deg) rotateZ(-360deg); } }
@keyframes g3 { from { transform: rotateX(32deg) rotateY(-42deg) rotateZ(0); } to { transform: rotateX(32deg) rotateY(-42deg) rotateZ(360deg); } }
.gyro-rings { position: absolute; inset: 0; transform-style: preserve-3d; }
/* The mark stays still; only the rings around it move. Its own dark outline keeps it legible on the glow. */
.gyro .core { position: absolute; inset: 29%; border-radius: 50%; display: grid; place-items: center;
  background: #0c0a14;
  box-shadow: 0 0 60px 12px rgba(139, 92, 246, .6), 0 0 180px 50px rgba(139, 92, 246, .32); animation: breathe 4s ease-in-out infinite; }
.gyro .core img { width: 65%; height: 65%; max-width: none; translate: 1.6% -.4%; filter: drop-shadow(0 0 1.5px rgba(8, 6, 16, .95)); }   /* the favicon's disc sits slightly left of its canvas */
.gyro .core img.mark { translate: none; width: 62%; height: 62%; }   /* an os-mark is already centred */
@keyframes breathe { 50% { box-shadow: 0 0 80px 18px rgba(139, 92, 246, .7), 0 0 220px 70px rgba(139, 92, 246, .38); } }

/* ---------- page hero (every page except the homepage) ---------- */
.phero { --a: #a78bfa; --b: #ec4899; position: relative; min-height: min(100svh, 940px); padding: 10px; }
.phero.short { min-height: min(78svh, 720px); }
.phero-frame {
  position: relative; min-height: calc(min(100svh, 940px) - 20px); border-radius: var(--r-xl); overflow: hidden; transform-origin: 50% 0%; isolation: isolate;
  background:
    radial-gradient(85% 75% at 80% 32%, color-mix(in srgb, var(--a) 78%, transparent) 0%, color-mix(in srgb, var(--a) 40%, transparent) 26%, transparent 62%),
    radial-gradient(70% 60% at 0% 110%, color-mix(in srgb, var(--b) 38%, transparent), transparent 62%),
    linear-gradient(160deg, #3d1592 0%, #25105c 45%, #120a2c 100%);
}
.phero.short .phero-frame { min-height: calc(min(78svh, 720px) - 20px); }
.phero-frame .grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--grain); opacity: .22; mix-blend-mode: overlay; }
.phero-frame canvas[data-gl] { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.8s ease; }
.phero-frame canvas[data-gl].on { opacity: 1; }
.phero-inner {
  position: relative; z-index: 2; min-height: inherit; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center; gap: 40px; padding: clamp(28px, 5vh, 56px) clamp(20px, 4vw, 64px) var(--nav-clear);
}
.phero-logo { display: block; width: max-content; margin: 0 0 26px -4px; }
.phero-logo img { width: auto; height: 44px; }
.phero .kicker { color: rgba(255, 255, 255, .86); }
.phero-title { margin-top: 22px; font-weight: 500; font-size: clamp(44px, 6.4vw, 104px); line-height: .95; letter-spacing: -.052em; }
.phero-title .ln { display: block; }
.phero-title .ln2 { color: rgba(221, 214, 254, .56); }
.phero.short .phero-title { font-size: clamp(40px, 5.4vw, 88px); }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wm > .w { display: inline-block; }
.phero-sub { max-width: 50ch; margin-top: 26px; font-size: clamp(15px, 1.15vw, 17.5px); color: rgba(255, 255, 255, .8); }
.phero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.phero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: rgba(255, 255, 255, .7); }
.phero-3d { justify-self: center; display: grid; place-items: center; perspective: 1200px; }
.phero-3d .gyro { width: clamp(200px, 26vw, 380px); }
@media (max-width: 900px) {
  .phero, .phero.short { min-height: 0; }
  .phero-frame, .phero.short .phero-frame { min-height: calc(100svh - 20px); }
  .phero.short .phero-frame { min-height: 0; }
  .phero-inner { grid-template-columns: 1fr; align-items: start; gap: 30px; padding-top: 40px; }
  .phero-3d { justify-self: start; order: 2; }
  .phero-3d .gyro { width: min(56vw, 240px); }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: var(--sec-y) var(--gut); }
.sec.paper { background: var(--paper); color: var(--paper-ink); }
.sec.glow { background: radial-gradient(70% 55% at 50% 40%, #170c35 0%, var(--bg) 72%); }
.sec-inner { max-width: 1320px; margin: 0 auto; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { margin-top: 16px; font-weight: 500; font-size: clamp(36px, 4.8vw, 74px); line-height: 1; letter-spacing: -.05em; }
.sec-head h2 em { font-style: normal; color: rgba(221, 214, 254, .5); }
.paper .sec-head h2 em { color: rgba(12, 10, 20, .5); }
.lede { margin-top: 20px; max-width: 56ch; font-size: clamp(16px, 1.25vw, 18.5px); color: var(--ink-2); }
.paper .lede { color: var(--paper-ink-2); }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }
.mono { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* big outline words that drift sideways with scroll */
.band { position: relative; overflow: hidden; padding: clamp(18px, 4vh, 40px) 0; pointer-events: none; }
.band-track { display: inline-block; white-space: nowrap; font-weight: 600; font-size: clamp(72px, 13vw, 210px); line-height: 1; letter-spacing: -.065em; will-change: transform; }
.band-track span { color: transparent; -webkit-text-stroke: 1.5px rgba(196, 181, 253, .4); }
.paper .band-track span { -webkit-text-stroke-color: rgba(12, 10, 20, .4); }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: clamp(40px, 7vh, 72px); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card {
  --a: #8b5cf6; --b: #ec4899;
  position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 24px; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, rgba(36, 24, 72, .92), rgba(16, 11, 32, .94)); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.card.lit::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 75% at 18% -6%, color-mix(in srgb, var(--a) 55%, transparent), transparent 62%),
              radial-gradient(90% 60% at 104% 104%, color-mix(in srgb, var(--b) 42%, transparent), transparent 66%); }
.card > * { position: relative; }
.card .tag { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lilac); }
.card h3 { margin-top: 14px; font-weight: 500; font-size: 22px; line-height: 1.15; letter-spacing: -.03em; }
.card p { margin-top: 10px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.card .go { margin-top: auto; padding-top: 18px; align-self: flex-start; font-size: 13.5px; font-weight: 500; color: #fff; }
.card .go span { display: inline-block; transition: transform .3s var(--ease); }
.card:hover .go span { transform: translateX(4px); }
.card img.mark { width: 46px; height: 46px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.paper .card.light { background: #fff; color: var(--paper-ink); border-color: rgba(12, 10, 20, .07); box-shadow: 0 30px 60px -40px rgba(46, 16, 101, .35); }
.paper .card.light p { color: var(--paper-ink-2); }
.paper .card.light .tag { color: var(--violet); }
.paper .card.light .go { color: var(--violet); }
.card.big-num .num, .paper .card.light.big-num .num { margin-top: auto; padding-top: 24px; font-weight: 500; font-size: 96px; line-height: .8; letter-spacing: -.07em; background: linear-gradient(135deg, #8b5cf6, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* status pill */
.st { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 500 10.5px/1 var(--mono); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .36); border: 1px solid rgba(255, 255, 255, .18); color: #ece9f8; white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.st.build::before { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }
.paper .st { background: rgba(12, 10, 20, .05); border-color: rgba(12, 10, 20, .12); color: var(--paper-ink); }
.paper .card:not(.light) .st { background: rgba(0, 0, 0, .36); border-color: rgba(255, 255, 255, .18); color: #ece9f8; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(14, 9, 28, .6); font: 500 12px/1 var(--mono); color: #ece9f8; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--a, #8b5cf6); box-shadow: 0 0 10px var(--a, #8b5cf6); }
.paper .chip { background: #fff; border-color: rgba(12, 10, 20, .1); color: var(--paper-ink); }

/* ---------- feature row: copy beside a screenshot, alternating sides ---------- */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(56px, 10vh, 120px); }
.feature.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.feature.flip > :first-child { order: 2; }
.feature h3 { margin-top: 16px; font-weight: 500; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.02; letter-spacing: -.045em; }
.feature h3 em { font-style: normal; color: rgba(221, 214, 254, .5); }
.paper .feature h3 em { color: rgba(12, 10, 20, .5); }
.feature p { margin-top: 16px; max-width: 52ch; color: var(--ink-2); }
.paper .feature p { color: var(--paper-ink-2); }
.feature p.kicker { margin-top: 0; color: var(--lilac); }
.paper .feature p.kicker { color: var(--violet); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.paper .feature li { color: var(--paper-ink-2); }
.feature li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--a, #8b5cf6), var(--b, #ec4899)); }
@media (max-width: 860px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* ---------- screenshot in a browser frame ---------- */
.shot { --a: #8b5cf6; --b: #ec4899; position: relative; margin: 0; padding: 8px; border-radius: 20px; transform-style: preserve-3d;
  background: linear-gradient(180deg, rgba(36, 24, 72, .92), rgba(16, 11, 32, .96)); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .2); }
.shot::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, var(--a), rgba(255, 255, 255, .14) 40%, rgba(255, 255, 255, .05) 62%, var(--b));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 10px; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.shot-bar span { margin-left: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .04em; color: rgba(255, 255, 255, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; height: auto; border-radius: 13px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: #120a2c; }
.shot figcaption { padding: 12px 6px 4px; font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
/* pointer tilt with a moving glare (js/hiyya.js sets --rx, --ry, --gx, --gy) */
[data-tilt] { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.motion [data-slide][data-tilt] { transition: none; }   /* js/hiyya.js folds the tilt into the slide's own transform */
[data-tilt]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--glare, 0); transition: opacity .4s;
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .22), transparent 70%); }

/* ---------- 3D stack: screenshots fanned out in depth as the section scrolls ---------- */
.stack3d { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: clamp(40px, 7vh, 72px); }
.motion .stack3d { display: block; height: min(70svh, 620px); perspective: 1600px; perspective-origin: 50% 40%; }
/* centred with margin:auto rather than translate(-50%), which GSAP's own transform can override */
.motion .stack3d > * { position: absolute; inset: 0; width: min(560px, 74vw); height: fit-content; margin: auto; will-change: transform; }
@media (max-width: 700px) { .motion .stack3d { height: min(48svh, 360px); } }

/* ---------- closing call to action: the ringed chrome knot from the homepage finale ---------- */
.closer { position: relative; overflow: hidden; padding: var(--sec-y) var(--gut) calc(var(--stage-clear) + var(--sec-y)); background: radial-gradient(70% 60% at 70% 50%, #1b0f3d 0%, var(--bg) 70%); }
.closer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.closer h2 { margin-top: 18px; font-weight: 500; font-size: clamp(40px, 5.6vw, 92px); line-height: .95; letter-spacing: -.055em; }
.closer h2 span { display: block; color: rgba(221, 214, 254, .58); }
.closer p { max-width: 44ch; margin-top: 22px; color: rgba(255, 255, 255, .8); }
.closer-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.closer small { display: block; margin-top: 18px; font: 500 11.5px/1.5 var(--mono); letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.orb { position: relative; justify-self: center; width: min(100%, 460px, 56svh); aspect-ratio: 1; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: .9; animation: spin 16s linear infinite;
  background: conic-gradient(from 0deg, #34d399, #a3e635, #fbbf24, #f97316, #f43f5e, #ec4899, #c026d3, #8b5cf6, #4f46e5, #3b82f6, #22d3ee, #2dd4bf, #34d399);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
.orb-ring.halo { filter: blur(26px); opacity: .55;
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 26px), #000 calc(100% - 12px), transparent); mask: radial-gradient(closest-side, transparent calc(100% - 26px), #000 calc(100% - 12px), transparent); }
.orb-core { position: absolute; inset: 22%; border-radius: 50%; background: conic-gradient(from 210deg, #ede9fe, #8b5cf6, #f0abfc, #4c1d95, #ede9fe); filter: blur(2px); opacity: .85; animation: spin 18s linear infinite; transition: opacity 1.4s; }
.orb.gl .orb-core { opacity: 0; }
.orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s; }
.orb canvas.on { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .closer-inner { grid-template-columns: 1fr; gap: 22px; }
  .orb { order: -1; width: min(60vw, 30svh, 300px); }
}

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px; font: 400 15px/1.4 var(--font); color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(240, 236, 255, .38); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lilac); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 3px; accent-color: var(--violet-2); }

/* ---------- legal and long-form prose ---------- */
.prose { max-width: 74ch; margin: 0 auto; font-size: 16.5px; line-height: 1.7; color: var(--paper-ink-2); }
.prose h2 { margin: 2.2em 0 .6em; font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.035em; color: var(--paper-ink); }
.prose h3 { margin: 1.8em 0 .5em; font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--paper-ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--paper-ink); font-weight: 600; }
.prose > :first-child { margin-top: 0; }

/* ---------- footer ---------- */
.foot { background: var(--paper); color: var(--paper-ink); padding: var(--sec-y) var(--gut) calc(var(--stage-clear) + 24px); border-top: 1px solid rgba(12, 10, 20, .08); }
.foot-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; align-items: end; }
.foot-word { display: flex; align-items: center; gap: .1em; font-weight: 600; font-size: clamp(76px, 11.5vw, 196px); line-height: .82; letter-spacing: -.075em; }
.foot-word img { width: .62em; height: .62em; }
.foot-tag { margin-top: 16px; font-size: 15px; color: var(--paper-ink-2); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; font-size: 14px; }
.foot-cols h4 { margin-bottom: 12px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--paper-ink-2); }
.foot-cols a { display: block; padding: 4px 0; color: rgba(12, 10, 20, .82); transition: color .2s; }
.foot-cols a:hover { color: var(--violet); }
.foot-base { max-width: 1400px; margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(12, 10, 20, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--paper-ink-2); }
@media (max-width: 900px) { .foot-inner { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, 1fr); } }

/* the workforce "Report a bug" button (js/workforce-bugcatch.js): beside the nav on wide screens, above it on narrow ones */
body .wfb-btn { bottom: 22px; right: 14px; padding: 8px 13px; font-size: 12px; }
@media (max-width: 1100px) { body .wfb-btn { bottom: var(--nav-clear); } }

/* ---------- motion hooks (js/hiyya.js) ---------- */
.motion [data-slide] { will-change: transform, opacity; }

/* ---------- touch: every control a full fingertip ---------- */
@media (pointer: coarse) {
  .nav-mark, .nav-menu { width: 44px; height: 44px; }
  .nav .btn-sm { height: 44px; }
  .foot-cols a { padding: 11px 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
