/* ═══════════════════════════════════════════════════════════════════════════════
   LinkLore — marketing site
   The app's own language: night sky, ember → gold → starlight → sky gradients,
   chains of blocks, the marquee. Self-contained: system fonts, zero CDNs.
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
  --night:   #0B0E14;
  --night-2: #10141E;
  --panel:   #131A28;
  --panel-2: #182134;
  --line:    #24304A;
  --ink:     #F2F5FA;
  --muted:   #9FB0C8;
  --dim:     #64748E;
  --ember:   #E1662B;
  --ember-2: #FF8A50;
  --gold:    #FFD98C;
  --star:    #F6FAFF;
  --sky:     #5A9BE8;
  --sky-2:   #9CC5FF;
  --green:   #58D62A;
  --radius:  16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: rgba(225, 102, 43, .45); }

a { color: var(--sky-2); text-decoration: none; }
a:hover { color: var(--star); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── the sky ──────────────────────────────────────────────────────────────── */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 500px at 18% -8%, rgba(90, 155, 232, .16), transparent 60%),
    radial-gradient(900px 480px at 85% 4%, rgba(225, 102, 43, .13), transparent 60%),
    radial-gradient(700px 700px at 55% 110%, rgba(90, 155, 232, .08), transparent 60%),
    var(--night);
}
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.stars span {
  position: absolute; display: block; border-radius: 50%;
  background: var(--star); opacity: .35;
  animation: twinkle 3.2s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .12; } to { opacity: .6; } }

/* ── nav ──────────────────────────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 20, .78);
  border-bottom: 1px solid rgba(36, 48, 74, .6);
}
.nav { display: flex; align-items: center; gap: 34px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: .3px; color: var(--ink); }
.brand .coin {
  width: 30px; height: 30px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--ember), var(--gold), var(--sky), var(--ember));
  box-shadow: 0 0 14px rgba(225, 102, 43, .55);
}
/* The app's own wordmark colours (MainWindow.xaml): blue Link, orange Lore, heavy type —
   ONE word, no gap (the .mark wrapper keeps the flex gap from splitting it). */
.brand .mark { color: #2D6CDF; font-weight: 900; letter-spacing: .2px; }
.brand .mark b, .brand b { color: #E1662B; font-weight: 900; }
.nav .links { display: flex; gap: 26px; margin-left: 8px; }
.nav .links a { color: var(--muted); font-size: 15px; font-weight: 600; }
.nav .links a:hover, .nav .links a.on { color: var(--ink); }
.nav .cta { margin-left: auto; }

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .2px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer; border: 0;
}
.btn.fire {
  color: #fff;
  background: linear-gradient(135deg, var(--ember) 0%, #F08A3C 100%);
  box-shadow: 0 6px 26px rgba(225, 102, 43, .38);
}
.btn.fire:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(225, 102, 43, .55); color: #fff; }
.btn.ghost {
  color: var(--ink); background: rgba(24, 33, 52, .6);
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: var(--panel-2); transform: translateY(-2px); color: var(--ink); }
.btn.small { padding: 9px 18px; font-size: 14px; }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: 96px 0 40px; text-align: center; position: relative; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  color: var(--gold); background: rgba(255, 217, 140, .08);
  border: 1px solid rgba(255, 217, 140, .25); letter-spacing: .4px;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: twinkle 1.6s ease-in-out infinite alternate; }
h1.mega {
  margin: 26px auto 18px; max-width: 900px;
  font-size: clamp(44px, 7vw, 78px); line-height: 1.06; font-weight: 900; letter-spacing: -1.5px;
}
.gradient-text {
  background: linear-gradient(92deg, var(--ember-2) 0%, var(--gold) 30%, var(--star) 50%, var(--sky-2) 72%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { max-width: 760px; margin: 0 auto 34px; color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); }
.hero .sub b { color: var(--ink); }
.hero .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 16px; color: var(--dim); font-size: 14px; }

/* spectrum underline — the marquee's */
.spectrum {
  width: 190px; height: 4px; border-radius: 2px; margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--ember) 22%, var(--gold) 45%, var(--sky-2) 62%, var(--sky) 80%, transparent);
}

/* ── the app mock ─────────────────────────────────────────────────────────── */
.mockwrap { margin: 64px auto 0; max-width: 1060px; perspective: 1400px; }
.mock {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  background: #F1EFE8;  /* the app's warm paper */
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(90,155,232,.08), 0 0 80px rgba(225, 102, 43, .12);
  transform: rotateX(4deg);
  color: #2C2C2A; text-align: left; font-size: 13px;
}
.mock .titlebar {
  background: #101319; color: #E8EDF4; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-weight: 700; font-size: 14px;
}
.mock .titlebar .ll b { color: #FF8A50; }
.mock .titlebar .ll i { color: #5A9BE8; font-style: normal; }
.mock .titlebar .tag { color: #64748E; font-weight: 500; font-size: 12px; }
.mock .recallbar {
  margin: 12px 16px 8px; background: #FFFDF4; border: 1.6px solid #E4B54C; border-radius: 12px;
  padding: 10px 16px; display: flex; align-items: center; gap: 10px; font-size: 14px;
}
.mock .recallbar .q { color: #185FA5; font-weight: 700; }
.mock .recallbar .type { color: #2C2C2A; }
.mock .recallbar .type::after { content: "▍"; color: var(--ember); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mock .favrow { display: flex; gap: 8px; padding: 2px 16px 10px; }
.pillfav {
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; color: #D6DEEA;
  background: #1B2433; border: 1px solid rgba(94, 150, 214, .5); display: flex; align-items: center; gap: 6px;
}
.pillfav i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; font-style: normal; }
.mock .favband { background: #0F1420; margin: 0 0 0 0; padding: 4px 0 8px; }
.mock .chaincard {
  margin: 8px 16px; border: 3px solid #7B5CE6; border-radius: 14px; background: #fff;
  padding: 18px 14px 12px; position: relative;
}
.mock .chaincard .legend {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #fff; border: 2px solid #7B5CE6; color: #6a4de0; border-radius: 9px;
  font-size: 11.5px; font-weight: 800; padding: 2px 14px; white-space: nowrap;
}
.blockrow { display: flex; gap: 10px; overflow: hidden; }
.block {
  min-width: 108px; background: #fff; border: 1px solid #DAD8CE; border-radius: 10px;
  padding: 10px 8px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.06);
  font-size: 10.5px; color: #6b6b66;
}
.block .ic { font-size: 22px; margin-bottom: 6px; }
.block b { display: block; color: #2C2C2A; font-size: 11px; margin-bottom: 2px; }
.block.green { background: #E4F7D7; border: 1.6px solid #43B02A; box-shadow: 0 0 0 4px rgba(88, 214, 42, .18); }
.mock .marquee {
  margin: 10px 16px 6px; text-align: center; padding: 7px 0 9px; border-radius: 10px;
  background: linear-gradient(90deg, transparent, #141C2E 25%, #182438 50%, #141C2E 75%, transparent);
}
.mock .marquee .mtext {
  font-weight: 900; font-size: 13px; letter-spacing: 4px;
  background: linear-gradient(92deg, #FF9A5C, #FFD98C 32%, #F6FAFF 50%, #9CC5FF 70%, #5A9BE8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 12px; margin: 0 10px; }
.eq i { width: 3px; border-radius: 2px; display: inline-block; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(1) { background: #E1662B; height: 5px; animation-duration: .8s; }
.eq i:nth-child(2) { background: #FFC46B; height: 10px; animation-duration: 1.15s; }
.eq i:nth-child(3) { background: #5A9BE8; height: 7px; animation-duration: .7s; }
.eq i:nth-child(4) { background: #F2F7FF; height: 9px; animation-duration: 1.3s; }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.mock .strip { display: flex; gap: 10px; background: #0D0D0D; margin: 0 16px 16px; border-radius: 12px; padding: 12px; }
.tile {
  min-width: 150px; height: 92px; border-radius: 9px; position: relative; overflow: hidden;
  color: #E8EDF4; font-size: 10px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  background: #16181d; border: 1px solid #24262c;
}
.tile.movie { border: 2px solid #E1662B; background: linear-gradient(160deg, #1a2743, #0c101c 70%); }
.tile.movie .scene { font-size: 24px; }
.tile.movie .bar { position: absolute; bottom: 6px; left: 8px; right: 8px; height: 4px; border-radius: 2px; background: #26314b; }
.tile.movie .bar i { display: block; height: 100%; width: 42%; border-radius: 2px; background: var(--ember); animation: progress 7s linear infinite; }
@keyframes progress { from { width: 20%; } to { width: 82%; } }
.tile.vinyl { background: linear-gradient(160deg, #131722, #0b0e15); border: 2px solid #E1662B; }
.disc {
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #E1662B 0 18%, #10131b 19% 45%, #232833 46% 60%, #0a0d13 61%);
  animation: spin 3.4s linear infinite;
  box-shadow: 0 0 14px rgba(225, 102, 43, .3);
}
@keyframes spin { to { transform: rotate(360deg); } }
.tile .cap { color: #AFC0D6; }

/* ── sections ─────────────────────────────────────────────────────────────── */
section.band { padding: 96px 0; }
section.band.tight { padding: 64px 0; }
.center { text-align: center; }
h2.title { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; letter-spacing: -0.8px; line-height: 1.12; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 19px; max-width: 780px; }
.center .lead { margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase; color: var(--ember-2); margin-bottom: 14px; }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.stat {
  background: rgba(19, 26, 40, .65); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
}
.stat .n { font-size: 34px; font-weight: 900; letter-spacing: -1px; }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* feature grid */
.grid { display: grid; gap: 22px; margin-top: 54px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, rgba(24, 33, 52, .7), rgba(16, 20, 30, .8));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); border-color: #35507e; box-shadow: 0 18px 50px rgba(0, 0, 0, .4); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 25px; margin-bottom: 18px;
  background: rgba(225, 102, 43, .12); border: 1px solid rgba(225, 102, 43, .3);
}
.card.blue .ic { background: rgba(90, 155, 232, .12); border-color: rgba(90, 155, 232, .35); }
.card.gold .ic { background: rgba(255, 217, 140, .1); border-color: rgba(255, 217, 140, .3); }
.card.green .ic { background: rgba(88, 214, 42, .1); border-color: rgba(88, 214, 42, .3); }
.card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.3px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; }

/* versus table */
.versus {
  margin-top: 54px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: rgba(16, 20, 30, .7);
}
.versus table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.versus th, .versus td { padding: 17px 22px; text-align: left; border-bottom: 1px solid rgba(36, 48, 74, .5); }
.versus th { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.versus th.ll { color: var(--gold); }
.versus tr:last-child td { border-bottom: 0; }
.versus td.yes { color: var(--green); font-weight: 700; }
.versus td.no { color: #F2837A; }
.versus td:first-child { color: var(--muted); }

/* quote band */
.quoteband { text-align: center; max-width: 900px; margin: 0 auto; }
.quoteband blockquote { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.5px; line-height: 1.35; }
.quoteband cite { display: block; margin-top: 18px; color: var(--dim); font-style: normal; font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.plan {
  background: linear-gradient(180deg, rgba(24, 33, 52, .7), rgba(16, 20, 30, .85));
  border: 1px solid var(--line); border-radius: 20px; padding: 36px 30px; position: relative;
  display: flex; flex-direction: column;
}
.plan.star { border: 1.6px solid rgba(225, 102, 43, .65); box-shadow: 0 0 60px rgba(225, 102, 43, .14); }
.plan .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ember), #F08A3C); color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 16px; border-radius: 999px; letter-spacing: .6px; white-space: nowrap;
}
.plan h3 { font-size: 22px; }
.plan .who { color: var(--dim); font-size: 14px; margin: 2px 0 18px; }
.plan .price { font-size: 44px; font-weight: 900; letter-spacing: -1.5px; }
.plan .price span { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 30px; position: relative; color: var(--muted); font-size: 15.5px; }
.plan li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); }
.plan li b { color: var(--ink); }
.plan .btn { text-align: center; }

/* about / careers */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.role {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(19, 26, 40, .65); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 26px; margin-top: 14px; transition: border-color .2s ease, transform .2s ease;
}
.role:hover { border-color: #35507e; transform: translateX(4px); }
.role .t b { font-size: 17px; }
.role .t span { display: block; color: var(--dim); font-size: 14px; margin-top: 2px; }
.lawcard {
  border-left: 3px solid var(--ember); background: rgba(225, 102, 43, .06);
  border-radius: 0 14px 14px 0; padding: 22px 26px; margin-top: 18px;
}
.lawcard b { color: var(--gold); }
.lawcard p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* big cta */
.bigcta {
  margin: 40px auto 0; text-align: center; border-radius: 26px; padding: 74px 40px;
  background:
    radial-gradient(600px 260px at 50% -30%, rgba(225, 102, 43, .22), transparent 70%),
    linear-gradient(180deg, rgba(24, 33, 52, .8), rgba(13, 17, 26, .9));
  border: 1px solid var(--line);
}
.bigcta h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: -.8px; }
.bigcta p { color: var(--muted); margin: 14px 0 30px; }

/* footer */
footer.site {
  margin-top: 110px; border-top: 1px solid rgba(36, 48, 74, .6);
  background: rgba(11, 14, 20, .8); padding: 60px 0 40px; font-size: 14.5px;
}
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot .col b { display: block; color: var(--ink); margin-bottom: 14px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.foot .col a { display: block; color: var(--muted); padding: 4px 0; }
.foot .col a:hover { color: var(--star); }
.foot .blurb { color: var(--dim); margin-top: 12px; max-width: 300px; }
.legalrow { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(36, 48, 74, .45); color: var(--dim); font-size: 13.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── the glance: hover-preview mock ───────────────────────────────────────── */
.glance { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; margin-top: 54px; }
.glancemock { position: relative; padding-top: 150px; }
.gm-row { display: flex; gap: 10px; background: #F1EFE8; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.gm-row .block { min-width: 96px; }
.gm-row .block.hot { border: 2px solid #185FA5; box-shadow: 0 0 0 4px rgba(24, 95, 165, .18); transform: translateY(-3px); }
.gm-pop {
  position: absolute; left: 6%; right: 6%; top: 0; z-index: 2;
  background: #FFFFFF; border: 2.5px solid #185FA5; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  color: #2C2C2A; font-size: 12px;
  animation: popfloat 4.2s ease-in-out infinite alternate;
}
@keyframes popfloat { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.gm-pop .head { display: flex; align-items: center; background: #14161C; color: #F2F4F8; padding: 7px 12px; font-size: 11.5px; }
.gm-pop .head .chip { display: flex; align-items: center; gap: 6px; color: #9FB3CC; font-weight: 700; }
.gm-pop .head .chip i { width: 8px; height: 8px; border-radius: 50%; background: #55B07E; display: inline-block; }
.gm-pop .head .btitle { flex: 1; text-align: center; font-weight: 800; font-size: 12.5px; }
.gm-pop .body { padding: 14px 16px; background: repeating-linear-gradient(0deg, #fff 0 15px, #F4F2EA 15px 16px); min-height: 118px; }
.gm-pop .body .line { height: 8px; border-radius: 4px; background: #DAD8CE; margin: 8px 0; }
.gm-pop .body .line.w60 { width: 60%; } .gm-pop .body .line.w85 { width: 85%; } .gm-pop .body .line.w40 { width: 40%; background: #C9E3F5; }
.gm-pop .cap { background: #FBFAF5; border-top: 1px solid #E5E2D8; color: #85847e; padding: 6px 12px; font-size: 10.5px; text-align: center; }
.glancepoints { list-style: none; }
.glancepoints li { padding: 12px 0 12px 40px; position: relative; color: var(--muted); font-size: 17px; }
.glancepoints li b { color: var(--ink); }
.glancepoints li::before {
  content: "⚡"; position: absolute; left: 0; top: 10px; font-size: 19px;
  filter: drop-shadow(0 0 8px rgba(255, 217, 140, .5));
}

/* ── the tour ─────────────────────────────────────────────────────────────── */
.tourstep { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 74px 0; border-bottom: 1px solid rgba(36, 48, 74, .4); }
.tourstep:last-of-type { border-bottom: 0; }
.tourstep.flip .tv { order: 2; }
.stepno {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; font-weight: 900; font-size: 19px; margin-bottom: 18px;
  background: conic-gradient(from 210deg, var(--ember), var(--gold), var(--sky), var(--ember));
  color: #0B0E14; box-shadow: 0 0 22px rgba(225, 102, 43, .4);
}
.tourstep h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: -.5px; margin-bottom: 12px; }
.tourstep p { color: var(--muted); font-size: 17px; }
.tourstep .aside { margin-top: 16px; color: var(--dim); font-size: 14.5px; border-left: 2px solid var(--line); padding-left: 14px; }
.tv .mock { transform: none; font-size: 12px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .glance, .tourstep { grid-template-columns: 1fr; gap: 34px; }
  .tourstep.flip .tv { order: 0; }
  .grid.c3, .values { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) {
  .grid.c3, .grid.c2, .values { grid-template-columns: 1fr; }
  .nav .links { display: none; }
  .mock { transform: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}
