/* ============================================================
   Cybersec Revolution — Microsoft.com-inspired design system
   Segoe UI stack · #0067b8 accent · #f2f2f2 bands · 1084px grid
   CSP-safe: no inline styles anywhere in HTML
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --c-primary: #0067b8;
  --c-primary-hover: #005a9e;
  --c-primary-active: #004578;
  --c-secondary: #0078d4;
  --c-bg: #ffffff;
  --c-bg-soft: #f2f2f2;
  --c-bg-softer: #faf9f8;
  --c-text: #262626;
  --c-heading: #1b1b1b;
  --c-muted: #605e5c;
  --c-border: #e1dfdd;
  --c-border-soft: #edebe9;
  --c-danger: #a4262c;
  --c-danger-bg: #fde7e9;
  --c-success: #107c10;
  --c-success-bg: #dff6dd;
  --c-youtube: #ff0000;
  --c-dark: #1b3a5c;
  --c-darker: #0f2b47;
  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1084px;
  --header-h: 60px;
  --shadow-1: 0 2px 4px rgba(0,0,0,.14), 0 0 2px rgba(0,0,0,.12);
  --shadow-2: 0 8px 24px rgba(0,0,0,.16), 0 2px 6px rgba(0,0,0,.10);
  --ease: cubic-bezier(.1,.9,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
img { border: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-hover); text-decoration: underline; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
::selection { background: #cfe4f7; }
code { font-family: var(--mono); font-size: .9em; background: var(--c-bg-soft); padding: 1px 5px; border-radius: 3px; }

.hidden { display: none !important; }
[hidden] { display: none !important; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: #000; padding: 10px 18px; z-index: 2000;
  font-weight: 600; border: 2px solid #000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.site-main { min-height: calc(100vh - var(--header-h) - 420px); }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0 72px; }
.section-gray { background: var(--c-bg-soft); }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; font-weight: 600; color: var(--c-heading); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.16; font-weight: 600; color: var(--c-heading); }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; color: var(--c-heading); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-sub { color: var(--c-muted); max-width: 640px; margin: -24px 0 36px; }

/* ---------- Buttons (Microsoft style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 36px; padding: 6px 20px;
  background: var(--c-primary); color: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.3;
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: background .12s var(--ease), box-shadow .12s var(--ease);
}
.btn:hover { background: var(--c-primary-hover); color: #fff; text-decoration: none; box-shadow: var(--shadow-1); }
.btn:active { background: var(--c-primary-active); color: #fff; }
.btn-primary { background: var(--c-primary); }
.btn-secondary { background: #fff; color: var(--c-primary); border-color: var(--c-primary); }
.btn-secondary:hover { background: #f3f9fd; color: var(--c-primary-hover); }
.btn-light { background: #fff; color: var(--c-darker); }
.btn-light:hover { background: #eef4fa; color: var(--c-darker); }
.btn-danger { background: var(--c-danger); }
.btn-danger:hover { background: #8e2127; color: #fff; }
.btn-youtube { background: var(--c-youtube); color: #fff; }
.btn-youtube:hover { background: #cc0000; color: #fff; }
.btn-lg { min-height: 48px; padding: 10px 28px; font-size: 16px; }
.btn-sm { min-height: 30px; padding: 3px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-nav { min-height: 32px; padding: 4px 16px; }
.btn:disabled, .btn[data-loading-busy] { opacity: .6; pointer-events: none; }
.btn-glyph svg { width: 16px; height: 16px; }

/* ---------- Arrow links (Microsoft signature) ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--c-primary);
  text-decoration: none; white-space: nowrap;
}
.link-arrow:hover { color: var(--c-primary-hover); text-decoration: underline; }
.link-arrow-glyph svg { width: 14px; height: 14px; transition: transform .15s var(--ease); }
.link-arrow:hover .link-arrow-glyph svg { transform: translateX(3px); }
.link-arrow-light { color: #9fd0f5; }
.link-arrow-light:hover { color: #cfe6f8; }
.link-arrow-lg { font-size: 16.5px; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center;
  padding: 3px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  background: #eef4fa; color: var(--c-primary);
}
.chip-level { background: #e8eef5; color: #33475b; }
.chip-plain { background: var(--c-bg-soft); color: var(--c-muted); }
.chip-light { background: rgba(255,255,255,.16); color: #cfe6f8; }
.chip-filter { background: #fff; color: var(--c-text); border: 1px solid var(--c-border); padding: 7px 16px; font-weight: 400; }
.chip-filter:hover { border-color: var(--c-primary); color: var(--c-primary); text-decoration: none; }
.chip-filter-active { background: var(--c-text); color: #fff; border-color: var(--c-text); }

/* ---------- Flash bars ---------- */
.flash {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--maxw); margin: 16px auto 0; padding: 12px 16px;
  border-radius: var(--radius); font-size: 14.5px;
}
.flash p { flex: 1; }
.flash-ic svg { width: 20px; height: 20px; }
.flash-success { background: var(--c-success-bg); color: #0b5a0b; }
.flash-success .flash-ic { color: var(--c-success); }
.flash-error { background: var(--c-danger-bg); color: var(--c-danger); }
.flash-error .flash-ic { color: var(--c-danger); }
.flash-close { font-size: 22px; line-height: 1; color: inherit; opacity: .7; padding: 4px; }
.flash-close:hover { opacity: 1; }

/* ============================================================
   HEADER — microsoft.com sticky nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--c-border-soft);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 8px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 4px 6px; border-radius: 3px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand-text { font-size: 17px; font-weight: 400; color: var(--c-heading); letter-spacing: -.01em; white-space: nowrap; }
.brand-text b { font-weight: 700; }
.brand-text b { color: var(--c-primary); }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 24px; flex: 1; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 3px;
  font-size: 14.5px; font-weight: 400; color: var(--c-heading);
  text-decoration: none; white-space: nowrap;
}
.nav-link:hover { color: var(--c-primary); text-decoration: none; background: #f5f8fb; }
.nav-link.active { color: var(--c-primary); font-weight: 600; }
.nav-link .chev svg { width: 12px; height: 12px; transition: transform .15s var(--ease); }
.nav-more-btn[aria-expanded="true"] .chev svg { transform: rotate(180deg); }

/* Dropdowns */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 1100;
  min-width: 240px; padding: 8px;
  background: #fff; border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
}
.dropdown-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-more-panel { left: -12px; }
.nav-menu-item {
  display: block; width: 100%; text-align: left;
  padding: 9px 14px; border-radius: 4px;
  font-size: 14.5px; color: var(--c-text); text-decoration: none;
}
.nav-menu-item:hover { background: #f2f7fc; color: var(--c-primary); text-decoration: none; }
.nav-menu-item-btn { font-size: 14.5px; }

/* Profile dropdown */
.dropdown-profile { margin-left: auto; }
.profile-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px; border-radius: 999px; border: 1px solid transparent;
}
.profile-btn:hover { background: #f5f8fb; border-color: var(--c-border-soft); }
.profile-btn[aria-expanded="true"] { background: #f2f7fc; border-color: var(--c-border-soft); }
.profile-btn .chev svg { width: 12px; height: 12px; transition: transform .15s var(--ease); }
.profile-btn[aria-expanded="true"] .chev svg { transform: rotate(180deg); }
.profile-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 600; }
.dropdown-profile-panel { right: 0; left: auto; min-width: 280px; }
.dropdown-panel-head { display: flex; gap: 12px; align-items: center; padding: 10px 14px 14px; margin: 0 6px 8px; border-bottom: 1px solid var(--c-border-soft); }
.dropdown-name { font-weight: 600; font-size: 14.5px; color: var(--c-heading); }
.dropdown-email { font-size: 12.5px; color: var(--c-muted); word-break: break-all; }

/* Avatars */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  flex-shrink: 0;
}
.avatar-sm { width: 28px; height: 28px; font-size: 12.5px; }
.avatar-xl { width: 72px; height: 72px; font-size: 30px; }

/* Header actions */
.nav-auth { display: flex; align-items: center; gap: 14px; margin-left: 16px; }
.nav-signin { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--c-primary); padding: 7px 10px; border-radius: 3px; }
.nav-signin svg { width: 17px; height: 17px; }
.nav-signin:hover { background: #f5f8fb; text-decoration: none; }
.nav-ghost-danger { font-size: 13px; color: var(--c-muted); }
.nav-ghost-danger:hover { color: var(--c-danger); }
.nav-cart { position: relative; display: inline-flex; padding: 8px; border-radius: 3px; color: var(--c-heading); }
.nav-cart svg { width: 21px; height: 21px; }
.nav-cart:hover { background: #f5f8fb; text-decoration: none; }
.cart-badge {
  position: absolute; top: 0; right: -4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--c-primary); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 17px;
  border-radius: 999px; text-align: center;
}
.nav-burger { display: none; padding: 10px; border-radius: 3px; color: var(--c-heading); }
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger:hover { background: #f5f8fb; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1500;
  background: #fff; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--c-border-soft); }
.mobile-nav-links { padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-links a, .m-nav-signout {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 6px;
  font-size: 16px; color: var(--c-text); text-decoration: none;
}
.mobile-nav-links a:hover, .m-nav-signout:hover { background: #f2f7fc; text-decoration: none; }
.m-nav-ic { display: inline-flex; color: var(--c-primary); }
.m-nav-ic svg { width: 20px; height: 20px; }
.m-nav-signout { width: 100%; text-align: left; font-size: 16px; }
.mobile-nav form { margin: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 84px 0 96px; overflow: hidden; }
.hero-container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 14px; }
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: 17.5px; line-height: 1.55; color: var(--c-muted); max-width: 480px; margin-bottom: 32px; }
.hero-ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 40px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--c-muted); }
.hero-badges svg { width: 15px; height: 15px; color: var(--c-success); }
.hero-art img { width: 100%; height: auto; }

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { box-shadow: var(--shadow-2); border-color: var(--c-border); transform: translateY(-2px); }

.service-card { display: flex; flex-direction: column; align-items: flex-start; }
.card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 8px;
  background: #eef4fa; color: var(--c-primary);
  margin-bottom: 18px;
}
.card-ic svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 6px; }
.card-sub { font-size: 13.5px; color: var(--c-muted); margin-bottom: 12px; }
.card-desc { font-size: 14px; line-height: 1.55; color: var(--c-text); flex: 1; margin-bottom: 18px; }
.service-card .link-arrow { margin-top: auto; }

/* ---------- Course cards ---------- */
.course-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.course-band {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 86px; padding: 16px 24px;
}
.course-band-ic { display: inline-flex; color: rgba(255,255,255,.92); }
.course-band-ic svg { width: 34px; height: 34px; }
.course-blue { background: linear-gradient(135deg, #0078d4, #00558f); }
.course-purple { background: linear-gradient(135deg, #6b2fbb, #4b2389); }
.course-green { background: linear-gradient(135deg, #107c10, #0a5a0a); }
.course-orange { background: linear-gradient(135deg, #ca5010, #93400c); }
.course-red { background: linear-gradient(135deg, #d13438, #a0272b); }
.course-teal { background: linear-gradient(135deg, #038387, #026265); }
.course-band .chip { pointer-events: none; }
.course-band .chip-level { background: rgba(255,255,255,.18); color: #fff; }
.course-band .chip-plain { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.course-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.course-meta { display: flex; gap: 8px; margin-bottom: 14px; }
.course-body h3 { margin-bottom: 6px; }
.course-preview { margin: 14px 0 18px; display: flex; flex-direction: column; gap: 6px; }
.course-preview li { font-size: 13.5px; color: var(--c-muted); position: relative; padding-left: 18px; }
.course-preview li::before { content: "•"; position: absolute; left: 4px; color: var(--c-primary); }
.course-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.course-price { font-size: 20px; font-weight: 700; color: var(--c-heading); }

/* Course detail (courses page) */
.courses-list { display: grid; gap: 24px; }
.course-detail { padding: 0; overflow: hidden; }
.course-band-lg { min-height: 120px; padding: 22px 28px; align-items: center; }
.course-band-lg .course-meta { margin: 0; }
.course-detail .course-body { padding: 26px 28px 28px; }
.course-detail h2 { margin-bottom: 8px; }
.course-outline { margin: 18px 0 24px; display: grid; gap: 10px; }
.course-outline li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.course-outline svg { width: 18px; height: 18px; color: var(--c-success); flex-shrink: 0; margin-top: 2px; }

/* ---------- Product cards ---------- */
.card-grid-products { margin-top: 24px; }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-media {
  position: relative; height: 132px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.95);
}
.product-ic svg { width: 44px; height: 44px; }
.product-software { background: linear-gradient(135deg, #0078d4, #00457c); }
.product-reports { background: linear-gradient(135deg, #5c2d91, #371a5e); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,.32); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.product-add-form { margin: 0; }

/* ---------- Tutorial cards ---------- */
.tutorial-card { padding: 0; overflow: hidden; }
.tutorial-media { position: relative; display: block; aspect-ratio: 16/9; background: #0f2b47; overflow: hidden; }
.tutorial-media img { width: 100%; height: 100%; object-fit: cover; }
.tut-ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(0,120,212,.35), transparent 50%),
    linear-gradient(135deg, #123c63, #0a2239 70%);
}
.tut-play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,0,0,.92); color: #fff;
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.tut-play svg { width: 22px; height: 22px; margin-left: 2px; }
.tutorial-media:hover .tut-play { transform: scale(1.1); background: #ff0000; }
.tut-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.75); color: #fff;
  font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 3px;
}
.tutorial-body { padding: 16px 18px 18px; }
.tutorial-body h3 { font-size: 14.5px; line-height: 1.35; margin-bottom: 10px; min-height: 39px; }
.tutorial-body .link-arrow { font-size: 13.5px; }

/* ============================================================
   FEATURED PRODUCT BAND (dark, like MS product highlights)
   ============================================================ */
.feature-band { background: linear-gradient(140deg, var(--c-dark) 0%, var(--c-darker) 60%, #0a2036 100%); color: #fff; }
.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.feature-copy .chip { margin-bottom: 16px; }
.feature-copy h2 { color: #fff; margin-bottom: 16px; }
.feature-sub { color: #c3d5e6; font-size: 16px; line-height: 1.6; margin-bottom: 22px; max-width: 520px; }
.feature-points { display: grid; gap: 10px; margin-bottom: 30px; }
.feature-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #dce8f2; }
.feature-points svg { width: 17px; height: 17px; color: #7fd795; flex-shrink: 0; margin-top: 3px; }
.feature-ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.feature-price { font-size: 30px; font-weight: 700; color: #fff; }
.feature-art img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }

/* ============================================================
   MISSION SECTION
   ============================================================ */
.mission-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.mission-copy h2 { margin-bottom: 20px; }
.mission-text { font-size: 15.5px; line-height: 1.65; color: var(--c-text); margin-bottom: 18px; }
.mission-copy .link-arrow { margin-top: 8px; }
.mission-stats { display: flex; flex-direction: column; gap: 24px; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg); padding: 20px 22px; }
.stat-num { font-size: 30px; font-weight: 700; color: var(--c-primary); line-height: 1.1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--c-muted); line-height: 1.35; }
.mission-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-border-soft);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-lg); padding: 20px 22px;
}
.mission-card svg { width: 24px; height: 24px; color: var(--c-primary); flex-shrink: 0; }
.mission-card p { font-size: 14px; line-height: 1.6; color: var(--c-text); font-style: italic; }

/* ============================================================
   TUTORHUB BAND
   ============================================================ */
.hub-band { background: #fff; border-top: 1px solid var(--c-border-soft); }
.hub-grid {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f7f0f0 100%);
  border: 1px solid #ecd9d9; border-radius: 12px; padding: 36px 40px;
}
.hub-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 16px;
  background: var(--c-youtube); color: #fff;
  box-shadow: 0 10px 24px rgba(255,0,0,.25);
}
.hub-ic svg { width: 30px; height: 30px; margin-left: 3px; }
.hub-copy h2 { margin-bottom: 10px; }
.hub-copy p { font-size: 15px; line-height: 1.6; color: var(--c-muted); max-width: 560px; }
.hub-ctas { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ============================================================
   CTA BAND (consulting redirect)
   ============================================================ */
.cta-band { background: linear-gradient(140deg, var(--c-primary) 0%, #00457c 100%); color: #fff; }
.cta-band-compact { padding: 56px 0; }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-grid-compact { gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-grid p { color: #cfe0ee; font-size: 16px; max-width: 640px; line-height: 1.6; }

/* ============================================================
   FOOTER — microsoft.com light-gray style
   ============================================================ */
.site-footer { background: var(--c-bg-soft); border-top: 1px solid var(--c-border); margin-top: auto; }
.footer-cta { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); padding: 40px 0; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-cta h2 { font-size: 24px; margin-bottom: 6px; }
.footer-cta p { color: var(--c-muted); }
.footer-main { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding: 56px 24px 40px; max-width: var(--maxw); margin: 0 auto; }
.brand-footer { margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: var(--c-muted); max-width: 320px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.social-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--c-muted); border: 1px solid var(--c-border);
  transition: color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.social-ic:hover { color: var(--c-primary); border-color: var(--c-primary); transform: translateY(-2px); text-decoration: none; }
.social-ic svg { width: 18px; height: 18px; }
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { display: inline-flex; opacity: .9; transition: opacity .15s var(--ease), transform .15s var(--ease); }
.store-badge:hover { opacity: 1; transform: translateY(-2px); text-decoration: none; }
.store-badge svg { border-radius: 7px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-heading); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 13.5px; color: var(--c-muted); text-decoration: none; }
.footer-col a:hover { color: var(--c-primary); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--c-border); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12.5px; color: var(--c-muted); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12.5px; color: var(--c-muted); }

/* Back to top (MS signature circle) */
.back-to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--c-heading);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-1);
  display: none; align-items: center; justify-content: center;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.back-to-top.show { display: inline-flex; }
.back-to-top:hover { color: var(--c-primary); border-color: var(--c-primary); }
.back-to-top svg { width: 18px; height: 18px; }

/* ============================================================
   FORMS — Fluent-style fields
   ============================================================ */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--c-heading); }
.field .req { color: var(--c-danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 9px 12px;
  border: 1px solid #8a8886; border-radius: var(--radius);
  background: #fff; font-size: 15px; line-height: 1.4;
  transition: border-color .12s var(--ease), box-shadow .12s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6a6a68; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: inset 0 -2px 0 0 var(--c-primary);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: auto; }
.field-hint { font-size: 12.5px; color: var(--c-muted); margin-top: 5px; }
.field-err { font-size: 12.5px; color: var(--c-danger); margin-top: 5px; }
.field-invalid input, .field-invalid select, .field-invalid textarea { border-color: var(--c-danger); box-shadow: inset 0 -1px 0 0 var(--c-danger); }
.field-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 22px; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-primary); flex-shrink: 0; }
.field-check label { font-size: 13.5px; line-height: 1.5; color: var(--c-text); }
.field-check a { font-weight: 600; }
.field-captcha .captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-q {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 88px; padding: 9px 14px;
  background: #f0f6fc; border: 1px dashed #a9c7e2;
  border-radius: var(--radius); font-weight: 700; color: #24435f;
  letter-spacing: .06em; white-space: nowrap;
}
.field-captcha input { max-width: 120px; text-align: center; font-weight: 600; letter-spacing: .08em; }
.form-errors { background: var(--c-danger-bg); border: 1px solid #e8b4b8; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 22px; }
.form-errors p { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--c-danger); font-size: 14px; margin-bottom: 8px; }
.form-errors ul { display: grid; gap: 5px; padding-left: 4px; }
.form-errors li { list-style: disc inside; color: var(--c-danger); font-size: 13px; }
.form-errors a { color: var(--c-danger); }
.form-errors-ic svg { width: 18px; height: 18px; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--c-muted); background: var(--c-bg-softer); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 20px; }
.form-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--c-primary); }
.form-card h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 20px; }
.form-card h2 svg { width: 22px; height: 22px; color: var(--c-primary); }
.form-card form { margin: 0; }

/* Password strength meter */
.pw-meter { display: flex; align-items: center; gap: 6px; margin: -12px 0 20px; }
.pw-meter-bar { height: 4px; flex: 1; border-radius: 2px; background: var(--c-border); transition: background .2s var(--ease); }
.pw-meter-label { font-size: 11.5px; color: var(--c-muted); min-width: 72px; text-align: right; }
.pw-meter[data-score="1"] .pw1 { background: var(--c-danger); }
.pw-meter[data-score="2"] .pw1, .pw-meter[data-score="2"] .pw2 { background: #eaa300; }
.pw-meter[data-score="3"] .pw1, .pw-meter[data-score="3"] .pw2, .pw-meter[data-score="3"] .pw3 { background: #b7d24b; }
.pw-meter[data-score="4"] .pw1, .pw-meter[data-score="4"] .pw2, .pw-meter[data-score="4"] .pw3, .pw-meter[data-score="4"] .pw4 { background: var(--c-success); }
.pw-meter[data-score="1"] .pw-meter-label { color: var(--c-danger); }
.pw-meter[data-score="4"] .pw-meter-label { color: var(--c-success); }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.page-auth { background: var(--c-bg-soft); }
.auth-wrap { display: flex; justify-content: center; padding: 64px 24px 88px; }
.auth-card {
  width: 100%; max-width: 448px;
  background: #fff; border: 1px solid var(--c-border-soft);
  border-radius: 10px; box-shadow: var(--shadow-1);
  padding: 40px;
}
.auth-card-wide { max-width: 560px; }
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head svg { width: 34px; height: 34px; color: var(--c-primary); margin: 0 auto 14px; }
.auth-head h1 { font-size: 28px; margin-bottom: 10px; }
.auth-head p { font-size: 14px; color: var(--c-muted); line-height: 1.55; }
.auth-links { margin-top: 22px; text-align: center; }
.auth-links p { font-size: 13.5px; color: var(--c-muted); margin: 6px 0; }
.auth-secure {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 24px; padding: 12px 14px;
  background: #f0f6fc; border-radius: var(--radius);
  font-size: 12px; color: #24435f; line-height: 1.5;
}
.auth-secure svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--c-primary); margin-top: 1px; }
.auth-card .flash { margin: 0 0 20px; max-width: none; }

/* Delete account page */
.del-consequences { background: #fff7f7; border: 1px solid #ecc3c6; border-radius: var(--radius-lg); padding: 22px; margin-bottom: 26px; }
.del-consequences h2 { font-size: 15px; margin-bottom: 14px; color: var(--c-danger); }
.del-consequences ul { display: grid; gap: 10px; }
.del-consequences li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--c-text); }
.del-consequences svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--c-danger); margin-top: 2px; }
.del-notice { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.del-notice-info { background: #f0f6fc; border: 1px solid #bcd6ec; border-radius: var(--radius-lg); padding: 18px; }
.del-notice svg { width: 22px; height: 22px; color: var(--c-primary); flex-shrink: 0; }
.del-notice p { font-size: 13.5px; line-height: 1.55; margin-bottom: 12px; }
.del-notice h1 { font-size: 22px; }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.profile-card { position: sticky; top: calc(var(--header-h) + 16px); }
.profile-id { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.profile-id h1 { font-size: 22px; line-height: 1.2; margin-bottom: 2px; }
.profile-username { font-size: 13.5px; color: var(--c-muted); }
.profile-meta { display: grid; gap: 12px; margin-bottom: 18px; }
.profile-meta > div { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; border-bottom: 1px solid var(--c-border-soft); padding-bottom: 10px; }
.profile-meta dt { color: var(--c-muted); }
.profile-meta dd { font-weight: 600; color: var(--c-heading); text-align: right; word-break: break-all; }
.profile-bio { font-size: 13.5px; line-height: 1.6; color: var(--c-text); }
.profile-forms { display: grid; gap: 24px; }
.danger-card { border-color: #ecc3c6; background: #fffdfd; }
.danger-card h2 { color: var(--c-danger); }
.danger-card h2 svg { color: var(--c-danger); }
.danger-sub { font-size: 14px; color: var(--c-muted); margin: -12px 0 18px; }
.danger-card .form-note { background: #fff4f4; }
.danger-card .form-note svg { color: var(--c-danger); }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.page-hero { padding: 64px 0 56px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero-sub { font-size: 16.5px; line-height: 1.6; color: var(--c-muted); max-width: 720px; }
.page-hero-shop { background: linear-gradient(180deg, #f2f8fd 0%, #fff 100%); border-bottom: 1px solid var(--c-border-soft); }
.shop-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 24px; padding: 14px 16px;
  background: #eef6ee; border: 1px solid #c4e0c4; border-radius: var(--radius);
  font-size: 13.5px; color: #1c4a1c; max-width: 720px;
}
.shop-note svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--c-success); margin-top: 2px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-empty { text-align: center; color: var(--c-muted); padding: 40px 0; font-size: 15px; }
.page-title { font-size: 30px; font-weight: 600; color: var(--c-heading); margin-bottom: 22px; }

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.cart-grid-empty { grid-template-columns: 1fr; }
.cart-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px; align-items: center;
  padding: 18px; background: #fff; border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg); margin-bottom: 14px;
}
.cart-item { display: flex; gap: 16px; align-items: center; min-width: 0; }
.cart-item-media {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0;
  color: rgba(255,255,255,.95);
}
.cart-item-media svg { width: 24px; height: 24px; }
.cart-item-info h3 { font-size: 15.5px; margin-bottom: 4px; }
.cart-item-price { font-size: 13px; color: var(--c-muted); }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty-form { margin: 0; }
.btn-qty {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--radius);
  border: 1px solid var(--c-border); color: var(--c-heading); background: #fff;
}
.btn-qty:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-qty svg { width: 14px; height: 14px; }
.cart-qty-num { min-width: 22px; text-align: center; font-weight: 700; }
.cart-item-total { font-weight: 700; font-size: 15.5px; }
.cart-remove { margin: 0; }
.btn-icon { display: inline-flex; padding: 8px; border-radius: var(--radius); color: var(--c-muted); }
.btn-icon:hover { color: var(--c-danger); background: #fdf0f1; }
.btn-icon svg { width: 18px; height: 18px; }
.cart-empty { text-align: center; padding: 72px 24px; background: #fff; border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg); }
.cart-empty svg { width: 48px; height: 48px; color: var(--c-muted); margin: 0 auto 18px; }
.cart-empty h2 { font-size: 22px; margin-bottom: 10px; }
.cart-empty p { color: var(--c-muted); margin-bottom: 22px; }
.checkout-card { position: sticky; top: calc(var(--header-h) + 16px); }
.checkout-sub { font-size: 13.5px; color: var(--c-muted); margin: -14px 0 20px; line-height: 1.55; }
.checkout-legal { font-size: 12px; color: var(--c-muted); text-align: center; margin-top: 12px; }
.cart-summary { background: var(--c-bg-soft); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.cart-summary-muted { color: var(--c-muted); }
.cart-summary-total { border-top: 1px solid var(--c-border); margin-top: 6px; padding-top: 12px; font-size: 16px; }
.cart-summary-total strong { font-size: 20px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: 26px; margin-bottom: 10px; }
.contact-sub { font-size: 15px; color: var(--c-muted); margin-bottom: 24px; line-height: 1.55; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg); padding: 18px 20px;
  text-decoration: none;
}
.contact-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-1); text-decoration: none; }
.contact-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 8px;
  background: #eef4fa; color: var(--c-primary); flex-shrink: 0;
}
.contact-ic svg { width: 20px; height: 20px; }
.contact-label { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 3px; }
.contact-val { font-size: 15px; font-weight: 600; color: var(--c-heading); word-break: break-all; }
.contact-card:hover .contact-val { color: var(--c-primary); }
.contact-note { font-size: 12px; color: var(--c-muted); margin-top: 4px; }
.contact-secure {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 22px; padding: 14px 16px;
  background: #f0f6fc; border-radius: var(--radius);
  font-size: 12.5px; color: #24435f; line-height: 1.5;
}
.contact-secure svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--c-primary); margin-top: 2px; }
.form-card-contact { padding: 32px; }

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-copy p { font-size: 15.5px; line-height: 1.7; margin-bottom: 18px; color: var(--c-text); }
.about-copy b { color: var(--c-heading); }
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.timeline { display: grid; gap: 0; max-width: 720px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--c-border-soft); }
.timeline-year { font-size: 17px; font-weight: 700; color: var(--c-primary); }
.timeline p { font-size: 14.5px; line-height: 1.6; color: var(--c-text); }
.team-card { text-align: center; padding: 32px 24px; }
.team-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%;
  font-size: 30px; font-weight: 700; color: #fff;
  margin-bottom: 18px; letter-spacing: .02em;
}
.avatar-blue { background: linear-gradient(135deg, #0078d4, #00457c); }
.avatar-purple { background: linear-gradient(135deg, #6b2fbb, #4b2389); }
.avatar-green { background: linear-gradient(135deg, #107c10, #0a5a0a); }
.avatar-orange { background: linear-gradient(135deg, #ca5010, #93400c); }
.avatar-red { background: linear-gradient(135deg, #d13438, #a0272b); }
.avatar-teal { background: linear-gradient(135deg, #038387, #026265); }
.team-card h3 { margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--c-primary); text-transform: uppercase; margin-bottom: 12px; }
.team-card .link-arrow { margin-top: 14px; }
.value-card { padding: 24px; }

/* ============================================================
   CONSULTING PAGE
   ============================================================ */
.page-hero-consult, .page-hero-courses { background: linear-gradient(180deg, #f2f8fd 0%, #fff 100%); border-bottom: 1px solid var(--c-border-soft); }
.consult-list { display: grid; gap: 12px; max-width: 860px; }
.consult-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; background: #fff; border: 1px solid var(--c-border-soft); border-radius: var(--radius); }
.consult-list svg { width: 16px; height: 16px; color: var(--c-primary); flex-shrink: 0; margin-top: 4px; }
.consult-list span { font-size: 14px; line-height: 1.55; }
.consult-list b { color: var(--c-heading); }
.tier-card { display: flex; flex-direction: column; padding: 30px; }
.tier-card h3 { font-size: 19px; margin-bottom: 8px; }
.tier-price { font-size: 24px; font-weight: 700; color: var(--c-heading); margin-bottom: 4px; }
.tier-period { font-size: 13px; font-weight: 400; color: var(--c-muted); }
.tier-card .card-desc { margin-bottom: 20px; }
.tier-features { display: grid; gap: 10px; margin-bottom: 24px; }
.tier-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; }
.tier-features svg { width: 16px; height: 16px; color: var(--c-success); flex-shrink: 0; margin-top: 2px; }
.tier-card .btn { margin-top: auto; }
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; }
.process-step { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg); }
.process-num { font-size: 26px; font-weight: 700; color: #c9def0; line-height: 1; }
.process-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; line-height: 1.55; color: var(--c-muted); }

/* ============================================================
   TUTORHUB PAGE
   ============================================================ */
.hub-hero { background: linear-gradient(140deg, #0f2b47 0%, #123c63 60%, #0a2036 100%); color: #fff; }
.hub-hero h1, .hub-hero .page-hero-sub { color: #fff; }
.hub-hero .page-hero-sub { color: #c3d5e6; }
.hub-hero-grid { display: flex; gap: 32px; align-items: center; }
.hub-hero-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 22px;
  background: var(--c-youtube); color: #fff; flex-shrink: 0;
  box-shadow: 0 14px 34px rgba(255,0,0,.3);
}
.hub-hero-ic svg { width: 38px; height: 38px; margin-left: 4px; }
.hub-perks { display: grid; gap: 18px; }
.hub-perk { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg); padding: 20px 22px; }
.hub-perk svg { width: 22px; height: 22px; color: var(--c-primary); flex-shrink: 0; }
.hub-perk h3 { font-size: 15.5px; margin-bottom: 4px; }
.hub-perk p { font-size: 13.5px; color: var(--c-muted); line-height: 1.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-size: 15.5px; font-weight: 600; color: var(--c-heading);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-primary); }
.faq-chev svg { width: 16px; height: 16px; color: var(--c-primary); transition: transform .18s var(--ease); flex-shrink: 0; }
.faq-item[open] .faq-chev svg { transform: rotate(180deg); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: 14.5px; line-height: 1.65; color: var(--c-text); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.page-hero-legal { padding: 56px 0 40px; background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); }
.legal-updated { font-size: 13px; color: var(--c-muted); }
.legal-doc { max-width: 820px; }
.legal-sec { margin-bottom: 36px; }
.legal-sec h2 { font-size: 19px; margin-bottom: 12px; }
.legal-sec p { font-size: 14.5px; line-height: 1.7; color: var(--c-text); margin-bottom: 12px; }
.legal-sec b { color: var(--c-heading); }
.legal-list { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 12px; }
.legal-list li { list-style: disc; font-size: 14.5px; line-height: 1.6; }

/* ============================================================
   ERROR PAGES
   ============================================================ */
.page-error { background: var(--c-bg-soft); }
.error-wrap { text-align: center; padding: 96px 24px 120px; }
.error-code { font-size: 15px; font-weight: 700; letter-spacing: .3em; color: var(--c-primary); text-transform: uppercase; margin-bottom: 10px; }
.error-wrap h1 { font-size: 34px; margin-bottom: 14px; }
.error-sub { font-size: 16px; color: var(--c-muted); max-width: 520px; margin: 0 auto 32px; line-height: 1.6; }
.error-wrap .hero-ctas { justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-ghost-danger { display: none; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .feature-grid, .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; max-width: 480px; margin: 0 auto; }
  .feature-art { max-width: 440px; margin: 0 auto; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .about-grid, .contact-grid, .cart-grid { grid-template-columns: 1fr; }
  .checkout-card, .profile-card { position: static; }
  .profile-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 72px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-signin span { display: none; }
  .nav-signin { padding: 8px; }
  .profile-name { display: none; }
  .hub-grid { grid-template-columns: 1fr; text-align: center; }
  .hub-ic { margin: 0 auto; }
  .hub-ctas { align-items: center; }
  .hub-hero-grid { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 20px; margin: 0 8px; }
  .auth-wrap { padding: 40px 8px 64px; }
  .btn { width: 100%; }
  .hero-ctas, .feature-ctas { flex-direction: column; align-items: stretch; gap: 14px; }
  .link-arrow-lg { text-align: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cart-row { grid-template-columns: 1fr; gap: 12px; }
  .cart-item-total { text-align: left; }
  .cart-remove { position: absolute; top: 10px; right: 10px; }
  .cart-row { position: relative; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .back-to-top { right: 16px; bottom: 16px; }
  .hero-badges { gap: 10px; }
  .page-hero { padding: 48px 0 40px; }
}
@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-nav, .back-to-top, .footer-cta, .flash { display: none !important; }
}
