/* Matches phenomcentral.com: its colours, Big Shoulders Display headings and
   Hanken Grotesk text (read from the live site, 2026-11-02). */
:root {
  --black: #0B0A0F;
  --surface: #121019;
  --surface-raised: #1A1822;
  --border: #26242B;
  --border-light: #34313A;
  --text: #F6F0E6;
  --text-body: #DDD7CD;
  --text-muted: #A6A29D;
  --green: #B8FC70;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text-body);
  font-family: 'Hanken Grotesk', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}
a { color: var(--accent, var(--green)); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: 'Big Shoulders Display', sans-serif; color: var(--text); letter-spacing: 0.01em; line-height: 1.05; }
/* phenomcentral.com sets its headings in capitals. */
h1, h2, .cta-title { text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.4rem); font-weight: 900; margin: 0.35em 0 0.35em; }
h2 { font-size: 1.8rem; font-weight: 800; margin: 2em 0 0.5em; }
h3 { font-size: 1.35rem; font-weight: 800; margin: 1.8em 0 0.5em; }
:focus-visible { outline: 2px solid var(--accent, var(--green)); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 300; background: var(--surface); padding: 8px 12px; }

/* Header, as the homepage's nav */
.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 8px 24px;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; display: block; }
.foot .nav-logo img { height: 42px; }
.nav-right { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
.nav-link:hover, .nav-link.is-current { color: var(--text); background: var(--surface); }
.nav-cta { background: var(--green); color: var(--black); font-weight: 600; }
.nav-cta:hover { background: var(--text); color: var(--black); }
@media (max-width: 720px) {
  .nav { padding: 8px 16px; }
  .nav-link:not(.nav-cta) { display: none; }
  .nav-logo img { height: 44px; }
  .nav-cta { padding: 6px 10px; font-size: 0.8rem; }
}

@media (max-width: 400px) { .cta-long { display: none; } }
@media (max-width: 340px) { .nav { flex-wrap: wrap; } }

/* Article */
.article, .hub { padding-top: 28px; padding-bottom: 56px; }
.crumbs { font-size: 0.85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 4px 6px; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: 0.5; }
.crumbs [aria-current] { color: var(--text-body); overflow: hidden; text-overflow: ellipsis; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 0.875rem; color: var(--text-muted); margin: 0 0 28px; }
.pill { border: 1px solid var(--border-light); border-radius: 999px; padding: 2px 10px; color: var(--text-body); }

.prose p, .prose li { color: var(--text-body); }
.prose .answer { font-size: 1.2rem; color: var(--text); line-height: 1.6; border-left: 3px solid var(--accent, var(--green)); padding-left: 16px; margin: 0 0 1.4em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin: 0.35em 0; }
.prose ol > li::marker { color: var(--accent, var(--green)); font-weight: 700; }
.prose code { font-size: 0.92em; background: var(--surface-raised); padding: 1px 6px; border-radius: 5px; }
.prose blockquote { margin: 1.4em 0; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.prose blockquote p { margin: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.list a { display: block; text-decoration: none; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.list a:hover { border-color: var(--accent, var(--green)); }
.list-title { display: block; color: var(--text); font-weight: 600; }
.list-desc { display: block; color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; margin-top: 2px; }

.cta { margin-top: 48px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.cta p { margin: 0.4em 0; }
.cta-title { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; color: var(--text); font-size: 1.5rem; }
.btn { display: inline-block; margin: 6px 6px 0 0; padding: 9px 16px; border-radius: 9px; background: var(--accent, var(--green)); color: var(--black); font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--text); color: var(--black); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-light); }
.btn-ghost:hover { background: var(--surface-raised); color: var(--text); }

/* Hubs */
.assistant { margin: 20px 0 8px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.assistant p { margin: 0; }
.assistant .btn { margin: 0; }
.lead { font-size: 1.15rem; color: var(--text-body); }
.search { margin: 24px 0 8px; }
.search input { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border-light); border-radius: 10px; padding: 12px 14px; }
.search input::placeholder { color: var(--text-muted); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.jump a { font-size: 0.875rem; text-decoration: none; color: var(--text-body); border: 1px solid var(--border-light); border-radius: 999px; padding: 4px 12px; }
.jump a:hover { color: var(--text); border-color: var(--accent, var(--green)); }
.cat h2 { margin-bottom: 0.2em; }
.cat > .muted { margin-top: 0; }
.product-grid { display: grid; gap: 20px; margin-top: 28px; }
.product-card { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 14px; }
.product-card h2 { margin-top: 0; }
.product-card h2 a { color: var(--text); text-decoration: none; }
.product-card .list a { background: var(--surface-raised); }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 32px 0 24px; margin-top: 24px; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-h { font-size: 1.15rem; margin: 0 0 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; }
.foot li { margin: 4px 0; }
.foot a { color: var(--text-body); text-decoration: none; }
.foot a:hover { color: var(--text); }
