/* =========================================================
   runoffline.ai — global styles
   ========================================================= */

:root {
  --bg-0: #07080c;
  --bg-1: #0b0d14;
  --bg-2: #11141d;
  --bg-3: #171b26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e7ecf3;
  --text-dim: #9aa3b2;
  --text-mute: #6b7382;
  --brand-1: #7c5cff;   /* violet */
  --brand-2: #22d3ee;   /* cyan */
  --brand-3: #f0abfc;   /* pink */
  --accent: #22ffb7;    /* mint */
  --danger: #ff5d73;
  --warn: #ffb020;
  --ok: #22ffb7;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.45);
  --max: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(1000px 600px at 100% 0%, rgba(34,211,238,0.12), transparent 60%),
    radial-gradient(900px 500px at 50% 120%, rgba(240,171,252,0.10), transparent 60%),
    var(--bg-0);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-dim); margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow { max-width: 880px; margin: 0 auto; }

/* --------- Navigation --------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(7, 8, 12, 0.6);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.logo__mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: conic-gradient(from 210deg, var(--brand-1), var(--brand-2), var(--brand-3), var(--brand-1));
  box-shadow: 0 6px 18px rgba(124,92,255,0.45), inset 0 0 0 1px rgba(255,255,255,0.15);
  position: relative;
}
.logo__mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 4px;
  background: var(--bg-0);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.logo__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  margin-left: 4px;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: .93rem;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav__links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__cta {
  margin-left: 8px;
}

/* --------- Buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 500;
  font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #0a0a0f;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(124,92,255,0.35);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(124,92,255,0.5); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--sm { padding: 8px 14px; font-size: .88rem; border-radius: 10px; }

/* --------- Hero --------- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 75%);
  pointer-events: none;
}
.hero__content { position: relative; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  margin-bottom: 22px;
}
.pill__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
}
.hero h1 {
  background: linear-gradient(180deg, #ffffff 0%, #bbbfcc 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2) 60%, var(--brand-3));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lede {
  max-width: 720px;
  margin: 18px auto 30px;
  font-size: 1.1rem;
  color: var(--text-dim);
}
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: left;
}
.stat__n {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
}
.stat__l { color: var(--text-mute); font-size: .85rem; }

@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* --------- Section --------- */
.section { padding: 88px 0; position: relative; }
.section__head { text-align: center; margin-bottom: 48px; }
.section__eyebrow {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--brand-2);
  margin-bottom: 10px;
}
.section__title {
  background: linear-gradient(180deg, #fff, #c2c7d4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__sub { color: var(--text-dim); max-width: 680px; margin: 0 auto; }

/* --------- Cards grid --------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,92,255,0.0), rgba(34,211,238,0.0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s var(--ease), background .3s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-2);
}
.card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(124,92,255,0.5), rgba(34,211,238,0.5));
}
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(34,211,238,0.12));
  border: 1px solid var(--line-strong);
  font-size: 20px;
  margin-bottom: 16px;
}
.card__icon--logo {
  background: transparent;
  border: 0;
}
.brand-logo {
  width: 78%;
  height: 78%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.card__icon--logo .brand-logo {
  width: 100%;
  height: 100%;
}
.card h3 { margin-bottom: 6px; }
.card__meta { color: var(--text-mute); font-size: .82rem; margin-bottom: 12px; }
.card p { font-size: .95rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: .73rem;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
}
.tag--brand { color: var(--brand-2); border-color: rgba(34,211,238,0.3); }
.tag--ok { color: var(--ok); border-color: rgba(34,255,183,0.3); }
.tag--warn { color: var(--warn); border-color: rgba(255,176,32,0.3); }

.title-link {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.title-link:hover {
  color: var(--brand-2);
}
.card__detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--brand-2);
  font-size: .88rem;
  font-weight: 500;
}
.card__detail-link:hover {
  color: var(--text);
}

/* --------- Detailed tool row --------- */
.tool {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.tool::after {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,92,255,0.15), transparent 60%);
  pointer-events: none;
}
.tool__logo {
  width: 100px; height: 100px;
  border-radius: 20px;
  display: grid; place-items: center;
  font-size: 44px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(124,92,255,0.2), rgba(34,211,238,0.15));
  border: 1px solid var(--line-strong);
  position: relative;
  z-index: 1;
}
.tool__logo--logo {
  background: transparent;
  border: 0;
}
.tool__logo .brand-logo {
  width: 84%;
  height: 84%;
  padding: 0;
  border-radius: 0;
}
.tool__logo--logo .brand-logo {
  width: 100%;
  height: 100%;
}
.tool__body { position: relative; z-index: 1; }
.tool__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}
.tool__head h3 { font-size: 1.6rem; margin: 0; }
.tool__head .tag { transform: translateY(-2px); }
.tool__tagline {
  color: var(--brand-2);
  font-size: .92rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.tool__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}
.tool__features li {
  color: var(--text-dim);
  font-size: .9rem;
  padding-left: 22px;
  position: relative;
}
.tool__features li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 12px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  border-radius: 3px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.tool__specs {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-top: 14px;
  font-size: .85rem;
}
.tool__specs div { display: flex; gap: 6px; }
.tool__specs b { color: var(--text); font-weight: 500; }
.tool__specs span { color: var(--text-mute); }

@media (max-width: 720px) {
  .tool { grid-template-columns: 1fr; padding: 24px; }
  .tool__logo { width: 72px; height: 72px; font-size: 32px; border-radius: 16px; }
  .tool__logo .brand-logo { padding: 0; border-radius: 0; }
  .tool__features { grid-template-columns: 1fr; }
}

/* --------- Comparison table --------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: .92rem;
}
.compare th, .compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  position: sticky; top: 0;
  background: rgba(17, 20, 29, 0.9);
  backdrop-filter: blur(8px);
  font-weight: 600;
  color: var(--text);
  font-size: .88rem;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--line-strong);
}
.compare tbody tr:hover { background: rgba(255,255,255,0.02); }
.compare .name {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.compare .name small {
  display: block;
  font-weight: 400;
  color: var(--text-mute);
  font-size: .78rem;
  margin-top: 2px;
}
.check { color: var(--ok); font-weight: 600; }
.cross { color: var(--danger); }
.partial { color: var(--warn); }

/* --------- Feature strip --------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.feature__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  font-size: 16px;
  margin-bottom: 14px;
  color: #0a0a0f;
}
.feature h4 { margin: 0 0 6px; font-size: 1.05rem; }
.feature p { font-size: .9rem; margin: 0; }

/* --------- CTA band --------- */
.cta-band {
  position: relative;
  margin: 40px auto 80px;
  max-width: var(--max);
  padding: 56px 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(124,92,255,0.28), transparent 60%),
    radial-gradient(600px 300px at 80% 100%, rgba(34,211,238,0.2), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.cta-band h2 {
  background: linear-gradient(180deg, #fff, #c2c7d4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --------- Footer --------- */
footer {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  padding: 48px 0 32px;
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__col h5 {
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: var(--text-dim); font-size: .92rem; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-mute);
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav__links { gap: 0; }
  .nav__links a { padding: 6px 10px; font-size: .85rem; }
  .nav__cta { display: none; }
}

/* --------- Page header --------- */
.page-header {
  padding: 100px 0 40px;
  text-align: center;
  position: relative;
}
.page-header h1 {
  background: linear-gradient(180deg, #fff, #c2c7d4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-header p { max-width: 680px; margin: 12px auto 0; }

/* --------- Filters --------- */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  font-size: .88rem;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.filter.active {
  color: #0a0a0f;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  border-color: transparent;
  font-weight: 600;
}

/* --------- Reveal animation --------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* --------- Code block --------- */
.code {
  background: #05060a;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86rem;
  color: #cfd3dc;
  overflow-x: auto;
}
.code .c-c { color: #6b7382; }
.code .c-k { color: #f0abfc; }
.code .c-s { color: #22ffb7; }
.code .c-n { color: #7c5cff; }

/* =========================================================
   COMMUNITY SECTION
   ========================================================= */
.community {
  position: relative;
  padding: 80px 0 40px;
}
.community__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 40px;
}
.community__head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.community__head p { max-width: 680px; margin: 0; color: var(--text-dim); }

/* Global stats band */
.globe-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.globe-band__cell {
  background:
    linear-gradient(180deg, rgba(124,92,255,0.08), rgba(34,211,238,0.04)),
    var(--bg-1);
  padding: 22px 20px;
  text-align: center;
}
.globe-band__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
}
.globe-band__lbl { color: var(--text-dim); font-size: .85rem; margin-top: 4px; }
@media (max-width: 720px) {
  .globe-band { grid-template-columns: repeat(2, 1fr); }
}

/* Split: live feed (tabs) + community destinations */
.community__split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 960px) {
  .community__split { grid-template-columns: 1fr; }
}

/* Tabs */
.feed-card {
  background: linear-gradient(180deg, rgba(124,92,255,0.05), rgba(0,0,0,0)) var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.feed-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.feed-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -.01em;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34,255,183,0.7);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,255,183,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(34,255,183,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,255,183,0); }
}
.feed-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.feed-tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.feed-tab:hover { color: var(--text); border-color: var(--line-strong); }
.feed-tab.active {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  color: #05060a;
  border-color: transparent;
  font-weight: 600;
}
.feed-pane {
  display: none;
  padding: 10px 14px 18px;
  min-height: 420px;
  max-height: 620px;
  overflow: auto;
}
.feed-pane.active { display: block; }
.feed-pane::-webkit-scrollbar { width: 8px; }
.feed-pane::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }

/* X timeline embed holder */
.x-embed {
  border-radius: 12px;
  overflow: hidden;
}
.x-embed .twitter-timeline { width: 100% !important; }

/* Post cards (Reddit/HN/GitHub static seeds) */
.post {
  display: flex;
  gap: 12px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.post:last-child { border-bottom: none; }
.post:hover { background: rgba(255,255,255,0.02); }
.post__vote {
  flex: 0 0 auto;
  min-width: 44px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: .85rem;
  color: var(--brand-2);
  font-weight: 600;
  padding-top: 2px;
}
.post__body { flex: 1; min-width: 0; }
.post__title {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.35;
}
.post__title:hover { color: var(--brand-2); }
.post__meta {
  font-size: .78rem;
  color: var(--text-mute);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.post__meta b { color: var(--text-dim); font-weight: 500; }
.post__flair {
  display: inline-block;
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(124,92,255,0.15);
  color: var(--brand-3);
  border: 1px solid rgba(124,92,255,0.3);
  margin-right: 8px;
  vertical-align: middle;
}

/* Community destinations grid */
.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) { .dest-grid { grid-template-columns: 1fr; } }
.dest {
  display: block;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.dest::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--brand-1), var(--brand-2));
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.dest:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}
.dest:hover::before { opacity: 1; }
.dest__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.dest__name {
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  display: flex; align-items: center; gap: 8px;
}
.dest__badge {
  font-size: .7rem;
  color: var(--accent);
  background: rgba(34,255,183,0.08);
  border: 1px solid rgba(34,255,183,0.2);
  padding: 2px 8px;
  border-radius: 999px;
}
.dest__desc { color: var(--text-dim); font-size: .85rem; margin: 0 0 8px; }
.dest__members { color: var(--text-mute); font-size: .78rem; }
.dest__icon {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-2);
}

/* Voices wall (quotes) */
.voices {
  margin-top: 56px;
}
.voices__head {
  text-align: center;
  margin-bottom: 28px;
}
.voices__head h3 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}
.voices__head p {
  margin: 0;
  color: var(--text-dim);
}
.voices__wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .voices__wall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .voices__wall { grid-template-columns: 1fr; } }
.voice {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .25s var(--ease);
}
.voice:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.voice__text {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
}
.voice__who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  color: var(--text-dim);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.voice__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #05060a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  font-size: .8rem;
}
.voice__who b { color: var(--text); font-weight: 600; }
.voice__src {
  margin-left: auto;
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--text-mute);
}

/* Community CTA mini-band used on sub-pages */
.community-teaser {
  margin: 60px 0 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(124,92,255,0.15), transparent 70%),
    radial-gradient(600px 200px at 100% 100%, rgba(34,211,238,0.12), transparent 70%),
    var(--bg-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.community-teaser h4 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.community-teaser p { margin: 0; color: var(--text-dim); max-width: 560px; }
.community-teaser__links {
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* Newsletter inline */
.newsletter {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 14px auto 0;
  width: 100%;
}
.newsletter input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter input:focus { border-color: var(--brand-2); }
.newsletter button {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  color: #05060a;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}


/* --------- Just Released section --------- */
.releases-section .section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pulse-led {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff5d73;
  box-shadow: 0 0 0 0 rgba(255, 93, 115, 0.6);
  animation: pulse-led 1.8s var(--ease) infinite;
  display: inline-block;
}
@keyframes pulse-led {
  0%   { box-shadow: 0 0 0 0 rgba(255, 93, 115, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 93, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 93, 115, 0); }
}
.releases-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.release {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.release:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}
.release--hot {
  border-color: rgba(255, 93, 115, 0.4);
  background:
    linear-gradient(180deg, rgba(255,93,115,0.08), rgba(124,92,255,0.04)),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  box-shadow: 0 0 0 1px rgba(255,93,115,0.15), 0 12px 32px rgba(255,93,115,0.08);
}
.release__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.release__date {
  font-family: "JetBrains Mono", monospace;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.release__badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5d73, #f0abfc);
  color: #0a0a0f;
  text-transform: uppercase;
}
.release__title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: var(--text);
}
.release__meta {
  color: var(--text-mute);
  font-size: .8rem;
  margin-bottom: 10px;
  font-family: "JetBrains Mono", monospace;
}
.release p {
  font-size: .92rem;
  margin: 0 0 14px;
}
.release__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.release__cta {
  margin-top: auto;
  font-size: .85rem;
  font-weight: 500;
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s var(--ease);
}
.release__cta:hover { color: var(--text); }
