:root {
  --bg: #05070c;
  --bg-elevated: #0b0f16;
  --panel: #10151f;
  --panel-hover: #161d2a;
  --text: #f0f4fa;
  --muted: #8a96a8;
  --muted-2: #5c6778;
  --accent: #6eb5ff;
  --accent-dim: #3d6fa8;
  --green: #6dd4a0;
  --violet: #a78bfa;
  --gold: #e8c06a;
  --border: rgba(148, 168, 200, 0.12);
  --border-strong: rgba(110, 181, 255, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Instrument Serif", "Noto Serif TC", Georgia, serif;
  --font-body: "DM Sans", "Noto Sans TC", system-ui, sans-serif;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.bg-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 8% -5%, rgba(61, 111, 168, 0.35), transparent 58%),
    radial-gradient(ellipse 50% 45% at 92% 8%, rgba(109, 212, 160, 0.12), transparent 52%),
    radial-gradient(ellipse 40% 35% at 70% 85%, rgba(167, 139, 250, 0.08), transparent 50%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #9eceff; }

.hub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.75rem;
  background: rgba(5, 7, 12, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(1.2);
}

.hub-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.hub-brand:hover { text-decoration: none; }

.hub-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #4a7cb8, #2a4068);
  border: 1px solid rgba(110, 181, 255, 0.25);
  color: #e8f2ff;
  box-shadow: 0 4px 16px rgba(42, 80, 128, 0.35);
}

.hub-mark svg { width: 1.1rem; height: 1.1rem; }

.hub-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hub-brand-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hub-brand-text span {
  font-size: 0.68rem;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}

.hub-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.hub-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.hub-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.hub-nav .nav-gh {
  border: 1px solid var(--border);
  margin-left: 0.25rem;
}

main {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.75rem 5rem;
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0 2.5rem;
  min-height: calc(72vh - var(--header-h));
}

.hero-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 30%, #9eb8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.style-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.style-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(16, 21, 31, 0.85);
  border: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.15s, border-color 0.15s;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, #4a7cb8, #2d5080);
  border: 1px solid rgba(110, 181, 255, 0.4);
  box-shadow: 0 8px 28px rgba(42, 80, 128, 0.45);
}

.btn-primary:hover { color: #fff; box-shadow: 0 12px 36px rgba(42, 80, 128, 0.55); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }

/* Pipeline visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.pipeline-orbit--overlay {
  position: absolute;
  width: min(55%, 200px);
  right: 0;
  bottom: 5%;
  opacity: 0.9;
  pointer-events: none;
}

.pipeline-orbit {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(110, 181, 255, 0.18);
  background: radial-gradient(circle at 50% 50%, rgba(61, 111, 168, 0.12), transparent 65%);
  animation: orbit-spin 80s linear infinite;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c5e0ff;
  background: rgba(10, 16, 28, 0.92);
  border: 1px solid rgba(110, 181, 255, 0.35);
  box-shadow: 0 0 40px rgba(61, 111, 168, 0.25);
  animation: orbit-spin 80s linear infinite reverse;
}

.pipeline-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.pipeline-step {
  position: absolute;
  width: 42%;
  animation: orbit-spin 80s linear infinite reverse;
}

.pipeline-step:nth-child(1) { top: 4%; left: 50%; transform: translateX(-50%); }
.pipeline-step:nth-child(2) { top: 50%; right: -2%; transform: translateY(-50%); }
.pipeline-step:nth-child(3) { bottom: 4%; left: 50%; transform: translateX(-50%); }
.pipeline-step:nth-child(4) { top: 50%; left: -2%; transform: translateY(-50%); }

.step-card {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(12, 18, 28, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  text-align: center;
}

.step-card strong {
  display: block;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.step-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* Capability strip */
.capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.cap-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.cap-icon {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(110, 181, 255, 0.1);
}

/* Sections */
.hub-section {
  padding: 3rem 0 0;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  padding-top: 0.35rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Experience cards */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.exp-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--panel) 0%, rgba(8, 12, 20, 0.5) 100%);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.exp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--exp-accent, var(--accent));
  opacity: 0.85;
}

.exp-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.exp-card .exp-cta,
.research-card .card-link-hint {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.exp-card.clickable-card:hover .exp-cta,
.research-card.clickable-card:hover .card-link-hint {
  text-decoration: underline;
}

.exp-card.accent-blue { --exp-accent: linear-gradient(90deg, #6eb5ff, #3d6fa8); }
.exp-card.accent-green { --exp-accent: linear-gradient(90deg, #6dd4a0, #3a9a6e); }
.exp-card.accent-violet { --exp-accent: linear-gradient(90deg, #a78bfa, #7c5cbf); }

.exp-card::before { background: var(--exp-accent, var(--accent)); }

.exp-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.exp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.media-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
  text-transform: uppercase;
}

.exp-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--accent);
}

.exp-icon svg { width: 1.15rem; height: 1.15rem; }

.exp-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.12rem;
  font-weight: 600;
}

.exp-sub {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.exp-card > p {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.exp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.exp-links a {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  text-decoration: none;
}

.exp-links a:hover {
  color: var(--accent);
  border-color: var(--border-strong);
  text-decoration: none;
}

.exp-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.exp-cta:hover { color: #9eceff; }

/* Demo grid */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.demo-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.15s, background 0.15s;
}

.demo-card:hover {
  border-color: var(--border-strong);
  background: var(--panel-hover);
}

.demo-card h3 {
  margin: 0.4rem 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.demo-card p {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.demo-card a {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Research */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.research-card {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.15s;
}

.research-card:hover { border-color: var(--border-strong); }

.research-card.clickable-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.research-card .cat {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.research-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.research-card p {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.research-card a {
  font-size: 0.78rem;
  font-weight: 500;
}

/* Labs */
.labs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.lab-tile {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.lab-tile:hover {
  border-color: var(--border-strong);
  background: var(--panel);
  text-decoration: none;
}

.lab-tile strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.lab-tile span {
  font-size: 0.72rem;
  color: var(--muted);
}

.lab-tile .lab-media {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  font-style: normal;
}

/* Badges */
.badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  white-space: nowrap;
}

.badge.ready { background: rgba(109, 212, 160, 0.14); color: #6dd4a0; }
.badge.experimental { background: rgba(232, 192, 106, 0.14); color: var(--gold); }
.badge.legacy { background: rgba(138, 150, 168, 0.12); color: var(--muted); }

/* Footer */
.hub-footer {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.75rem 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.hub-footer p { margin: 0.35rem 0; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 2rem; }
  .hero-visual { order: -1; }
  .pipeline-orbit { width: min(280px, 85vw); }
  .experience-grid,
  .demo-grid { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .labs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hub-header { padding: 0 1rem; height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-top: 0.65rem; padding-bottom: 0.65rem; }
  main { padding: 0 1rem 3rem; }
  .labs-grid { grid-template-columns: 1fr; }
  .capability-strip { justify-content: flex-start; }
  .pillar-grid { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
}

/* ── Hero pillars ── */
.pillar-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pillar-section-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.pillar-section-head p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pillar-grid--inline {
  margin: 1.5rem 0;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}

.pillar-card:hover {
  text-decoration: none;
  color: inherit;
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pillar-card.accent-blue { border-left: 3px solid var(--accent); }
.pillar-card.accent-violet { border-left: 3px solid var(--violet); }
.pillar-card.accent-green { border-left: 3px solid var(--green); }
.pillar-card.accent-gold { border-left: 3px solid var(--gold); }

.pillar-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}

.pillar-icon svg { width: 1.35rem; height: 1.35rem; }

.pillar-body { flex: 1; min-width: 0; }

.pillar-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.25rem;
}

.pillar-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.pillar-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.pillar-arrow {
  flex-shrink: 0;
  color: var(--muted-2);
  font-size: 1.1rem;
  align-self: center;
}

.load-error { color: var(--danger, #e88); }

.badge.planned {
  background: rgba(110, 181, 255, 0.12);
  color: var(--accent);
}

/* ── Subpages ── */
.hub-subpage main.hub-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.25rem 1.75rem 4rem;
}

.page-breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.page-breadcrumb span { margin: 0 0.35rem; }

.page-hero { margin-bottom: 1.75rem; }

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-hero .lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.content-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}

.content-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.content-card.accent-blue { border-left: 3px solid var(--accent); }
.content-card.accent-violet { border-left: 3px solid var(--violet); }

.note-card {
  border-left: 3px solid var(--gold);
  background: rgba(232, 192, 106, 0.06);
}

.flow-list, .flow-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.flow-steps li { margin-bottom: 0.65rem; }

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.settings-form fieldset {
  border: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.settings-form legend {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.settings-form label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.settings-form input[type="text"],
.settings-form select {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  color: var(--text) !important;
}

.checkbox-label input { width: auto; margin: 0; }

.field-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: -0.35rem 0 0.75rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.save-status {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--green);
}

.hub-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(110, 181, 255, 0.12);
}

/* Showcase pages using hub shell */
.showcase-page main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.25rem 1.75rem 3rem;
}

.showcase-page .showcase-hero h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.showcase-page .showcase-hero p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.showcase-subnav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.35rem 1.75rem 0.75rem;
  border-bottom: 1px solid var(--border);
  gap: 0.35rem;
}

.showcase-subnav a {
  font-size: 0.82rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.showcase-subnav a:hover,
.showcase-subnav a[aria-current="page"] {
  color: var(--text);
  background: rgba(110, 181, 255, 0.1);
  text-decoration: none;
}
