:root{
  --bg:#07080a;
  --bg2:#0b0d12;
  --card:#0c0f16;
  --text:#e9ecf1;
  --muted:#a8b0bf;
  --faint:#707a8c;
  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.06);
  --accent:#e9ecf1;
  --accent2:#c7d2ff;
  --gold:#d6c08a;
  --shadow:0 30px 90px rgba(0,0,0,.55);
  --radius:20px;
  --radius2:14px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
img,video,canvas,svg{max-width:100%; height:auto}
pre{max-width:100%; overflow:auto}

/* keep layout stable + hide scrollbars (scroll remains) */
html{ overflow-y: auto; }
body{ scrollbar-width: none; }
body::-webkit-scrollbar{ display:none; }

/* keep scrolling inside the deck only */
body{ overflow: hidden; }

/* hide scrollbar for the deck (scroll remains) */
.deck{ scrollbar-width: none; }
.deck::-webkit-scrollbar{ display:none; }
body{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(199,210,255,.10), transparent 55%),
    radial-gradient(1000px 700px at 85% 30%, rgba(214,192,138,.08), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

/* prevent any accidental horizontal scroll */
html, body{ overflow-x: hidden; }

/* debug helper: disable on demand by removing class in HTML */
body{ max-width: 100%; }

/* last-resort clamp for mobile horizontal jitter */
.deck{ width: 100%; overflow-x: hidden; }

/* avoid iOS overscroll showing side gutters */
.screen{ width: 100%; }

/* soft ambient motion */
body::before{
  content:"";
  position:fixed;
  /* avoid horizontal overflow on mobile browsers */
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(900px 650px at 20% 20%, rgba(199,210,255,.10), transparent 60%),
    radial-gradient(980px 700px at 80% 60%, rgba(214,192,138,.08), transparent 62%);
  filter: blur(18px);
  opacity:.75;
  transform: translate3d(0,0,0);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

@keyframes ambient-drift{
  0%{ transform: translate3d(-1.8%, -1.2%, 0) scale(1.02); }
  100%{ transform: translate3d(2.2%, 1.6%, 0) scale(1.06); }
}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:var(--card); border:1px solid var(--line); border-radius:12px; z-index:9999;}

.topbar{
  position:fixed;
  inset:0 0 auto 0;
  z-index:50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background:rgba(7,8,10,.55);
  border-bottom:1px solid var(--line2);
}
.topbar__inner{
  max-width: calc(var(--max) + 64px);
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{display:flex; align-items:center; gap:10px; user-select:none}
.brand__mark{
  width:10px; height:10px; border-radius:999px;
  background:linear-gradient(180deg, var(--gold), rgba(214,192,138,.35));
  box-shadow:0 0 0 4px rgba(214,192,138,.12);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse{
  0%, 100%{ transform: scale(1); box-shadow:0 0 0 4px rgba(214,192,138,.12); }
  50%{ transform: scale(1.06); box-shadow:0 0 0 6px rgba(214,192,138,.16); }
}
.brand__name{font-weight:600; letter-spacing:.12em; font-size:12px; color:rgba(233,236,241,.9)}

.nav{display:none; gap:18px}
.nav__dropdown{position:relative; display:inline-flex; align-items:center;}
.nav__link{
  color:rgba(233,236,241,.78);
  text-decoration:none;
  font-size:13px;
}
.nav__link--mobile{ display:none; }
.nav__link--desktop{ display:inline-flex; }
.nav__link:hover{color:rgba(233,236,241,.98)}

button.nav__link{
  appearance:none;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
}

@media (min-width: 821px){
  .nav{display:flex;}
}
.nav__link--dropdown{padding-right:12px}
.nav__link--dropdown::after{
  content:"▾";
  margin-left:8px;
  font-size:11px;
  color: rgba(168,176,191,.9);
}

.dropdown{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,15,22,.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  display:block;
  opacity:0;
  transform: translateY(-6px);
  pointer-events:none;
  transition: opacity .12s ease, transform .12s ease;
}
.dropdown__item{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration:none;
  color: rgba(233,236,241,.86);
  font-size: 13px;
  border: 1px solid transparent;
}
.dropdown__item:hover{
  background: rgba(7,8,10,.25);
  border-color: rgba(255,255,255,.10);
}

.nav__dropdown:hover .dropdown,
.nav__dropdown:focus-within .dropdown{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

/* hide with a small delay on mouse leave */
.nav__dropdown .dropdown{
  transition-delay: .16s;
}
.nav__dropdown:hover .dropdown,
.nav__dropdown:focus-within .dropdown{
  transition-delay: 0s;
}
.actions{display:flex; align-items:center; gap:10px}

.btn{
  appearance:none; border:1px solid var(--line);
  background:transparent;
  color:rgba(233,236,241,.92);
  border-radius:999px;
  padding:10px 14px;
  font-size:13px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(233,236,241,.22)}
.btn:active{transform: translateY(0px)}
.btn--primary{
  background: linear-gradient(180deg, rgba(233,236,241,.14), rgba(233,236,241,.06));
  border-color: rgba(233,236,241,.22);
}
.btn--ghost{background:rgba(12,15,22,.25)}

.deck{
  height:100vh;
  overflow-y:auto;
  scroll-snap-type: y mandatory;
  scroll-behavior:smooth;
}

/* lock scroll when modal-like privacy is open */
.deck.is-locked{ overflow: hidden; }

.screen--privacy{
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7,8,10,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px;
  display: none; /* JS toggles */
}

.screen--privacy.is-modal-open{
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen--privacy .screen__inner{
  max-width: 980px;
  width: 100%;
  max-height: min(86vh, 860px);
  overflow: auto;
}

.privacyClose{
  appearance:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,15,22,.28);
  color: rgba(233,236,241,.88);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  margin: 0 0 12px;
}
.privacyClose:hover{ border-color: rgba(214,192,138,.32); }

.screen{
  min-height:100vh;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  display:flex;
  align-items:center;
  padding: min(16vh, 140px) 20px 90px;
  position:relative;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}

/* Mobile: one continuous scroll (no snap screens) */
@media (max-width: 820px){
  .deck{
    scroll-snap-type: none;
    scroll-behavior: smooth;
  }
  .screen{
    min-height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    align-items: flex-start;
    padding: 64px 16px 56px;
  }
  .screen--hero{ padding-top: 86px; }
  .dots{ display:none; }
  /* keep toTop on mobile, but make it lighter */
  .toTop{ display:flex; opacity:.9; }

  /* make topbar fit: show key nav links incl. Base */
  .nav{ display:flex; }
  .nav{ gap: 8px; flex-wrap: nowrap; position: relative; }
  .nav__link{ font-size: 12px; padding: 8px 10px; white-space: nowrap; }
  .actions{ display:flex; }
  .nav__link--desktop{ display:none; }
  .nav__link--mobile{ display:inline-flex; }

  /* center burger in header */
  .topbar{ overflow: visible; }
  .topbar__inner{ position: relative; overflow: visible; }
  .nav{ position: static; }
  .nav__burger{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
  }
  .nav__panel{ z-index: 999; }

  /* RACI/budget table previews: keep table, allow horizontal scroll */
  /* hide table artifacts on mobile (keep text only) */
  .artifact__frame--table{ display:none; }
}

/* Mobile: privacy modal should not show topbar behind */
@media (max-width: 820px){
  .screen--privacy{
    padding: 12px;
  }
  .screen--privacy .screen__inner{
    max-height: 90vh;
  }
}

/* burger menu */
.nav__burger{
  width: 42px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,15,22,.25);
  display:none;
  align-items:center;
  justify-content:center;
}
.nav__burgerIcon{
  width: 18px;
  height: 2px;
  background: rgba(233,236,241,.86);
  position: relative;
  border-radius: 999px;
}
.nav__burgerIcon::before,
.nav__burgerIcon::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: rgba(233,236,241,.86);
  border-radius: 999px;
}
.nav__burgerIcon::before{ top: -6px; }
.nav__burgerIcon::after{ top: 6px; }

.nav__panel{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 10px);
  min-width: 220px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7,8,10,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  z-index: 60;
}

.nav__panelItem{
  display:flex;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration:none;
  color: rgba(233,236,241,.88);
  border: 1px solid transparent;
  justify-content: center;
  text-align: center;
}
.nav__panelItem:hover{
  border-color: rgba(214,192,138,.22);
  background: rgba(12,15,22,.35);
}

@media (max-width: 820px){
  .nav__burger{ display:inline-flex !important; }
  .nav__panel{ right: 0; }
}

.screen.is-active{
  opacity: 1;
  transform: translate3d(0,0,0);
}
.screen::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 500px at 20% 20%, rgba(199,210,255,.06), transparent 60%),
    radial-gradient(900px 600px at 80% 60%, rgba(214,192,138,.05), transparent 60%);
  pointer-events:none;
  opacity:.9;
}
.screen__inner{
  width:100%;
  max-width: var(--max);
  margin:0 auto;
  position:relative;
}

.kicker{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(168,176,191,.9);
  margin: 0 0 14px;
}

.h1{
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing:-0.03em;
  margin: 0 0 14px;
}
.h2{
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing:-0.02em;
  margin: 0 0 16px;
}
.lead{
  font-size: clamp(16px, 1.6vw, 20px);
  line-height:1.55;
  color: rgba(233,236,241,.86);
  max-width: 64ch;
}
p{margin: 10px 0; line-height:1.65; color: rgba(233,236,241,.82)}
strong{color: rgba(233,236,241,.96)}

.quote{
  margin: 16px 0;
  padding: 18px 18px;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(12,15,22,.55), rgba(12,15,22,.22));
  border:1px solid var(--line2);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  font-size: 18px;
  color: rgba(233,236,241,.92);
}

.list{margin: 10px 0 10px 18px; padding:0}
.list li{margin: 8px 0; color: rgba(233,236,241,.82)}
.list--ol{margin-left: 20px}

.hit{
  margin-top: 18px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(214,192,138,.92);
}

.proof{
  margin-top: 18px;
  padding: 16px 16px;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(12,15,22,.55), rgba(12,15,22,.22));
  border:1px solid var(--line2);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.proof__title{
  margin-top: 2px;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(168,176,191,.86);
}
.proof__text{
  margin: 8px 0;
  color: rgba(233,236,241,.82);
}

.artifact{
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,.14);
}
.artifact__cap{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:baseline;
  margin-bottom: 10px;
}
.artifact__tag{
  font-family:"JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: rgba(214,192,138,.92);
}
.artifact__title{
  font-weight: 600;
  color: rgba(233,236,241,.92);
}
.artifact__note{
  font-size: 12px;
  color: rgba(168,176,191,.78);
}
.artifact__frame{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(900px 400px at 20% 20%, rgba(199,210,255,.08), transparent 58%),
              linear-gradient(180deg, rgba(12,15,22,.55), rgba(12,15,22,.18));
  padding: 14px;
}

/* doc tile */
.artifact__doc{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,8,10,.35);
  padding: 12px 12px;
}
.artifact__docTitle{
  font-family:"JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: rgba(233,236,241,.92);
}
.artifact__docMeta{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(233,236,241,.72);
}

/* mini “doc” content (no downloads) */
.artifact__miniDoc{
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  border-radius: 14px;
  padding: 14px 14px 12px;
}

.artifact__miniDocTitle{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 10px;
}

.artifact__miniList{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.35;
}

.artifact__miniList b{
  color: rgba(255,255,255,.92);
}

.artifact__miniDocFoot{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,.14);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.35;
}

/* RACI preview */
.raci{
  display:grid;
  gap:8px;
}
.raci__head, .raci__row{
  display:grid;
  grid-template-columns: 1.35fr .9fr .9fr .9fr;
  gap:10px;
  padding: 10px 10px;
  border-radius: 12px;
}
.raci__head{
  font-size: 12px;
  letter-spacing:.14em;
  text-transform: uppercase;
  color: rgba(168,176,191,.85);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(7,8,10,.26);
}
.raci__row{
  font-size: 13px;
  color: rgba(233,236,241,.80);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(7,8,10,.18);
}

/* stack preview */
.stack{display:grid; gap:10px;}
.stack__sheet{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,8,10,.22);
  padding: 10px 12px;
  font-family:"JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: rgba(233,236,241,.86);
}

/* small node map */
.miniMap{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}
.miniMap__node{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,8,10,.22);
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(233,236,241,.80);
}
.miniMap__edge{
  grid-column: 1 / -1;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(7,8,10,.16);
  padding: 10px 12px;
  font-family:"JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: rgba(168,176,191,.86);
}

/* compact chips */
.chipGrid{display:flex; flex-wrap:wrap; gap:8px;}
.chip{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7,8,10,.18);
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(233,236,241,.78);
}

/* timeline */
.timeline{display:grid; gap:10px;}
.timeline__bar{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,8,10,.20);
  color: rgba(233,236,241,.82);
  font-size: 13px;
}
.timeline__bar span:last-child{
  font-family:"JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: rgba(168,176,191,.86);
}

/* check list */
.check{display:grid; gap:10px;}
.check label{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,8,10,.18);
  font-size: 13px;
  color: rgba(233,236,241,.80);
}
.check input{accent-color: rgba(214,192,138,.92);}

/* policy typography */
.policy{max-width: 78ch;}
.policy__h{
  margin: 14px 0 8px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(168,176,191,.9);
}
.policy__p{ margin: 8px 0; color: rgba(233,236,241,.80); line-height: 1.7; }
.policy__list{ margin: 8px 0 10px 18px; }
.policy__list li{ margin: 6px 0; color: rgba(233,236,241,.78); }
.policy__box{
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,8,10,.20);
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: rgba(233,236,241,.80);
}
.policy__k{ color: rgba(233,236,241,.92); font-weight: 600; }

@media (max-width: 560px){
  .raci__head, .raci__row{grid-template-columns: 1fr;}
}

.big{
  margin: 16px 0;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height:1.35;
  letter-spacing:-0.01em;
  color: rgba(233,236,241,.92);
}

.hint{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top: 26px;
  color: rgba(168,176,191,.75);
  font-size: 12px;
  letter-spacing:.14em;
  text-transform: uppercase;
}
.hint__line{height:1px; width:42px; background: rgba(233,236,241,.14)}

.split{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.media{margin:0}
.media--photo{margin:0}

.media__img{
  display:block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border:1px solid var(--line2);
  box-shadow: var(--shadow);
  background: rgba(7,8,10,.22);
}

.media__cap{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(168,176,191,.78);
  line-height: 1.35;
}

/* slider */
.slider{
  width: 100%;
}

.slider__viewport{
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
  background: rgba(7,8,10,.22);
}

.slider__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform .35s ease;
  will-change: transform;
}

.slider__slide{ margin:0; }

.slider__img{
  display:block;
  width:100%;
  height:auto;
}

.slider__nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.slider__btn{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,15,22,.35);
  color: rgba(233,236,241,.86);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease;
}
.slider__btn:hover{ border-color: rgba(214,192,138,.28); transform: translateY(-1px); }

.slider__dots{
  display:flex;
  gap: 8px;
  align-items:center;
  justify-content:center;
  flex: 1;
}

.slider__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.slider__dot.is-active{
  background: rgba(214,192,138,.55);
  border-color: rgba(214,192,138,.62);
}

.media__box{
  height: 260px;
  border-radius: var(--radius);
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(199,210,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(12,15,22,.65), rgba(12,15,22,.25));
  border:1px solid var(--line2);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}

.media__box::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(90deg, transparent 0%, rgba(199,210,255,.08) 45%, rgba(214,192,138,.08) 55%, transparent 100%);
  transform: translateX(-35%) rotate(10deg);
  opacity: 0;
}

.screen.is-active .media__box::after{
  opacity: .9;
  animation: shimmer 1.2s ease-out .25s both;
}

@keyframes shimmer{
  from{ transform: translateX(-35%) rotate(10deg); opacity: 0; }
  20%{ opacity: .55; }
  to{ transform: translateX(35%) rotate(10deg); opacity: 0; }
}
.media__label{
  position:absolute; left:16px; top:14px;
  font-family:"JetBrains Mono", ui-monospace, monospace;
  font-size:12px;
  color: rgba(168,176,191,.85);
}
.media__hint{
  position:absolute; left:16px; bottom:14px; right:16px;
  font-size:13px;
  color: rgba(233,236,241,.68);
}

.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 6px;
}
.card{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(12,15,22,.55), rgba(12,15,22,.22));
  border:1px solid var(--line2);
  padding: 16px 16px;
  transform: translate3d(0,0,0);
  transition: transform .25s ease, border-color .25s ease;
}

.card:hover{
  transform: translate3d(0,-2px,0);
  border-color: rgba(233,236,241,.18);
}
.card__title{font-weight:600; color: rgba(233,236,241,.92); margin-bottom:6px}
.card__text{color: rgba(233,236,241,.70); font-size:14px; line-height:1.5}

.cta{display:flex; flex-wrap:wrap; gap:10px; margin-top: 18px}
.footer{
  margin-top: 24px;
  padding-top: 18px;
  border-top:1px solid var(--line2);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer__muted{color: rgba(168,176,191,.72); font-size:12px}

.footer__link{
  color: rgba(233,236,241,.78);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer__link:hover{ color: rgba(233,236,241,.95); border-bottom-color: rgba(214,192,138,.55); }

.progress{
  position:fixed;
  left:0; right:0; bottom:0;
  height:2px;
  background: rgba(255,255,255,.06);
  z-index:60;
}
.progress__bar{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(214,192,138,.95), rgba(199,210,255,.85));
}

.dots{
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: none;
  gap: 10px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  position: relative;
  display: block;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.dot:hover{ transform: scale(1.08); border-color: rgba(255,255,255,.35); }
.dot.is-active{ background: rgba(214,192,138,.70); border-color: rgba(214,192,138,.90); }
.dot::before{
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-size: 12px;
  color: rgba(233,236,241,.86);
  background: rgba(12,15,22,.55);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 8px 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dot:hover::before{ opacity: 1; }

@media (min-width: 980px){
  .dots{ display: grid; }
}

.toTop{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(233,236,241,.92);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(12,15,22,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translate3d(0, 6px, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.toTop:hover{ border-color: rgba(255,255,255,.30); }
.toTop.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  animation: toTopPulse 2.6s ease-in-out infinite;
}

@keyframes toTopPulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(214,192,138,.0); }
  50%{ box-shadow: 0 0 0 10px rgba(214,192,138,.12); }
}

@media (min-width: 760px){
  .nav{display:flex}
  .screen{padding: min(18vh, 160px) 24px 100px;}
  .split{grid-template-columns: 1.08fr .92fr; gap: 26px; align-items: center;}
  .media__box{height: 360px;}
  .cards{grid-template-columns: repeat(2, minmax(0,1fr));}
}

@media (min-width: 1100px){
  .topbar__inner{padding:16px 24px}
}

@media (prefers-reduced-motion: reduce){
  .deck{scroll-behavior:auto}
  .btn{transition:none}
  .btn:hover{transform:none}
  body::before{animation:none}
  .brand__mark{animation:none}
  .screen{transition:none; opacity:1; transform:none}
  .media__box::after{display:none}
  .card{transition:none}
}
