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

/* Layout: poster type on Burger Tower's own blue, with white floors stacked into a tower.
   Solid marks are people and what is certain. Dashed marks are agents and what is still open. */
:root {
  color-scheme: light;
  /* Color */
  --blue: #054BC8;
  --blue-deep: #03358F;
  --navy: #0B1E4A;
  --lime: #FEF3C7;
  --lime-soft: #FFFBEB;
  --white: #FFFFFF;
  --paper: #F5F4EF;
  --line: #D9D8D0;
  --slate: #47536E;
  --ice: #D6E3FF;
  /* Type */
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 64px;
  --gutter-l: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  --focus: var(--blue);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--white);
}
[hidden] { display: none !important; }
html[lang="tr"] .lang-en { display: none !important; }
html:not([lang="tr"]) .lang-tr { display: none !important; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--lime); color: var(--navy); }

/* ---------- Type ---------- */
h1, h2, .display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: .005em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.125rem, 7.2vw, 6rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.125rem); }
html[lang="tr"] h1, html[lang="tr"] h2, html[lang="tr"] .display { line-height: 1.22; }
html[lang="tr"] h1 { font-size: clamp(2.75rem, 5.8vw, 4.875rem); }
h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.eyebrow {
  font-size: .875rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--eyebrow, var(--blue));
}
.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.45; color: var(--sub, var(--slate)); max-width: 34em;
}

/* ---------- Bands ---------- */
.band { padding-block: clamp(56px, 7vw, 96px); scroll-margin-top: var(--header-h); }
.on-blue { background: var(--blue); color: var(--white); --focus: var(--lime); --sub: var(--ice); --eyebrow: var(--lime); }
.on-paper { background: var(--paper); --sub: var(--slate); }
.on-paper h2, .on-white h2 { color: var(--blue); }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section-head { display: grid; gap: 10px; max-width: 780px; margin-bottom: clamp(28px, 4vw, 44px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 6px; border: 2px solid transparent;
  font-weight: 800; line-height: 1.2; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--white); }
.btn-line { border-color: currentColor; background: none; }
.btn-line:hover { background: rgba(255, 255, 255, .14); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-blue:disabled { background: var(--line); color: var(--slate); cursor: default; }
.btn-ghost-blue { border-color: var(--blue); color: var(--blue); background: none; }
.btn-ghost-blue:hover { background: var(--blue); color: var(--white); }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: .9375rem; }

/* ---------- Header ---------- */
.progress {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; z-index: 61;
  width: 100%; height: 4px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
}
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); flex: none; }
.brand svg { width: 26px; height: 28px; }
.brand-name { font-family: var(--display); font-size: 1.375rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1; white-space: nowrap; }
.site-nav { display: none; gap: 2px; align-items: center; }
.site-nav a { padding: 8px 12px; font-size: .9375rem; font-weight: 700; text-decoration: none; color: var(--slate); border-radius: 4px; }
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="true"] { color: var(--navy); background: var(--lime); box-shadow: inset 0 -3px 0 var(--blue); }
.tools { display: flex; align-items: center; gap: 8px; flex: none; }
.switch { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; padding: 2px; }
.switch button { border: 0; background: none; min-height: 32px; padding: 4px 10px; font-size: .8125rem; font-weight: 800; color: var(--slate); border-radius: 4px; }
.switch button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
#btn-present, .header-cta { display: none; }
.menu-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 6px; color: var(--blue); }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav .wrap { display: grid; height: auto; gap: 0; padding-block: 6px 12px; justify-content: stretch; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; color: var(--blue); }
@media (min-width: 1040px) {
  .site-nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
  #btn-present, .header-cta { display: inline-flex; }
}

/* ---------- Hero: the idea, and who works from the hub ---------- */
.hero { padding-top: clamp(32px, 4.5vw, 60px); scroll-margin-top: var(--header-h); }
.hero-grid { display: grid; gap: 40px; align-items: center; padding-bottom: 24px; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-note { font-weight: 700; color: var(--lime); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.4; max-width: 30em; }

@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; } }
.wave { width: 100%; height: clamp(30px, 5vw, 64px); margin-top: 12px; }

/* Three roles on one spine: the team decides, the hub holds, the agents draft. */
.hero-roles {
  display: grid;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
  filter: drop-shadow(0 18px 34px rgba(3, 18, 56, 0.24));
}
.hr-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  animation: hr-in .5s cubic-bezier(.2, .9, .3, 1.15) backwards;
}
.hr-card.is-staff { background: var(--white); color: var(--navy); box-shadow: 0 3px 0 rgba(11, 30, 74, 0.18); }
.hr-card.is-hub {
  padding: 22px 20px;
  background: var(--lime);
  color: var(--navy);
  border-radius: 14px 14px 40px 40px / 14px 14px 26px 26px;
  box-shadow: inset 0 -5px 0 rgba(11, 30, 74, 0.12);
  animation-delay: .12s;
}
.hr-card.is-agent { background: rgba(11, 30, 74, 0.45); color: var(--white); border: 2px dashed var(--lime); animation-delay: .24s; }
.hr-icon { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hr-icon svg { width: 22px; height: 22px; }
.is-staff .hr-icon { background: var(--navy); color: var(--white); }
.is-hub .hr-icon { background: var(--blue); color: var(--lime); border-radius: 12px; }
.is-hub .hr-icon svg { width: 24px; height: 26px; }
.is-agent .hr-icon { border: 2px dashed var(--lime); color: var(--lime); }
.hr-text { display: grid; gap: 3px; min-width: 0; }
.hr-text strong { font-size: 1.125rem; font-weight: 800; line-height: 1.2; }
.is-hub .hr-text strong { font-family: var(--display); font-weight: 400; font-size: 1.75rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.05; }
.hr-text > span { font-size: .96875rem; font-weight: 600; line-height: 1.3; opacity: .92; }
.hr-link { position: relative; height: 54px; }
.hr-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  border-left: 3px solid var(--white);
  transform: translateX(-50%);
}
.hr-link.is-dashed::before { border-left: 3px dashed var(--lime); }
.hr-link i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(254, 243, 199, 0.25);
  animation: hr-down 2.2s ease-in-out infinite;
}
.hr-link.is-dashed i { animation-name: hr-up; animation-delay: 1.1s; }
.hr-link-tag {
  position: absolute;
  top: 50%;
  left: calc(50% + 16px);
  transform: translateY(-50%);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ice);
  white-space: nowrap;
}
@keyframes hr-in { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes hr-down { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes hr-up { 0% { top: 100%; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 0; opacity: 0; } }

/* ---------- The burger tower (Scope): one floor per area, the hub at the base ---------- */
.tower { display: grid; gap: 6px; }
.t-cap {
  position: relative;
  height: clamp(58px, 6.4vw, 76px);
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F5EE 100%);
  border-radius: 50% 50% 10px 10px / 100% 100% 10px 10px;
  box-shadow: inset 0 -4px 0 rgba(11, 30, 74, 0.08);
}
.t-cap i {
  position: absolute;
  width: 14px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.t-floor {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 3px 0 rgba(11, 30, 74, 0.18);
  transition: background-color .2s, transform .28s cubic-bezier(.2, .9, .3, 1.2), box-shadow .2s, color .2s;
}
.t-floor:hover { background: var(--lime-soft); transform: translateX(6px); }
.t-floor[aria-selected="true"] {
  position: relative;
  z-index: 2;
  background: var(--lime);
  color: var(--navy);
  transform: translateX(18px) scale(1.02);
  box-shadow: 0 10px 22px rgba(3, 18, 56, 0.3), inset 0 -3px 0 rgba(11, 30, 74, 0.12);
}
.t-floor-num { font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: var(--slate); opacity: .6; text-align: left; }
.t-floor[aria-selected="true"] .t-floor-num { color: var(--navy); opacity: .9; }
.t-floor-center { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.t-floor-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(5, 75, 200, 0.1);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background-color .2s, color .2s;
}
.t-floor-icon svg { width: 16px; height: 16px; }
.t-floor[aria-selected="true"] .t-floor-icon { background: var(--navy); color: var(--lime); animation: t-wiggle .45s ease-out; }
.t-floor-label { font-size: 1rem; letter-spacing: .01em; }
.t-floor-arrow {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  text-align: right;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
}
.t-floor:hover .t-floor-arrow { opacity: .4; transform: none; }
.t-floor[aria-selected="true"] .t-floor-arrow { opacity: 1; transform: none; }
.tok { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: none; }
.tok svg { width: 14px; height: 14px; }
.tok-staff { background: var(--navy); color: var(--white); }
.tok-agent { border: 2px dashed var(--blue); color: var(--blue); }
.t-base {
  padding: 16px 18px 22px;
  border-radius: 10px 10px 72px 72px / 10px 10px 46px 46px;
  background: var(--lime);
  color: var(--navy);
  text-align: center;
  display: grid;
  gap: 3px;
  box-shadow: inset 0 -5px 0 rgba(11, 30, 74, 0.12);
}
.t-base strong { font-family: var(--display); font-weight: 400; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.t-base span { font-weight: 700; font-size: .9375rem; line-height: 1.25; }
/* The tower stacks itself, base first, when it scrolls into view (the script adds these classes). */
.tower.is-waiting > * { opacity: 0; }
.tower.is-built > * { animation: t-drop .6s cubic-bezier(.2, .9, .3, 1.2) backwards; animation-delay: calc(var(--i, 0) * 75ms); }
@media print { .tower.is-waiting > * { opacity: 1; } }
@keyframes t-drop { from { opacity: 0; translate: 0 -56px; } to { opacity: 1; translate: 0 0; } }
@keyframes t-wiggle { 0% { transform: none; } 35% { transform: rotate(-10deg) scale(1.15); } 70% { transform: rotate(5deg) scale(1.05); } 100% { transform: none; } }

/* ---------- Why: the two networks ---------- */
.nets-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 20px; }
.nets-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.nets-top h3 { font-size: 1.3125rem; }
.nets-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nets { display: grid; gap: 24px; }
@media (min-width: 760px) { .nets { grid-template-columns: 1fr 1fr; gap: 40px; } }
.net { display: grid; gap: 10px; min-width: 0; align-content: start; padding: 14px; border-radius: 8px; background: var(--paper); }
.net.is-hub-net { background: var(--lime-soft); border: 2px solid var(--blue); }
.net svg { width: 100%; height: auto; max-width: 440px; margin-inline: auto; overflow: visible; }
.net figcaption { display: grid; gap: 4px; text-align: center; }
.net figcaption strong { font-size: 1.1875rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; }
.net-pill { font-size: .8125rem; padding: 2px 10px; border-radius: 99px; background: var(--navy); color: var(--white); font-weight: 800; }
.net.is-hub-net .net-pill { background: var(--blue); color: var(--lime); }
.net figcaption span.sub { color: var(--slate); font-size: .95rem; font-weight: 600; }
.net-label { font-family: var(--body); font-size: 15px; font-weight: 700; fill: var(--navy); }
@media (max-width: 520px) { .net-label { font-size: 18px; } }
.net-new { animation: netin .4s ease-out; }
@keyframes netin { from { opacity: 0; } to { opacity: 1; } }

.asks { margin-top: clamp(28px, 3.5vw, 40px); display: grid; gap: 14px; }
.asks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.ask-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: .96875rem;
}
.ask-icon {
  width: 32px; height: 32px; border-radius: 6px; background: var(--paper); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.ask-icon svg { width: 18px; height: 18px; }

/* ---------- Scope: pick a floor of the tower, read that area ---------- */
.scope-stage {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(18px, 3.5vw, 44px);
  border-radius: 20px;
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.25px, transparent 1.25px);
  background-size: 22px 22px;
  color: var(--white);
  --focus: var(--lime);
}
@media (min-width: 960px) {
  .scope-stage { grid-template-columns: minmax(280px, 2fr) minmax(0, 3fr); gap: clamp(40px, 4.5vw, 64px); }
}
.scope-tower-col { display: grid; gap: 14px; width: 100%; max-width: 440px; margin-inline: auto; min-width: 0; }
.scope-tower-col .tower { filter: drop-shadow(0 18px 30px rgba(3, 18, 56, 0.28)); }
.scope-hint { text-align: center; font-size: .875rem; font-weight: 700; color: var(--ice); }
@media (max-width: 959px) {
  .t-floor:hover { transform: none; }
  .t-floor[aria-selected="true"] { transform: scale(1.02); }
}

.scope-viewer {
  position: relative;
  display: grid;
  gap: 20px;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 20px 44px rgba(3, 18, 54, 0.3);
  overflow: hidden;
  --focus: var(--blue);
}
/* Every panel sits in the same cell, so the card keeps the height of the longest one. */
.sp-deck { display: grid; }
.scope-panel {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  visibility: hidden;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s;
}
.scope-panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .35s ease .06s, transform .45s cubic-bezier(.2, .9, .3, 1.1) .06s, visibility 0s;
}
.sp-watermark {
  position: absolute;
  top: -30px;
  right: -8px;
  font-family: var(--display);
  font-size: clamp(7rem, 12vw, 10.5rem);
  line-height: 1;
  color: var(--blue);
  opacity: .07;
  pointer-events: none;
  user-select: none;
}
.sp-count { position: relative; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.sp-of { opacity: .55; }
.sp-head { position: relative; display: flex; align-items: center; gap: 16px; }
.sp-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 4px 0 var(--navy);
}
.sp-icon svg { width: 28px; height: 28px; }
.sp-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--blue);
}
html[lang="tr"] .sp-head h3 { line-height: 1.18; }
/* An introduction to each area: what it is, how the hub helps, what we settle together. */
.sp-lead { position: relative; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.55; font-weight: 600; color: var(--navy); text-wrap: pretty; }
.sp-hub,
.sp-open {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
}
.sp-hub { background: var(--lime); color: var(--navy); }
/* Dashed, like everything on the page that is still open. */
.sp-open { border: 2px dashed rgba(5, 75, 200, 0.32); }
.sp-hub-icon,
.sp-open-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.sp-hub-icon { border-radius: 10px; background: var(--blue); color: var(--lime); }
.sp-hub-icon svg { width: 20px; height: 22px; }
.sp-open-icon { border-radius: 50%; border: 2px dashed var(--blue); color: var(--blue); }
.sp-open-icon svg { width: 20px; height: 20px; }
.sp-hub p,
.sp-open p { font-weight: 600; line-height: 1.5; }
.sp-open p { color: var(--slate); }
.sp-hub strong,
.sp-open strong { display: block; margin-bottom: 4px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
/* On a phone the icon goes above the text, so the text keeps the full width. */
@media (max-width: 520px) {
  .sp-hub,
  .sp-open { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px; }
  .sp-hub-icon,
  .sp-open-icon { width: 34px; height: 34px; }
}
.sp-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.sp-link strong { color: var(--blue); font-weight: 800; white-space: nowrap; }
.sp-link svg { width: 18px; height: 18px; flex: none; color: var(--blue); transition: transform .15s; }
.sp-link:hover { border-color: var(--blue); background: var(--paper); }
.sp-link:hover svg { transform: translateX(3px); }
.sp-note { position: relative; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-size: .9375rem; font-weight: 600; line-height: 1.45; color: var(--slate); }
.scope-panel.is-active > .sp-head,
.scope-panel.is-active > .sp-lead,
.scope-panel.is-active > .sp-hub,
.scope-panel.is-active > .sp-open,
.scope-panel.is-active > .sp-link,
.scope-panel.is-active > .sp-note { animation: sp-in .45s cubic-bezier(.2, .9, .3, 1.1) backwards; }
.scope-panel.is-active > .sp-lead { animation-delay: .07s; }
.scope-panel.is-active > .sp-hub { animation-delay: .14s; }
.scope-panel.is-active > .sp-open { animation-delay: .21s; }
.scope-panel.is-active > .sp-link,
.scope-panel.is-active > .sp-note { animation-delay: .28s; }
@keyframes sp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.sp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.sp-progress { display: flex; gap: 6px; flex: 1; max-width: 260px; }
.sp-progress i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); transition: background-color .25s; }
.sp-progress i.is-done { background: rgba(5, 75, 200, 0.3); }
.sp-progress i.is-on { background: var(--blue); }
.sp-arrows { display: flex; gap: 8px; }
.sp-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: none;
  color: var(--blue);
  transition: background-color .15s, border-color .15s, color .15s;
}
.sp-btn:hover { border-color: var(--blue); }
.sp-btn.is-next { background: var(--blue); border-color: var(--blue); color: var(--white); }
.sp-btn.is-next:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.sp-btn svg { width: 16px; height: 16px; }

.scope-base-banner {
  margin-top: 18px; padding: 18px 22px; border-radius: 10px; background: var(--lime); color: var(--navy);
  border: 2px solid var(--navy);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.scope-base-banner strong { font-family: var(--display); font-size: 1.5rem; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
.scope-base-banner span { font-weight: 700; font-size: 1rem; }

/* =======================================================================
   WORKFLOW: HIGH-GRAPHIC VISUAL INFOGRAPHIC STAGE + 5-STATION LOOP MAP
   ======================================================================= */

/* 1. Top 5-Station Connected Icon Bar */
.wf-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.wf-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 0;
}
.wf-station {
  position: relative;
  z-index: 1;
  background: #092B6D; /* Solid so the connector line stays hidden behind the card */
  border: 2px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: transform .2s, background-color .2s, border-color .2s, color .2s;
}
.wf-station:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
.wf-station[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(3, 20, 60, 0.35);
}
.wf-st-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.wf-station[aria-selected="true"] .wf-st-icon {
  background: var(--navy);
  color: var(--lime);
}
.wf-st-icon svg { width: 18px; height: 18px; }
.wf-st-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
}

/* 2. Unified All-At-Once Graphical Canvas Stage */
.wf-board,
.wf-canvas {
  background-color: var(--navy);
  background-image:
    radial-gradient(rgba(254, 243, 199, 0.12) 1.25px, transparent 1.25px),
    linear-gradient(180deg, rgba(11, 30, 74, 0.94), rgba(5, 22, 62, 0.98));
  background-size: 24px 24px, 100% 100%;
  border: 2.5px solid var(--lime);
  border-radius: 18px;
  padding: clamp(16px, 2.2vw, 24px);
  display: grid;
  gap: 16px;
  box-shadow: 0 20px 44px rgba(3, 18, 54, 0.4);
  position: relative;
  overflow: hidden;
}
.wf-board-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.wf-board-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.wf-canvas-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.btn.is-active-all {
  background: var(--lime);
  color: var(--navy);
  border-color: var(--lime);
}
.wf-moment-pill {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.1;
}
.wf-hint-text {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

/* Canvas 3-Column Header Legend */
.wf-canvas-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 164px 84px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}
.wf-col-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}
.wf-col-tag svg { width: 16px; height: 16px; flex: none; }
.wf-col-tag.is-staff {
  grid-column: 1;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
}
.wf-col-tag.is-hub {
  grid-column: 3;
  background: var(--lime);
  color: var(--navy);
}
.wf-col-tag.is-agent {
  grid-column: 5;
  background: rgba(11, 30, 74, 0.85);
  color: var(--lime);
  border: 1.5px dashed var(--lime);
}

/* All 5 Stations Stacked Simultaneously on the Canvas */
.wf-canvas-lanes {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}
/* Continuous vertical spine connecting all 5 Tower Operations Hub nodes */
.wf-canvas-lanes::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: rgba(254, 243, 199, 0.35);
  border-radius: 99px;
  z-index: 0;
  pointer-events: none;
}

/* Individual Station Lane Row inside the Canvas */
.wf-lane {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 164px 84px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: opacity .24s ease, transform .24s ease, border-color .24s ease, background-color .24s ease, box-shadow .24s ease, filter .24s ease;
}
.wf-lane:hover {
  border-color: rgba(254, 243, 199, 0.5);
  background: rgba(254, 243, 199, 0.04);
}

/* Spotlight Mode: When a station is selected, dim non-selected lanes and spotlight the active lane.
   Dimming is applied per child so the hub node can darken instead of fading:
   it has to stay opaque to keep the vertical spine hidden behind it. */
.wf-lane > * {
  transition: opacity .24s ease, filter .24s ease;
}
.wf-canvas.has-spotlight .wf-lane:not(.is-spotlight) {
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.03);
  filter: saturate(0.65);
  transform: scale(0.99);
}
.wf-canvas.has-spotlight .wf-lane:not(.is-spotlight) > :not(.wf-hub-node) {
  opacity: 0.26;
}
.wf-canvas.has-spotlight .wf-lane:not(.is-spotlight) > .wf-hub-node {
  filter: brightness(0.38);
}
.wf-canvas.has-spotlight .wf-lane:not(.is-spotlight):hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(254, 243, 199, 0.3);
  filter: saturate(0.9);
}
.wf-canvas.has-spotlight .wf-lane:not(.is-spotlight):hover > :not(.wf-hub-node) {
  opacity: 0.6;
}
.wf-canvas.has-spotlight .wf-lane:not(.is-spotlight):hover > .wf-hub-node {
  filter: brightness(0.7);
}
.wf-canvas.has-spotlight .wf-lane.is-spotlight {
  background: rgba(254, 243, 199, 0.1);
  border-color: var(--lime);
  box-shadow: 0 0 0 2.5px var(--lime), 0 14px 34px rgba(0, 0, 0, 0.45);
  transform: scale(1.01);
  z-index: 3;
}

/* Actor Visual Pod (Staff Left / Agent Right) */
.wf-pod {
  border-radius: 11px;
  padding: 11px 13px;
  display: grid;
  gap: 9px;
  position: relative;
}
.wf-pod-staff {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.wf-pod-agent {
  background: var(--blue-deep);
  color: var(--white);
  border: 1.5px dashed var(--lime);
}
.wf-pod-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wf-avatar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wf-avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.wf-pod-staff .wf-avatar-circle { background: var(--navy); color: var(--white); }
.wf-pod-agent .wf-avatar-circle { border: 1.5px dashed var(--lime); color: var(--lime); background: rgba(11, 30, 74, 0.5); }
.wf-avatar-circle svg { width: 16px; height: 16px; }
.wf-avatar strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
}
.wf-step-badge {
  padding: 3px 9px;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wf-pod.is-step-1 .wf-step-badge {
  background: var(--lime);
  color: var(--navy);
}
.wf-pod.is-step-2 .wf-step-badge {
  background: var(--blue);
  color: var(--white);
}
.wf-pod-agent.is-step-2 .wf-step-badge {
  background: rgba(254, 243, 199, 0.14);
  border: 1px solid rgba(254, 243, 199, 0.35);
  color: var(--lime);
}

/* Compact 3-Step Visual Chips inside Each Pod */
.wf-visual-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.wf-vchip {
  border-radius: 8px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.wf-vchip:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}
.wf-pod-staff .wf-vchip:not(:last-child)::after { color: var(--blue); }
.wf-pod-agent .wf-vchip:not(:last-child)::after { color: var(--lime); }

.wf-pod-staff .wf-vchip {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy);
}
.wf-pod-agent .wf-vchip {
  background: rgba(11, 30, 74, 0.65);
  border: 1px solid rgba(254, 243, 199, 0.22);
  color: var(--white);
}
.wf-vchip-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.wf-pod-staff .wf-vchip-icon { background: var(--blue); color: var(--white); }
.wf-pod-agent .wf-vchip-icon { background: rgba(254, 243, 199, 0.16); color: var(--lime); }
.wf-vchip-icon svg { width: 14px; height: 14px; }
.wf-vchip strong {
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.18;
  word-break: keep-all;
}

/* Center Station Hub Node on the Spine */
.wf-hub-node {
  background: var(--lime);
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  border: 2.5px solid var(--navy);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
}
.wf-lane.is-spotlight .wf-hub-node {
  box-shadow: 0 0 24px rgba(254, 243, 199, 0.55);
}
.wf-hub-station {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wf-hub-st-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--navy);
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.wf-hub-st-icon svg { width: 16px; height: 16px; }
.wf-hub-station strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
}
.wf-hub-artifact {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  padding: 4px 6px;
  font-size: .72rem;
  font-weight: 800;
  width: 100%;
  line-height: 1.15;
}

/* Clean Pipe Connectors (Staff <-> Hub and Hub <-> Agent) */
.wf-pipe {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.wf-pipe-pill {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}
.wf-pipe-staff .wf-pipe-pill {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}
.wf-pipe-agent .wf-pipe-pill {
  background: rgba(254, 243, 199, 0.12);
  border: 1px dashed var(--lime);
  color: var(--lime);
}
.wf-pipe svg {
  width: 100%;
  max-width: 84px;
  height: 20px;
  overflow: visible;
}

.flow-return {
  position: relative; z-index: 1; margin: 4px auto 0; width: fit-content; max-width: 100%;
  padding: 10px 20px; border-radius: 99px; background: var(--lime); color: var(--navy); font-weight: 800; text-align: center;
  display: flex; align-items: center; gap: 10px;
}
.flow-return svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 1120px) {
  .wf-canvas-head { display: none; }
  .wf-canvas-lanes::before { display: none; }
  .wf-lane { grid-template-columns: 1fr; gap: 12px; }
  .wf-pipe svg { transform: rotate(90deg); height: 34px; }
}
@media (max-width: 640px) {
  .wf-timeline { grid-template-columns: repeat(2, 1fr); }
  .wf-timeline::before { display: none; }
}

/* ---------- Benefits: Visual Gains & Role Cards ---------- */
.gains {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (min-width: 640px) { .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gains { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gain {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  padding: 18px 20px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
}
.gain-icon {
  width: 38px; height: 38px; border-radius: 8px; background: var(--blue); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
}
.gain-icon svg { width: 20px; height: 20px; }
.gain-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--blue);
}
html[lang="tr"] .gain-title { line-height: 1.22; }
.gain-text { font-size: .975rem; line-height: 1.45; color: var(--slate); }
.gain-areas {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 10px; border-top: 1px solid var(--line);
}
.gain-areas a {
  font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--blue);
  padding: 3px 8px; border-radius: 4px; background: var(--paper);
}
.gain-areas a:hover { background: var(--lime); color: var(--navy); }

.roles { display: grid; gap: 14px; }
.role-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.role-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.role-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.role-step {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .925rem;
  line-height: 1.35;
  display: grid;
  gap: 2px;
}
.role-step.is-before { background: var(--paper); color: var(--slate); }
.role-step.is-after { background: var(--lime-soft); border: 1.5px solid var(--blue); color: var(--navy); font-weight: 700; }
.role-tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }

/* ---------- Path ---------- */
.path { display: grid; gap: 16px; }
.pstep {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 16px;
}
.pstep.is-here { background: var(--lime-soft); border: 2px solid var(--blue); }
.stack { position: relative; display: flex; flex-direction: column-reverse; gap: 3px; min-width: 0; }
.stack i { display: block; height: 18px; border-radius: 3px; background: var(--blue); }
.stack i.hub { height: 26px; background: var(--lime); border: 2px solid var(--navy); border-radius: 3px 3px 12px 12px; }
.stack i.open { background: none; border: 2px dashed var(--blue); }
.here { align-self: flex-start; margin-bottom: 3px; padding: 2px 8px; border-radius: 3px; background: var(--navy); color: var(--lime); font-size: .75rem; font-weight: 800; line-height: 1.3; }
.pstep p { color: var(--slate); font-size: .9375rem; margin-top: 4px; font-weight: 600; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
  .pstep { grid-template-columns: minmax(0, 1fr); grid-template-rows: 150px auto; gap: 14px; }
  .stack { justify-content: flex-start; height: 150px; border-bottom: 2px solid var(--navy); padding-bottom: 3px; }
  .stack i { height: 22px; }
  .stack i.hub { height: 30px; }
}
.status { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 20px; padding-top: 24px; border-top: 2px solid var(--blue); }
.status > div { display: grid; gap: 4px; background: var(--paper); padding: 16px 20px; border-radius: 8px; }
.status p { color: var(--slate); font-size: .96875rem; font-weight: 600; }
@media (min-width: 860px) { .status { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---------- First step ---------- */
.first-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .first-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; } }
.first-copy { display: grid; gap: 14px; min-width: 0; }

.first-discovery {
  margin-top: clamp(28px, 4vw, 40px);
  display: grid;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 980px) {
  .first-discovery {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.38fr);
    gap: 22px;
  }
}
.first-panel {
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 26px);
  display: grid;
  gap: 16px;
  align-content: start;
}
.first-panel.is-hear {
  background: var(--navy);
  border: 2.5px solid var(--lime);
  box-shadow: 0 12px 28px rgba(3, 18, 54, 0.28);
}
.first-panel.is-learn {
  background: rgba(11, 30, 74, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
}
.first-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.first-panel-badge {
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.first-panel-head h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
}
.hear-list {
  display: grid;
  gap: 10px;
}
.hear-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(254, 243, 199, 0.22);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--white);
}
.hear-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.first-panel .asks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.first-panel .ask-chip {
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.3;
}
.first-panel .ask-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(5, 75, 200, 0.1);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ticket-hang { filter: drop-shadow(0 12px 18px rgba(3, 25, 70, .45)); transform: rotate(-1.2deg); }
.ticket {
  --tooth: 14px; background: var(--white); color: var(--navy);
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem; line-height: 1.5;
  padding: 22px 22px calc(var(--tooth) + 18px);
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
}
.ticket-title { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px dashed var(--line); }
.tagline { margin-top: clamp(40px, 6vw, 72px); font-size: clamp(2rem, 5.8vw, 4.75rem); color: var(--lime); }

.site-footer { padding-block: 26px 30px; font-size: .9375rem; color: var(--slate); background: var(--white); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; align-items: baseline; }

/* ---------- Presentation bar ---------- */
.present-bar {
  position: fixed; bottom: max(18px, env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 55;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; white-space: nowrap;
  background: var(--navy); color: var(--white); border-radius: 8px; box-shadow: 0 10px 28px rgba(3, 25, 70, .45); --focus: var(--lime);
}
.present-count { font-weight: 800; color: var(--lime); }
.present-name { font-weight: 700; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--slate); border-radius: 6px; color: var(--white); }
.icon-btn:hover:not(:disabled) { border-color: var(--lime); }
.icon-btn:disabled { opacity: .4; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; }
.icon-next { background: var(--lime); border-color: var(--lime); color: var(--navy); }

/* ---------- Theme Toggle & Dark Mode ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
  font-size: .8125rem;
  font-weight: 800;
  transition: background-color .15s, border-color .15s, color .15s;
}
.theme-toggle:hover { border-color: var(--blue); }
.theme-toggle svg { width: 16px; height: 16px; flex: none; }
.theme-toggle .icon-sun { display: none; }
@media (max-width: 560px) { .theme-label { display: none; } .theme-toggle { padding: 4px 8px; } }

html[data-theme="dark"] {
  color-scheme: dark;
}
html[data-theme="dark"] body {
  background: #060E22;
  color: #F8FAFC;
  --focus: var(--lime);
}
html[data-theme="dark"] body::before { background: #060E22; }
html[data-theme="dark"] .progress { background: var(--lime); }

/* Dark Header & Nav */
html[data-theme="dark"] .site-header {
  background: #071128;
  border-bottom-color: #1A2F63;
}
html[data-theme="dark"] .brand { color: var(--lime); }
html[data-theme="dark"] .site-nav a { color: #B8C9EC; }
html[data-theme="dark"] .site-nav a:hover { color: var(--lime); }
html[data-theme="dark"] .site-nav a[aria-current="true"] {
  background: rgba(254, 243, 199, 0.14);
  color: var(--lime);
  box-shadow: inset 0 -3px 0 var(--lime);
}
html[data-theme="dark"] .theme-toggle {
  background: #10234E;
  border-color: var(--lime);
  color: var(--lime);
}
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; color: var(--lime); }
html[data-theme="dark"] .switch { border-color: #1E3670; background: #0B1A3E; }
html[data-theme="dark"] .switch button { color: #B8C9EC; }
html[data-theme="dark"] .switch button[aria-pressed="true"] { background: var(--lime); color: var(--navy); }
html[data-theme="dark"] .btn-ghost-blue { border-color: var(--lime); color: var(--lime); }
html[data-theme="dark"] .btn-ghost-blue:hover { background: var(--lime); color: var(--navy); }
html[data-theme="dark"] .menu-toggle { border-color: #1E3670; color: var(--lime); }
html[data-theme="dark"] .mobile-nav { background: #071128; border-top-color: #1A2F63; }
html[data-theme="dark"] .mobile-nav a { border-bottom-color: #1A2F63; color: #F8FAFC; }
html[data-theme="dark"] .mobile-nav a:last-child { color: var(--lime); }

/* Dark Hero & Blue Bands */
html[data-theme="dark"] .on-blue {
  background: #042466;
}
html[data-theme="dark"] .wave path {
  fill: #0A1633;
}
html[data-theme="dark"] .t-cap,
html[data-theme="dark"] .t-floor {
  background: #0E2049;
  color: #F8FAFC;
  border: 1px solid #233E7D;
}
html[data-theme="dark"] .t-cap i { background: var(--lime); }
html[data-theme="dark"] .t-floor-num { color: #93B4FF; }
html[data-theme="dark"] .t-floor-icon { background: #193675; color: var(--lime); }
html[data-theme="dark"] .t-floor-arrow { color: var(--lime); }
html[data-theme="dark"] .t-floor:hover { background: #15306B; }
html[data-theme="dark"] .t-floor[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
}
html[data-theme="dark"] .t-floor[aria-selected="true"] .t-floor-num,
html[data-theme="dark"] .t-floor[aria-selected="true"] .t-floor-arrow {
  color: var(--navy);
}
html[data-theme="dark"] .t-floor[aria-selected="true"] .t-floor-icon {
  background: var(--navy);
  color: var(--lime);
}
html[data-theme="dark"] .hr-card.is-staff {
  background: #0E2049;
  color: #F8FAFC;
  border: 1px solid #233E7D;
}
html[data-theme="dark"] .hr-card.is-staff .hr-icon { background: var(--lime); color: var(--navy); }
html[data-theme="dark"] .hr-link.is-solid::before { border-left-color: #93B4FF; }

/* Dark Paper & White Bands (#why, #scope, #benefit, #path) */
html[data-theme="dark"] .on-paper {
  background: #0A1633;
  color: #F8FAFC;
  --sub: #B8C9EC;
  --eyebrow: var(--lime);
}
html[data-theme="dark"] .on-white {
  background: #060E22;
  color: #F8FAFC;
  --sub: #B8C9EC;
  --eyebrow: var(--lime);
}
html[data-theme="dark"] .on-paper h2,
html[data-theme="dark"] .on-white h2 {
  color: #FFFFFF;
}

/* Dark Networks & Discovery (#why, #first) */
html[data-theme="dark"] .nets-card {
  background: #0F214A;
  border-color: #213B75;
}
html[data-theme="dark"] .net {
  background: #08132C;
  border: 1px solid #1C3266;
}
html[data-theme="dark"] .net.is-hub-net {
  background: #0D2049;
  border: 2px solid var(--lime);
}
html[data-theme="dark"] .net figcaption span.sub { color: #B8C9EC; }
html[data-theme="dark"] .net-label { fill: #F8FAFC; }
html[data-theme="dark"] .first-panel.is-learn {
  background: #0A193B;
  border-color: #233E7D;
}
html[data-theme="dark"] .first-panel .ask-chip {
  background: #102452;
  border-color: #264385;
  color: #F8FAFC;
}
html[data-theme="dark"] .first-panel .ask-icon {
  background: #193675;
  color: var(--lime);
}

/* Dark Scope tower and area viewer (#scope) */
html[data-theme="dark"] .scope-stage { background-color: #042466; }
html[data-theme="dark"] .scope-viewer {
  background: #0F214A;
  color: #F8FAFC;
  border: 1px solid #213B75;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
  --focus: var(--lime);
}
html[data-theme="dark"] .sp-count { color: var(--lime); }
html[data-theme="dark"] .sp-watermark { color: var(--lime); opacity: .06; }
html[data-theme="dark"] .sp-icon { background: #193573; color: var(--lime); box-shadow: 0 4px 0 #060E22; }
html[data-theme="dark"] .sp-head h3 { color: #FFFFFF; }
html[data-theme="dark"] .sp-lead { color: #F8FAFC; }
html[data-theme="dark"] .sp-open { border-color: rgba(254, 243, 199, 0.3); }
html[data-theme="dark"] .sp-open-icon { border-color: var(--lime); color: var(--lime); }
html[data-theme="dark"] .sp-open strong { color: var(--lime); }
html[data-theme="dark"] .sp-open p { color: #D6E3FF; }
html[data-theme="dark"] .sp-link { border-color: #28468B; color: #FFFFFF; }
html[data-theme="dark"] .sp-link strong,
html[data-theme="dark"] .sp-link svg { color: var(--lime); }
html[data-theme="dark"] .sp-link:hover { border-color: var(--lime); background: #132859; }
html[data-theme="dark"] .sp-note { border-color: #28468B; color: #B8C9EC; }
html[data-theme="dark"] .sp-foot { border-top-color: #213B75; }
html[data-theme="dark"] .sp-progress i { background: #213B75; }
html[data-theme="dark"] .sp-progress i.is-done { background: rgba(254, 243, 199, 0.35); }
html[data-theme="dark"] .sp-progress i.is-on { background: var(--lime); }
html[data-theme="dark"] .sp-btn { border-color: #28468B; color: var(--lime); }
html[data-theme="dark"] .sp-btn:hover { border-color: var(--lime); }
html[data-theme="dark"] .sp-btn.is-next { background: var(--lime); border-color: var(--lime); color: var(--navy); }
html[data-theme="dark"] .sp-btn.is-next:hover { background: var(--white); border-color: var(--white); }

/* Dark Workflow Board Refinements (#flow) */
html[data-theme="dark"] .wf-station:not([aria-selected="true"]) {
  background: #092052;
}
html[data-theme="dark"] .wf-board {
  background: #07122B;
}
html[data-theme="dark"] .wf-pod-staff {
  background: #102452;
  color: #FFFFFF;
  border-color: #3B66C4;
}
html[data-theme="dark"] .wf-pod-staff .wf-avatar-circle {
  background: var(--lime);
  color: var(--navy);
}
html[data-theme="dark"] .wf-pod-staff .wf-vchip {
  background: #0A1838;
  border-color: #264385;
  color: #FFFFFF;
}
html[data-theme="dark"] .wf-pod-staff .wf-vchip-icon {
  background: #1D3F8A;
  color: var(--lime);
}
html[data-theme="dark"] .wf-pod-staff .wf-vchip:not(:last-child)::after {
  color: var(--lime);
}

/* Dark Benefits & Role Cards (#benefit) */
html[data-theme="dark"] .gain {
  background: #0F214A;
  border-color: #213B75;
  border-left-color: var(--lime);
}
html[data-theme="dark"] .gain-icon { background: var(--lime); color: var(--navy); }
html[data-theme="dark"] .gain-title { color: var(--lime); }
html[data-theme="dark"] .gain-text { color: #B8C9EC; }
html[data-theme="dark"] .gain-areas { border-top-color: #213B75; }
html[data-theme="dark"] .gain-areas a { background: #091530; color: var(--lime); }
html[data-theme="dark"] .gain-areas a:hover { background: var(--lime); color: var(--navy); }
html[data-theme="dark"] .role-card {
  background: #0F214A;
  border-color: #213B75;
}
html[data-theme="dark"] .role-card h4 {
  color: var(--lime);
  border-bottom-color: #213B75;
}
html[data-theme="dark"] .role-card h4 .tok-staff {
  background: var(--lime);
  color: var(--navy);
}
html[data-theme="dark"] .role-step.is-before {
  background: #091530;
  color: #B8C9EC;
}
html[data-theme="dark"] .role-step.is-after {
  background: #152E66;
  border-color: var(--lime);
  color: #FFFFFF;
}

/* Dark Path & Status (#path) */
html[data-theme="dark"] .pstep {
  background: #0D1D42;
  border-color: #1F376E;
}
html[data-theme="dark"] .pstep.is-here {
  background: #142B5E;
  border-color: var(--lime);
}
html[data-theme="dark"] .pstep p { color: #B8C9EC; }
html[data-theme="dark"] .stack { border-bottom-color: var(--lime); }
html[data-theme="dark"] .stack i { background: #2B59C3; }
html[data-theme="dark"] .stack i.hub { background: var(--lime); border-color: var(--lime); }
html[data-theme="dark"] .stack i.open { background: none; border-color: var(--lime); }
html[data-theme="dark"] .here { background: var(--lime); color: var(--navy); }
html[data-theme="dark"] .status { border-top-color: #1F376E; }
html[data-theme="dark"] .status > div { background: #0D1D42; border: 1px solid #1F376E; }
html[data-theme="dark"] .status p { color: #B8C9EC; }

/* Dark Ticket & Footer (#first, footer) */
html[data-theme="dark"] .ticket {
  background: #102452;
  color: #F8FAFC;
}
html[data-theme="dark"] .ticket-title {
  color: var(--lime);
  border-bottom-color: #2B4C94;
}
html[data-theme="dark"] .site-footer {
  background: #050B1B;
  color: #93A8D4;
  border-top: 1px solid #152650;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.1875rem; }
  .brand svg { display: none; }
}
