:root {
  --bg: #0b0412; --bg2: #14061f; --ink: #fff5fa; --mute: rgba(255,245,250,.66); --line: rgba(255,255,255,.12);
  --pink: #ff4d8d; --violet: #8b5cf6; --peach: #ffb86b; --glass: rgba(255,255,255,.06);
  --grad: linear-gradient(135deg, #ff4d8d 0%, #c45cff 60%, #8b5cf6 100%);
  --display: "Fraunces", Georgia, serif; --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --r: 22px; --max: 1180px;
  --ease: cubic-bezier(.2,.8,.2,1); --glass2: rgba(255,255,255,.045); --line2: rgba(255,255,255,.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.grain::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  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"); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; min-height: 50px;
  background: var(--grad); color: #fff; box-shadow: 0 14px 34px -10px rgba(255,77,141,.7), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 44px -12px rgba(255,77,141,.85), inset 0 1px 0 rgba(255,255,255,.35); }
.btn:active { transform: scale(.97); }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -80%; } 100% { left: 160%; } }
.btn.ghost { background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); }
.btn.ghost::after { display: none; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.lg { padding: 18px 34px; font-size: 17px; }


h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--peach); backdrop-filter: blur(8px); }
.grad-text { background: linear-gradient(120deg, #ff7aa8, #ffb86b 45%, #c9a0ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); z-index: 200; padding: 12px 20px; border-radius: 14px; background: #fff; color: #1b0933; font-weight: 600; font-size: 14px; opacity: 0; transition: .3s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #ff4d6d; color: #fff; }

@media (prefers-reduced-motion: reduce) { .btn::after { animation: none; } html { scroll-behavior: auto; } }

/* ----- brand lockup: the ONE definition used by every page (markup comes from views/_partials/brand-logo.html) ----- */
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1; color: inherit; }
.brand .mark { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 6px 14px rgba(255,61,133,.55)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.1); }
.brand .wm i { font-style: italic; background: linear-gradient(120deg, #ff6b9d, #ffb86b); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.adminTag { margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,.1); vertical-align: middle; }

/* ===== shared site chrome: navigation pill, footer, skip link, icons. ONE definition for every page ===== */
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: #fff; color: #12051f; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; } .skip:focus { top: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.wrap { width: min(1200px, 100% - 40px); }
.narrow { max-width: 820px; }
/* ----- nav: floating glass pill ----- */
nav.top { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 90; display: flex; justify-content: center; padding: 0 14px; pointer-events: none; background: none !important; border: 0 !important; backdrop-filter: none !important; }
.navpill { pointer-events: auto; display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(18,5,31,.55); border: 1px solid var(--line2); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 18px 50px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); transition: .35s var(--ease); }
nav.top.scrolled .navpill { background: rgba(14,4,24,.78); box-shadow: 0 22px 60px -18px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,77,141,.12); }
.navpill .links { display: flex; gap: 4px; font-size: 14px; font-weight: 600; color: var(--mute); }
.navpill .links a { padding: 9px 13px; border-radius: 99px; transition: .2s; } .navpill .links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn.sm { padding: 10px 18px; min-height: 42px; font-size: 14px; }
.btn .from { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.22); }
.btn.mag { transition: transform .25s var(--ease), box-shadow .25s; will-change: transform; }
@media (max-width: 860px) { .navpill .links { display: none; } .navpill { gap: 14px; } }

footer { border-top: 1px solid var(--line2); padding: 60px 0 100px; color: var(--mute); font-size: 14.5px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand p { margin-top: 14px; max-width: 34ch; line-height: 1.6; }
.foot-col { display: grid; gap: 10px; align-content: start; } .foot-col b { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; } .foot-col a { transition: color .2s; width: fit-content; } .foot-col a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line2); font-size: 13px; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }


/* ----- ambient background for pages that are not the landing ----- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(110px); opacity: .4; }
.aurora i:nth-child(1) { background: #ff2d7a; left: -24vmax; top: -26vmax; opacity: .3; } .aurora i:nth-child(2) { background: #6d28d9; right: -26vmax; top: 6vmax; } .aurora i:nth-child(3) { display: none; }

/* ----- legal / info pages ----- */
.legal-page { position: relative; z-index: 2; padding: 130px 0 40px; }
.legal { width: min(780px, 100% - 40px); margin-inline: auto; }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 600; margin-bottom: 8px; line-height: 1.02; }
.legal .note { color: var(--mute); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 24px; margin: 34px 0 8px; font-weight: 600; }
.legal p, .legal li { color: var(--mute); font-size: 16.5px; line-height: 1.7; }
.legal p + p { margin-top: 10px; } .legal ul { margin: 8px 0 8px 22px; display: grid; gap: 6px; }
.legal a.u { color: var(--peach); text-decoration: underline; text-underline-offset: 3px; }
.legal .box { margin-top: 26px; padding: 22px 24px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.legal-page + footer { margin-top: 60px; }

/* ----- keyboard focus: always visible, never ugly ----- */
:focus { outline: none; }
:focus-visible { outline: 3px solid #ff8fb8; outline-offset: 3px; border-radius: 10px; }
.btn:focus-visible, .brand:focus-visible { outline-offset: 4px; border-radius: 999px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 2px; }

/* ----- touch + device basics ----- */
a, button, [role="button"], summary, label { touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 760px) { .grain::before { display: none; } input, textarea, select { font-size: 16px !important; } }   /* 16px stops iPhones zooming in when a box is tapped */
@media (min-width: 1700px) { :root { --max: 1320px; } .wrap { width: min(1320px, 100% - 80px); } }

/* ----- comfortable tap targets on touch screens (44px is the standard) ----- */
@media (max-width: 900px) {
  .brand { padding: 7px 0; min-height: 44px; }
  footer .foot-col a, footer .foot-base a { padding: 11px 0; display: inline-flex; align-items: center; min-height: 44px; }
  .foot-col { gap: 0; } .foot-col b { margin-bottom: 8px; }
  .navpill .btn.sm { min-height: 44px; }
}
