/* ════════════════════════════════════════════════
   entityOS Learn · GitHub Pages Jekyll Theme
   entityos.css — v2 (black/green brand)
   ════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── Design Tokens ─── */
:root {
  --green:         #3dbe4a;
  --green-dark:    #2ea03b;
  --green-dim:     rgba(61, 190, 74, 0.12);
  --green-strong:  rgba(61, 190, 74, 0.22);

  --accent:        var(--green);
  --accent-dim:    var(--green-dim);

  --bg:          #0a0a0a;
  --surface:     #111111;
  --surface2:    #181818;
  --surface3:    #222222;
  --border:      #282828;
  --border2:     #343434;

  --text:        #ffffff;
  --muted:       rgba(255,255,255,0.55);
  --muted2:      rgba(255,255,255,0.30);

  --shadow:      0 2px 20px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 56px rgba(0,0,0,0.7);

  --nav-h:       64px;
  --sidebar-w:   260px;

  --font-sans:   'Barlow', 'Arial Black', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
ul[role="list"], ol[role="list"] { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
  border-bottom-color: var(--border2);
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.nav-inner {
  display: flex; align-items: center;
  height: 100%;
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: 48px; flex-shrink: 0;
}
.nav-brand:hover { text-decoration: none; }

.brand-icon {
  width: 32px; height: 32px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.02em;
}

.brand-learn {
  display: inline-block;
  background: var(--green); color: #000;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  padding: 2px 7px; margin-left: 8px; vertical-align: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none; flex: 1;
}

.nav-links a,
.nav-links .dropdown-trigger {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 16px;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  background: none; border: none; cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s;
  font-family: var(--font-sans);
}

.nav-links a:hover, .nav-links .dropdown-trigger:hover {
  color: #fff; text-decoration: none;
}

.nav-links a.active { color: var(--green); }

.has-dropdown { position: relative; }

.dropdown-menu {
  display: none; position: absolute;
  top: calc(100% + 1px); left: 0;
  min-width: 210px;
  background: #111;
  border: 1px solid var(--border2);
  border-top: 2px solid var(--green);
  padding: 8px 0; list-style: none; z-index: 200;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.12s, background 0.12s;
}

.dropdown-menu a:hover { color: #fff; background: var(--surface2); text-decoration: none; }

.nav-cta { margin-left: auto; }

.btn-console {
  display: inline-flex; align-items: center;
  padding: 9px 22px;
  background: var(--green); color: #000 !important;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; transition: background 0.15s;
}

.btn-console:hover { background: var(--green-dark); text-decoration: none; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: 16px;
}

.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.8); transition: all 0.2s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #0a0a0a;
  border-top: 2px solid var(--green);
  z-index: 99; padding: 24px 0; overflow-y: auto;
}

.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0 24px; }

.mobile-menu ul li a {
  display: block; padding: 12px 0;
  font-size: 18px; font-weight: 600;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

.mobile-menu ul li a:hover { color: var(--green); text-decoration: none; }

.mobile-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green);
  padding: 20px 0 6px; display: block;
}

.mobile-cta {
  margin-top: 24px !important;
  background: var(--green) !important; color: #000 !important;
  text-align: center !important; font-weight: 800 !important;
  border: none !important; padding: 14px !important;
  text-transform: uppercase !important; letter-spacing: 0.06em !important;
}

/* ═══════════════════════════════════════
   PAGE HERO (guide pages)
═══════════════════════════════════════ */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 48px;
  margin-top: var(--nav-h);
}

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted2); margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--muted2); }

.hero-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(30px, 5vw, 52px); font-weight: 900;
  letter-spacing: -0.025em; color: var(--text); line-height: 1.08;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 18px; color: var(--muted); margin-top: 14px;
  max-width: 600px; line-height: 1.65;
}

/* ═══════════════════════════════════════
   MAIN LAYOUT
═══════════════════════════════════════ */
.page-main { flex: 1; padding-top: var(--nav-h); }
.page-hero + .page-main { padding-top: 0; }
.page-main > .container { padding-top: 56px; padding-bottom: 96px; }

.page-main.layout-sidebar {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px; gap: 56px; align-items: start;
}

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */
.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  padding: 32px 0;
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
  border-right: 1px solid var(--border);
}

.sidebar-section { margin-bottom: 32px; padding-right: 24px; }

.sidebar-heading {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}

.sidebar-section ul { list-style: none; }
.sidebar-section ul li a {
  display: block; padding: 7px 0 7px 14px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  border-left: 2px solid transparent;
  transition: all 0.12s;
}
.sidebar-section ul li a:hover { color: var(--text); border-left-color: var(--border2); text-decoration: none; }
.sidebar-section ul li a.sidebar-active { color: var(--green); border-left-color: var(--green); font-weight: 700; }

/* ═══════════════════════════════════════
   CONTENT AREA
═══════════════════════════════════════ */
.content-area { padding: 32px 0 80px; min-width: 0; }

.content-area h1 { font-size: 38px; font-weight: 900; letter-spacing: -0.025em; color: var(--text); margin: 0 0 28px; }
.content-area h2 { font-size: 26px; font-weight: 800; color: var(--text); margin: 56px 0 16px; padding-top: 56px; border-top: 1px solid var(--border); letter-spacing: -0.01em; }
.content-area h3 { font-size: 19px; font-weight: 700; color: var(--text); margin: 36px 0 12px; }
.content-area h4 { font-size: 15px; font-weight: 700; color: var(--text); margin: 24px 0 8px; }

.content-area p { color: var(--muted); margin-bottom: 20px; font-size: 16px; line-height: 1.75; }
.content-area strong { color: var(--text); font-weight: 700; }

.content-area ul, .content-area ol {
  margin: 0 0 20px; padding-left: 0; list-style: none;
  color: var(--muted); font-size: 16px; line-height: 1.75;
}

.content-area ul li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.content-area ul li::before { content: '—'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.content-area ol { counter-reset: ol; }
.content-area ol li { padding-left: 28px; position: relative; margin-bottom: 8px; counter-increment: ol; }
.content-area ol li::before { content: counter(ol) '.'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.content-area a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.content-area a:hover { color: #fff; }

.content-area code {
  font-family: var(--font-mono); font-size: 13px;
  background: var(--surface2); color: var(--green);
  padding: 2px 7px; border: 1px solid var(--border2);
}

.content-area pre {
  background: #050505;
  border: 1px solid var(--border2);
  border-left: 3px solid var(--green);
  padding: 24px; overflow-x: auto; margin: 28px 0;
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.65;
  position: relative;
}

.content-area pre code { background: none; color: #c8f5cb; padding: 0; border: none; }
.content-area img { border: 1px solid var(--border2); margin: 28px 0; }
.content-area hr { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

.content-area blockquote {
  border-left: 3px solid var(--green);
  padding: 16px 24px; background: var(--surface2);
  margin: 28px 0; color: var(--muted); font-size: 15px;
}

/* ═══════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════ */
.home .page-main { padding-top: 0; }

/* HERO — full black with radial vortex lines */
.home-hero {
  min-height: 100svh;
  display: flex; align-items: center;
  background: #000;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}

/* Vortex / diagonal line overlay matching entityOS.io */
.home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 48px,
      rgba(255,255,255,0.02) 48px,
      rgba(255,255,255,0.02) 49px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 80px,
      rgba(255,255,255,0.012) 80px,
      rgba(255,255,255,0.012) 81px
    );
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 960px; padding: 80px 32px;
}

.hero-h1 {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 900; letter-spacing: -0.03em;
  color: #fff; line-height: 1.0; margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 56px;
}

.hero-actions { display: flex; gap: 0; flex-wrap: wrap; }

/* Flat outlined buttons — exact entityOS.io style */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 18px 40px;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; transition: all 0.18s;
  background: transparent;
}

.btn-primary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}

.btn-start {
  display: inline-flex; align-items: center;
  padding: 18px 40px;
  background: #fff; color: #000;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; transition: all 0.18s;
  border: 2px solid #fff;
  margin-left: 16px;
}

.btn-start:hover {
  background: var(--green); border-color: var(--green);
  color: #000; text-decoration: none;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 36px; right: 48px;
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green); z-index: 2;
}

.hero-scroll svg { animation: bounceDown 1.6s ease-in-out infinite; }

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero-scroll-line {
  position: absolute; right: -2px; bottom: -70px;
  width: 2px; height: 60px;
  background: linear-gradient(to bottom, var(--green), transparent);
}

/* ─── Sections ─── */
.section { padding: 96px 0; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--text); line-height: 1.05; margin-bottom: 16px;
}

.section-sub {
  font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 640px;
}

/* ─── Green "Why entityOS" section ─── */
.section-green {
  background: var(--green);
}

.section-green .section-label { color: rgba(0,0,0,0.5); }
.section-green .section-title { color: #000; }
.section-green .section-sub { color: rgba(0,0,0,0.6); }

.pillars-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.2); margin-top: 56px;
}

.pillar {
  padding: 36px 24px; text-align: center;
  border-right: 1px solid rgba(0,0,0,0.15);
}

.pillar:last-child { border-right: none; }
.pillar-title { font-size: 20px; font-weight: 900; color: #000; margin-bottom: 10px; }
.pillar-desc { font-size: 14px; font-weight: 600; color: rgba(0,0,0,0.6); line-height: 1.5; }

/* ─── Grid card system (all grids share same gap/border style) ─── */
.grid-cards {
  display: grid; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cards.cols-auto { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.grid-card {
  display: block; background: var(--surface);
  padding: 32px; text-decoration: none;
  transition: background 0.15s; position: relative;
}

.grid-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s;
}

.grid-card:hover { background: var(--surface2); text-decoration: none; }
.grid-card:hover::after { transform: scaleX(1); }

.card-icon { font-size: 24px; margin-bottom: 18px; display: block; }
.card-num {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.card-title { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.card-link { font-size: 13px; font-weight: 700; color: var(--green); margin-top: 18px; display: block; }

/* ─── "What is it?" feature list ─── */
.what-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 48px;
}

.what-item { display: flex; gap: 20px; align-items: flex-start; }

.what-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--green-dim);
  border: 1px solid rgba(61,190,74,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 22px;
}

.what-text h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.what-text p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ─── CTA ─── */
.cta-section { text-align: center; background: var(--surface); border-top: 1px solid var(--border); }

/* ─── Contact ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px;
}

.contact-info h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}

.contact-info p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.contact-info a { color: var(--green); }

/* ─── Step list ─── */
.step-list {
  margin-top: 40px; display: flex; flex-direction: column;
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}

.step-item {
  display: flex; gap: 24px;
  background: var(--surface); padding: 28px 32px; transition: background 0.15s;
}
.step-item:hover { background: var(--surface2); }

.step-num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--green); color: #000;
  font-size: 15px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

.step-content {}
.step-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-desc a { color: var(--green); }

/* ─── Callouts ─── */
.callout { padding: 18px 22px; margin: 28px 0; border-left: 3px solid; font-size: 14.5px; line-height: 1.65; }
.callout-info { background: rgba(61,190,74,0.08); border-color: var(--green); color: var(--muted); }
.callout-warn { background: rgba(245,158,11,0.1); border-color: #f59e0b; color: #fbbf24; }
.callout-success { background: rgba(61,190,74,0.12); border-color: var(--green); color: #6ee77a; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: #000; border-top: 1px solid var(--border); margin-top: auto;
}

.footer-inner {
  display: grid; grid-template-columns: 200px 1fr; gap: 64px;
  max-width: 1200px; margin: 0 auto; padding: 64px 32px 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo-mark {
  width: 44px; height: 44px; background: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}

.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; }

.footer-nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }

.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green); margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }

.footer-base {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
}

.footer-base p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-base a { color: rgba(255,255,255,0.4); }
.footer-base a:hover { color: #fff; }

#theme-toggle {
  background: none; border: 1px solid var(--border2); cursor: pointer;
  color: rgba(255,255,255,0.45); padding: 6px 10px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-family: var(--font-sans); transition: all 0.15s;
}
#theme-toggle:hover { border-color: var(--green); color: var(--green); }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up { animation: fadeUp 0.65s ease both; }
.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.6s; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .pillars-strip { grid-template-columns: repeat(2,1fr); }
  .what-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-cards.cols-3 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 960px) {
  .page-main.layout-sidebar { grid-template-columns: 1fr; padding: 0 24px; }
  .sidebar { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-start { margin-left: 0; }
  .hero-scroll { display: none; }
  .pillars-strip { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .grid-cards.cols-3 { grid-template-columns: 1fr; }
  .grid-cards.cols-2 { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-content { padding: 48px 20px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .grid-cards.cols-auto { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 14px; text-align: center; }
}

@media print {
  .site-header, .sidebar, .site-footer { display: none; }
  .page-main.layout-sidebar { grid-template-columns: 1fr; }
}
