/* layout.css */
.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}
.page-main { padding-top: var(--header-h); min-height: 60vh; }
.section { padding: 4.5rem 0; }
.section--tight { padding: 3rem 0; }
.section__header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__header p { margin-bottom: 0; }
.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(6, 13, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.1rem; color: var(--text);
  letter-spacing: 0.04em;
}
.logo span { color: var(--accent); }
.nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  color: var(--text-muted); padding: 0.5rem 0.75rem; font-size: 0.9rem;
  border-radius: 6px;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(0,200,232,0.08); }
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  width: 24px; height: 2px; background: var(--accent);
  transition: transform 0.2s;
}
.nav-mobile {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--bg-elevated); border-bottom: 1px solid var(--border);
  padding: 1rem; flex-direction: column; gap: 0.25rem; z-index: 999;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { color: var(--text); padding: 0.75rem 1rem; border-radius: 8px; }
.nav-mobile a:hover { background: rgba(0,200,232,0.1); }
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand p { max-width: 320px; font-size: 0.9rem; }
.footer-col h4 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.85rem; color: var(--text-muted);
}
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: var(--gradient-hero);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,200,232,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,232,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 60%; height: 50%;
  top: 10%; left: 20%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px); opacity: 0.5;
}
.hero__content { position: relative; z-index: 1; padding: 6rem 0 4rem; }
.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, #0a1525 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
