@font-face {
  font-family: "BricolageGrotesque";
  src: url("/clubria-media/fonts/BricolageGrotesque-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "HankenGrotesk";
  src: url("/clubria-media/fonts/HankenGrotesk-400.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08070c;
  --panel1: #131118;
  --panel2: #17141d;
  --line: rgba(255, 255, 255, .07);
  --text: #fff;
  --body: #a8a4b3;
  --small: #8b8794;
  --pink: #e64aa0;
  --orange: #f0563c;
  --green: #3ddc84;
  --purple: #a855f7;
  --blue: #60a5fa;
  --teal: #38d8d0;
  --glow1:
    radial-gradient(circle at 18% 14%, rgba(144, 92, 255, .16), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(255, 112, 68, .16), transparent 22%),
    radial-gradient(circle at 50% 90%, rgba(75, 82, 255, .13), transparent 24%);
  --font-head: "BricolageGrotesque", system-ui, sans-serif;
  --font-body: "HankenGrotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--glow1);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before, body::after {
  content: "";
  position: fixed;
  inset: -15vh -8vw auto;
  pointer-events: none;
}
body::before {
  height: 58vh;
  background:
    radial-gradient(circle at 25% 28%, rgba(150, 95, 255, .18), transparent 20%),
    radial-gradient(circle at 64% 20%, rgba(255, 108, 61, .12), transparent 16%),
    radial-gradient(circle at 75% 65%, rgba(55, 216, 208, .09), transparent 15%);
}
body::after {
  inset: auto -8vw -10vh;
  height: 48vh;
  background:
    radial-gradient(circle at 18% 70%, rgba(170, 88, 247, .14), transparent 18%),
    radial-gradient(circle at 88% 62%, rgba(244, 98, 51, .18), transparent 18%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
svg { fill: currentColor; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-head h2,
.tools h3,
.cta h2,
.builder-right h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0;
}
.section-head p,
.lede,
.trust,
.feature p,
.step p,
.quote p,
.builder-right p,
.footer p,
.footer__news p,
.footer__col a,
.footer__bottom { color: var(--body); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 600;
}
.btn--ghost { background: rgba(255, 255, 255, .01); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03); }
.btn--accent { border: 0; background: linear-gradient(90deg, var(--pink), var(--orange)); color: #fff; box-shadow: 0 14px 36px rgba(240, 86, 60, .24); }
.btn--link { border: 0; padding-inline: 8px; color: #9fc7ff; }

.brand,
.nav__links a,
.nav__actions,
.hero__actions,
.trust__row,
.tool-row,
.footer__top,
.footer__bottom,
.socials { display: flex; align-items: center; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(8, 7, 12, .94), rgba(8, 7, 12, .64));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.nav__inner { min-height: 72px; display: flex; align-items: center; gap: 20px; }
.brand { gap: 10px; font-family: var(--font-head); font-size: 25px; font-weight: 700; letter-spacing: -.04em; }
.brand svg { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 24px; margin-left: 44px; flex: 1; }
.nav__links a { gap: 4px; color: #d8d3e2; font-size: 14px; }
.nav__links span { opacity: .75; }
.nav__actions { gap: 12px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 42px;
  align-items: center;
  padding: 74px 0 42px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(126, 80, 255, .13);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #efe9ff;
  font-size: 14px;
}
.badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #a76aff, #7d4dff);
  box-shadow: 0 0 18px rgba(167, 106, 255, .8);
}
h1, .feature h3, .step h3, .quote span, .footer h3 {
  font-family: var(--font-head);
  letter-spacing: -.035em;
}
.hero h1 {
  font-size: clamp(40px, 4.2vw, 54px);
  line-height: 1.02;
  margin: 0;
  max-width: 18ch;
}
.hero h1 em {
  display: block;
  font-style: normal;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { max-width: 42ch; font-size: 18px; line-height: 1.6; margin: 22px 0 0; }
.hero__actions { gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__art { position: relative; min-height: 510px; padding: 26px 10px 12px 0; }
.orbit { position: absolute; border-radius: 50%; pointer-events: none; border: 1px solid rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02); }
.orbit--a { width: 260px; height: 260px; left: 84px; bottom: 12px; border-color: rgba(168, 85, 247, .16); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(26deg); }
.orbit--b { width: 350px; height: 350px; left: 42px; bottom: -40px; border-color: rgba(255, 111, 49, .15); border-left-color: transparent; border-top-color: transparent; transform: rotate(-18deg); }
.orbit--c { width: 420px; height: 420px; left: 0; bottom: -90px; border-color: rgba(96, 165, 250, .08); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(8deg); }
.event-card,
.fanout__item,
.feature,
.step,
.quote,
.stats,
.mock,
.footer,
.trust__row,
.tool {
  background: linear-gradient(180deg, var(--panel2), var(--panel1));
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
}
.event-card {
  position: absolute;
  left: 0;
  top: 10px;
  width: 340px;
  padding: 22px;
  border-radius: 16px;
  transform: rotate(-2deg);
}
.event-card__eyebrow { color: #36d68d; font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.event-card h2 { font-family: var(--font-head); font-size: 27px; line-height: 1.05; margin: 12px 0 8px; max-width: 9ch; }
.meta { margin: 4px 0; color: #b7b1c1; font-size: 14px; }
.synced { display: flex; align-items: center; gap: 8px; color: #cfeedd; font-size: 14px; margin: 16px 0 14px; }
.synced span, .mock__footer i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(61, 220, 132, .85); }
.mini-row { display: flex; gap: 9px; }
/* Full-color app-icon tiles (self-contained SVGs); the brand glyph + gradient live in the file. */
.mini-row img { width: 30px; height: 30px; border-radius: 8px; display: block; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.appicon { width: 52px; height: 52px; border-radius: 14px; flex: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.tool img { width: 28px; height: 28px; border-radius: 8px; display: inline-block; }
/* leftover monochrome mask still used by the trusted-by marks (mlops/n8n/datatalk) */
.trust__row i { background: #fff; mask: var(--src) center / contain no-repeat; -webkit-mask: var(--src) center / contain no-repeat; display: inline-block; }

.tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none; }
.tile i, .tile svg { width: 24px; height: 24px; color: #fff; }

.fanout {
  position: absolute;
  right: 0;
  top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 262px;
}
.fanout__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  position: relative;
}
.fanout__item b { display: block; font-size: 15px; }
.fanout__item small { display: block; color: var(--green); font-size: 13px; margin-top: 2px; }
.fanout__item::after {
  content: "";
  position: absolute;
  left: -34px;
  top: 50%;
  width: 26px;
  border-top: 1px dashed rgba(255, 255, 255, .2);
}
.fanout__item:nth-child(1) { margin-top: 4px; }
.fanout__item:nth-child(1)::after { left: -35px; width: 28px; }
.fanout__item:nth-child(2)::after { left: -40px; width: 34px; }
.fanout__item:nth-child(3)::after { left: -36px; width: 30px; }
.fanout__item:nth-child(4)::after { left: -38px; width: 32px; }
.fanout__item:nth-child(5)::after { left: -35px; width: 29px; }

.trust { padding: 24px 0 44px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #7f8090; margin: 0 0 18px; text-align: center; }
.trust__row { gap: 26px; flex-wrap: wrap; justify-content: center; }
.mark--aib { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: #fff; }
.aib-logo { width: 28px; height: 26px; }
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #e5e0eb;
  background: transparent;
}
.mark i {
  width: 24px;
  height: 24px;
  background: #e9e6ee;
  mask: var(--src) center / contain no-repeat;
  -webkit-mask: var(--src) center / contain no-repeat;
  opacity: .78;
}
.mark span { font-size: 14px; line-height: 1.05; }
.mark--text { font-weight: 700; font-size: 18px; padding-left: 0; }
.mark--muted { color: #8f8a9a; padding-left: 0; }

.features, .how, .tools, .builders, .cta { padding: 58px 0 10px; }
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.feature { border-radius: 16px; padding: 22px 18px 20px; min-height: 214px; }
.feature .icon {
  width: 36px; height: 36px; padding: 13px; box-sizing: content-box;
  border-radius: 15px;
  fill: none;
  background: color-mix(in srgb, currentColor 15%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent), 0 8px 22px color-mix(in srgb, currentColor 18%, transparent);
}
.icon--purple { color: #a78bfa; }
.icon--pink { color: #f472b6; }
.icon--violet { color: #c084fc; }
.icon--magenta { color: #e879f9; }
.icon--green { color: #4ade80; }
.icon--blue { color: #60a5fa; }
.feature h3 { font-size: 20px; margin: 16px 0 10px; line-height: 1.05; }
.feature p,
.step p,
.quote p,
.builder-right p,
.tools h3 + .tool-row { font-size: 14px; line-height: 1.55; margin: 0; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding-top: 10px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 44px;
  height: 2px;
  background: linear-gradient(90deg, #ff7a41 0 18%, #a855f7 18% 40%, #5ea7ff 40% 62%, #35d06f 62% 84%, #38d8d0 84%);
  opacity: .9;
}
.step { position: relative; text-align: center; border-radius: 16px; padding: 0 10px 0; background: transparent; border: 0; box-shadow: none; }
.node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .03), 0 0 26px currentColor;
}
.node svg { width: 24px; height: 24px; }
.step--orange .node { background: radial-gradient(circle at 30% 30%, #ff8d59, #ff5c29); }
.step--purple .node { background: radial-gradient(circle at 30% 30%, #b45cff, #6f2cff); }
.step--blue .node { background: radial-gradient(circle at 30% 30%, #5fc0ff, #2a68ff); }
.step--green .node { background: radial-gradient(circle at 30% 30%, #6dff9f, #11b95e); }
.step--teal .node { background: radial-gradient(circle at 30% 30%, #59f0e2, #10a7b6); }
.step h3 { font-size: 17px; margin: 0 0 10px; }

.tools h3 { text-align: center; color: #cfc6f2; font-size: 18px; margin: 0 0 16px; }
.tool-row { flex-wrap: wrap; justify-content: center; gap: 10px; }
.tool { display: inline-flex; align-items: center; gap: 11px; padding: 10px 18px 10px 11px; border-radius: 13px; color: #eee7f7; font-size: 15px; font-weight: 500; }
.tool i { width: 18px; height: 18px; }
.tool--more { border-color: transparent; background: transparent; box-shadow: none; color: #a29caf; }

.builders { display: grid; grid-template-columns: 1.08fr .92fr; gap: 26px; align-items: start; padding-top: 44px; }
.mock { display: grid; grid-template-columns: 46px 1fr 200px; gap: 0; overflow: hidden; border-radius: 18px; padding: 0; }
.mock__side { display: flex; flex-direction: column; gap: 14px; align-items: center; padding: 18px 0; background: #11131a; border-right: 1px solid var(--line); }
.mock__side span { width: 14px; height: 14px; border-radius: 4px; background: #27242f; }
.mock__main { padding: 18px; min-height: 400px; }
.mock__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.mock__head strong { font-family: var(--font-head); font-size: 19px; }
.mock__head p { margin: 6px 0 0; color: #a8a2b5; font-size: 13px; }
.live {
  padding: 6px 9px;
  border-radius: 6px;
  background: #214f38;
  color: #7ff7aa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.map {
  margin-top: 20px;
  border-radius: 14px;
  background:
    radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px) 0 0 / 11px 11px,
    radial-gradient(circle at 48% 40%, rgba(120, 130, 200, .10), transparent 46%),
    linear-gradient(180deg, #131722, #0c111a);
  height: 270px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.map svg { width: 100%; height: 100%; }
.mock__footer { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: #dfe7dd; font-size: 13px; }
.chart { margin-left: auto; width: 90px; height: 30px; }
.chart div { width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .18)); border-radius: 999px; }
.rail { display: grid; gap: 12px; }
.mini { padding: 16px; border-radius: 14px; background: linear-gradient(180deg, #16131c, #120f16); border: 1px solid var(--line); }
.mini b { display: block; font-size: 14px; }
.mini span { display: block; color: var(--body); font-size: 12px; margin: 5px 0 12px; }
.bar { height: 8px; border-radius: 999px; background: #28313d; overflow: hidden; }
.bar i { display: block; width: 78%; height: 100%; background: linear-gradient(90deg, #49d18c, #94ffbf); }
.avatars { display: flex; align-items: center; margin-top: 6px; }
.avatars i { width: 28px; height: 28px; border-radius: 50%; margin-left: -6px; background: linear-gradient(135deg, #b879ff, #5845ff); }
.avatars i:nth-child(2) { background: linear-gradient(135deg, #ffbf7d, #fe6c61); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #71d2ff, #1e6cff); }
.avatars i:nth-child(4) { background: linear-gradient(135deg, #8ef0c0, #23b26e); }
.avatars em { font-style: normal; margin-left: 8px; color: #d7d0de; font-size: 12px; }
.spark svg { width: 100%; height: 28px; }
.section-head--left { text-align: left; max-width: 100%; margin: 0 0 18px; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quote { border-radius: 14px; padding: 18px; }
.quote p { min-height: 58px; color: #f0ecf6; font-size: 15px; }
.quote span { display: block; margin-top: 12px; color: #c5bfce; font-size: 13px; }

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 34px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #17141d, #111018);
  border: 1px solid var(--line);
}
.stats div { padding: 8px 12px; border-right: 1px solid rgba(255, 255, 255, .06); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: 40px; line-height: 1; }
.stats span { display: block; margin-top: 10px; color: var(--body); }

.cta { padding-bottom: 50px; text-align: center; position: relative; }
.cta::before, .cta::after {
  content: "";
  position: absolute;
  top: 36px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(168, 85, 247, .16), transparent 66%);
}
.cta::before { left: 0; }
.cta::after { right: 0; background: radial-gradient(circle, rgba(240, 86, 60, .15), transparent 66%); }
.cta p { font-size: 16px; margin: 14px auto 0; max-width: 54ch; }
.hero__actions--center { justify-content: center; }

/* Full-bleed footer: background spans edge to edge, content stays in the inner .wrap. */
.footer {
  background: linear-gradient(180deg, #100d16, #0a0810);
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 46px;
}
.footer__inner { padding: 8px 0 26px; }
.footer__top { align-items: start; gap: 26px; padding: 30px 0 22px; }
.footer__brand { max-width: 280px; }
.brand--footer { margin-bottom: 16px; }
.footer p { margin: 0; line-height: 1.6; }
.socials { gap: 12px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; color: #d1ccdb; opacity: .92; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer__col, .footer__news { min-width: 122px; display: grid; gap: 8px; }
.footer h3 { font-size: 16px; margin: 0 0 12px; }
.footer__col a { font-size: 14px; }
.news { display: flex; gap: 0; margin-top: 8px; }
.news input {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: rgba(255, 255, 255, .02);
  color: #fff;
  outline: 0;
}
.news button {
  width: 46px;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #fff;
  font-size: 20px;
}
.footer__bottom { justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .builders, .hero { grid-template-columns: 1fr; }
  .hero__art { min-height: 460px; }
  .nav__links { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(3) { border-right: 0; }
  .stats div:nth-child(4),
  .stats div:nth-child(5) { border-top: 1px solid rgba(255, 255, 255, .06); }
  .footer__top { flex-wrap: wrap; }
  .footer__brand { max-width: none; flex: 1 1 100%; }
}

@media (max-width: 900px) {
  .feature-grid, .quotes, .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .timeline::before { display: none; }
  .step { text-align: left; padding-left: 78px; min-height: 64px; }
  .node { position: absolute; left: 0; top: 0; margin: 0; }
  .mock { grid-template-columns: 40px 1fr; }
  .rail { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
  .fanout { position: static; width: auto; margin-top: 392px; padding-left: 14px; }
  .hero__art { padding-right: 0; }
  .event-card { position: relative; left: auto; top: auto; width: min(100%, 370px); }
  .orbit { display: none; }
  .stats div:nth-child(n) { border-right: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
  .stats div:first-child { border-top: 0; }
  .footer__top { display: grid; grid-template-columns: 1fr 1fr; }
  .footer__news { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .nav__inner { min-height: 66px; }
  .nav__actions .btn--ghost { display: none; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: clamp(38px, 11vw, 58px); max-width: 100%; }
  .hero__actions,
  .trust__row,
  .tool-row,
  .footer__bottom { justify-content: flex-start; }
  .feature-grid,
  .quotes,
  .stats,
  .rail,
  .footer__top { grid-template-columns: 1fr; }
  .feature,
  .quote,
  .mini,
  .stats div { padding-inline: 14px; }
  .stats { gap: 0; }
  .stats div { border-right: 0; }
  .mock { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .fanout { margin-top: 14px; padding-left: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .news { flex-wrap: nowrap; }
}
