@font-face { font-family: Manrope; src: url('shared/fonts/manrope-regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url('shared/fonts/manrope-semibold.ttf') format('truetype'); font-weight: 500 800; font-style: normal; font-display: swap; }

:root {
  --night: #070d1c; --night-2: #0b1428; --night-3: #111d38; --line: rgb(255 255 255 / .09); --line-2: rgb(255 255 255 / .16);
  --text: #e8edf8; --soft: #b7c2da; --muted: #8391b0; --blue: #3a63f2; --blue-2: #2c50d6; --sky: #9db5ff;
  --font: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font: 16px/1.6 var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
em { color: var(--sky); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; letter-spacing: -.03em; }
a:focus-visible, button:focus-visible { outline: 3px solid #7f9dff; outline-offset: 3px; }
.g-wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: #fff; color: var(--night); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }
.g-eyebrow { margin-bottom: 14px; color: var(--sky); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.g-btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.g-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgb(58 99 242 / .35); }
.g-btn-primary:hover { background: var(--blue-2); transform: translateY(-1px); }
.g-btn-ghost { border-color: var(--line-2); background: rgb(255 255 255 / .04); color: var(--text); }
.g-btn-ghost:hover { border-color: rgb(255 255 255 / .4); background: rgb(255 255 255 / .08); }

/* Header */
.g-header { position: absolute; top: 0; right: 0; left: 0; z-index: 10; }
.g-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.g-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.g-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .3); }
.g-logo img { width: 34px; height: 34px; }
.g-brand-text { display: grid; font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.g-brand-text small { color: var(--soft); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.g-nav { display: flex; align-items: center; gap: 6px; }
.g-nav a:not(.g-btn) { padding: 10px 14px; border-radius: 8px; color: var(--soft); font-size: 14px; font-weight: 500; text-decoration: none; }
.g-nav a:not(.g-btn):hover { color: #fff; }
.g-nav .g-btn { margin-left: 8px; }

/* Hero */
.g-hero { position: relative; display: flex; align-items: center; min-height: clamp(640px, 94vh, 980px); overflow: hidden; isolation: isolate; }
.g-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.g-hero::before { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(7 13 28 / .9) 0%, rgb(7 13 28 / .62) 38%, rgb(7 13 28 / .05) 70%),
  linear-gradient(180deg, rgb(7 13 28 / .55) 0%, rgb(7 13 28 / 0) 22%, rgb(7 13 28 / 0) 70%, var(--night) 100%); content: ''; }
.g-hero-inner { padding: 130px 0 72px; }
.g-hero h1 { max-width: 760px; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.04em; }
.g-lead { max-width: 580px; margin-top: 24px; color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); }
.g-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.g-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 56px 0 0; padding: 0; list-style: none; }
.g-jump a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; min-width: 150px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(7 13 28 / .45); backdrop-filter: blur(10px); font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s; }
.g-jump a:hover { border-color: rgb(157 181 255 / .6); background: rgb(17 29 56 / .7); }
.g-jump span { grid-row: span 2; color: var(--sky); font-size: 13px; }
.g-jump small { color: var(--muted); font-size: 12px; font-weight: 500; }

/* Demos */
.g-demos { padding: 40px 0 40px; }
.g-demos:focus { outline: none; }
.g-section-head { max-width: 680px; margin-bottom: 44px; }
.g-section-head h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
.g-section-head p:not(.g-eyebrow) { margin-top: 14px; color: var(--soft); font-size: 17px; }
.demo { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); align-items: center; gap: clamp(32px, 4vw, 64px); padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.demo:first-of-type { border-top: 0; padding-top: 12px; }
.demo-num { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.demo-num span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--sky); letter-spacing: 0; }
.demo-name { font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -.03em; line-height: 1; }
.demo-kind { margin-top: 8px; color: var(--sky); font-weight: 600; }
.demo-why { margin-top: 18px; color: var(--soft); }
.demo-style { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.35; }
.demo-style small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.swatches { display: inline-flex; flex: none; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--night), inset 0 0 0 1px rgb(255 255 255 / .18); }
.swatches i + i { margin-left: -6px; }
.demo-try { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.demo-try li { position: relative; padding-left: 26px; color: var(--text); font-size: 15px; }
.demo-try li::before { position: absolute; top: .55em; left: 2px; width: 12px; height: 7px; border-bottom: 2px solid var(--sky); border-left: 2px solid var(--sky); content: ''; transform: rotate(-45deg) translateY(-3px); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.demo-preview { min-width: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: var(--night-2); box-shadow: 0 40px 90px rgb(0 0 0 / .45), 0 0 0 1px rgb(0 0 0 / .2); }
.chrome { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 10px 0 14px; border-bottom: 1px solid var(--line); background: var(--night-3); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.url { overflow: hidden; flex: 1; min-width: 0; padding: 5px 12px; border-radius: 7px; background: rgb(0 0 0 / .25); color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.seg { display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: rgb(0 0 0 / .2); }
.seg button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: 600 13px var(--font); cursor: pointer; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed='true'] { background: rgb(255 255 255 / .12); color: #fff; }
.stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.stage[data-view='mobile'] { background: radial-gradient(circle at 50% 40%, #1a2747, var(--night-2) 70%); }
.device { position: absolute; top: 0; left: 0; transform-origin: top left; }
.device iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.stage[data-view='mobile'] .device { padding: 12px; border-radius: 52px; background: #05080f; box-shadow: 0 0 0 2px #2a3550, 0 30px 70px rgb(0 0 0 / .55); transform-origin: top center; }
.stage[data-view='mobile'] .device iframe { border-radius: 40px; }
.activate { position: absolute; inset: 0; z-index: 2; display: grid; place-items: end center; padding: 0 0 22px; border: 0; background: linear-gradient(180deg, rgb(7 13 28 / 0) 55%, rgb(7 13 28 / .55) 100%); color: #fff; font: 600 14px var(--font); cursor: pointer; opacity: 1; transition: background .25s; }
.activate span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid rgb(255 255 255 / .25); border-radius: 999px; background: rgb(7 13 28 / .72); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgb(0 0 0 / .35); transition: transform .2s, background .2s; }
.activate span::before { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgb(74 222 128 / .2); content: ''; }
.activate:hover span, .activate:focus-visible span { background: var(--blue); transform: translateY(-2px); }
.activate:focus-visible { outline: 3px solid #7f9dff; outline-offset: -3px; }
.deactivate { position: absolute; top: 12px; right: 12px; z-index: 3; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgb(7 13 28 / .85); color: #fff; font: 600 13px var(--font); box-shadow: 0 8px 24px rgb(0 0 0 / .35); cursor: pointer; }
.deactivate:hover { background: var(--blue); }
.demo.is-active .demo-preview { border-color: rgb(157 181 255 / .55); box-shadow: 0 0 0 3px rgb(58 99 242 / .35), 0 40px 90px rgb(0 0 0 / .45); }

/* About */
.g-about { padding: 72px 0 96px; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); border-top: 1px solid var(--line); }
.g-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.g-facts div { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgb(255 255 255 / .02); }
.g-facts h3 { margin-bottom: 8px; font-size: 18px; }
.g-facts p { color: var(--soft); font-size: 15px; }
.g-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 36px 40px; border: 1px solid rgb(157 181 255 / .25); border-radius: 20px; background: radial-gradient(circle at 85% 20%, rgb(58 99 242 / .35), transparent 55%), var(--night-3); }
.g-cta h2 { font-size: clamp(24px, 2.4vw, 32px); }
.g-cta p { margin-top: 6px; color: var(--soft); }
.g-footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.g-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.g-footer a { color: var(--soft); }

/* Fullscreen */
.fs { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--night); color: var(--text); }
.fs[open] { display: flex; flex-direction: column; }
.fs::backdrop { background: var(--night); }
.fs-bar { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--night-3); }
.fs-title { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.fs-title strong { font-size: 16px; }
.fs-title span { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.fs-stage { position: relative; flex: 1; min-height: 0; background: #fff; }
.fs-stage iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.fs-stage[data-view='mobile'] { display: grid; place-items: center; padding: 20px; overflow: auto; background: radial-gradient(circle at 50% 40%, #1a2747, var(--night) 70%); }
.fs-stage[data-view='mobile'] iframe { width: 390px; max-width: 100%; height: min(844px, 100%); border: 12px solid #05080f; border-radius: 52px; box-shadow: 0 0 0 2px #2a3550, 0 30px 70px rgb(0 0 0 / .55); }

@media (max-width: 1080px) {
  .demo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .demo-info { max-width: 680px; }
  .g-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .g-wrap { width: calc(100% - 32px); }
  .g-header-inner { min-height: 72px; }
  .g-nav a:not(.g-btn) { display: none; }
  .g-brand-text { font-size: 15px; }
  .g-hero { min-height: 0; }
  .g-hero-img { object-position: 78% center; }
  .g-hero::before { background: linear-gradient(180deg, rgb(7 13 28 / .7) 0%, rgb(7 13 28 / .55) 45%, rgb(7 13 28 / .2) 70%, var(--night) 100%); }
  .g-hero-inner { padding: 112px 0 48px; }
  .g-jump { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .g-jump li:last-child { grid-column: span 2; }
  .g-jump a { min-width: 0; }
  .demo { padding: 44px 0; }
  .demo-preview { border-radius: 14px; }
  .chrome { gap: 8px; padding-left: 10px; }
  .dots { display: none; }
  .stage { aspect-ratio: 4 / 5; }
  .g-facts { grid-template-columns: minmax(0, 1fr); }
  .g-cta { padding: 28px 24px; }
  .fs-bar { flex-wrap: wrap; gap: 8px; }
  .fs-title { flex-basis: 100%; }
  .fs-bar .seg { margin-right: auto; }
  .fs-stage[data-view='mobile'] { padding: 0; }
  .fs-stage[data-view='mobile'] iframe { width: 100%; height: 100%; max-width: none; border: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 420px) {
  .g-nav .g-btn { display: none; }
  .demo-actions .g-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
