 [hidden] { display: none !important; }

body.is-hub {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 77, 61, .18), transparent 13rem),
    radial-gradient(ellipse at 50% 27rem, rgba(255, 119, 68, .23), transparent 19rem),
    radial-gradient(circle at 84% 12%, rgba(255, 77, 61, .12), transparent 23rem),
    #030303;
  color: #f8f5ee;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.is-hub::before,
body.is-hub::after { display: none; }

body.is-hub em {
  color: #fff0df;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 0 28px rgba(255, 116, 74, .18);
}

.demo-hub {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 44px;
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  min-height: 54px;
  gap: 26px;
  margin: 0 auto;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(8, 8, 8, .76);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px);
}

.hub-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f8f5ee;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.hub-brand em { font-size: 1.06em; }
.hub-brand-mark { position: relative; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 50%; background: #f8f5ee; }
.hub-brand-mark::after { position: absolute; inset: 8px 6px 6px; content: ""; border-bottom: 2px solid #030303; border-radius: 0 0 999px 999px; }
.hub-home-link { padding: 8px 12px; border-radius: 999px; color: rgba(248, 245, 238, .62); font-size: 12px; font-weight: 650; transition: color .2s, background .2s; }
.hub-home-link span { color: #ff674e; margin-left: 3px; }
.hub-home-link:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.hub-intro { padding: clamp(76px, 11vw, 132px) 0 52px; text-align: center; }
.hub-eyebrow { margin: 0 0 17px; color: rgba(255, 190, 134, .76); font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 11px; font-weight: 650; letter-spacing: .11em; }
.hub-intro h1 { margin: 0; font-size: clamp(54px, 8vw, 94px); font-weight: 540; line-height: .98; letter-spacing: -.075em; }
.hub-description { max-width: 620px; margin: 21px auto 0; color: rgba(248, 245, 238, .58); font-size: clamp(17px, 2vw, 20px); line-height: 1.5; }

.hub-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 12px 0 70px; }
.demo-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .035);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.demo-card:hover { transform: translateY(-4px); border-color: rgba(255, 116, 74, .5); box-shadow: 0 24px 65px rgba(0, 0, 0, .4), 0 0 38px rgba(255, 77, 61, .08); }
.demo-card:focus-visible { outline: 2px solid #ff674e; outline-offset: 4px; }
.demo-card-visual {
  position: relative;
  display: flex;
  min-height: 205px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(255, 192, 139, .45), transparent 20%),
    radial-gradient(ellipse at 50% 115%, rgba(255, 77, 61, .65), transparent 53%),
    linear-gradient(135deg, #171717, #391b19 58%, #111);
}
.demo-card-visual::before { position: absolute; width: 260px; height: 260px; content: ""; border: 1px solid rgba(255, 232, 219, .25); border-radius: 50%; box-shadow: 0 0 70px rgba(255, 77, 61, .14), inset 0 0 55px rgba(255, 77, 61, .08); }
.demo-card-visual::after { position: absolute; width: 192px; height: 192px; content: ""; border: 1px solid rgba(255, 232, 219, .12); border-radius: 50%; }
.demo-visual-label, .demo-visual-client { position: absolute; z-index: 1; color: rgba(255, 246, 238, .72); font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 9px; letter-spacing: .15em; }
.demo-visual-label { top: 19px; left: 21px; }
.demo-visual-client { right: 21px; bottom: 18px; }
.demo-visual-orbit { z-index: 1; display: grid; width: 82px; height: 82px; place-items: center; border: 1px solid rgba(255, 246, 238, .48); border-radius: 50%; color: #fff5ed; font-size: 29px; font-weight: 500; letter-spacing: -.08em; text-shadow: 0 0 23px rgba(255, 218, 193, .5); }
.demo-card-copy { padding: 22px 24px 23px; }
.demo-card-category { color: #ffad86; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .08em; }
.demo-card-copy h2 { margin: 11px 0 7px; color: #f8f5ee; font-size: 27px; font-weight: 570; letter-spacing: -.055em; }
.demo-card-copy p { margin: 0; color: rgba(248, 245, 238, .55); font-size: 14px; line-height: 1.55; }
.demo-card-link { display: flex; align-items: center; justify-content: space-between; margin-top: 21px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(248, 245, 238, .85); font-size: 12px; font-weight: 650; }
.demo-card-link i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: #fff8f0; background: linear-gradient(180deg, #ff614d, #e83d31); font-size: 13px; font-style: normal; box-shadow: 0 8px 20px rgba(255, 77, 61, .2); }

@media (max-width: 680px) {
  .demo-hub { width: calc(100% - 30px); padding-top: 15px; }
  .hub-header { width: 100%; justify-content: space-between; gap: 9px; }
  .hub-home-link { padding-inline: 8px; font-size: 11px; }
  .hub-intro { padding: 86px 0 42px; }
  .hub-intro h1 { font-size: clamp(52px, 13vw, 76px); }
  .hub-description { max-width: 420px; margin-top: 17px; font-size: 16px; }
  .hub-library { grid-template-columns: 1fr; gap: 13px; padding-bottom: 50px; }
  .demo-card-visual { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-card, .hub-home-link { transition: none; }
}
