* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #f2f3f8;
  --muted: rgba(235, 238, 250, 0.62);
  --faint: rgba(235, 238, 250, 0.38);
  --glass: rgba(16, 18, 32, 0.42);
  --edge: rgba(255, 255, 255, 0.14);
  --edge-lit: rgba(255, 255, 255, 0.38);
  --accent: #8ab6ff;
  --accent2: #b78aff;
  --danger: #ff8f9c;
  --ok: #8fe8b0;
  --r-lg: 28px;
  --r-md: 20px;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh; color: var(--ink); background: #05060d;
  display: flex; flex-direction: column; align-items: center; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Aurora backdrop the glass refracts (pure gradients, no GPU filters) ---- */
.sky {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(52% 46% at 14% 12%, rgba(63, 68, 190, .42) 0%, transparent 100%),
    radial-gradient(46% 42% at 88% 18%, rgba(22, 92, 150, .34) 0%, transparent 100%),
    radial-gradient(50% 44% at 42% 96%, rgba(108, 44, 158, .32) 0%, transparent 100%),
    radial-gradient(30% 28% at 78% 80%, rgba(20, 118, 130, .22) 0%, transparent 100%),
    radial-gradient(120% 90% at 50% 0%, #0b0e22 0%, #05060d 60%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---- Header ---- */
.site-head {
  width: 100%; max-width: 1000px; padding: 1.4rem 1.2rem .4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.brand {
  font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: .01em;
  color: var(--ink); text-decoration: none;
}
.brand span { color: var(--accent2); }
.head-nav { display: flex; gap: .3rem; flex-wrap: wrap; }
.head-nav a {
  color: var(--muted); text-decoration: none; font-size: .86rem; font-weight: 600;
  padding: .42em .9em; border-radius: 999px; border: 1px solid transparent; transition: all .2s;
}
.head-nav a:hover { color: var(--ink); border-color: var(--edge); background: rgba(255,255,255,.05); }

main { width: 100%; max-width: 660px; padding: 1.6rem 1.2rem 3rem; }

h1 {
  font-family: "Unbounded", sans-serif; font-weight: 800; letter-spacing: .01em;
  font-size: clamp(1.9rem, 5.6vw, 2.9rem); text-align: center; line-height: 1.14;
  background: linear-gradient(115deg, #ffffff 20%, #b9c8ff 55%, #e2c6ff 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
}
.legal-h1 { font-size: clamp(1.7rem, 4.6vw, 2.3rem); }
.tagline {
  text-align: center; color: var(--muted); margin: 1rem auto 0; font-size: 1.05rem;
  max-width: 32rem; line-height: 1.6; animation: rise .8s .08s cubic-bezier(.2,.8,.2,1) both;
}
.tagline + .tagline { margin-top: .8rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--faint);
  border: 1px solid var(--edge); border-radius: 999px; padding: .38em 1em;
  background: rgba(255,255,255,.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dot { width: .5em; height: .5em; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- Glass panels ---- */
.card {
  position: relative; border-radius: var(--r-lg); padding: 1.6rem;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 38%), var(--glass);
  backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.04), 0 24px 60px rgba(2,4,14,.55);
  animation: rise .8s .16s cubic-bezier(.2,.8,.2,1) both;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 46%;
  border-radius: var(--r-lg) var(--r-lg) 60% 60%;
  background: linear-gradient(to bottom, rgba(255,255,255,.09), transparent);
  pointer-events: none;
}
.drop {
  position: relative; border: 1.5px dashed rgba(255,255,255,.22); border-radius: var(--r-md);
  padding: 2.4rem 1.2rem; text-align: center; cursor: pointer; overflow: hidden;
  background: rgba(255,255,255,.03); transition: border-color .25s, background .25s, transform .25s;
}
.drop:hover, .drop.over { border-color: var(--accent); background: rgba(138,182,255,.07); transform: translateY(-1px); }
.drop p { color: var(--muted); font-size: .92rem; }
.drop .big { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-bottom: .45rem; }
.preview { max-width: 100%; max-height: 280px; border-radius: 14px; margin: 0 auto; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.45); }

label.check { display: flex; gap: .65rem; align-items: flex-start; margin-top: 1.05rem; color: var(--muted); font-size: .9rem; cursor: pointer; line-height: 1.5; }
label.check input { margin-top: .22rem; width: 1.05em; height: 1.05em; accent-color: var(--accent); flex-shrink: 0; }

button.primary {
  position: relative; width: 100%; margin-top: 1.4rem; padding: 1.05rem; font-size: 1.12rem; font-weight: 800;
  font-family: inherit; letter-spacing: .01em; color: #fff; cursor: pointer; overflow: hidden;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05)), linear-gradient(115deg, rgba(97,120,255,.55), rgba(155,97,255,.55));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 34px rgba(97,110,255,.28);
  transition: transform .15s, box-shadow .25s, opacity .2s;
}
button.primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
button.primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 18px 44px rgba(97,110,255,.4); }
button.primary:hover:not(:disabled)::after { left: 130%; }
button.primary:active:not(:disabled) { transform: translateY(0) scale(.99); }
button.primary:disabled { opacity: .38; cursor: not-allowed; }

.error { color: var(--danger); margin-top: .95rem; text-align: center; min-height: 1.2em; font-size: .95rem; }

.progress { text-align: center; padding: 2.8rem 1rem; }
.orb {
  width: 74px; height: 74px; margin: 0 auto 1.4rem; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.5), rgba(255,255,255,.06) 42%), rgba(255,255,255,.05);
  border: 1px solid var(--edge-lit);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -8px 18px rgba(120,140,255,.25), 0 14px 34px rgba(80,100,255,.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: breathe 2.4s ease-in-out infinite;
}
.orb::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--accent); border-right-color: rgba(183,138,255,.6);
  animation: spin 1.15s linear infinite;
}
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
.stage { color: var(--muted); font-size: 1rem; }

.viewer {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden;
  background: rgba(0,0,0,.4); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 44px rgba(0,0,0,.5);
}
.viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .4s ease; }
.viewer img.show { opacity: 1; }

input.slider { -webkit-appearance: none; appearance: none; width: 100%; margin-top: 1.25rem; height: 14px; border-radius: 999px; background: transparent; cursor: pointer; }
input.slider::-webkit-slider-runnable-track {
  height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(138,182,255,.35), rgba(183,138,255,.35));
  border: 1px solid var(--edge); box-shadow: inset 0 1px 3px rgba(0,0,0,.4);
}
input.slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff, #c9d6ff 70%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 4px 14px rgba(120,140,255,.5), inset 0 -3px 6px rgba(80,90,180,.35);
}
input.slider::-moz-range-track {
  height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(138,182,255,.35), rgba(183,138,255,.35)); border: 1px solid var(--edge);
}
input.slider::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
  background: radial-gradient(circle at 32% 28%, #ffffff, #c9d6ff 70%); box-shadow: 0 4px 14px rgba(120,140,255,.5);
}
.stops { display: flex; justify-content: space-between; margin-top: .55rem; gap: .3rem; }
.stops span {
  color: var(--faint); font-size: .84rem; font-weight: 600; letter-spacing: .02em;
  padding: .28em .9em; border-radius: 999px; border: 1px solid transparent; transition: all .25s; white-space: nowrap;
}
.stops span.active {
  color: #fff; border-color: var(--edge-lit); background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.actions { display: flex; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.actions a, .actions button {
  flex: 1; min-width: 160px; text-align: center; padding: .9rem 1rem; border-radius: 999px; font-size: .98rem;
  font-weight: 700; font-family: inherit; text-decoration: none; cursor: pointer; color: var(--ink);
  border: 1px solid var(--edge); background: rgba(255,255,255,.055);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16); transition: background .2s, transform .15s, border-color .2s;
}
.actions a:hover, .actions button:hover { background: rgba(255,255,255,.11); border-color: var(--edge-lit); transform: translateY(-1px); }
.cardimg { width: 100%; border-radius: var(--r-md); margin-top: 1.4rem; border: 1px solid var(--edge); box-shadow: 0 16px 40px rgba(0,0,0,.45); }

.emailbox { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); }
.emailbox p { color: var(--muted); font-size: .95rem; margin-bottom: .8rem; line-height: 1.55; }
.emailbox b { color: var(--accent); }
.emailrow { display: flex; gap: .6rem; flex-wrap: wrap; }
.emailrow input {
  flex: 1; min-width: 190px; padding: .85rem 1.1rem; border-radius: 999px; border: 1px solid var(--edge);
  background: rgba(0,0,0,.28); color: var(--ink); font-size: .98rem; font-family: inherit;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
}
.emailrow input::placeholder { color: var(--faint); }
.emailrow input:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 1px 3px rgba(0,0,0,.35), 0 0 0 3px rgba(138,182,255,.18); }
.emailrow button {
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04)), rgba(97,120,255,.4);
  color: #fff; font-weight: 800; font-family: inherit; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35); transition: transform .15s, background .2s;
}
.emailrow button:hover { transform: translateY(-1px); }

/* ---- Editorial content ---- */
.content { margin-top: 2.6rem; }
.prose { margin-bottom: 2.2rem; }
.prose h2 {
  font-family: "Unbounded", sans-serif; font-weight: 600; font-size: clamp(1.15rem, 3.4vw, 1.4rem);
  color: var(--ink); margin-bottom: .85rem; line-height: 1.3;
}
.prose p { color: var(--muted); line-height: 1.75; margin-bottom: .95rem; font-size: 1.01rem; }
.prose ul { list-style: none; margin: .3rem 0 1rem; }
.prose li {
  color: var(--muted); line-height: 1.7; margin-bottom: .75rem; padding-left: 1.5rem; position: relative; font-size: 1.01rem;
}
.prose li::before {
  content: ""; position: absolute; left: .3rem; top: .68em; width: .42em; height: .42em; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.prose a { color: var(--accent); }

.faq-item {
  border: 1px solid var(--edge); border-radius: var(--r-md); margin-bottom: .7rem;
  background: rgba(255,255,255,.035); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden; transition: border-color .2s, background .2s;
}
.faq-item[open] { border-color: var(--edge-lit); background: rgba(255,255,255,.055); }
.faq-item summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink); font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); flex-shrink: 0; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 1.2rem 1.1rem; line-height: 1.7; margin: 0; font-size: .98rem; }

.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; }
.rel-card {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md);
  border: 1px solid var(--edge); background: rgba(255,255,255,.04); text-decoration: none;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12); transition: transform .18s, border-color .2s, background .2s;
}
.rel-card:hover { transform: translateY(-2px); border-color: var(--edge-lit); background: rgba(255,255,255,.075); }
.rel-title { font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.rel-desc { color: var(--faint); font-size: .87rem; line-height: 1.5; }

.privacy-note { text-align: center; color: var(--faint); font-size: .84rem; margin-top: 2rem; line-height: 1.6; }

.site-foot { width: 100%; max-width: 900px; padding: 1rem 1.2rem 2.5rem; text-align: center; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin-bottom: 1.2rem; }
.foot-nav a {
  color: var(--faint); text-decoration: none; font-size: .84rem; padding: .38em .85em; border-radius: 999px;
  border: 1px solid transparent; transition: all .2s;
}
.foot-nav a:hover { color: var(--ink); border-color: var(--edge); background: rgba(255,255,255,.05); }
.foot-legal { color: var(--faint); font-size: .84rem; }
.foot-legal a { color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.foot-legal a:hover { color: var(--ink); }

.hidden { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .orb::after { animation: none !important; }
  h1, .tagline, .card { animation: none !important; }
  * { transition-duration: .01ms !important; }
}
