/* ===========================================================================
   Experience IT — guide theme
   Layered OVER each guide's own stylesheet, so the intricate phone / Windows
   dialog mockups inside keep working. This only restyles the chrome, the
   palette and the typography to match the main site.

   Deliberate choice: the hero is dark like the site, the document body stays
   light. These guides are read at length and printed — dark long-form text is
   harder to read and wastes ink on the printer.
   ========================================================================= */

@import url('/brand.css');

/* Remap the guides' OWN token names onto the brand tokens, so their existing
   rules (which reference --brand, --mid, --bg …) pick up the house palette
   without every rule inside them having to be rewritten. */
:root {
  --brand:       var(--red);
  --brand-dark:  var(--red-d);
  --brand-light: #FFF1F3;
  --accent:      var(--red);
  --success:     var(--red-d);
  --dark:        var(--paper-ink);
  --mid:         var(--paper-2);
  --light:       var(--paper-3);
  --bg:          var(--paper);
  --white:       var(--card);
}

body { background: var(--bg) !important; font-family: var(--b) !important; }

/* ---- site header strip, matching the main site ------------------------- */
.eit-bar { background: var(--void); border-bottom: 1px solid rgba(255,255,255,.08); }
.eit-bar-inner {
  max-width: 1000px; margin: 0 auto; padding: 14px clamp(16px,4vw,40px);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.eit-bar img { height: 40px; width: auto; filter: drop-shadow(0 0 14px rgba(255,30,60,.45)); }
.eit-wm {
  font-family: var(--d); font-weight: 700; font-size: 18px; letter-spacing: .045em;
  color: #fff; line-height: 1; white-space: nowrap;
}
.eit-wm em { font-style: normal; color: var(--red); text-shadow: 0 0 18px rgba(255,30,60,.8); }
.eit-wm-rule {
  display: block; height: 2px; width: 100%; margin-top: 6px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
}
.eit-bar .sp { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.eit-bar .sp a {
  font-family: var(--m); font-size: 12px; color: rgba(255,255,255,.72);
  text-decoration: none; transition: color .2s;
}
.eit-bar .sp a:hover { color: var(--cyan); }
@media(max-width:640px){ .eit-bar .sp { width: 100%; margin-left: 0; } }

/* ---- hero -------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #04060A 0%, #1A0410 46%, #2B0714 100%) !important;
  position: relative; overflow: hidden;
}
.hero::before {
  background: radial-gradient(circle, rgba(255,30,60,.28), transparent 65%) !important;
}
.hero::after {
  background: radial-gradient(circle, rgba(0,229,255,.14), transparent 68%) !important;
}
.hero h1 {
  font-family: var(--d) !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: -.015em;
}
.hero h1 em { color: var(--red) !important; text-shadow: 0 0 24px rgba(255,30,60,.55); }
.hero p { font-family: var(--b) !important; }
.hero-badge {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  font-family: var(--m) !important; font-size: 11px !important;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero-badge span { background: var(--cyan) !important; box-shadow: 0 0 10px var(--cyan); }
.hero-meta-item { font-family: var(--m) !important; font-size: 12px !important; letter-spacing: .04em; }

/* ---- headings & section rules ------------------------------------------ */
.section-heading {
  font-family: var(--m) !important; color: var(--red) !important;
  letter-spacing: .18em !important;
}
.section-heading::after { background: linear-gradient(90deg, var(--red), transparent) !important; }
h2, h3, .step-header-text h3, .settings-card h2, .route-card h3 { font-family: var(--d) !important; }

/* ---- cards ------------------------------------------------------------- */
.settings-card, .step-card, .route-card {
  border-radius: 14px !important;
  border: 1px solid #E6E8EC !important;
  box-shadow: 0 2px 18px rgba(11,14,20,.06) !important;
}
.settings-card::before { background: linear-gradient(90deg, var(--red), var(--cyan)) !important; }
.step-header { background: #F7F8FA !important; border-bottom: 1px solid #EDEFF2 !important; }
.step-num-badge {
  background: var(--red) !important; font-family: var(--d) !important;
  box-shadow: 0 4px 16px rgba(255,30,60,.4) !important;
}
.step-tag { font-family: var(--m) !important; color: var(--red) !important; letter-spacing: .12em !important; }

/* ---- callouts ---------------------------------------------------------- */
.note-box  { background: #F4F6F8 !important; border-left: 3px solid var(--cyan) !important; }
.tip-box   { background: #FFF1F3 !important; border-left: 3px solid var(--red) !important; color: #6B0716 !important; }
.warn-box  { background: #FFF1F3 !important; border: 1px solid #FFC9D1 !important; border-left: 4px solid var(--red) !important; }
.code-chip, .kbd, .path-inline {
  font-family: var(--m) !important; background: #0B0E14 !important;
  color: var(--cyan) !important; border: 1px solid #232A34 !important;
}

/* ---- closing card ------------------------------------------------------ */
.done-card {
  background: linear-gradient(135deg, #B3001C 0%, #04060A 100%) !important;
  border-radius: 18px !important;
}
.done-card h2 { font-family: var(--d) !important; text-transform: uppercase; letter-spacing: -.01em; }

/* ---- footer ------------------------------------------------------------ */
.eit-foot {
  background: var(--void); color: rgba(255,255,255,.55);
  font-family: var(--m); font-size: 11.5px; letter-spacing: .04em;
  padding: 26px clamp(16px,4vw,40px); margin-top: 40px;
  display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
}
.eit-foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.eit-foot a:hover { color: var(--cyan); }
.eit-foot .sp { margin-left: auto; }
footer { display: none !important; }   /* replaced by .eit-foot */

/* ---- print: strip the dark chrome, keep the ink ------------------------ */
@media print {
  .eit-bar, .eit-foot { background: #fff !important; color: #000 !important; border: 0 !important; }
  .eit-wm, .eit-bar .sp a { color: #000 !important; }
  .hero { background: #fff !important; color: #000 !important; }
  .hero h1, .hero p, .hero-meta-item { color: #000 !important; }
  .hero::before, .hero::after { display: none !important; }
  .done-card { background: #fff !important; color: #000 !important; border: 1px solid #999 !important; }
  .step-card, .settings-card { break-inside: avoid; }
}
