:root {
  color-scheme: dark;
  --hub-bg: #0b0f14;
  --hub-panel: #141a21;
  --hub-panel-soft: #1b232d;
  --hub-line: #303a46;
  --hub-text: #f5f7fa;
  --hub-muted: #aeb8c5;
  --hub-red: #e62117;
  --hub-cyan: #55ddd0;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--hub-bg); }
body {
  background:
    radial-gradient(ellipse at 80% 0%, #17232d 0, transparent 44rem),
    linear-gradient(160deg, #0b0f14, #10151b 62%, #0b0f14);
  color: var(--hub-text);
  font: 500 16px/1.55 system-ui, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--hub-cyan); outline-offset: 3px; }
.hub-shell { margin: 0 auto; max-width: 1180px; padding: clamp(16px, 3vw, 36px); width: 100%; }
.hub-topbar { align-items: center; display: flex; justify-content: space-between; gap: 1rem; margin-bottom: clamp(20px, 4vw, 42px); }
.hub-brand { align-items: center; color: var(--hub-text); display: inline-flex; font-weight: 850; gap: .65rem; text-decoration: none; }
.hub-mark { align-items: center; background: #f5f7fa; border-radius: 50%; color: #0b0f14; display: inline-flex; height: 38px; justify-content: center; width: 38px; }
.hub-back { color: var(--hub-muted); font-size: .88rem; font-weight: 700; text-decoration: none; }
.hub-back:hover { color: var(--hub-text); }
.hub-hero { align-items: center; background: linear-gradient(125deg, #171e27, #11161d 65%, #181d25); border: 1px solid var(--hub-line); border-radius: 18px; display: grid; gap: clamp(20px, 4vw, 48px); grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); overflow: hidden; padding: clamp(20px, 4vw, 48px); position: relative; }
.hub-kicker { color: var(--hub-cyan); font: 800 .72rem/1.3 Consolas, monospace; letter-spacing: .15em; margin: 0 0 .7rem; text-transform: uppercase; }
.hub-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.3rem); letter-spacing: -.055em; line-height: .98; margin: 0; }
.hub-hero-copy > p:not(.hub-kicker) { color: var(--hub-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); margin: 1rem 0 1.4rem; max-width: 42rem; }
.hub-visual { border: 1px solid #455260; border-radius: 13px; box-shadow: 0 16px 44px #0008; margin: 0; overflow: hidden; }
.hub-visual img { aspect-ratio: 16/9; display: block; height: auto; object-fit: cover; width: 100%; }
.hub-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .7rem; }
.hub-button { align-items: center; background: var(--hub-red); border: 1px solid var(--hub-red); border-radius: 8px; color: white; display: inline-flex; font-weight: 850; justify-content: center; min-height: 48px; padding: .65rem 1rem; text-decoration: none; }
.hub-button:hover { background: #ff3428; border-color: #ff3428; }
.hub-button.secondary { background: transparent; border-color: var(--hub-line); color: var(--hub-text); }
.hub-button.secondary:hover { border-color: var(--hub-cyan); }
.hub-section { margin-top: clamp(26px, 5vw, 54px); }
.hub-section-heading { align-items: end; display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; margin-bottom: 1rem; }
.hub-section-heading h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -.03em; margin: 0; }
.hub-section-heading p { color: var(--hub-muted); margin: 0; }
.hub-card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.hub-card { background: var(--hub-panel); border: 1px solid var(--hub-line); border-radius: 13px; overflow: hidden; }
.hub-card > img { aspect-ratio: 16/9; background: var(--hub-panel-soft); display: block; height: auto; object-fit: cover; width: 100%; }
.hub-card-body { padding: clamp(16px, 2.3vw, 24px); }
.hub-card-body h3 { font-size: 1.25rem; letter-spacing: -.025em; margin: 0 0 .45rem; }
.hub-card-body p { color: var(--hub-muted); margin: 0 0 1rem; }
.hub-tag { background: #2a1719; border: 1px solid #73302e; border-radius: 999px; color: #ffb3ae; display: inline-flex; font-size: .7rem; font-weight: 850; letter-spacing: .08em; margin-bottom: .8rem; padding: .28rem .55rem; text-transform: uppercase; }
.hub-card-link { color: var(--hub-cyan); font-weight: 850; text-decoration: none; }
.hub-card-link:hover { color: white; }
.hub-app-card { align-items: center; display: flex; gap: .9rem; }
.hub-app-icon { aspect-ratio: 1; border: 1px solid var(--hub-line); border-radius: 12px; flex: 0 0 64px; height: 64px !important; object-fit: cover !important; width: 64px !important; }
.hub-footer { border-top: 1px solid var(--hub-line); color: var(--hub-muted); font-size: .82rem; margin-top: 3rem; padding-top: 1rem; }
.hub-note { background: #1e252d; border-left: 3px solid var(--hub-red); border-radius: 6px; color: var(--hub-muted); padding: .8rem 1rem; }
@media(max-width:760px) {
  .hub-shell { padding: 14px; }
  .hub-hero { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .hub-hero-copy { order: 0; }
  .hub-visual { order: 1; }
  .hub-topbar { margin-bottom: 20px; }
  .hub-section { margin-top: 28px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; }
}
