/* Automation Store — liquid aqua design system */
:root {
  --bg: #031820;
  --bg-2: #062B36;
  --glass: rgba(140, 240, 255, 0.07);
  --glass-strong: rgba(140, 240, 255, 0.12);
  --rim: rgba(160, 245, 255, 0.22);
  --fg: #E6FBFF;
  --muted: #8BC3CC;
  --aqua: #2EF2E0;
  --aqua-2: #1AB8FF;
  --pearl: #B8FFF4;
  --ok: #7DF5B4;
  --warn: #FFB547;
  --on-aqua: #022129;
  --blob-a: rgba(46, 242, 224, 0.55);
  --blob-b: rgba(26, 184, 255, 0.50);
  --blob-c: rgba(120, 90, 255, 0.28);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
  color: var(--fg); font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; min-height: 100vh;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Liquid background */
.ocean { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; filter: blur(60px); opacity: .9; animation: morph 18s ease-in-out infinite alternate, drift 26s ease-in-out infinite alternate; }
.blob.a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: -8vw; top: -6vw; background: var(--blob-a); }
.blob.b { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -10vw; top: 30vh; background: var(--blob-b); animation-delay: -6s, -10s; }
.blob.c { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; left: 30vw; bottom: -12vw; background: var(--blob-c); animation-delay: -12s, -4s; }
@keyframes morph {
  0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  50%  { border-radius: 63% 37% 38% 62% / 55% 61% 39% 45%; }
  100% { border-radius: 38% 62% 47% 53% / 62% 38% 62% 38%; }
}
@keyframes drift { to { transform: translate(6vw, 4vh) rotate(25deg) scale(1.08); } }
.caustics { position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(circle at 1px 1px, var(--rim) 1px, transparent 1.4px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%); }

header.top, main, footer { position: relative; z-index: 1; }
main, footer { overflow-x: clip; }
.wrap { max-width: 1160px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--aqua) 60%); box-shadow: 0 0 12px var(--aqua); }
.mono { font-family: var(--f-mono); }

/* Glass */
.glass {
  background: linear-gradient(145deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--rim);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.18);
  position: relative;
}
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 35%); }
.glass > :not(.fill):not(.card-glow) { position: relative; z-index: 1; }

/* Header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; padding-block: 14px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 18px; border-radius: 999px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 14px; text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.drop { width: 26px; height: 26px; flex: none; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: radial-gradient(circle at 35% 35%, #fff 0%, var(--aqua) 35%, var(--aqua-2) 100%); box-shadow: 0 0 18px var(--aqua); }
nav.links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--fg); }
.bar-right { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rim); background: var(--glass); cursor: pointer; place-items: center; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--fg); position: relative; transition: background .3s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform .3s ease; }
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.mobile-menu { margin-top: 10px; border-radius: 26px; padding: 10px; display: grid; gap: 4px; transform-origin: top; animation: pour .35s cubic-bezier(.2,.8,.2,1); }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; text-decoration: none; font-weight: 600; font-size: 16px; }
.mobile-menu a:hover, .mobile-menu a:focus-visible { background: var(--glass-strong); }
.mobile-menu a small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.mobile-menu a.btn { justify-content: center; margin-top: 6px; padding: 14px; }
@keyframes pour { from { opacity: 0; transform: scaleY(.85) translateY(-8px); } }
@media (max-width: 1020px) { nav.links { display: none; } .menu-btn { display: grid; } }
@media (min-width: 1021px) { .mobile-menu { display: none !important; } }
@media (max-width: 440px) { .bar-right > .btn { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 700 14px var(--f-body); padding: 12px 20px; border-radius: 999px; color: var(--on-aqua);
  background: linear-gradient(120deg, var(--aqua) 0%, var(--aqua-2) 50%, var(--aqua) 100%); background-size: 200% 100%;
  box-shadow: 0 10px 30px -10px var(--aqua), inset 0 1px 0 rgba(255,255,255,.5);
  transition: background-position .6s ease, transform .2s ease;
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn.ghost { background: var(--glass); color: var(--fg); border: 1px solid var(--rim); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.lg { padding: 15px 26px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 64px 40px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.03; font-weight: 800; margin-top: 16px; }
.liquid-text {
  background: linear-gradient(100deg, var(--pearl) 0%, var(--aqua) 30%, var(--aqua-2) 55%, var(--aqua) 80%, var(--pearl) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 7s linear infinite;
}
@keyframes flow { to { background-position: -250% 0; } }
.hero p.lead, .lead { color: var(--muted); font-size: 18px; max-width: 34em; margin: 22px 0 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pills span { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--rim); color: var(--muted); }
.pills b { color: var(--fg); font-weight: 600; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 24px; } }

/* Run panel */
.run-shell { position: relative; min-width: 0; }
.orb { position: absolute; width: 70%; aspect-ratio: 1; max-width: 100%; right: -8%; top: -14%; z-index: -1;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.7), var(--aqua) 30%, var(--aqua-2) 70%, transparent 72%);
  filter: blur(2px); opacity: .55; animation: morph 12s ease-in-out infinite alternate; }
.run { border-radius: 26px; overflow: hidden; }
.run-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--rim); font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.run-head > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); white-space: nowrap; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.steps { list-style: none; margin: 0; padding: 20px; display: grid; }
.step { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: start; position: relative; padding-bottom: 18px; }
.step:last-child { padding-bottom: 0; }
.step::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; border-radius: 2px; background: var(--rim); }
.step.active:not(:last-child)::after { background: linear-gradient(var(--aqua), var(--aqua-2)); box-shadow: 0 0 8px var(--aqua); }
.step:last-child::after { display: none; }
.node { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 10px; font-weight: 500; color: var(--muted);
  background: var(--glass); border: 1px solid var(--rim); position: relative; z-index: 1; transition: all .4s ease; }
.step.active .node { color: var(--on-aqua); border-color: transparent;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--aqua) 40%, var(--aqua-2) 100%);
  box-shadow: 0 0 0 6px rgba(46, 242, 224, .18), 0 0 22px var(--aqua); }
.step h4 { margin: 3px 0 2px; font-size: 14px; font-weight: 700; }
.step p { margin: 0; font-size: 13px; color: var(--muted); }
.step .t { font-family: var(--f-mono); font-size: 11px; color: var(--ok); padding-top: 6px; white-space: nowrap; }
.run-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rim); }
.run-foot div { padding: 14px 20px; border-right: 1px solid var(--rim); min-width: 0; }
.run-foot div:last-child { border-right: 0; }
.run-foot b { display: block; font-family: var(--f-display); font-size: 20px; font-variant-numeric: tabular-nums; color: var(--aqua); }
.run-foot span { font-size: 10px; color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }

/* Waves + ticker */
.wave { display: block; width: 100%; height: 70px; }
.wave path { fill: var(--glass-strong); }
.wave path.w2 { fill: var(--glass); animation: sway 9s ease-in-out infinite alternate; transform-origin: center; }
.wave.flip { transform: scaleY(-1); }
@keyframes sway { to { transform: translateX(-40px); } }
.tools { overflow: hidden; background: var(--glass-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tools .track { display: flex; gap: 14px; padding-block: 14px; width: max-content; animation: slide 45s linear infinite; }
.tools .track span { font-family: var(--f-mono); font-size: 13px; color: var(--fg); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rim); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section.block { padding-block: 84px; }
section.block.tight { padding-top: 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; margin-top: 12px; max-width: 17em; line-height: 1.15; }
.sec-head p { color: var(--muted); max-width: 30em; margin: 0; }
.page-head { padding-block: 40px 20px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; margin-top: 12px; max-width: 16em; line-height: 1.12; }
.page-head .lead { margin-bottom: 0; }
.crumbs { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

/* Store */
.filters { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; margin-bottom: 26px; }
.chip { font: 600 13px var(--f-body); padding: 9px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: all .3s ease; }
.chip[aria-pressed="true"] { color: var(--on-aqua); background: linear-gradient(120deg, var(--aqua), var(--aqua-2)); box-shadow: 0 6px 18px -6px var(--aqua); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.card { border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; overflow: hidden; transition: transform .35s ease, border-color .35s ease; }
.card-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; left: calc(var(--mx, 80%) - 130px); top: calc(var(--my, -20%) - 130px);
  background: radial-gradient(circle, rgba(46, 242, 224, .35), transparent 65%); pointer-events: none; transition: opacity .3s ease; opacity: .55; }
.card:hover { --lift: -4px; border-color: rgba(46, 242, 224, .6); }
.card:hover .card-glow { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--aqua); }
.saves { font-family: var(--f-mono); font-size: 11px; color: var(--ok); white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: rgba(125, 245, 180, .14); }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.25; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; }
.flow span { padding: 4px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--rim); }
.flow i { font-style: normal; color: var(--aqua); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rim); }
.price { font-family: var(--f-display); font-size: 21px; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-left: 6px; }
.card .btn { padding: 9px 16px; font-size: 13px; position: relative; z-index: 2; }

/* Product page */
.phero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; padding-block: 36px 60px; }
.phero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 700; margin: 12px 0 16px; line-height: 1.12; }
.phero .long { color: var(--muted); font-size: 17px; max-width: 36em; }
.buy { border-radius: 26px; padding: 28px; display: grid; gap: 16px; }
.buy .price { font-size: 38px; }
.buy .spec { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.buy .spec li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--rim); padding-bottom: 10px; }
.buy .spec li span:first-child { color: var(--muted); }
.buy .note { font-size: 12px; color: var(--muted); font-family: var(--f-mono); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: 26px; padding: 28px; }
.panel h3 { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.check { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.check li { display: flex; gap: 12px; align-items: baseline; }
.check li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 8px var(--aqua); transform: translateY(-1px); }
.related { margin-top: 30px; }
@media (max-width: 900px) { .phero { grid-template-columns: 1fr; } .two { grid-template-columns: 1fr; } }

/* Custom stages */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stage { border-radius: 26px; padding: 30px 26px; min-width: 0; }
.stage .n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--f-display); font-size: 16px; font-weight: 800; color: var(--on-aqua);
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--aqua) 40%, var(--aqua-2) 100%); box-shadow: 0 0 20px -2px var(--aqua); }
.stage h3 { font-size: 24px; font-weight: 600; margin: 18px 0 10px; }
.stage p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.stage ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.stage li { display: flex; gap: 10px; align-items: baseline; }
.stage li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 8px var(--aqua); transform: translateY(-1px); }
.stage .dur { margin-top: 20px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .stages { grid-template-columns: 1fr; } }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.calc-in { border-radius: 26px; padding: 30px; min-width: 0; }
.field { display: grid; gap: 10px; margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.field label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.field label output { font-family: var(--f-mono); color: var(--aqua); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--rim); outline-offset: 6px; margin: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #fff, var(--aqua) 45%, var(--aqua-2)); box-shadow: 0 0 14px var(--aqua); border: 0; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; cursor: pointer; border: 0;
  background: radial-gradient(circle at 35% 30%, #fff, var(--aqua) 45%, var(--aqua-2)); box-shadow: 0 0 14px var(--aqua); }
.tank { border-radius: 26px; min-height: 300px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px; min-width: 0; }
.fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--lvl, 40%); transition: height .8s cubic-bezier(.2,.8,.2,1);
  background: linear-gradient(180deg, rgba(46, 242, 224, .55), rgba(26, 184, 255, .7)); }
.fill svg { position: absolute; left: 0; bottom: 100%; width: 200%; height: 26px; animation: waveX 4s linear infinite; }
.fill svg path { fill: rgba(46, 242, 224, .55); }
@keyframes waveX { to { transform: translateX(-50%); } }
.tank p { margin: 0; color: var(--fg); font-weight: 600; }
.big { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 8vw, 92px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--fg); text-shadow: 0 2px 30px rgba(46, 242, 224, .5); }
.tank .sub { font-family: var(--f-mono); font-size: 13px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--rim); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 840px; }
details { border-radius: 20px; padding: 18px 24px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); color: var(--on-aqua); background: linear-gradient(120deg, var(--aqua), var(--aqua-2)); transition: transform .3s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; max-width: 62ch; }

/* Contact */
.contact-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; border-radius: 32px; padding: clamp(24px, 4vw, 52px); overflow: hidden; }
.contact-box h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; margin: 12px 0 14px; }
.contact-box > div > p { color: var(--muted); }
.reach { display: grid; gap: 12px; margin-top: 24px; font-family: var(--f-mono); font-size: 14px; }
.reach div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reach span.k { color: var(--muted); width: 86px; }
.reach a { text-decoration: none; }
.copy { font: 500 11px var(--f-mono); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--rim); background: var(--glass); color: var(--fg); cursor: pointer; }
form { display: grid; gap: 14px; min-width: 0; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], select, textarea {
  font: 15px var(--f-body); color: var(--fg); background: var(--glass); border: 1px solid var(--rim);
  border-radius: 14px; padding: 12px 14px; width: 100%; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
input:focus, select:focus, textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(46, 242, 224, .18); outline: none; }
select option { background: var(--bg); color: var(--fg); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-family: var(--f-mono); font-size: 13px; color: var(--ok); }
.form-status.err { color: var(--warn); }
.alert { border-radius: 18px; padding: 16px 20px; margin-bottom: 20px; font-weight: 600; color: var(--ok); }
@media (max-width: 860px) { .contact-box { grid-template-columns: 1fr; } form .row { grid-template-columns: 1fr; } }

/* Prose (about, legal) */
.prose { max-width: 72ch; border-radius: 26px; padding: clamp(24px, 4vw, 44px); margin-bottom: 60px; }
.prose h2 { font-size: 22px; font-weight: 600; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose strong { color: var(--fg); }
.prose .updated { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 0; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-block: 30px 50px; }
.stat { border-radius: 20px; padding: 20px 22px; }
.stat b { display: block; font-family: var(--f-display); font-size: 30px; color: var(--aqua); font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }

/* CTA band */
.cta-band { border-radius: 32px; padding: clamp(28px, 5vw, 56px); text-align: center; margin-bottom: 70px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; margin: 12px auto 14px; max-width: 18em; }
.cta-band p { color: var(--muted); max-width: 34em; margin: 0 auto 24px; }
.cta-band .ctas { justify-content: center; }

/* Admin */
.table-wrap { overflow-x: auto; border-radius: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rim); vertical-align: top; }
th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
td.msg { max-width: 420px; white-space: pre-wrap; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 20px; }

/* Footer */
footer { padding-block: 30px 44px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr 1fr 1fr; gap: 30px; padding-block: 30px; border-top: 1px solid var(--rim); }
.foot-grid > div { min-width: 0; }
.foot-grid a { display: block; overflow-wrap: anywhere; text-decoration: none; color: var(--muted); padding-block: 3px; }
.foot-grid a:hover { color: var(--fg); }
.foot-grid .logo { color: var(--fg); display: inline-flex; }
.foot-tag { max-width: 28em; margin: 12px 0 0; }
.foot-h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); margin-bottom: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rim); padding-top: 20px; font-size: 12px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Live demo ---------- */
.card-actions { display: flex; gap: 8px; }
.btn.sm, .card .btn.sm { padding: 8px 14px; font-size: 13px; }
.demo { padding-block: 10px 70px; }
.demo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.demo-form { display: grid; gap: 14px; padding: 26px; border-radius: 26px; position: sticky; top: 100px; }
.demo-form .demo-go { order: 99; margin-top: 4px; }
.demo-run { border-radius: 26px; overflow: hidden; min-width: 0; }
.demo-run .step > div { min-width: 0; }
.demo-run .step.done:not(:last-child)::after { background: linear-gradient(var(--aqua), var(--aqua-2)); box-shadow: 0 0 8px var(--aqua); }
.demo-run .step.active .node { color: var(--on-aqua); border-color: transparent; background: radial-gradient(circle at 35% 30%, #fff 0%, var(--aqua) 40%, var(--aqua-2) 100%); box-shadow: 0 0 0 6px rgba(46,242,224,.18), 0 0 22px var(--aqua); }
.demo-run .step.active:not(.done) .node { animation: pulse 1s infinite; }
.out { margin-top: 10px; animation: rise .45s cubic-bezier(.2,.8,.2,1); font-size: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.out-text { color: var(--fg); }
.out-text b { color: var(--aqua); }
.out-record, .out-email { border: 1px solid var(--rim); background: var(--glass); border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; }
.out-h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); }
.kv { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; border-bottom: 1px dashed var(--rim); padding-bottom: 5px; }
.kv:last-child { border-bottom: 0; padding-bottom: 0; }
.kv span { color: var(--muted); flex: none; }
.kv b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.out-email p { margin: 6px 0 0; color: var(--fg); font-size: 13.5px; line-height: 1.55; }
.out-chat { display: grid; gap: 6px; }
.msg { display: flex; }
.msg span { max-width: 88%; padding: 8px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.msg.bot span { background: linear-gradient(120deg, rgba(46,242,224,.22), rgba(26,184,255,.18)); border: 1px solid rgba(46,242,224,.35); border-bottom-left-radius: 4px; }
.msg.user { justify-content: flex-end; }
.msg.user span { background: var(--glass-strong); border: 1px solid var(--rim); border-bottom-right-radius: 4px; }
.out-list { margin: 0; padding-left: 18px; display: grid; gap: 3px; color: var(--fg); }
.out-pill { display: inline-block; font-family: var(--f-mono); font-size: 11px; padding: 3px 10px; border-radius: 999px; margin-right: 6px; color: var(--on-aqua); background: var(--ok); }
.out-pill.warn { background: var(--warn); }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } .demo-form { position: static; } }

/* ---------- Resources ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.res-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--on-aqua);
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--aqua) 40%, var(--aqua-2) 100%); box-shadow: 0 0 22px -4px var(--aqua); }
.updates { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 560px; margin: 0 auto; }
.updates input[type="email"] { flex: 1 1 240px; width: auto; }
.updates .form-status { flex-basis: 100%; text-align: center; }
.audit-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 24px; align-items: start; }
.audit { display: grid; gap: 16px; }
.audit fieldset { margin: 0; padding: 22px; border-radius: 22px; display: grid; gap: 4px; }
.audit legend { font-family: var(--f-display); font-weight: 600; font-size: 17px; padding: 0 8px; float: left; width: 100%; margin-bottom: 8px; }
.check-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 10px 8px; border-radius: 12px; cursor: pointer; font-size: 15px; }
.check-row:hover { background: var(--glass); }
.check-row input { width: 20px; height: 20px; accent-color: var(--aqua); margin: 2px 0 0; }
.check-row em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--muted); white-space: nowrap; padding-top: 3px; }
.check-row:has(input:checked) span { color: var(--aqua); }
.audit-result { position: sticky; top: 100px; }
.copy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.copy-block { border-radius: 20px; padding: 16px 18px; min-width: 0; display: grid; gap: 10px; align-content: start; }
.copy-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.copy-block pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.6 var(--f-body); color: var(--fg); }
.seq { display: grid; gap: 16px; }
.seq-row { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.seq-when { display: flex; align-items: center; gap: 12px; padding-top: 14px; }
.seq-when .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: var(--on-aqua);
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--aqua) 40%, var(--aqua-2) 100%); }
.tank .sub + .sub { margin-top: 8px; }
@media (max-width: 900px) { .audit-grid { grid-template-columns: 1fr; } .audit-result { position: static; order: -1; min-height: 220px; } .seq-row { grid-template-columns: 1fr; gap: 8px; } .seq-when { padding-top: 0; } }

/* ---------- Blog ---------- */
.feature-post { display: grid; gap: 12px; border-radius: 28px; padding: clamp(24px, 4vw, 44px); text-decoration: none; transition: border-color .35s ease; }
.feature-post:hover { border-color: rgba(46,242,224,.6); }
.feature-post h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 600; max-width: 22em; }
.feature-post p { color: var(--muted); margin: 0; max-width: 46em; }
.post-meta { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.post-body { max-width: none; margin-bottom: 0; font-size: 17px; line-height: 1.75; }
.post-body h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 12px; scroll-margin-top: 110px; }
.post-body h3 { font-family: var(--f-display); font-size: 19px; font-weight: 600; margin: 28px 0 8px; color: var(--fg); scroll-margin-top: 110px; }
.post-body p, .post-body li { color: #B9DCE2; }
.post-body a { color: var(--aqua); text-underline-offset: 3px; }
.post-body blockquote { margin: 18px 0; padding: 14px 20px; border-left: 3px solid var(--aqua); background: var(--glass); border-radius: 0 14px 14px 0; }
.post-body blockquote p { margin: 0; color: var(--fg); }
.post-body ol, .post-body ul { padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body .table-wrap { border: 1px solid var(--rim); margin: 18px 0; }
.post-body table { min-width: 480px; }
.post-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.toc { border-radius: 20px; padding: 18px 20px; display: grid; gap: 4px; }
.toc a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 4px 0; }
.toc a:hover { color: var(--aqua); }
.side-prods { border-radius: 20px; padding: 18px 20px; display: grid; gap: 10px; }
.side-prods a { text-decoration: none; display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--rim); background: var(--glass); }
.side-prods a:hover { border-color: rgba(46,242,224,.6); }
.side-prods b { font-size: 14px; }
.side-prods span { font-family: var(--f-mono); font-size: 11px; color: var(--aqua); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr; } .post-side { position: static; } }

/* ---------- Menu ---------- */
nav.links { align-items: center; }
.nav-item { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; cursor: pointer; font: 500 14px var(--f-body); color: var(--muted); }
.nav-btn:hover, .nav-item:focus-within .nav-btn, .nav-item.open .nav-btn, .nav-btn[aria-current="page"] { color: var(--fg); }
.nav-btn i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.nav-item:hover .nav-btn i, .nav-item.open .nav-btn i { transform: rotate(225deg) translateY(-1px); }
.mega { position: absolute; top: calc(100% + 18px); left: 50%; translate: -50% 8px; width: min(640px, 90vw); border-radius: 24px; padding: 20px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, translate .25s ease, visibility 0s .25s; z-index: 20;
  background: linear-gradient(145deg, #08303C, #041E28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.mega.narrow { width: 320px; grid-template-columns: 1fr; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; transition-delay: 0s; }
.mega-col { display: grid; gap: 2px; align-content: start; }
.mega-col .foot-h { padding: 0 10px; }
.mega a { display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--fg); }
.mega a:hover, .mega a:focus-visible { background: var(--glass-strong); }
.mega a b { font-size: 14px; font-weight: 600; }
.mega a small { font-size: 12px; color: var(--muted); }
.mega a.mega-all { margin-top: 6px; color: var(--aqua); font-weight: 600; font-size: 13px; }
.m-group { border-radius: 16px; padding: 0; }
.m-group summary { padding: 14px 16px; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; cursor: pointer; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: "+"; font-family: var(--f-mono); color: var(--aqua); width: auto; height: auto; background: none; }
.m-group[open] summary::after { content: "–"; transform: none; }
.m-group a { padding: 10px 16px 10px 28px !important; font-weight: 500 !important; font-size: 15px !important; }
.mobile-menu { max-height: calc(100vh - 110px); overflow-y: auto; }

/* ---------- Solutions ---------- */
.sol-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--aqua) 40%, var(--aqua-2) 100%); box-shadow: 0 0 22px -4px var(--aqua); }
.sol-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--on-aqua); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sol-icon.sm { width: 38px; height: 38px; }
.sol-icon.sm svg { width: 18px; height: 18px; }
.sol-card .tag { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 12px; }
.sol-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ind-wrap { margin-top: 40px; display: grid; gap: 14px; }
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.ind-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; text-decoration: none; transition: border-color .3s ease, translate .3s ease; }
.ind-card:hover { border-color: rgba(46,242,224,.6); translate: 0 -2px; }
.ind-card span:not(.sol-icon) { display: grid; flex: 1; min-width: 0; }
.ind-card b { font-size: 15px; }
.ind-card small { font-size: 12px; color: var(--muted); }
.ind-card i { font-style: normal; color: var(--aqua); }
.use-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.use { display: grid; gap: 10px; padding: 22px 24px; border-radius: 22px; text-decoration: none; transition: border-color .3s ease; }
.use:hover { border-color: rgba(46,242,224,.6); }
.use h3 { font-size: 18px; font-weight: 600; }
.use p { margin: 0; color: var(--muted); font-size: 15px; }
.use-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--rim); }
.phero aside.run { border-radius: 26px; }
.buy .check { font-size: 15px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.filter-row .filters { margin-bottom: 0; }
.ind-filter { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ind-filter select { width: auto; border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.grid-empty { grid-column: 1 / -1; color: var(--muted); }
.grid-empty a { color: var(--aqua); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .mega { display: none; } }

/* ---------- Voice agent ---------- */
.talk-btn { gap: 10px; }
.talk-orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--aqua) 45%, var(--aqua-2)); box-shadow: 0 0 12px var(--aqua); animation: orbPulse 1.8s ease-in-out infinite; }
@keyframes orbPulse { 50% { transform: scale(1.25); box-shadow: 0 0 22px var(--aqua); } }
/* ---------- Aqua voice agent ---------- */
.aqua { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.aqua-fab { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid var(--rim); cursor: pointer;
  background: rgba(6, 43, 54, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--fg); font: 600 14px/1 var(--f-body);
  box-shadow: 0 12px 34px -10px rgba(46, 242, 224, 0.45); transition: transform .2s ease, box-shadow .2s ease; }
.aqua-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(46, 242, 224, 0.6); }
.aqua-fab:focus-visible, .aqua-x:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.aqua-fab.live .aqua-fab-label::after { content: " · live"; color: var(--aqua); }
.aqua-orb { --lvl: 0; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff, var(--aqua) 42%, var(--aqua-2) 75%, #0b5a7a);
  box-shadow: 0 0 calc(10px + var(--lvl) * 30px) var(--aqua); transform: scale(calc(1 + var(--lvl) * 0.35));
  transition: transform .08s linear, box-shadow .08s linear; animation: orbPulse 2.4s ease-in-out infinite; }
.aqua-orb.big { width: 44px; height: 44px; }
.aqua[data-state="listening"] .aqua-orb, .aqua[data-state="speaking"] .aqua-orb { animation: none; }
.aqua[data-state="connecting"] .aqua-orb { animation: orbPulse .9s ease-in-out infinite; }
.aqua-panel { width: min(340px, calc(100vw - 32px)); padding: 16px; border-radius: 22px; background: rgba(6, 43, 54, 0.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.aqua-head { display: flex; align-items: center; gap: 12px; }
.aqua-title { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.aqua-title b { font-family: var(--f-display); font-size: 15px; letter-spacing: .02em; }
.aqua-title small { color: var(--muted); font-size: 13px; }
.aqua[data-state="error"] .aqua-title small { color: var(--warn); }
.aqua-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rim); background: transparent; color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer; }
.aqua-log { margin-top: 12px; max-height: 180px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.aqua-log:empty { display: none; }
.aqua-log p { margin: 0; padding: 8px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.aqua-log .ai { background: var(--glass-strong); align-self: flex-start; }
.aqua-log .you { background: rgba(46, 242, 224, 0.16); align-self: flex-end; }
.aqua-log .err { background: rgba(255, 181, 71, 0.12); color: var(--warn); }
.aqua-actions { display: flex; gap: 8px; margin-top: 12px; }
.aqua-actions:not(:has(button:not([hidden]))) { display: none; }
.aqua-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.aqua-note a { color: var(--pearl); }
@media (max-width: 520px) { .aqua-fab-label { font-size: 13px; } .aqua-fab { padding: 8px 14px 8px 8px; } }
@media (prefers-reduced-motion: reduce) { .aqua-orb { animation: none; } }

/* ---------- Living layer ---------- */
.blob.a { translate: calc(var(--px, 0) * 90px) calc(var(--py, 0) * 70px); }
.blob.b { translate: calc(var(--px, 0) * -70px) calc(var(--py, 0) * -50px); }
.blob.c { translate: calc(var(--px, 0) * 50px) calc(var(--py, 0) * -80px); }
.caustics { background-position: calc(var(--px, 0) * -30px) calc(var(--py, 0) * -30px); }
.rays { position: absolute; inset: -10% -10% 0; translate: calc(var(--px, 0) * -40px) 0; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 85%); }
.rays i { position: absolute; top: -10%; height: 120%; border-radius: 50%; transform-origin: 50% 0; mix-blend-mode: screen; filter: blur(18px);
  background: linear-gradient(180deg, rgba(184,255,244,.38), rgba(46,242,224,.14) 50%, transparent);
  animation: sway-ray 14s ease-in-out infinite alternate, shimmer 6s ease-in-out infinite alternate; }
.rays i:nth-child(1) { left: 12%; width: 9%;  rotate: 14deg; animation-duration: 15s, 5s; }
.rays i:nth-child(2) { left: 30%; width: 5%;  rotate: 9deg;  animation-duration: 12s, 7s; animation-delay: -4s, -2s; }
.rays i:nth-child(3) { left: 48%; width: 12%; rotate: 16deg; animation-duration: 18s, 6s; animation-delay: -9s, -1s; }
.rays i:nth-child(4) { left: 68%; width: 6%;  rotate: 11deg; animation-duration: 13s, 8s; animation-delay: -2s, -5s; }
.rays i:nth-child(5) { left: 84%; width: 10%; rotate: 18deg; animation-duration: 16s, 5.5s; animation-delay: -7s, -3s; }
@keyframes sway-ray { from { transform: rotate(-5deg) scaleX(.9); } to { transform: rotate(5deg) scaleX(1.15); } }
@keyframes shimmer { from { opacity: .45; } to { opacity: 1; } }
.water { position: absolute; inset: 0; mix-blend-mode: screen; }
.is-liquid { filter: url(#liquid); }

.card, .stage, .buy, .run, .stat, .panel {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .6s cubic-bezier(.2,.8,.2,1), border-color .35s ease;
}
.tilting { transition: transform .12s ease-out, border-color .35s ease; }
.glass.tilting::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.10), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.10), transparent 35%); }
.btn { transition: background-position .6s ease, transform .2s ease, translate .35s cubic-bezier(.2,.8,.2,1); }
.menu-btn { transition: translate .35s cubic-bezier(.2,.8,.2,1); }

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