/* Amorphous Launcher — site styles */

:root {
  --bg: #000;
  --ink: #f4f2ff;
  --ink-2: rgba(244, 242, 255, .72);
  --ink-3: rgba(244, 242, 255, .5);
  --line: rgba(255, 255, 255, .14);
  --accent: #fff;
  --accent-2: #e4e4e8;
  --accent-3: #a4a4ac;

  /* the glass, as the app's Liquid Glass settings describe it */
  --g-tint: 255, 255, 255;
  --g-alpha: 8%;
  --g-blur: 18px;
  --g-sat: 170%;
  --g-edge: .7;

  --radius: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0; }

/* ---------- background ---------- */
.aurora { position: fixed; inset: -60px; z-index: -2; overflow: hidden; background: #000 url(img/cygnus-1200.jpg) 50% 28% / cover no-repeat; filter: blur(28px) brightness(.68); }
.aurora .blob { display: none; }
.blob { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.b1 { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: #5b3cff; animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 44vmax; height: 44vmax; right: -12vmax; top: 10vh; background: #ff4fa8; opacity: .38; animation: drift2 31s ease-in-out infinite alternate; }
.b3 { width: 40vmax; height: 40vmax; left: 20vw; bottom: -20vmax; background: #00c2ff; opacity: .4; animation: drift3 23s ease-in-out infinite alternate; }
.b4 { width: 26vmax; height: 26vmax; right: 18vw; bottom: 8vh; background: #ffb547; opacity: .22; animation: drift1 37s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-24vw, 30vh) scale(.85); } }
@keyframes drift3 { to { transform: translate(-16vw, -34vh) scale(1.2); } }
.grain { display: none;
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- glass ---------- */
.glass {
  position: relative;
  background: rgba(var(--g-tint), var(--g-alpha));
  -webkit-backdrop-filter: blur(var(--g-blur)) saturate(var(--g-sat));
  backdrop-filter: blur(var(--g-blur)) saturate(var(--g-sat));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, calc(var(--g-edge) * .55)),
    inset 0 -1px 0 rgba(255, 255, 255, calc(var(--g-edge) * .12)),
    0 12px 40px -12px rgba(0, 0, 0, .45);
  isolation: isolate;
}
/* the edge that catches the light */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, calc(var(--g-edge) * .9)) 0%,
    rgba(255, 255, 255, calc(var(--g-edge) * .08)) 32%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, calc(var(--g-edge) * .08)) 68%,
    rgba(255, 255, 255, calc(var(--g-edge) * .6)) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* a soft sheen across the top */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 60% at 30% -10%, rgba(255, 255, 255, calc(var(--g-edge) * .18)), transparent 60%);
}
.glass > * { position: relative; z-index: 3; }
/* Chromium: real refraction from the lens filter main.js builds for each element */
.refract .glass[data-lens][style*="--lens"] {
  -webkit-backdrop-filter: var(--lens) blur(var(--g-blur)) saturate(var(--g-sat));
  backdrop-filter: var(--lens) blur(var(--g-blur)) saturate(var(--g-sat));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 0; cursor: pointer; color: var(--ink); font-family: inherit;
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.3), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }
.btn-light { background: #fff; color: #000; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, .35); }
.btn-glass { --g-alpha: 10%; }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); }
.nav {
  max-width: 920px; margin: 0 auto; height: 60px; border-radius: 999px; padding: 0 10px 0 18px; --g-tint: 14, 12, 30; --g-alpha: 42%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.logo { width: 28px; height: 28px; display: block; }
.logo.big { width: 64px; height: 64px; margin: 0 auto 18px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }

/* ---------- layout ---------- */
main { padding: 0 var(--gutter); }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 140px) 0 0; }
.section.narrow { max-width: 780px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(40px, 6vw, 68px); margin: 10px 0 18px; }
.section-head p:last-child { color: var(--ink-2); font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .8); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; min-height: 100vh; padding: 120px 0 40px;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
}
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); margin: 18px 0 22px; }
.hero h1 em { color: rgba(255, 255, 255, .92); padding-right: .08em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-3); font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--accent-2); margin-right: 8px; }
.hero-phone { position: relative; display: flex; justify-content: center; }
.float-chip { position: absolute; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; display: flex; align-items: center; gap: 8px; --g-alpha: 10%; animation: bob 6s ease-in-out infinite; }
.float-chip.c1 { left: -8%; top: 8%; }
.float-chip.c2 { right: -4%; bottom: 22%; animation-delay: -3s; }
.sw { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- phone mockup ---------- */
.phone {
  width: clamp(260px, 26vw, 320px); aspect-ratio: 9 / 19.5; padding: 10px; border-radius: 52px;
  background: linear-gradient(145deg, #2a2838, #0d0c14 40%, #1e1c2a);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12), 0 50px 100px -30px rgba(0, 0, 0, .8), 0 30px 80px -40px rgba(255, 255, 255, .12);
}
.screen {
  container-type: inline-size; position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden;
  --i-round: 32%; --i-scale: 1; --g-alpha: 14%; --g-blur: 10px;
}
.wall { position: absolute; inset: -10%; transition: opacity .6s; }
.wall-aurora {
  background:
    radial-gradient(60% 40% at 20% 20%, #7b5cff 0%, transparent 70%),
    radial-gradient(50% 35% at 85% 35%, #ff5fae 0%, transparent 70%),
    radial-gradient(70% 45% at 40% 85%, #00b8ff 0%, transparent 70%),
    radial-gradient(40% 30% at 80% 85%, #ffc35c 0%, transparent 70%),
    #120d2a;
  animation: wallshift 18s ease-in-out infinite alternate;
}
.wall-dusk { background: radial-gradient(70% 50% at 50% 100%, #ff8a3d, transparent 70%), radial-gradient(60% 40% at 30% 40%, #c2337a, transparent 70%), linear-gradient(#1b1240, #612a6b 60%, #f07a4a); animation: wallshift 18s ease-in-out infinite alternate; }
.wall-ocean { background: radial-gradient(60% 40% at 70% 20%, #57f2ff, transparent 70%), radial-gradient(70% 50% at 20% 70%, #1665ff, transparent 70%), linear-gradient(#022a4a, #04516b); animation: wallshift 18s ease-in-out infinite alternate; }
.wall-mono { background: radial-gradient(50% 35% at 30% 30%, #e8e8ee, transparent 70%), radial-gradient(50% 40% at 75% 75%, #8e8e9c, transparent 70%), #2a2a32; animation: wallshift 18s ease-in-out infinite alternate; }
@keyframes wallshift { to { transform: translate(4%, -5%) scale(1.08) rotate(4deg); } }

.status { position: absolute; top: 4.5cqw; left: 9cqw; right: 8cqw; display: flex; justify-content: space-between; font-size: 4.4cqw; font-weight: 600; z-index: 5; }
.st-icons { display: flex; gap: 1.4cqw; align-items: center; }
.st-icons i { width: 4cqw; height: 3cqw; border-radius: 1cqw; background: #fff; opacity: .9; }
.st-icons b { width: 7cqw; height: 3.4cqw; border-radius: 1.2cqw; border: .5cqw solid #fff; }

.widget-row { position: absolute; top: 15cqw; left: 6cqw; right: 6cqw; }
.w-clock { border-radius: 7cqw; padding: 5cqw 6cqw; display: flex; flex-direction: column; }
.w-time { font-size: 15cqw; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.w-date { font-size: 3.8cqw; color: rgba(255, 255, 255, .85); margin-top: 1.5cqw; }
.w-weather { font-size: 3.6cqw; color: rgba(255, 255, 255, .7); }
.w-music { border-radius: 7cqw; padding: 4cqw; display: flex; gap: 4cqw; align-items: center; }
.w-music .art { width: 20cqw; height: 20cqw; flex: none; border-radius: 4cqw; background: #000 url(img/cupola-1200.jpg) 50% 48% / auto 130%; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .3); }
.w-music .meta { display: flex; flex-direction: column; font-size: 3.6cqw; flex: 1; min-width: 0; }
.w-music b { font-size: 4.4cqw; }
.w-music span { color: rgba(255, 255, 255, .7); }
.w-music .bar { height: 1.2cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .25); margin-top: 3cqw; overflow: hidden; }
.w-music .bar i { display: block; height: 100%; width: 40%; background: #fff; border-radius: inherit; animation: play 14s linear infinite; }
@keyframes play { from { width: 8%; } to { width: 100%; } }

.screen > .grid { position: absolute; top: 58cqw; left: 5cqw; right: 5cqw; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 5cqw; justify-items: center; }
.app { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; width: 100%; }
.app-ico {
  width: calc(15cqw * var(--i-scale)); aspect-ratio: 1; border-radius: var(--i-round);
  background: var(--ib); display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: inset 0 .4cqw 0 rgba(255, 255, 255, .45), 0 1.6cqw 4cqw rgba(0, 0, 0, .25);
  transition: border-radius .3s, width .3s, background .4s;
}
.app-ico::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .35), transparent 45%); }
.app-ico svg { width: 55%; height: 55%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.app-label { font-size: 3cqw; color: rgba(255, 255, 255, .92); text-shadow: 0 .3cqw 1cqw rgba(0, 0, 0, .4); transition: opacity .3s; }
.no-labels .app-label { opacity: 0; }
.clear-icons .app-ico {
  background: rgba(var(--g-tint), var(--g-alpha));
  -webkit-backdrop-filter: blur(var(--g-blur)) saturate(var(--g-sat)); backdrop-filter: blur(var(--g-blur)) saturate(var(--g-sat));
}

.dots { position: absolute; bottom: 47cqw; left: 0; right: 0; display: flex; justify-content: center; gap: 1.8cqw; transition: opacity .3s; }
.dots i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.dots i.on { background: #fff; }
.search {
  position: absolute; bottom: 33cqw; left: 50%; transform: translateX(-50%); height: 9cqw; padding: 0 5cqw; border-radius: 99px;
  display: flex; align-items: center; gap: 2cqw; font-size: 3.6cqw; font-weight: 500; transition: opacity .3s;
}
.search svg { width: 4cqw; height: 4cqw; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.dock { position: absolute; left: 4cqw; right: 4cqw; bottom: 4cqw; height: 24cqw; border-radius: 9cqw; display: flex; align-items: center; padding: 0 2cqw; }
.dock .grid { width: 100%; }
.dock .app-label { display: none; }
.hidden-el { opacity: 0 !important; pointer-events: none; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 21px; }
.card p { color: var(--ink-2); font-size: 15px; }
.span-2 { grid-column: span 2; }
.tall { grid-row: span 2; }
.ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 8px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }

.lens-demo { position: relative; flex: 1; min-height: 220px; border-radius: 20px; overflow: hidden; margin-bottom: 18px; display: grid; place-items: center; }
.lens-stripes {
  position: absolute; inset: -20%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 3px, transparent 3px 22px),
    linear-gradient(100deg, #101013, #3a3a42 50%, #0c0c0f);
  animation: slide 9s linear infinite;
}
@keyframes slide { to { transform: translateX(22px) ; } }
.lens-text { position: absolute; font-size: 54px; font-weight: 700; letter-spacing: -.03em; color: #fff; mix-blend-mode: overlay; }
.lens-pill { width: 64%; height: 46%; border-radius: 999px; --g-alpha: 6%; --g-blur: 1px; --g-sat: 130%; cursor: grab; touch-action: none; }

/* ---------- playground ---------- */
.playground { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.pg-phone { display: flex; justify-content: center; }
.pg-phone .phone { transform: none; width: clamp(260px, 28vw, 330px); }
.pg-controls { border-radius: var(--radius); padding: 28px; display: grid; gap: 22px; --g-alpha: 6%; }
fieldset { border: 0; margin: 0; padding: 0; }
legend, .slider label { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 10px; }
.slider label output { margin-left: auto; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pro-tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: #fff; color: #000; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); flex-wrap: wrap; }
.seg input, .swatches input, .sw-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; }
.seg input:checked + span { background: rgba(255, 255, 255, .9); color: #0b0a14; }
.seg input:focus-visible + span, .swatches input:focus-visible + span, .sw-toggle input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatches span { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: transform .2s; }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #fff; transform: scale(1.06); }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #fff var(--p, 50%), rgba(255, 255, 255, .16) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: #fff; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 20px; margin-top: -7px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); transition: transform .2s, background .2s; }
input[type=range]::-moz-range-thumb { width: 28px; height: 20px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
/* like the app's sliders: the knob turns to glass while held */
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.35); background: rgba(255, 255, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(255, 255, 255, .6), 0 4px 14px rgba(0, 0, 0, .3); }

.toggles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.toggles legend { grid-column: 1 / -1; }
.sw-toggle { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.sw-toggle span { width: 46px; height: 28px; flex: none; border-radius: 999px; background: rgba(255, 255, 255, .16); position: relative; transition: background .25s; }
.sw-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.sw-toggle input:checked + span { background: rgba(255, 255, 255, .92); }
.sw-toggle input:checked + span::after { background: #111; }
.sw-toggle input:checked + span::after { transform: translateX(18px); }
#pg-reset { justify-self: start; }

/* ---------- 3D scene ---------- */
.scene-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.scene { border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; --g-alpha: 4%; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; cursor: grab; touch-action: pan-y; }
.scene canvas:active { cursor: grabbing; }
.scene-hud { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; pointer-events: none; }
.scene-name { font-weight: 600; }
.scene-hint { color: var(--ink-3); text-align: right; }
.scene-time { position: absolute !important; left: 18px; right: 18px; bottom: 18px; border-radius: 999px; padding: 6px 18px; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; --g-tint: 12, 10, 26; --g-alpha: 45%; }
.scene-time input { flex: 1; }
.scene-time output { font-variant-numeric: tabular-nums; width: 44px; text-align: right; color: var(--ink-2); }
.scene-list { display: grid; gap: 16px; align-content: start; }
.mini { padding: 24px; }
.mini h3 { display: flex; align-items: center; gap: 10px; }
.soon { opacity: .85; }
.soon-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); letter-spacing: .02em; }

/* ---------- pro ---------- */
#pro .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.billing { display: flex; width: max-content; margin: 0 auto 28px; --g-alpha: 6%; }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan { border-radius: 32px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.plan h3 { font-size: 22px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: 52px; font-weight: 600; letter-spacing: -.03em; }
.price span { color: var(--ink-3); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; flex: 1; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 4px; border-left: 1.6px solid var(--accent-2); border-bottom: 1.6px solid var(--accent-2); transform: rotate(-45deg); }
.plan .btn { justify-content: center; }
.plan-pro { --g-alpha: 10%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 30px 80px -30px rgba(255, 255, 255, .2); }
.badge { position: absolute !important; top: 26px; right: 26px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #fff; color: #0b0a14; }
.fine { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 22px; }
.price b, .price span { transition: opacity .2s; }
.swap .price b, .swap .price span { opacity: 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 22px; padding: 0; --g-alpha: 5%; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--ink-2); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- get ---------- */
.get { max-width: 760px; margin: 0 auto; border-radius: 40px; padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 64px); text-align: center; --g-alpha: 9%; }
.get h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.get p { color: var(--ink-2); font-size: 18px; max-width: 460px; margin: 0 auto 30px; }

.footer { max-width: var(--max); margin: 120px auto 0; padding: 32px var(--gutter) 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; color: var(--ink-3); font-size: 14px; }
.footer .brand { color: var(--ink); }
.footer nav { display: flex; gap: 22px; }
.footer nav a:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 130px; min-height: 0; }
  .lede { margin: 0 auto; }
  .cta-row, .hero-points { justify-content: center; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tall { grid-row: auto; }
  .playground { grid-template-columns: 1fr; }
  .scene-wrap { grid-template-columns: 1fr; }
  .scene-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .bento, .plans, .scene-list { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
  .scene { aspect-ratio: 3 / 4; }
  .scene-hint { display: none; }
  .toggles { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
.lens-hint { position: absolute; bottom: 12px; right: 14px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(10, 8, 24, .55); pointer-events: none; }
.early { max-width: 900px; margin: 0 auto 24px; border-radius: 24px; padding: 16px 22px; display: flex; align-items: center; gap: 16px; --g-alpha: 8%; }
.early p { color: var(--ink-2); font-size: 15px; }
.early b { color: var(--ink); font-weight: 600; }
.early-tag { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: #fff; color: #000; }
.promises { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; color: var(--ink-2); font-size: 14px; }
.promises li::before { content: "✓"; color: var(--accent-2); margin-right: 8px; }
@media (max-width: 760px) { .early { flex-direction: column; align-items: flex-start; } }

/* ---------- glass drawn by glass.js (WebGL), as on the phone ---------- */
#glass-gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; pointer-events: none; }
.webgl .aurora, .webgl .grain { display: none; display: none; }
.webgl .gl-glass { background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; }
.webgl .gl-glass::before, .webgl .gl-glass::after { display: none; }
/* the site's own wallpaper in a phone is drawn by glass.js, lined up with the page behind */
.webgl .wall-cygnus { background: none; animation: none; }

/* ---------- monochrome: the Cupola as the phones' wallpaper ---------- */
.wall-cupola { background: #000 url(img/cupola-1200.jpg) 50.7% 48% / auto 100% no-repeat; animation: wallshift 24s ease-in-out infinite alternate; }
.app-ico { box-shadow: inset 0 .4cqw 0 rgba(255, 255, 255, .35), inset 0 0 0 .3cqw rgba(255, 255, 255, .08), 0 1.6cqw 4cqw rgba(0, 0, 0, .5); }
.app-ico::after { background: linear-gradient(160deg, rgba(255, 255, 255, .22), transparent 45%); }
.footer .credit { flex-basis: 100%; font-size: 12px; color: rgba(255, 255, 255, .38); }
.screen { --g-tint: 16, 16, 20; --g-alpha: 32%; }
/* text straight on the photo keeps a soft shadow, so bright windows behind never wash it out */
.hero-copy, .section-head, .promises, .fine, .footer { text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 4px 24px rgba(0, 0, 0, .7); }
@media (min-width: 761px) { .float-chip.c1 { left: -10%; top: 2%; } }
.wall-cygnus { background: #000 url(img/cygnus-1200.jpg) 50% 30% / cover no-repeat; animation: wallshift 24s ease-in-out infinite alternate; }
/* the bezel as a ring, so the screen shows the canvas behind it */
.webgl .phone { background: none; box-shadow: inset 0 0 0 10px #16151d, inset 0 0 0 11px rgba(255, 255, 255, .06), 0 0 0 1.5px rgba(255, 255, 255, .12), 0 50px 100px -30px rgba(0, 0, 0, .8), 0 30px 80px -40px rgba(255, 255, 255, .12); }
/* clear icons: glass tiles with white glyphs */
.clear-icons .app-ico svg { stroke: #fff !important; }
