/* Shotly website. Tokens follow the app (src/renderer/css/base.css). */

@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/geist-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/geist-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/geist-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/geist-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #0a0b0e;
  --bg-2: #0e1014;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-3: rgba(255, 255, 255, 0.18);
  --text: #eef0f4;
  --text-2: #a4aab5;
  --text-3: #868c97; /* a touch lighter than the app so small text stays readable on the web */
  --mint: #7ef0c1;
  --aqua: #5ac4f4;
  --grad: linear-gradient(120deg, #8af5c9 0%, #6fe3d2 45%, #5ac4f4 100%);
  --safe: #7ef0c1;
  --safe-ink: #04231a;
  --safe-tint: rgba(126, 240, 193, 0.1);
  --safe-glow: rgba(110, 236, 200, 0.35);
  --warn: #ffb35c;
  --warn-tint: rgba(255, 179, 92, 0.1);
  --warn-glow: rgba(255, 179, 92, 0.3);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --f-display: 'Sora', 'Geist', system-ui, sans-serif;
  --f-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px -32px rgba(0, 0, 0, 0.9);
  --wrap: 1200px;
  --gutter: 24px;
  --section: clamp(96px, 12vw, 168px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(126, 240, 193, 0.28); color: #fff; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--f-mono); font-size: 0.9em; letter-spacing: -0.01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.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; }

/* focus that is easy to see on dark */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip:focus-visible { transform: none; }

/* ---------- atmosphere ---------- */
.aurora { position: absolute; inset: 0 0 auto 0; height: 1400px; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; }
.aurora i:nth-child(1) { width: 1100px; height: 760px; left: -360px; top: -380px; background: radial-gradient(closest-side, rgba(126, 240, 193, 0.16), transparent); animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 1200px; height: 800px; right: -420px; top: -420px; background: radial-gradient(closest-side, rgba(90, 196, 244, 0.15), transparent); animation: drift 32s ease-in-out infinite alternate-reverse; }
.aurora i:nth-child(3) { width: 900px; height: 600px; left: 30%; top: 520px; background: radial-gradient(closest-side, rgba(140, 120, 255, 0.06), transparent); animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.06); } }

.grain::after {
  content: ''; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0.05;
  background-image: 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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
main { position: relative; isolation: isolate; overflow-x: clip; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: 500 15.5px/1 var(--f-body);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease), filter 0.2s;
}
.btn:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-3); }
.btn:active { transform: scale(0.985); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(126, 240, 193, 0.7); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary {
  background: var(--grad);
  border-color: transparent;
  color: var(--safe-ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 14px 40px -14px var(--safe-glow);
}
.btn.primary:hover { filter: brightness(1.06) saturate(1.05); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset, 0 18px 46px -12px var(--safe-glow); }
.btn.primary:focus-visible { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(126, 240, 193, 0.8), 0 14px 40px -14px var(--safe-glow); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; gap: 8px; }
.btn.sm svg { width: 16px; height: 16px; }
.btn.block { width: 100%; }

.link {
  color: var(--text); text-decoration: underline; text-decoration-color: var(--line-3);
  text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.link:hover { text-decoration-color: var(--mint); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 12px;
  border-radius: 999px;
  font: 500 13px/1 var(--f-body);
  color: var(--text-2); background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.safe, .chip.live { color: var(--safe); background: var(--safe-tint); }
.chip.warn { color: var(--warn); background: var(--warn-tint); }
.chip.live::before { animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.3; transform: scale(0.7); } }

.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 11, 14, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 18px/1 var(--f-display); letter-spacing: -0.03em; border-radius: 8px; }
.brand img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 9px;
  color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current='page'] { color: var(--text); }
.nav .btn { margin-left: 8px; }

/* ---------- section heads ---------- */
.section { padding: var(--section) 0 0; position: relative; }
.eyebrow { display: block; font: 500 14px/1.2 var(--f-body); color: var(--mint); letter-spacing: 0.01em; margin-bottom: 18px; }
.h2 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.038em; line-height: 1.04; }
.lead { color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; margin-top: 20px; max-width: 34em; }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(116px, 12vw, 150px); text-align: center; }
.hero-icon { width: 76px; height: 76px; margin: 0 auto 26px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }
.hero h1 { font-size: clamp(46px, 8.6vw, 104px); letter-spacing: -0.045em; line-height: 0.98; }
.hero .lead { margin: 26px auto 0; max-width: 31em; font-size: clamp(17px, 1.9vw, 20.5px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }
.cta.start { justify-content: flex-start; margin-top: 32px; }
.fine { margin-top: 18px; color: var(--text-3); font-size: 14.5px; }

.hero .anim { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* the desktop the product sits on */
.stage {
  --pop-w: 31%;
  --pop-x: 74%;
  position: relative;
  max-width: 1180px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  aspect-ratio: 1180 / 700;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(55% 75% at 8% 30%, rgba(126, 240, 193, 0.26), transparent 62%),
    radial-gradient(50% 70% at 92% 4%, rgba(90, 196, 244, 0.28), transparent 64%),
    radial-gradient(70% 60% at 50% 115%, rgba(126, 110, 255, 0.2), transparent 62%),
    linear-gradient(160deg, #14202a 0%, #0c0f15 55%, #0d0f18 100%);
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  text-align: left;
}
.stage::before { /* soft light on the wallpaper */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 50% at 70% 40%, rgba(255, 255, 255, 0.035), transparent 70%);
}
.menubar {
  position: absolute; inset: 0 0 auto 0; height: 30px; z-index: 3;
  display: flex; align-items: center; gap: 18px; padding: 0 16px;
  background: rgba(14, 16, 21, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font: 500 12.5px/1 var(--f-body);
  color: rgba(238, 240, 244, 0.86);
}
.menubar .apps { display: flex; gap: 18px; color: rgba(238, 240, 244, 0.6); }
.menubar .apps b { color: rgba(238, 240, 244, 0.92); font-weight: 600; }
.menubar .status { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.menubar .status svg { width: 16px; height: 16px; opacity: 0.8; }
.menubar .extra {
  position: absolute; left: var(--pop-x); top: 3px; transform: translateX(-50%);
  height: 24px; padding: 0 9px; border-radius: 6px;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  color: rgba(238, 240, 244, 0.92);
}
.menubar .extra.open { background: rgba(255, 255, 255, 0.16); }
.menubar .extra img { width: 16px; height: 16px; flex: none; }
.stage-window {
  position: absolute; left: 4.5%; top: 10.5%; width: 70%; z-index: 1;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.09);
  animation: rise 1.1s var(--ease) 0.25s both;
}
.stage-pop {
  position: absolute; top: 37px; z-index: 2;
  left: calc(var(--pop-x) - var(--pop-w) / 2); width: var(--pop-w);
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  animation: drop 1s var(--ease) 0.7s both;
}
.stage-pop img { width: 100%; }
@keyframes drop { from { opacity: 0; transform: translateY(-12px) scale(0.985); } }

/* ---------- trailer ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #07080a;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 0 80px -40px rgba(110, 236, 200, 0.25);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; background: #07080a; }
.play {
  position: absolute; inset: 0; margin: auto;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; cursor: pointer;
  background: rgba(10, 11, 14, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.play::before { /* the ring, closed: ready to watch */
  content: ''; position: absolute; inset: 6px; border-radius: 50%;
  padding: 2px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.play svg { width: 28px; height: 28px; margin-left: 4px; color: var(--text); }
.play:hover { transform: scale(1.05); background: rgba(10, 11, 14, 0.6); }
.play:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: 50%; }

/* ---------- how it works ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ring-panel {
  position: sticky; top: 112px;
  padding: clamp(28px, 4vw, 44px);
  display: grid; justify-items: center; gap: 26px;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.ring-panel::before {
  content: ''; position: absolute; inset: -20% -20% auto; height: 80%; z-index: -1;
  background: radial-gradient(closest-side, var(--glow, rgba(255, 179, 92, 0.12)), transparent);
  transition: background 0.8s var(--ease);
}
.ring-panel[data-state='3'], .ring-panel[data-state='4'] { --glow: rgba(110, 236, 200, 0.14); }
.ring-top { justify-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ring-card { font: 600 20px/1 var(--f-display); letter-spacing: -0.02em; }
.ring-card span { color: var(--text-3); font: 500 13px/1 var(--f-body); letter-spacing: 0; margin-left: 8px; }
.big-ring { position: relative; width: min(300px, 100%); aspect-ratio: 1; }
.big-ring > svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.big-ring .track { stroke: rgba(255, 255, 255, 0.07); }
.big-ring .rest { stroke: var(--warn); opacity: 0.85; filter: drop-shadow(0 0 6px var(--warn-glow)); transition: opacity 0.9s var(--ease); }
.big-ring .arc { filter: drop-shadow(0 0 8px var(--safe-glow)); transition: stroke-dasharray 1.4s var(--ease); }
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.ring-count { font: 600 clamp(56px, 7vw, 84px)/1 var(--f-display); letter-spacing: -0.045em; color: var(--warn); font-variant-numeric: tabular-nums; transition: color 0.6s var(--ease); }
.ring-panel[data-state='3'] .ring-count { color: var(--text); }
.ring-check { width: 64px; height: 64px; color: var(--mint); display: none; }
.ring-check path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset 0.8s var(--ease) 0.5s; }
.ring-panel[data-state='4'] .ring-count { display: none; }
.ring-panel[data-state='4'] .ring-check { display: block; }
.ring-panel[data-state='4'] .ring-check path { stroke-dashoffset: 0; }
.ring-label { position: absolute; left: 0; right: 0; top: calc(50% + 50px); margin: 0; color: var(--text-2); font-size: 15px; } /* hangs below so the count or check stays dead center */
.ring-meta { justify-self: stretch; display: grid; gap: 10px; }
.ring-line {
  display: flex; align-items: center; gap: 10px; min-height: 46px;
  padding: 0 14px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.26); border: 1px solid var(--line);
  color: var(--text-2); font-size: 14.5px;
  overflow: hidden; white-space: nowrap;
}
.ring-line svg { width: 18px; height: 18px; flex: none; color: var(--text-3); }
.ring-line b { color: var(--text); font-weight: 500; }
.ring-line .mint { color: var(--mint); }
.ring-line .sep { color: var(--text-3); }
.ring-line .mono { color: var(--text-2); }
.ring-line .end { margin-left: auto; }
.ring-line > span { overflow: hidden; text-overflow: ellipsis; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.step:first-child { min-height: 34vh; padding-top: 0; justify-content: flex-start; }
.step h3, .step p { transition: color 0.6s var(--ease); }
.js .step:not(.on) h3 { color: #737985; }
.js .step:not(.on) p { color: var(--text-3); }
.step-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-3); color: var(--text-2);
  font: 600 14px/1 var(--f-display); margin-bottom: 22px;
  transition: border-color 0.5s, color 0.5s, background 0.5s;
}
.step.on .step-n { border-color: transparent; background: var(--grad); color: var(--safe-ink); }
.step h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; }
.step p { color: var(--text-2); font-size: 18px; margin-top: 14px; max-width: 26em; }

/* ---------- showcase rows ---------- */
.rows { display: grid; gap: clamp(88px, 11vw, 150px); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5.5vw, 80px); align-items: center; }
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .row-text { order: 2; }
.row h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.038em; }
.row p { color: var(--text-2); margin-top: 18px; font-size: 18px; }
.shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 110px -46px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  background: #0d0f13;
}
.shot-wrap { position: relative; }
.shot-wrap::before {
  content: ''; position: absolute; inset: -12% 0; z-index: -1;
  background: radial-gradient(closest-side, rgba(110, 236, 200, 0.12), transparent);
}
.shot-wrap.blue::before { background: radial-gradient(closest-side, rgba(90, 196, 244, 0.13), transparent); }
.hashes { margin-top: 28px; display: grid; gap: 2px; padding: 8px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.hashes div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 9px 10px; font-size: 14.5px; }
.hashes svg { width: 16px; height: 16px; color: var(--mint); flex: none; }
.hashes .name { color: var(--text); }
.hashes .mono { margin-left: auto; color: var(--text-3); font-size: 13.5px; }
.keys { display: flex; align-items: center; gap: 18px; margin-top: 28px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.keycaps { display: flex; gap: 6px; flex: none; }
.keycaps kbd {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 10px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  font: 500 17px/1 var(--f-body); color: var(--text);
}
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: baseline; color: var(--text-2); }
.facts li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--safe-glow); transform: translateY(-2px); }
.facts b { color: var(--text); font-weight: 500; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.feature::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(126, 240, 193, 0.08), transparent 60%);
  transition: opacity 0.4s var(--ease);
}
.feature:hover { border-color: var(--line-2); }
.feature:hover::before { opacity: 1; }
.f-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-2);
  margin-bottom: 26px;
}
.f-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 21px; letter-spacing: -0.025em; }
.feature p { color: var(--text-2); margin-top: 10px; font-size: 16px; line-height: 1.6; }

/* ---------- screenshots ---------- */
.tabs {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto 36px;
  padding: 4px; gap: 2px;
  border-radius: 14px; background: rgba(0, 0, 0, 0.32); border: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  height: 40px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--text-2); font-size: 14.5px; font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { background: rgba(255, 255, 255, 0.1); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.tab:focus-visible { outline-offset: -2px; border-radius: 10px; }
.gallery { max-width: 1080px; margin: 0 auto; }
.panel { animation: fade 0.6s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.panel figure { margin: 0; }
.panel figcaption { margin-top: 22px; text-align: center; color: var(--text-2); font-size: 16px; }
.desk {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line-2);
  background:
    radial-gradient(55% 70% at 20% 10%, rgba(126, 240, 193, 0.16), transparent 62%),
    radial-gradient(50% 70% at 85% 0%, rgba(90, 196, 244, 0.16), transparent 64%),
    linear-gradient(180deg, #121720, #0b0d12);
}
.desk { --pop-x: 73%; --pop-w: 31%; }
.desk-window {
  position: absolute; left: 4%; top: 12%; width: 64%;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 34px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.desk-pop {
  position: absolute; top: 34px; left: var(--pop-x); width: var(--pop-w); transform: translateX(-50%);
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.6));
}
.desk-pop img { width: 100%; }
.desk.menu .desk-pop {
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 99%);
}
.desk.project, .desk.prompt { aspect-ratio: 4 / 3; }
.desk.project { --pop-x: 69%; --pop-w: 40%; }
.desk.project .desk-window, .desk.prompt .desk-window { top: 14%; width: 66%; }
.desk.prompt { --pop-x: 60%; }
.desk.prompt .desk-pop { left: auto; right: 3.5%; top: 44px; width: 49%; transform: none; }
.shot-wrap .desk { box-shadow: 0 50px 110px -46px rgba(0, 0, 0, 0.95); }

/* ---------- price ---------- */
.price {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: 30px;
  overflow: hidden;
}
.price::before {
  content: ''; position: absolute; inset: auto auto -40% -20%; width: 80%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(126, 240, 193, 0.12), transparent);
}
.price-amount { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; }
.price-amount .cur { font: 600 clamp(40px, 5vw, 60px)/1 var(--f-display); margin-top: 0.22em; color: var(--text-2); }
.price-amount .num { font: 600 clamp(120px, 16vw, 196px)/0.84 var(--f-display); letter-spacing: -0.06em;
  /* the gradient only paints inside the box; the tight line height and letter spacing would cut the glyph */
  padding: 0.12em 0.1em 0.1em 0; margin: -0.12em -0.1em -0.1em 0; }
.price-once { font: 600 clamp(28px, 3vw, 36px)/1.1 var(--f-display); letter-spacing: -0.03em; margin-top: 18px; }
.price-left .lead { margin-top: 14px; }
.nots { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.nots li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 16px; }
.nots svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: center; }
.option { padding: 26px; border-radius: var(--r-lg); background: rgba(0, 0, 0, 0.26); border: 1px solid var(--line); scroll-margin-top: 110px; }
.option-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.option h3 { font-size: 24px; letter-spacing: -0.03em; }
.option .tag { color: var(--text-2); font-size: 15px; white-space: nowrap; }
.option p { color: var(--text-2); margin-top: 10px; font-size: 16px; }
.option .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.option .small { margin-top: 16px; color: var(--text-3); font-size: 14.5px; }
.option .small a { color: var(--text-2); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 112px; }
.faq-head p { color: var(--text-2); margin-top: 20px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px;
  font: 600 clamp(18px, 2vw, 21px)/1.3 var(--f-display); letter-spacing: -0.025em;
  border-radius: 10px;
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa summary .pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s; }
.qa summary .pm::before, .qa summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--text-2); border-radius: 2px; }
.qa summary .pm::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.qa[open] summary .pm { background: rgba(255, 255, 255, 0.06); border-color: var(--line-3); }
.qa[open] summary .pm::after { transform: rotate(0deg); }
.qa .answer { padding: 0 52px 28px 4px; color: var(--text-2); font-size: 17px; }
.qa[open] .answer { animation: fade 0.5s var(--ease); }

/* ---------- closing + footer ---------- */
.closing { text-align: center; padding: calc(var(--section) + 60px) 0 calc(var(--section) + 60px); }
.closing .wrap { position: relative; }
.closing-mark {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: min(600px, 96vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.closing-ring {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  overflow: visible; opacity: 0.6;
  filter: drop-shadow(0 0 14px rgba(110, 236, 200, 0.4));
}
.closing-check { display: none; }
.js .closing-ring circle { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.4s var(--ease) 0.3s; }
.js .closing .wrap.in .closing-ring circle { stroke-dashoffset: 0; }
.closing::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: min(1000px, 100%); height: 700px; z-index: -2;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(110, 236, 200, 0.08), transparent);
  pointer-events: none;
}
.footer { border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--text-3); font-size: 14.5px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.footer nav a { color: var(--text-2); text-decoration: none; border-radius: 6px; }
.footer nav a:hover { color: var(--text); }
.footer .company { width: 100%; font-style: normal; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 6px; font-size: 13.5px; line-height: 1.5; }
.footer .company b { color: var(--text-2); font-weight: 500; }
.footer .company a { color: var(--text-2); text-decoration: none; border-radius: 6px; }
.footer .company a:hover { color: var(--text); }
.footer .company + .copy { border-top: 0; padding-top: 0; margin-top: 0; }
.footer .copy { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 6px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- inner pages ---------- */
.page-hero { padding-top: clamp(128px, 14vw, 168px); padding-bottom: clamp(40px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.042em; line-height: 1.02; }
.page-hero .lead { max-width: 36em; }
.stack { display: grid; gap: 18px; padding-bottom: var(--section); }
.card { padding: clamp(24px, 4vw, 40px); }
.card h2 { font-size: clamp(24px, 2.8vw, 30px); letter-spacing: -0.03em; }
.card > p, .card .body > p { color: var(--text-2); margin-top: 12px; }
.card .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.card-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.card-label .f-icon { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.card-label .f-icon svg { width: 20px; height: 20px; }
.numbered { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: baseline; color: var(--text-2); }
.numbered li::before {
  content: counter(n); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-3); color: var(--text); font: 600 13px/1 var(--f-display); transform: translateY(-1px);
}
.numbered b { color: var(--text); font-weight: 500; }
.note {
  display: flex; gap: 12px; margin-top: 24px; padding: 16px 18px; border-radius: 14px;
  background: var(--warn-tint); border: 1px solid rgba(255, 179, 92, 0.18);
  color: #f6dcbc; font-size: 15.5px; line-height: 1.55;
}
.note svg { width: 20px; height: 20px; flex: none; color: var(--warn); margin-top: 1px; }
.note.calm { background: rgba(255, 255, 255, 0.035); border-color: var(--line); color: var(--text-2); }
.note.calm svg { color: var(--text-2); }
.field { display: grid; gap: 9px; margin-top: 24px; }
.field label { font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.input {
  height: 50px; width: 100%; padding: 0 16px;
  border-radius: 13px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.32); color: var(--text); outline: none; font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder { color: var(--text-3); }
.input:focus-visible, .input:focus { border-color: rgba(126, 240, 193, 0.6); box-shadow: 0 0 0 4px rgba(126, 240, 193, 0.14); background: rgba(0, 0, 0, 0.42); }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row .input { flex: 1 1 260px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); letter-spacing: -0.028em; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.prose li::marker { color: var(--mint); }
.prose strong { color: var(--text); font-weight: 500; }
.prose a { color: var(--text); text-decoration-color: var(--line-3); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--mint); }
.company-card { font-style: normal; display: grid; gap: 2px; margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.02); color: var(--text-2); }
.company-card strong { margin-bottom: 4px; }
.company-card a { justify-self: start; margin-top: 6px; }
.summary { padding: clamp(22px, 3.5vw, 32px); margin-bottom: 18px; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.summary li { display: flex; gap: 12px; color: var(--text); }
.summary li svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 3px; }
.path { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 14px; color: var(--text-2); }
.path .sep { color: var(--text-3); }
.path .end { color: var(--mint); }
.updated { color: var(--text-3); font-size: 15px; margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menubar .mb-ico { display: none; }
}
@media (max-width: 860px) {
  .menubar .mb-date { display: none; }
}
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ring-panel {
    top: 76px; z-index: 5;
    grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center;
    gap: 6px 18px; padding: 14px 16px; border-radius: 20px;
    background: rgba(18, 20, 25, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
  }
  .ring-panel::before { display: none; }
  .ring-top { grid-column: 2; grid-row: 1; justify-self: start; }
  .ring-card { display: none; }
  .big-ring { width: 92px; grid-column: 1; grid-row: 1 / span 2; }
  .ring-meta { grid-column: 2; grid-row: 2; }
  .ring-count { font-size: 30px; }
  .ring-check { width: 30px; height: 30px; }
  .ring-label { display: none; }
  .ring-meta { gap: 8px; justify-self: stretch; align-self: start; min-width: 0; }
  .ring-top { align-self: end; }
  .ring-line { min-height: 0; padding: 0; border: 0; background: none; font-size: 14px; }
  .ring-line.hash { display: none; }
  .ring-panel .chip { justify-self: start; }
  .steps { margin-top: 24px; }
  .step, .step:first-child { min-height: 42vh; padding: 28px 0; justify-content: center; }
  .row, .row.flip { grid-template-columns: minmax(0, 1fr); }
  .row.flip .row-text { order: 0; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}
@media (max-width: 720px) {
  .stage { --pop-w: 76%; --pop-x: 55%; aspect-ratio: 4 / 5; border-radius: 20px; }
  .stage-window { left: 7%; top: 13%; width: 150%; opacity: 0.5; border-radius: 10px; }
  .menubar .apps { display: none; }
  .menubar { padding: 0 12px; }
  .stage-pop { top: 36px; }
  .desk, .desk.project, .desk.prompt { aspect-ratio: 4 / 5; }
  .desk { --pop-x: 56%; --pop-w: 70%; }
  .desk.project { --pop-x: 56%; --pop-w: 64%; }
  .desk.prompt { --pop-x: 50%; }
  .desk.prompt .desk-pop { width: 76%; right: 5%; top: 44px; }
  .desk-window, .desk.prompt .desk-window, .desk.project .desk-window { width: 150%; left: 7%; top: 13%; opacity: 0.5; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  body { font-size: 16.5px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .cta .btn { flex: 1 1 100%; }
  .btn:not(.sm) { padding: 0 18px; }
  .option .acts .btn, .form-row .btn { flex: 1 1 100%; }
  .qa .answer { padding-right: 4px; }
  .price { padding: 28px 20px; border-radius: 24px; }
  .option { padding: 22px 20px; }
  .closing { padding: var(--section) 0; }
  .closing-mark { position: relative; left: auto; top: auto; transform: none; width: 104px; margin: 0 auto 36px; z-index: 0; }
  .closing-ring { opacity: 1; filter: drop-shadow(0 0 10px rgba(110, 236, 200, 0.45)); }
  .closing-ring circle { stroke-width: 3.2; }
  .closing-check { display: block; position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; color: var(--mint); }
  .tabs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
  .footer nav { margin-left: 0; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .nav .btn { padding: 0 12px; }
  .brand { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .closing-ring circle { stroke-dashoffset: 0; }
  .aurora i { animation: none; }
}

/* ---------- download page ---------- */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.platform { position: relative; padding: clamp(24px, 3.4vw, 34px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); }
.platform h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.03em; }
.os-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: rgba(126, 240, 193, 0.1); color: var(--mint); }
.os-ic svg { width: 24px; height: 24px; }
.reqs { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--text-3); font-size: 14.5px; }
.reqs li { display: flex; gap: 10px; align-items: center; }
.reqs li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); opacity: 0.7; flex: none; }
.card > p + p { margin-top: 10px; }
.card p b { color: var(--text); font-weight: 500; }
@media (max-width: 820px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
.btn .os-logo { width: 16px; height: 16px; flex: none; }
.os-ic svg[fill="currentColor"] { width: 22px; height: 22px; }

/* ---------- updates page ---------- */
.release-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.release .version { font: 600 15px/1 var(--f-display); padding: 6px 11px; border-radius: 999px; background: rgba(126, 240, 193, 0.12); color: var(--mint); letter-spacing: -0.01em; }
.release .latest { font-size: 13px; color: var(--text-2); }
.release .date { margin-left: auto; color: var(--text-3); font-size: 14px; }
.release .notes { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.release .notes li { position: relative; padding-left: 22px; color: var(--text-2); }
.release .notes li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); opacity: 0.75; }
