/* Lysbild — the website. The app's language: a dark canvas, glass panes
   with a lit top edge, one amber accent, motion that explains. */

:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --text: #ececef;
  --dim: #a1a1a8;
  --faint: #6c6c74;
  --accent: #f2aa3c;
  --accent-hi: #ffc262;
  --on-accent: #1e1405;
  --glass: rgba(34, 34, 38, 0.55);
  --glass-strong: rgba(28, 28, 32, 0.78);
  --rim: rgba(255, 255, 255, 0.1);
  --rim-top: rgba(255, 255, 255, 0.22);
  --danger: #ff6b63;
  --ok: #5dc86e;
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
::selection { background: rgba(242, 170, 60, 0.35); }

/* ---- the light behind the glass --------------------------------------- */

.aurora { position: fixed; inset: -20vmax; z-index: -1; pointer-events: none; filter: blur(80px) saturate(140%); opacity: 0.55; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 28s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { width: 46vmax; height: 46vmax; left: 8%; top: 4%; background: radial-gradient(circle, #f2aa3c 0%, transparent 62%); }
.aurora i:nth-child(2) { width: 52vmax; height: 52vmax; right: 0; top: 18%; background: radial-gradient(circle, #6a4cff 0%, transparent 60%); animation-duration: 34s; animation-delay: -8s; }
.aurora i:nth-child(3) { width: 40vmax; height: 40vmax; left: 30%; bottom: 0; background: radial-gradient(circle, #1f7aff 0%, transparent 60%); animation-duration: 40s; animation-delay: -16s; opacity: 0.6; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, -4vmax, 0) scale(1.12); }
  100% { transform: translate3d(-5vmax, 5vmax, 0) scale(0.94); }
}
.grain { position: fixed; inset: 0; z-index: -1; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---- glass ------------------------------------------------------------ */

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid var(--rim);
  box-shadow: inset 0 1px 0 var(--rim-top), 0 18px 50px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
}

/* ---- layout ----------------------------------------------------------- */

.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
section { position: relative; }

nav.top {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  display: flex; align-items: center; gap: 22px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
nav.top .brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; }
nav.top .links { display: flex; gap: 22px; margin-left: 8px; }
nav.top .links a { color: var(--dim); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
nav.top .links a:hover { color: var(--text); }
nav.top .end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 760px) { nav.top .links { display: none; } }
@media (max-width: 420px) { nav.top { gap: 10px; padding-left: 12px; } nav.top .end .ghost { display: none; } }

.mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); position: relative; flex: none; box-shadow: 0 4px 14px rgba(242, 170, 60, 0.35); }
.mark::before { content: ""; position: absolute; inset: 6.5px; border-radius: 3px; background: #2a1c06; }
.mark::after { content: ""; position: absolute; inset: 9px; border-radius: 2px; background: linear-gradient(135deg, #fff3d6, #ffd98f); }

/* ---- buttons ---------------------------------------------------------- */

.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: 999px;
  font: 600 14.5px/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  color: var(--text); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--rim);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  cursor: pointer; transition: transform 0.18s var(--ease), background 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { background: rgba(255, 255, 255, 0.13); }
.btn:active { transform: scale(0.97); }
.btn.primary { color: var(--on-accent); background: linear-gradient(180deg, var(--accent-hi), var(--accent)); border-color: rgba(255, 220, 160, 0.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 28px rgba(242, 170, 60, 0.35); }
.btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 36px rgba(242, 170, 60, 0.5); }
.btn.big { --h: 50px; padding: 0 26px; font-size: 16px; }
.btn.small { --h: 34px; padding: 0 14px; font-size: 13.5px; }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--dim); }
.btn.ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ---- hero ------------------------------------------------------------- */

.hero { padding: 150px 0 60px; text-align: center; }
h1 {
  font: 700 clamp(44px, 7.2vw, 92px)/1.02 var(--display); letter-spacing: -0.045em; margin: 0 auto 22px; max-width: 12ch;
  background: linear-gradient(180deg, #fff 30%, #b9b9c2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent-hi), #ff8f5a 60%, #d86cff); -webkit-background-clip: text; background-clip: text; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); max-width: 38em; margin: 0 auto 34px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* The app, in glass: a live mock-up (js/site.js drives it). */
.stage { perspective: 1800px; margin: 64px auto 0; width: min(1120px, 100% - 32px); }
.window {
  position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden;
  background: #121214; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transform-origin: 50% 0; transition: transform 0.9s var(--ease);
  display: grid; grid-template-columns: 22% 1fr 24%; gap: 1.2%; padding: 1.2%;
  font-size: clamp(7px, 1.05vw, 13px);
  text-align: left;
}
.window.flat { --rx: 0deg; }
.w-side, .w-insp {
  border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(58, 52, 66, 0.72), rgba(36, 34, 42, 0.72));
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 4.6em 1em 1em;
}
.lights { position: absolute; top: 1.35em; left: 1.2em; display: flex; gap: 0.55em; }
.lights i { width: 0.95em; height: 0.95em; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.w-side .imp { position: absolute; top: 0.9em; right: 0.9em; width: 2.2em; height: 2.2em; border-radius: 50%; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); }
.w-side h6 { margin: 0.9em 0.6em 0.4em; font-size: 0.85em; color: #8d8b94; font-weight: 600; }
.w-row { display: flex; align-items: center; gap: 0.7em; padding: 0.5em 0.6em; border-radius: 0.7em; color: #d9d8de; font-size: 0.98em; transition: background 0.4s var(--ease); }
.w-row i { width: 1em; height: 1em; border-radius: 0.25em; border: 1.5px solid var(--accent); flex: none; }
.w-row span { margin-left: auto; color: #807e88; font-size: 0.85em; }
.w-row.on { background: rgba(255, 255, 255, 0.1); }
.w-main { position: relative; overflow: hidden; border-radius: 14px; }
.w-bar { position: absolute; top: 0; left: 0; right: 0; height: 4.2em; display: flex; align-items: center; gap: 0.7em; padding: 0 0.6em; z-index: 2; background: linear-gradient(180deg, #121214 30%, rgba(18, 18, 20, 0)); }
.w-bar b { font-size: 1.2em; font-weight: 650; letter-spacing: -0.01em; }
.w-bar small { display: block; color: #6c6c74; font-size: 0.8em; font-weight: 400; }
.w-pill { height: 2.5em; border-radius: 999px; background: rgba(40, 40, 44, 0.85); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); padding: 0 1em; display: flex; align-items: center; color: #a1a1a8; font-size: 0.9em; }
.w-pill.grow { margin-left: auto; width: 9em; }
.w-grid { position: absolute; inset: 4.6em 0.4em auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7em; align-content: start; transition: transform 1.2s var(--ease); }
.w-cell { position: relative; aspect-ratio: 4 / 3; border-radius: 0.5em; overflow: hidden; background: #1c1c20; transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.w-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.8s var(--ease); }
.w-cell.sel { box-shadow: 0 0 0 0.18em #121214, 0 0 0 0.36em var(--accent); }
.w-cell .stars { position: absolute; right: 0.5em; bottom: 0.35em; color: var(--accent); font-size: 0.8em; letter-spacing: 0.05em; opacity: 0; transform: translateY(4px); transition: all 0.4s var(--ease); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.w-cell .stars.on { opacity: 1; transform: none; }
.w-insp h5 { margin: 0 0 0.2em; font-size: 1.1em; }
.w-insp p { margin: 0 0 1em; color: #8d8b94; font-size: 0.85em; }
.w-card { background: rgba(255, 255, 255, 0.06); border-radius: 0.9em; padding: 0.8em; margin-bottom: 0.8em; }
.w-slider { margin: 0.55em 0 0.95em; }
.w-slider label { display: flex; justify-content: space-between; font-size: 0.85em; color: #c9c8ce; }
.w-slider label span { color: var(--accent); }
.w-track { position: relative; height: 0.3em; border-radius: 1em; background: rgba(255, 255, 255, 0.14); margin-top: 0.55em; }
.w-track b { position: absolute; top: 50%; width: 1.6em; height: 1em; margin: -0.5em 0 0 -0.8em; border-radius: 1em; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); left: 50%; transition: left 1s var(--ease); }
.w-toast { position: absolute; left: 50%; bottom: 1.4em; z-index: 3; transform: translate(-50%, 1em); opacity: 0; padding: 0.7em 1.2em; border-radius: 999px; background: rgba(42, 42, 46, 0.95); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 30px rgba(0, 0, 0, 0.5); font-size: 0.95em; white-space: nowrap; transition: all 0.45s var(--ease); }
.w-toast.on { opacity: 1; transform: translate(-50%, 0); }
.w-toast::before { content: "✓"; color: var(--accent); margin-right: 0.6em; }
@media (max-width: 700px) { .window { grid-template-columns: 1fr; aspect-ratio: 4 / 5; font-size: 10px; } .w-side, .w-insp { display: none; } .w-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- sections --------------------------------------------------------- */

.section { padding: 140px 0 40px; }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 12px; }
h2 { font: 700 clamp(34px, 4.6vw, 58px)/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 18px; max-width: 16ch; }
h3 { font: 650 22px/1.25 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
.section p.lead { font-size: 19px; color: var(--dim); max-width: 34em; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip > :first-child { order: 0; } }

.feature-card { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; }
.feature-card .photo { position: absolute; inset: 0; }
.feature-card .photo img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }

/* Reveal on scroll (js adds .in). */
.reveal { opacity: 0; transform: translateY(40px) scale(0.985); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* Level: the photo turns until the horizon lies flat. The scale hides the
   corners a turn exposes; the guide sits on the horizon (78% down the
   photo, 81% once scaled). */
.level .photo img { transform: rotate(-4.2deg) scale(1.12); transition: transform 1.6s var(--ease) 0.4s; }
.level.in .photo img { transform: rotate(0deg) scale(1.12); }
.level .guide { position: absolute; left: 6%; right: 6%; top: 81%; height: 0; border-top: 1.5px dashed rgba(255, 255, 255, 0.8); transform: rotate(-4.2deg); transition: transform 1.6s var(--ease) 0.4s, border-color 0.6s 1.9s; }
.level.in .guide { transform: rotate(0deg); border-color: rgba(93, 200, 110, 0.95); }
.chip { position: absolute; left: 18px; top: 18px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.chip .was { transition: opacity 0.3s 1.9s; }
.level.in .chip .was { opacity: 0.35; text-decoration: line-through; }
.chip .now { color: var(--ok); opacity: 0; transition: opacity 0.4s 2s; }
.level.in .chip .now { opacity: 1; }

/* HDR: three exposures fan out, then fuse. */
.hdr { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 20%, #20202a, #0e0e12); }
.hdr .frame { position: absolute; width: 58%; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); transition: transform 1.2s var(--ease), opacity 0.9s var(--ease), filter 1s; }
.hdr .frame img { width: 100%; height: 100%; object-fit: cover; }
.hdr .f1 { filter: brightness(0.45) contrast(1.1); }
.hdr .f3 { filter: brightness(1.7) saturate(0.8); }
.hdr.in .f1 { transform: translate(-34%, -12%) rotate(-7deg); }
.hdr.in .f3 { transform: translate(34%, -12%) rotate(7deg); }
.hdr.in .f2 { transform: translateY(-12%); }
.hdr.fused .f1, .hdr.fused .f3 { transform: translateY(8%) scale(0.9); opacity: 0; }
.hdr.fused .f2 { transform: translateY(8%) scale(1.12); filter: saturate(1.25) contrast(1.05); }
.hdr .label { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; }

/* Suggestions: an advice card and a before/after you can drag. */
.ba { cursor: ew-resize; touch-action: pan-y; user-select: none; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--cut, 50%)); }
.ba .before img { filter: brightness(0.7) contrast(1.12) saturate(0.85); }
.ba .after img { filter: brightness(1.08) contrast(0.96) saturate(1.12); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); }
.ba .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 30px; border-radius: 999px; background: #fff; color: #222; font: 700 14px/30px var(--font); text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
.ba .tag { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; }
.ba .tag.l { left: 16px; }
.ba .tag.r { right: 16px; }
.advice { position: absolute; right: 18px; top: 18px; width: min(290px, 70%); padding: 14px 16px; font-size: 14px; transform: translateY(-10px); opacity: 0; transition: all 0.7s var(--ease) 0.6s; }
.in .advice { opacity: 1; transform: none; }
@media (max-width: 560px) { .advice { width: 58%; right: 10px; top: 10px; padding: 10px 12px; font-size: 12.5px; } .advice span { font-size: 11.5px; } }
.advice b { display: block; margin-bottom: 4px; }
.advice span { color: var(--dim); font-size: 13px; }
.advice .apply { margin-top: 10px; display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 12.5px; }

/* Sync: two Macs, one library. */
.macs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; aspect-ratio: 5 / 3; align-items: center; }
.mac { border-radius: 18px; aspect-ratio: 4 / 3; padding: 10px; position: relative; }
.mac .mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mac .mini div { aspect-ratio: 4 / 3; border-radius: 5px; overflow: hidden; position: relative; }
.mac .mini div img { width: 100%; height: 100%; object-fit: cover; }
.mac .mini .s { position: absolute; right: 4px; bottom: 1px; color: var(--accent); font-size: 10px; opacity: 0; transform: scale(0.6); transition: all 0.4s var(--ease); }
.mac .mini .s.on { opacity: 1; transform: none; }
.mac .name { position: absolute; bottom: -28px; left: 0; right: 0; text-align: center; color: var(--faint); font-size: 13px; }
.pulse { position: absolute; left: 50%; top: 45%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--accent); opacity: 0; }
.pulse.go { animation: fly 0.9s var(--ease); }
@keyframes fly { 0% { opacity: 0; transform: translateX(-120px) scale(0.6); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(120px) scale(1); } }

/* The filmstrip: photos drifting past, full bleed. */
.strip { overflow: hidden; padding: 110px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.reel { display: flex; gap: 14px; width: max-content; animation: reel 90s linear infinite; }
.strip:hover .reel { animation-play-state: paused; }
.reel figure { margin: 0; width: 300px; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; flex: none; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); transform: rotate(var(--r, 0deg)); transition: transform 0.5s var(--ease); }
.reel figure:nth-child(3n) { --r: -1.2deg; }
.reel figure:nth-child(3n + 1) { --r: 0.8deg; }
.reel figure:hover { transform: rotate(0deg) scale(1.04); }
.reel img { width: 100%; height: 100%; object-fit: cover; }
@keyframes reel { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .reel figure { width: 200px; } }

/* Feature list. */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.tile { padding: 26px; }
.tile .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(242, 170, 60, 0.14); color: var(--accent); font-size: 20px; }
.tile p { margin: 0; color: var(--dim); font-size: 15px; }

/* ---- pricing (the fake door) ------------------------------------------ */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 30px 28px; display: flex; flex-direction: column; position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan.best { background: linear-gradient(180deg, rgba(242, 170, 60, 0.16), rgba(34, 34, 38, 0.55) 45%); border-color: rgba(242, 170, 60, 0.4); }
.plan .badge { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; color: var(--on-accent); background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .price { font: 700 44px/1 var(--display); letter-spacing: -0.03em; margin: 14px 0 4px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.plan .per { color: var(--faint); font-size: 13.5px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 15px; color: #d4d4da; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }
.plan .btn { margin-top: auto; }
.fine { color: var(--faint); font-size: 13px; text-align: center; margin-top: 22px; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.platforms button { font: 500 14px var(--font); color: var(--dim); padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px dashed rgba(255, 255, 255, 0.18); cursor: pointer; transition: all 0.2s; }
.platforms button:hover { color: var(--text); border-color: var(--accent); border-style: solid; }
.platforms button.voted { color: var(--accent); border-color: var(--accent); border-style: solid; }

/* ---- FAQ, footer ------------------------------------------------------ */

.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--dim); margin: 12px 0 0; }

.closing { text-align: center; padding: 150px 0 120px; }
.closing h2 { margin: 0 auto 18px; }
footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 34px 0 50px; color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--dim); text-decoration: none; }
footer .credits { flex-basis: 100%; order: 3; font-size: 12px; line-height: 1.6; }
footer .credits a { color: var(--faint); text-decoration: underline; text-decoration-color: rgba(255,255,255,.15); }
footer .credits a:hover { color: var(--dim); }
footer .end { margin-left: auto; display: flex; gap: 20px; }

/* ---- modal ------------------------------------------------------------ */

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5, 5, 7, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.sheet { width: min(460px, 100%); padding: 30px; border-radius: 28px; background: var(--glass-strong); transform: translateY(24px) scale(0.97); transition: transform 0.45s var(--ease); position: relative; }
.modal.open .sheet { transform: none; }
.sheet h3 { font-size: 24px; margin-bottom: 8px; }
.sheet p { color: var(--dim); margin: 0 0 20px; font-size: 15px; }
.sheet .x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); color: var(--dim); font-size: 18px; cursor: pointer; }
.sheet .x:hover { color: var(--text); }

/* ---- forms ------------------------------------------------------------ */

.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 13.5px; color: var(--dim); font-weight: 500; }
.input {
  height: 46px; width: 100%; padding: 0 16px; border-radius: 14px;
  font: 16px var(--font); color: var(--text);
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.12); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { border-color: rgba(242, 170, 60, 0.7); box-shadow: 0 0 0 4px rgba(242, 170, 60, 0.18); }
.input.code { font: 600 20px/1 ui-monospace, "SF Mono", monospace; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; }
textarea.input { height: 84px; padding: 12px 16px; resize: none; }
.digits { display: flex; gap: 10px; justify-content: center; margin: 8px 0 20px; }
.digits input { width: 50px; height: 60px; text-align: center; font: 600 26px/1 var(--font); border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--text); outline: none; transition: all 0.2s; }
.digits input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(242, 170, 60, 0.18); transform: translateY(-2px); }
.msg { min-height: 22px; font-size: 14px; margin: 4px 0 12px; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--ok); }
.turnstile { min-height: 0; margin: 4px 0 14px; display: flex; justify-content: center; }
.row { display: flex; gap: 10px; align-items: center; }
.row .btn { flex: 1; }

/* ---- the small pages (sign up, sign in, link, account) ---------------- */

.page { min-height: 100vh; display: grid; place-items: center; padding: 110px 20px 60px; }
.card { width: min(480px, 100%); padding: 38px 34px; border-radius: 30px; position: relative; overflow: hidden; }
.card.wide { width: min(720px, 100%); }
.card h1 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 10px; max-width: none; text-align: left; }
.card .sub { color: var(--dim); margin: 0 0 26px; }
.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps i { height: 4px; flex: 1; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; position: relative; }
.steps i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.steps i.done::after { transform: none; }
.step { display: none; animation: stepin 0.5s var(--ease); }
.step.on { display: block; }
@keyframes stepin { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.bigcode { font: 700 44px/1 ui-monospace, "SF Mono", monospace; letter-spacing: 0.12em; text-align: center; padding: 22px; border-radius: 18px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); margin: 6px 0 22px; }
.done-mark { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: rgba(93, 200, 110, 0.14); color: var(--ok); font-size: 36px; animation: pop 0.6s var(--ease); }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
.passkey-art { width: 84px; height: 84px; margin: 4px auto 22px; border-radius: 24px; display: grid; place-items: center; font-size: 40px; background: linear-gradient(180deg, rgba(242, 170, 60, 0.25), rgba(242, 170, 60, 0.06)); border: 1px solid rgba(242, 170, 60, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.list { display: grid; gap: 8px; margin: 10px 0 26px; }
.item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); }
.item .ic { font-size: 20px; }
.item b { display: block; font-weight: 600; }
.item span { color: var(--faint); font-size: 13px; }
.item .btn { margin-left: auto; }
.center { text-align: center; }
.muted { color: var(--faint); font-size: 14px; }
.back { display: inline-block; margin-top: 18px; color: var(--dim); font-size: 14px; text-decoration: none; }
.back:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .aurora i { animation: none; }
}
