/* taubey.com – shared look for every page (home, hub, later nyra) */
:root {
  --bg: #000;
  --text: #e4e4e7;
  --muted: rgba(255, 255, 255, .68);
  --dim: rgba(255, 255, 255, .5);
  --v1: #7c5cff;
  --v2: #b09cff;
  --v3: #5232f0;
  /* the same accent as r, g, b – for rgba(var(--a1), .3) glows; a page can switch all of it via data-theme */
  --a1: 124, 92, 255;
  --a2: 176, 156, 255;
  --a3: 220, 210, 255;
  --h1a: #f1ecff; --h1b: #9a80ff; --h1c: #d8ccff; --h2b: #d9d0ff;
  --ok: #3ee08f;
  --glass:
    inset 8px 8px 16px rgba(255, 255, 255, .01),
    inset -8px -8px 16px rgba(0, 0, 0, .3),
    inset 0 0 10px 4px rgba(255, 255, 255, .035),
    0 4px 16px rgba(17, 17, 26, .05),
    0 8px 32px rgba(17, 17, 26, .05);
  --hair: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04) 38%, rgba(var(--a2), .14));
  --ease: cubic-bezier(.22, 1, .36, 1);
}
/* Nyra's magenta (same colours as the app) – <html data-theme="magenta">, site.js tints the ribbon to match */
:root[data-theme="magenta"] {
  --v1: #c21fb3; --v2: #ee6ae2; --v3: #8a0f80;
  --a1: 194, 31, 179;
  --a2: 238, 106, 226;
  --a3: 250, 205, 244;
  --h1a: #ffeefc; --h1b: #e04fd0; --h1c: #f8cdf2; --h2b: #f6d3f1;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: radial-gradient(1100px 560px at 50% -140px, rgba(var(--a1), .14), transparent 70%), var(--bg);
  background-repeat: no-repeat; color: var(--text);
  font: 500 16px/1.5 Outfit, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--v2); outline-offset: 3px; border-radius: 12px; }
::selection { background: rgba(var(--a1), .45); color: #fff; }

/* glass, with a hairline edge that is lighter on top */
.glass {
  position: relative;
  background: rgba(0, 0, 0, .15);
  box-shadow: var(--glass);
  -webkit-backdrop-filter: blur(10px) brightness(1.05);
  backdrop-filter: blur(10px) brightness(1.05);
}
.glass::before, .navpill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--hair);
  -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 light that follows the pointer over a surface */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--a2), .13), transparent 62%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::after { opacity: 1; }

/* icons that draw themselves when their block comes in */
.draw { stroke-dasharray: 120; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--d, 0s) + .25s), color .3s, filter .3s; }
.rv:not(.in) .draw { stroke-dashoffset: 120; }

@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- top line ---------- */
.announce {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 8px 16px; font-size: 14px; font-weight: 700; color: #fff;
  animation: fadeDown .9s var(--ease) both;
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } }
.announce .lbl { display: inline-flex; align-items: center; gap: 6px; }
.announce .lbl .i { width: 17px; height: 17px; fill: currentColor; stroke: none; color: var(--v2); }
.codepill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 8px; background: #000;
  font: 600 13px/1 "JetBrains Mono", ui-monospace, monospace; color: #fff; transition: background .25s, color .25s, box-shadow .25s;
}
.codepill .i { width: 15px; height: 15px; }
.codepill:hover { background: #fff; color: #000; box-shadow: 0 0 24px rgba(var(--a2), .45); }
.announce .tail { color: var(--muted); font-weight: 600; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 10px; z-index: 50; height: 60px; margin-top: 4px;
  pointer-events: none; animation: fadeDown 1s .1s var(--ease) both;
}
.top .wrap { position: relative; height: 100%; }
.brand {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px; pointer-events: auto;
  font-size: 30px; font-weight: 800; letter-spacing: -1px; color: #fff;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.logo { width: 38px; height: 38px; display: block; }
.navpill {
  position: absolute; right: 20px; top: 50%; transform: translate(0, -50%);
  display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 14px; border-radius: 999px;
  pointer-events: auto; white-space: nowrap;
  background: rgba(10, 9, 16, .55);
  box-shadow: var(--glass), 0 10px 40px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  transition: right .7s var(--ease), transform .7s var(--ease);
}
.navpill > * { position: relative; z-index: 1; }
.navpill .nav-ind {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 99px;
  background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  opacity: 0; pointer-events: none;
  transition: left .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.navpill .mini {
  display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -.5px;
  margin-right: 10px;
}
.navpill .mini .logo { width: 24px; height: 24px; }
.navpill .mini span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .7s var(--ease), opacity .4s; }
.navpill a.lnk { padding: 8px 13px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); border-radius: 999px; transition: color .25s; }
.navpill a.lnk:hover, .navpill a.lnk.on { color: #fff; }
.top.scrolled .brand { opacity: 0; transform: translate(-12px, -50%); pointer-events: none; }
.top.scrolled .navpill { right: 50%; transform: translate(50%, -50%); }
.top.scrolled .navpill .mini span { max-width: 90px; opacity: 1; }

.btn-white, .btn-glass {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 50px; font-weight: 700; transition: transform .35s var(--ease), box-shadow .35s, background .35s;
}
.btn-white { background: #fff; color: #000; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-white::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(var(--a1), .28) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .8s var(--ease);
}
.btn-white:hover::after { transform: translateX(110%); }
.btn-white.sm { padding: 10px 18px; font-size: 14px; border-radius: 24px; }
.btn-white.lg { padding: 18px 32px; font-size: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-white.lg:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(var(--a1), .38), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-glass.lg { padding: 18px 32px; font-size: 18px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .3); }
.btn-glass.lg:hover { transform: translateY(-2px); background: rgba(var(--a1), .12); box-shadow: var(--glass), 0 0 34px rgba(var(--a1), .25); }
.btn-white .i, .btn-glass .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn-white:hover .i, .btn-glass:hover .i { transform: translateX(3px); }

/* ---------- ribbon ---------- */
.rb-wrap { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 2s ease; }
.rb-wrap.ready { opacity: 1; }
.rb-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rb-wrap .rb-glow { filter: blur(34px) saturate(1.4); opacity: .7; mix-blend-mode: screen; }

/* ---------- hero ---------- */
.hero { position: relative; overflow-x: clip; }
.hero .rb-wrap { top: -50px; height: 780px; -webkit-mask-image: linear-gradient(#000 46%, transparent 78%); mask-image: linear-gradient(#000 46%, transparent 78%); }
.hero-text { position: relative; z-index: 2; text-align: center; padding: 34px 20px 0; }
.crumb {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 7px 14px 7px 10px; border-radius: 99px;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); transition: background .25s, color .25s;
}
.crumb .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.crumb:hover { background: rgba(var(--a1), .15); color: #fff; }
.crumb:hover .i { transform: translateX(-3px); }
.pre { font-size: 22px; font-weight: 400; color: rgba(255, 255, 255, .66); letter-spacing: -.2px; }
.h1 {
  margin: 4px auto 0; max-width: 1000px;
  font-size: clamp(54px, 10.4vw, 112px); line-height: 1.04; font-weight: 900; letter-spacing: -.035em;
  background-image:
    linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .9) 50%, transparent 58%),
    linear-gradient(#fff 0%, var(--h1a) 46%, var(--h1b) 80%, var(--h1c) 100%);
  background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; background-position: 170% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(var(--a1), .35));
  animation: h1in 1.5s .15s var(--ease) both, sheen 8s 2.4s ease-in-out infinite;
}
@keyframes h1in {
  from { opacity: 0; transform: translateY(22px) scale(.97); letter-spacing: .01em; filter: blur(14px) drop-shadow(0 0 30px rgba(var(--a1), 0)); }
  to { opacity: 1; transform: none; letter-spacing: -.035em; filter: blur(0) drop-shadow(0 0 30px rgba(var(--a1), .35)); }
}
@keyframes sheen { 0% { background-position: 170% 0, 0 0; } 28%, 100% { background-position: -70% 0, 0 0; } }
.sub {
  margin: 22px auto 0; max-width: 580px;
  font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; font-weight: 400; color: rgba(255, 255, 255, .7); letter-spacing: -.2px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .7);
  position: relative;
}
/* a quiet dark veil behind the line, so the tube never fights the words */
.sub::before {
  content: ""; position: absolute; inset: -26px -60px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, .3) 60%, transparent);
}
.feat h3, .feat p { text-shadow: 0 1px 16px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .6); }
.show { position: relative; z-index: 2; margin-top: 64px; }
.show-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }

.feats { display: grid; gap: 34px; }
.feat { display: grid; grid-template-columns: 50px 1fr; gap: 0 16px; }
.feat .i { width: 40px; height: 40px; stroke-width: 1.5; color: #fff; grid-row: span 2; }
.feat:hover .i { color: var(--v2); filter: drop-shadow(0 0 12px rgba(var(--a1), .7)); }
.feat h3 { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.25; }
.feat p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .58); }

.cta-row { position: relative; z-index: 2; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 76px 20px 0; }

/* little UI bits the mock-ups share */
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 13.5px; font-weight: 600; color: #fff; }
.tg { width: 38px; height: 21px; border-radius: 99px; background: rgba(255, 255, 255, .12); position: relative; flex: none; transition: background .35s, box-shadow .35s; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: left .45s cubic-bezier(.34, 1.56, .64, 1); }
.tg.on { background: linear-gradient(90deg, var(--v1), var(--v2)); box-shadow: 0 0 12px rgba(var(--a1), .55); }
.tg.on::after { left: 20px; }

/* ---------- sections ---------- */
.sec { position: relative; padding: 140px 0 40px; }
.sec-head { text-align: center; margin-bottom: 68px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--v2);
  background: rgba(var(--a1), .1); box-shadow: inset 0 0 0 1px rgba(var(--a2), .22);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--v2); box-shadow: 0 0 10px var(--v2); }
.h2 {
  margin-top: 16px; font-size: clamp(38px, 5.6vw, 58px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 30%, var(--h2b)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head p { margin: 14px auto 0; max-width: 540px; font-size: 18px; font-weight: 400; color: var(--muted); }
.chip {
  position: absolute; z-index: 3; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #fff;
  background: rgba(0, 0, 0, .45); box-shadow: var(--glass), inset 0 0 0 1px rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2.4s ease-in-out infinite; }
.chip.beta::before { background: #ffc24b; box-shadow: 0 0 8px #ffc24b; }
.chip.soon::before { background: var(--v2); box-shadow: 0 0 8px var(--v2); }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- faq ---------- */
.faq { position: relative; padding: 150px 0 40px; overflow-x: clip; }
.faq .rb-wrap { top: 10px; height: 420px; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent); }
.faq-title { position: relative; z-index: 2; text-align: center; padding: 70px 0 90px; }
.faq-title .h2 {
  margin: 0; background: radial-gradient(circle, #fff 0%, #efefef 80%, #e3e3e3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, .6));
}
.faq-list { position: relative; z-index: 2; display: grid; gap: 14px; }
.qa { border-radius: 36px; overflow: hidden; transition: background .35s, transform .35s var(--ease); }
.qa:hover { transform: translateY(-1px); }
.qa.open { background: rgba(var(--a1), .07); }
.qa > button {
  position: relative; z-index: 3;
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 28px; text-align: left; font-size: 18px; font-weight: 600; color: #fff;
}
.qa > button .i { width: 20px; height: 20px; color: rgba(255, 255, 255, .7); transition: transform .5s var(--ease), color .3s; }
.qa.open > button .i { transform: rotate(180deg); color: var(--v2); }
.qa .ans { position: relative; z-index: 3; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 28px 24px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .64); max-width: 860px; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.qa.open .ans p { opacity: 1; transform: none; transition-delay: .08s; }
.inl { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 3px 10px; border-radius: 99px; font-size: 14px; font-weight: 700; color: #fff; background: rgba(var(--a1), .25); box-shadow: inset 0 0 0 1px rgba(var(--a2), .4); transition: background .25s; }
.inl .i { width: 14px; height: 14px; }
.inl:hover { background: rgba(var(--a1), .42); }

/* ---------- last call ---------- */
.final { position: relative; padding: 170px 20px 140px; text-align: center; }
.final::before {
  content: ""; position: absolute; left: 50%; top: 60px; width: min(900px, 90%); height: 120px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--a2), .22), transparent 70%);
  filter: blur(10px); animation: breathe 6s ease-in-out infinite;
}
.final::after {
  content: ""; position: absolute; left: 50%; top: 118px; width: min(760px, 80%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(var(--a3), .55), transparent);
}
@keyframes breathe { 50% { opacity: .55; } }
.final .h2 { font-size: clamp(36px, 5.4vw, 56px); }
.final p { margin: 18px auto 0; max-width: 540px; font-size: 18px; font-weight: 400; color: var(--muted); }
.final .cta-row { padding-top: 36px; }

/* ---------- footer ---------- */
footer { position: relative; overflow: hidden; padding: 20px 0 0; }
.foot-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.6px; }
.foot-brand .logo { width: 32px; height: 32px; }
.foot-grid p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .58); max-width: 260px; }
.foot-grid h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid li a, .foot-grid li button { font-size: 14px; color: rgba(255, 255, 255, .58); transition: color .25s; padding: 0; }
.foot-grid li a:hover, .foot-grid li button:hover { color: #fff; }
.foot-grid li .soon-tag { margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--v2); }
.foot-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; color: rgba(255, 255, 255, .5); }
.foot-bottom a:hover { color: #fff; }
.bigword {
  position: absolute; left: 50%; bottom: -0.2em; transform: translateX(-50%); z-index: 0; pointer-events: none; user-select: none;
  font-size: clamp(120px, 24vw, 320px); font-weight: 900; letter-spacing: -.05em; line-height: 1; white-space: nowrap;
  background: linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translate(-50%, 20px) scale(.96); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 99px; font-weight: 700; color: #fff;
  background: rgba(20, 16, 34, .72); box-shadow: var(--glass), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 40px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: opacity .3s, transform .5s var(--ease);
}
.toast .i { width: 18px; height: 18px; color: var(--ok); }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; filter: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .show-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .feats { grid-template-columns: 1fr 1fr; gap: 34px 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .navpill a.lnk { display: none; }
  .navpill { padding-left: 12px; }
  .brand { font-size: 26px; } .brand .logo { width: 32px; height: 32px; }
  .announce .tail { display: none; }
  .feats { grid-template-columns: 1fr; }
  .qa > button { padding: 20px 22px; font-size: 16px; }
  .qa .ans p { padding: 0 22px 22px; font-size: 15px; }
  .btn-white.lg, .btn-glass.lg { padding: 16px 24px; font-size: 16px; }
  .hero .rb-wrap { height: 640px; }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; filter: none; }
  .draw { stroke-dashoffset: 0 !important; }
  html { scroll-behavior: auto; }
}
