/* HubTeamZone.pro — service-first editorial, cleaning focus */

:root {
  --bg: #f8fafb;
  --surface: #ffffff;
  --text: #1a2330;
  --muted: #4a5a6a;
  --accent: #2d6a7a;
  --accent-soft: #e8f2f4;
  --border: #d8e2e8;
  --max: 42rem;
  --max-wide: 52rem;
  --font: "Georgia", "Times New Roman", serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("../images/site-bg.svg");
  background-repeat: repeat;
  background-size: 800px auto;
  background-attachment: fixed;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
}

h2 {
  font-size: 1.35rem;
  margin-top: 0;
}

h3 {
  font-size: 1.15rem;
  margin-top: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #1f4f5c;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--wide {
  max-width: var(--max-wide);
}

/* HEADER */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 251, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.site-title {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.site-title a {
  color: var(--text);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    width: 100%;
    display: none;
    padding-bottom: 0.5rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section--tight {
  padding-top: 1.5rem;
}

.section__label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.section__title {
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
}

/* Hero */
.hero {
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.35rem 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-ui);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: #245a68;
  color: #fff;
}

.btn--ghost {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--border);
}

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

.hero__trust {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

/* Help grid */
.help-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .help-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.help-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.help-item h3 {
  margin-bottom: 0.35rem;
}

.help-item p:last-child {
  margin-bottom: 0;
}

/* Pathways — two-column where useful */
.pathways {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 780px) {
  .pathways {
    grid-template-columns: 1fr 11rem;
    align-items: start;
  }
}

.pathway-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pathway {
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0 8px 8px 0;
}

.pathway h3 {
  margin-bottom: 0.25rem;
}

.pathway__links {
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.path-rail {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.75rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: rgba(232, 242, 244, 0.5);
}

.path-rail p:last-child {
  margin-bottom: 0;
}

/* Process */
.process-block {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.process-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

/* Selected articles — emphasized + stack */
.selected-emphasis {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
  margin-bottom: 1.5rem;
}

.selected-emphasis h3 {
  margin-bottom: 0.35rem;
}

.article-stack {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-stack li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.article-stack li:last-child {
  border-bottom: none;
}

.article-stack h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.article-stack .summary {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* Archive */
.archive {
  font-size: 0.98rem;
}

.archive ol {
  margin: 0;
  padding-left: 1.35rem;
}

.archive li {
  margin-bottom: 0.5rem;
}

/* Forms */
.form-block {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 1rem;
}

.form-row textarea {
  min-height: 7rem;
  resize: vertical;
}

.contact-details {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-details p {
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.site-footer__grid {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer .muted {
  color: var(--muted);
}

.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer nav li {
  margin-bottom: 0.35rem;
}

/* Article pages */
.article-body {
  padding: 2rem 0 3rem;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.article-body .breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.article-body .breadcrumb a {
  color: var(--muted);
}

.article-body h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.65rem;
}

.article-body .related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.article-body .related h2 {
  margin-top: 0;
}

.related ul {
  list-style: none;
  padding: 0;
}

.related li {
  margin-bottom: 0.45rem;
}

/* Legal narrow */
.legal {
  max-width: 38rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.thankyou-lede {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.link-list li {
  margin-bottom: 0.5rem;
}
