/* Liquiflux site. Inter is under the SIL Open Font License (assets/fonts/OFL.txt). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-Medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-Bold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/assets/fonts/inter-ExtraBold.woff2) format("woff2"); }

:root {
  --bg: #0b0d12;
  --bg-2: #10131a;
  --card: rgba(255, 255, 255, 0.035);
  --card-hi: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-hi: rgba(120, 180, 255, 0.35);
  --text: #f2f4f8;
  --muted: #9aa3b2;
  --dim: #6b7383;
  --blue: #006fff;
  --blue-hi: #3d95ff;
  --sky: #5bc0ff;
  --navy: #0a3780;
  --live: #3ddc97;
  --review: #ffb547;
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .15s ease, background .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; stroke-width: 2.1; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: #0b0d12; box-shadow: 0 8px 30px rgba(0, 111, 255, 0.25); }
.btn-light:hover { box-shadow: 0 10px 40px rgba(0, 111, 255, 0.45); }
.btn-glass { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--text); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.14); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; padding: 150px 0 0; text-align: center; overflow: hidden; }
.liquid { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.b1 { width: 620px; height: 620px; left: -160px; top: -120px; background: radial-gradient(circle, #1a7cff, transparent 70%); animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 560px; height: 560px; right: -140px; top: 40px; background: radial-gradient(circle, #0a3780, transparent 70%); opacity: .8; animation: drift2 26s ease-in-out infinite alternate; }
.b3 { width: 420px; height: 420px; left: 40%; top: 260px; background: radial-gradient(circle, #5bc0ff, transparent 70%); opacity: .25; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-100px, 120px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-160px, -60px) scale(1.2); } }

.hero-inner { position: relative; }
.hero-mark { margin: 0 auto 28px; width: 132px; filter: drop-shadow(0 12px 40px rgba(0, 111, 255, 0.55)); animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
h1 {
  margin: 0 auto; max-width: 900px;
  font-size: clamp(42px, 7vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em;
  animation: rise .9s .08s cubic-bezier(.2, .8, .2, 1) both;
}
.flow {
  background: linear-gradient(100deg, #9fdcff 0%, #3d95ff 35%, #006fff 55%, #5bc0ff 80%, #9fdcff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.lede { max-width: 640px; margin: 26px auto 0; color: #c3cad6; font-size: clamp(17px, 2vw, 19px); animation: rise .9s .16s cubic-bezier(.2, .8, .2, 1) both; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; animation: rise .9s .24s cubic-bezier(.2, .8, .2, 1) both; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--dim); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.screen {
  position: relative; margin: 72px auto 0; max-width: 1080px;
  border-radius: 16px; padding: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  box-shadow: 0 40px 120px -20px rgba(0, 111, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: perspective(1800px) rotateX(8deg);
  transform-origin: 50% 0;
}
.screen img { border-radius: 10px; }
.screen::after { content: ""; position: absolute; inset: auto 0 -2px 0; height: 45%; background: linear-gradient(to bottom, transparent, var(--bg)); border-radius: 0 0 16px 16px; }
.waterline { position: relative; display: block; width: 100%; height: 80px; margin-top: -79px; fill: var(--bg); stroke: none; }

/* Sections */
.section { padding: 110px 0; }
.section.tight { padding-top: 20px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
h2 { margin: 0; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
h3, h4 { margin: 0; letter-spacing: -0.01em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature {
  position: relative; padding: 30px 28px 32px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color .25s, background .25s, transform .25s;
}
.feature:hover { border-color: var(--line-hi); background: var(--card-hi); transform: translateY(-3px); }
.ficon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(91, 192, 255, .22), rgba(0, 111, 255, .12));
  border: 1px solid rgba(91, 192, 255, .25); color: #9fdcff;
}
.ficon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.also { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.also li { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: #c3cad6; background: rgba(255,255,255,.04); border: 1px solid var(--line); }

.more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--sky); }
.more:hover { color: #9fdcff; }
.more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Riptide showcase */
.riptide { position: relative; overflow: hidden; padding-top: 60px; }
.riptide .glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 111, 255, .22), transparent 65%); pointer-events: none; }
.riptide .wrap { position: relative; }
.riptide-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .riptide-grid { grid-template-columns: 1fr; gap: 40px; } }
.riptide-copy p { margin: 18px 0 0; color: var(--muted); }
.riptide-copy .riptide-lede { margin-top: 24px; color: #c3cad6; font-size: clamp(17px, 2vw, 19px); }
.riptide-shot {
  margin: 0; padding: 6px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  box-shadow: 0 30px 100px -20px rgba(0, 111, 255, .5), 0 0 0 1px rgba(255, 255, 255, .06);
}
.riptide-shot img { border-radius: 11px; }

.steps { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding: 26px 26px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps .num {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%;
  font-weight: 800; font-size: 16px; color: #9fdcff;
  background: linear-gradient(140deg, rgba(91, 192, 255, .22), rgba(0, 111, 255, .12)); border: 1px solid rgba(91, 192, 255, .3);
}
.steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.riptide-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 860px) { .riptide-links { grid-template-columns: 1fr; } }
.riptide-links .platform { background: linear-gradient(140deg, rgba(0, 111, 255, .14), rgba(255, 255, 255, .02)); border-color: rgba(91, 192, 255, .22); }
.riptide-note { margin: 22px 0 0; font-size: 14px; color: var(--dim); }

/* Gallery */
.gallery { padding: 10px 0 0; overflow: hidden; }
.strip { display: flex; gap: 20px; padding: 0 max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 10px; scroll-padding: 0 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: 0 0 min(560px, 82vw); margin: 0; scroll-snap-align: center; }
.strip img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8); }
.strip figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Platforms */
.group-title { display: flex; align-items: center; gap: 10px; margin: 56px 0 18px; font-size: 15px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-live { background: var(--live); box-shadow: 0 0 12px var(--live); }
.dot-review { background: var(--review); box-shadow: 0 0 12px var(--review); }
.dot-soon { background: var(--dim); }

.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.platforms.live { grid-template-columns: repeat(3, 1fr); }
.platforms.soon { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .platforms, .platforms.soon, .platforms.live { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 860px) { .platforms.soon { grid-template-columns: repeat(2, 1fr); } }
.platform {
  display: flex; align-items: center; gap: 18px; padding: 22px 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color .25s, background .25s;
}
.platforms.live .platform { background: linear-gradient(140deg, rgba(0, 111, 255, .14), rgba(255, 255, 255, .02)); border-color: rgba(91, 192, 255, .22); }
a.platform:hover { border-color: var(--line-hi); background: var(--card-hi); }
.platform.small { padding: 16px 18px; }
.picon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.05); color: #dfe6f0; }
.picon svg { width: 26px; height: 26px; }
.platform.small .picon { width: 42px; height: 42px; border-radius: 12px; color: var(--muted); }
.platform.small .picon svg { width: 22px; height: 22px; }
.pbody { flex: 1; min-width: 0; }
.pbody h4 { font-size: 18px; font-weight: 700; }
.platform.small h4 { font-size: 16px; font-weight: 600; color: #c9d0dc; }
.pbody p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.cmd { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 8px; font: 500 13px/1.6 ui-monospace, "Cascadia Code", Menlo, monospace; color: #9fdcff; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; white-space: nowrap; }
.chip { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.chip-live { color: #07140e; background: var(--live); border-color: transparent; }
.chip-side { color: #9fdcff; background: rgba(91, 192, 255, .1); border-color: rgba(91, 192, 255, .3); }
.chip-review { color: var(--review); background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .3); }
@media (min-width: 861px) {
  .platforms.live .platform { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-content: start; }
  .platforms.live .chip { justify-self: end; }
  .platforms.live .pbody { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 600px) {
  .platform:not(.small) { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
  .platform:not(.small) .chip { justify-self: end; }
  .platform:not(.small) .pbody { grid-column: 1 / -1; grid-row: 2; }
  .waterline { height: 36px; margin-top: -35px; }
  .screen { margin-top: 48px; }
}

/* Band */
.band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 56px; border-radius: 28px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(0, 111, 255, .35), transparent 55%), radial-gradient(100% 120% at 100% 100%, rgba(10, 55, 128, .6), transparent 60%), var(--bg-2);
  border: 1px solid rgba(91, 192, 255, .2);
}
.band > div:first-child { max-width: 620px; }
.band p { margin: 16px 0 0; color: #c3cad6; }
.band-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .band { padding: 32px 22px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 56px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.footer .brand { font-size: 17px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.legal { flex-basis: 100%; margin: 8px 0 0; font-size: 13px; color: var(--dim); }

/* Simple document pages (privacy, terms, 404) */
.doc { max-width: 760px; padding: 130px 24px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); text-align: left; margin: 0 0 8px; animation: none; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #c3cad6; }
.doc a { color: var(--sky); }
.doc .updated { color: var(--dim); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Screenshot strip arrows */
.strip-wrap { position: relative; }
.strip-btn {
  position: absolute; top: calc(50% - 44px); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(11, 13, 18, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; cursor: pointer; transition: opacity .2s, background .2s, transform .15s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.strip-btn:hover { background: rgba(0, 111, 255, .55); transform: scale(1.06); }
.strip-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.strip-btn:disabled { opacity: 0; pointer-events: none; }
.strip-btn svg { width: 22px; height: 22px; stroke-width: 2.2; }
.strip-btn.prev { left: max(12px, calc((100vw - var(--wrap)) / 2 - 36px)); }
.strip-btn.next { right: max(12px, calc((100vw - var(--wrap)) / 2 - 36px)); }
@media (hover: none) { .strip-btn { display: none; } }
