
:root{
  --bg:#070b12;
  --panel:#0c1220;
  --panel2:#0a101d;
  --card: rgba(255,255,255,0.04);
  --card2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --muted: rgba(230,238,255,0.72);
  --muted2: rgba(230,238,255,0.55);
  --text: rgba(245,248,255,0.95);
  --accent: #58a6ff;
  --accent2:#7ee787;
  --danger:#ff6b6b;
  --warn:#ffd36b;
  --radius: 18px;
  --radius2: 22px;
  --shadow: 0 12px 50px rgba(0,0,0,0.55);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 12% 10%, rgba(88,166,255,0.14), transparent 55%),
    radial-gradient(1000px 700px at 70% 20%, rgba(126,231,135,0.10), transparent 60%),
    radial-gradient(900px 650px at 40% 95%, rgba(255,211,107,0.07), transparent 60%),
    linear-gradient(180deg, #05070b 0%, #070b12 40%, #05070b 100%);
}

a{ color: inherit; text-decoration:none; }
.container{ width:min(1180px, calc(100% - 36px)); margin: 0 auto; }

.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(5,7,11,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner{ display:flex; align-items:center; justify-content:space-between; padding: 14px 0; gap: 14px;}
.brand{ display:flex; align-items:center; gap: 10px; }
.brand__mark{
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(88,166,255,0.95), rgba(88,166,255,0.18));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset, 0 10px 30px rgba(88,166,255,0.14);
}
.brand__name{ font-weight: 900; letter-spacing: 0.02em; }
.brand__sub{ font-size: 12px; color: var(--muted2); margin-top:2px;}

.nav__links{ display:flex; align-items:center; gap: 14px; flex-wrap:wrap; justify-content:flex-end; }
.nav__links a{ color: var(--muted); font-size: 14px; padding: 8px 10px; border-radius: 999px; }
.nav__links a:hover{ background: rgba(255,255,255,0.05); }

.btn{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .06s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ background: rgba(255,255,255,0.07); }
.btn:active{ transform: translateY(1px); }
.btn:disabled{ opacity:0.55; cursor:not-allowed; }
.btn--primary{
  background: linear-gradient(135deg, rgba(88,166,255,0.95), rgba(88,166,255,0.25));
  border-color: rgba(88,166,255,0.45);
}
.btn--danger{
  background: linear-gradient(135deg, rgba(255,107,107,0.95), rgba(255,107,107,0.18));
  border-color: rgba(255,107,107,0.35);
}
.btn--ghost{ background: transparent; }
.btn--subtle{ background: rgba(255,255,255,0.03); }

.hero{ padding: 28px 0 20px; }
.hero__wrap{
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 22px 22px 18px;
  background:
    radial-gradient(700px 350px at 15% 0%, rgba(88,166,255,0.16), transparent 60%),
    radial-gradient(700px 350px at 80% 0%, rgba(255,211,107,0.10), transparent 60%),
    rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}
.h1{ font-size: 30px; margin: 0 0 6px; font-weight: 950; }
.lead{ color: var(--muted); margin: 0 0 14px; line-height:1.6; }
.hero__cta{ display:flex; gap: 10px; flex-wrap:wrap; }
.badges{ display:flex; gap: 8px; flex-wrap:wrap; margin-top: 14px; }
.pill{
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 5px 10px;
  border-radius: 999px;
}

.section{ padding: 18px 0 10px; }
.h2{ font-size: 22px; margin: 0 0 10px; font-weight: 950; }
.h3{ font-size: 16px; margin: 0 0 8px; font-weight: 900; }
.small{ font-size: 13px; }
.muted{ color: var(--muted); }
.muted2{ color: var(--muted2); }

.grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 920px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid{ grid-template-columns: 1fr; } }

.card{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.03);
  padding: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.card__top{ display:flex; align-items:flex-start; justify-content:space-between; gap: 10px; }
.badge{
  font-size: 12px; color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);
  padding: 5px 9px;
  border-radius: 999px;
  white-space:nowrap;
}
.badge--done{ border-color: rgba(126,231,135,0.30); background: rgba(126,231,135,0.10); }
.badge--active{ border-color: rgba(88,166,255,0.30); background: rgba(88,166,255,0.10); }

.card p{ margin: 8px 0 0; color: var(--muted); line-height:1.5; }

.kpis{
  display:flex; align-items:center; justify-content:space-between; gap: 12px; flex-wrap:wrap;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
}

.meter{
  width: 220px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
  height: 10px;
  overflow:hidden;
}
.meter__bar{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(88,166,255,0.95), rgba(126,231,135,0.80));
}

hr.sep{
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 12px 0;
}

.dialog{
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  background: rgba(8,12,20,0.96);
  color: var(--text);
  width: min(980px, calc(100% - 24px));
  box-shadow: var(--shadow);
}
.dialog::backdrop{ background: rgba(0,0,0,0.70); }
.dialog__head{ display:flex; align-items:flex-start; justify-content:space-between; gap: 12px; padding: 14px 14px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dialog__title{ font-weight: 950; }
.dialog__body{ padding: 14px; }
.checklist{ display:grid; gap: 10px; margin-top: 10px; }
.checkrow{
  display:flex; align-items:flex-start; gap: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 10px 10px;
  background: rgba(255,255,255,0.03);
}
.checkrow input{ margin-top: 4px; }
.checkrow b{ color: rgba(255,255,255,0.92); }
.notearea{
  width: 100%;
  min-height: 90px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
}
.footer{
  padding: 24px 0 36px;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.5;
}

.imgRow{ display:flex; gap: 12px; flex-wrap:wrap; }
.imgCard{
  flex: 1 1 260px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  overflow:hidden;
}
.imgCard img{ width: 100%; display:block; }
.imgCard .cap{ padding: 10px 12px; color: var(--muted); font-size: 13px; }

/* Launchpad + Tour Coach (same mechanic as CI v2) */
.launch{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items:start;
}
@media (max-width: 900px){ .launch{ grid-template-columns: 1fr; } }

.disciplineGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 700px){ .disciplineGrid{ grid-template-columns: 1fr; } }

.discCard{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
  padding: 10px 12px;
  cursor:pointer;
  transition: background .12s ease, border-color .12s ease, transform .06s ease;
}
.discCard:hover{ background: rgba(255,255,255,0.06); }
.discCard:active{ transform: translateY(1px); }
.discCard--active{
  border-color: rgba(88,166,255,0.55);
  background: rgba(88,166,255,0.10);
}
.discTitle{ font-weight: 900; margin-bottom: 4px; }
.discMeta{ color: var(--muted); font-size: 12px; line-height: 1.4; }

.modeBox{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
}
.modeRow{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 8px;
  border-radius: 14px;
  cursor:pointer;
}
.modeRow:hover{ background: rgba(255,255,255,0.04); }
.modeTitle{ font-weight: 900; }

.tourOverlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.tourSpotlight{
  position: fixed;
  z-index: 10000;
  border-radius: 16px;
  border: 1px solid rgba(88,166,255,0.55);
  box-shadow:
    0 0 0 9999px rgba(0,0,0,0.65),
    0 0 28px rgba(88,166,255,0.22);
  pointer-events: none;
}
.tourCoach{
  position: fixed;
  z-index: 10001;
  width: min(460px, calc(100% - 20px));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  background: rgba(10,14,22,0.92);
  box-shadow: var(--shadow);
  padding: 12px 12px 10px;
  pointer-events: auto;
}
.tourCoach__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.tourCoach__title{ font-weight: 950; letter-spacing: 0.01em; }
.tourCoach__meta{ color: var(--muted2); font-size: 12px; margin-top: 2px; }
.tourCoach__body{ color: var(--muted); font-size: 13px; line-height: 1.55; }
.tourCoach__actions{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.tourCoach__left, .tourCoach__right{ display:flex; gap: 8px; flex-wrap:wrap; }
.tourChip{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
}


/* LOTO launchpad yellow guidance prompts */
.guideTip{
  position: relative;
}
.guideTip::after{
  content: attr(data-guide);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  z-index: 10020;
  width: min(320px, calc(100vw - 32px));
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 213, 94, .72);
  background: linear-gradient(135deg, rgba(255, 230, 141, .98), rgba(255, 198, 64, .96));
  color: #172033;
  box-shadow: 0 16px 34px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.22) inset;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
}
.guideTip::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  transform: translateX(-50%);
  z-index: 10021;
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: rgba(255, 198, 64, .96) transparent transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
}
.guideTip:hover::after,
.guideTip:focus-visible::after,
.guideTip:focus-within::after{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.guideTip:hover::before,
.guideTip:focus-visible::before,
.guideTip:focus-within::before{
  opacity: 1;
}
.guideTip--gold{
  border-color: rgba(255, 213, 94, .40);
}
.launchGuide{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 213, 94, .35);
  background: rgba(255, 213, 94, .10);
  color: rgba(255, 241, 195, .94);
  font-size: 12px;
  line-height: 1.45;
}
#btnStartTour:disabled.guideTip{
  pointer-events: auto;
  cursor: not-allowed;
}
@media (max-width: 700px){
  .guideTip::after,
  .guideTip::before{
    display:none;
  }
  .launchGuide{
    font-size: 12px;
  }
}

/* Dingfelder parent-site integration ribbon */
.site-ribbon{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(5,8,14,.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.site-ribbon__inner{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.site-ribbon a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  color:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  font-size:13px;
  font-weight:700;
}
.site-ribbon a:hover{
  color:#fff;
  border-color:rgba(88,166,255,.36);
  background:rgba(88,166,255,.12);
}
@media(max-width:720px){
  .site-ribbon__inner{justify-content:flex-start;padding-block:6px}
  .site-ribbon a{font-size:12px}
}

/* Launch normalization: global/free-training accents */
.site-ribbon a[href="/training/"],
.site-ribbon .global-training-link {
  color:#7ff0b8!important;
  border-color:rgba(127,240,184,.30)!important;
  background:rgba(127,240,184,.085)!important;
  font-weight:900!important;
}
.site-ribbon a[href="/training/"]::after,
.site-ribbon .global-training-link::after {
  content:"↗";
  margin-left:.25rem;
  font-size:.78em;
}
.site-ribbon a[href="/find-it.html"] {
  border-color:rgba(88,166,255,.26);
  background:rgba(88,166,255,.09);
}

/* Launch polish: Home link emphasis */
.site-ribbon a[href="/"]:first-child,
.airon-parent-ribbon a[href="/"]:first-child,
.cat-parent-ribbon a[href="/"]:first-child {
  font-weight: 950;
}


/* Dingfelder common launch footer */
.de-common-footer {
  --de-footer-bg: #07101d;
  --de-footer-panel: rgba(255,255,255,.045);
  --de-footer-line: rgba(255,255,255,.12);
  --de-footer-text: #edf4ff;
  --de-footer-muted: #aebed1;
  --de-footer-gold: #ffc94f;
  --de-footer-green: #7ff0b8;
  margin-top: 0;
  padding: clamp(1.35rem, 3vw, 2.25rem) 0;
  color: var(--de-footer-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(88,166,255,.10), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(255,201,79,.10), transparent 28%),
    linear-gradient(180deg, #091321 0%, var(--de-footer-bg) 100%);
  border-top: 1px solid var(--de-footer-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  font-family: Inter, Arial, Helvetica, sans-serif;
}
.de-common-footer * { box-sizing: border-box; }
.de-common-footer a { color: inherit; text-decoration: none; }
.de-common-footer__inner {
  width: min(calc(100% - 2rem), 1220px);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.de-common-footer__brand {
  display: grid;
  gap: .25rem;
}
.de-common-footer__brand strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.de-common-footer__brand span {
  color: var(--de-footer-muted);
  line-height: 1.45;
  font-size: .92rem;
}
.de-common-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}
.de-common-footer__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: #dce8f7;
  font-weight: 850;
  font-size: .88rem;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.de-common-footer__links a:hover,
.de-common-footer__links a:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(88,166,255,.34);
  background: rgba(88,166,255,.12);
}
.de-common-footer__links a[href="/training/"] {
  color: var(--de-footer-green);
  border-color: rgba(127,240,184,.25);
  background: rgba(127,240,184,.075);
}
.de-common-footer__links a[href="/training/"]::after {
  content: "↗";
  margin-left: .28rem;
  font-size: .78em;
}
.de-common-footer__links .de-legal-link {
  color: #07101d;
  border-color: rgba(255,217,112,.72);
  background: linear-gradient(135deg, #ffd978, var(--de-footer-gold));
  box-shadow: 0 10px 26px rgba(255,201,79,.18);
  font-weight: 950;
}
.de-common-footer__links .de-legal-link:hover,
.de-common-footer__links .de-legal-link:focus-visible {
  color: #050b14;
  border-color: rgba(255,241,175,.92);
  background: linear-gradient(135deg, #ffe89a, #ffc94f);
}
.de-common-footer__fine {
  color: rgba(220,232,247,.68);
  font-size: .82rem;
  line-height: 1.45;
}
@media (max-width: 700px) {
  .de-common-footer__links a {
    width: 100%;
    justify-content: flex-start;
  }
}


/* Footer long-label comfort */
.de-common-footer__links a[href="/portal/"] {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .de-common-footer__links a[href="/portal/"] {
    white-space: normal;
  }
}
