/* ==========================================================================
   Live Tech — landing page
   Metal, liquid glass and the Live Tech blue. Light and dark themes share
   every rule; only the tokens below change. Sora everywhere, JetBrains Mono
   only for step numbers and code.
   ========================================================================== */

@property --mx {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}

@property --my {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}

/* ---------- Tokens: dark (default) ---------- */
:root {
  color-scheme: dark;
  --accent: #3157F0;
  --accent-hover: #2848D8;
  --accent-text: #8EA3F7;
  --accent-soft: rgba(49, 87, 240, .16);
  --on-accent: #FFFFFF;

  --bg: #0d0d0f;
  --bg-screen: #1a1a1c;
  --card: #131315;
  --card-2: #18181b;
  --text: #f4f4f4;
  --text-2: #b4b4b9;
  --dim: #8a8a8f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --fill: rgba(255, 255, 255, .05);
  --fill-2: rgba(255, 255, 255, .08);
  --chip-text: #cfcfd3;

  --glass-hi: rgba(255, 255, 255, .12);
  --glass-top: rgba(255, 255, 255, .09);
  --glass-bot: rgba(255, 255, 255, .02);
  --glass-border: rgba(255, 255, 255, .14);
  --glass-border-hover: rgba(255, 255, 255, .28);
  --glass-inset: rgba(255, 255, 255, .22);
  --glass-inset-low: rgba(0, 0, 0, .35);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --nav-solid: rgba(20, 20, 23, .78);

  --metal-a: #ffffff;
  --metal-b: #8b8b91;
  --blue-a: #c9d3ff;
  --blue-b: #3157F0;
  --mark-tint: linear-gradient(160deg, #7f98ff 0%, #3157F0 55%, #2443C4 100%);
  --mark-faded: linear-gradient(160deg, rgba(49, 87, 240, .22) 0%, rgba(49, 87, 240, .04) 70%);
  --footer-word: rgba(255, 255, 255, .045);
  --shadow-big: rgba(0, 0, 0, .55);
  --hero-glow: rgba(49, 87, 240, .26);
  --photo-cap: rgba(13, 13, 15, .62);
  --mock-bg: #121214;
  --avatar-bg: #e8e8ea;
  --avatar-text: #111113;
  --dot-off: #4f4f54;
  --grain-opacity: .15;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sec: clamp(96px, 11vw, 160px);
  --nav-h: 88px;
  --sbw: 0px;
}

/* ---------- Tokens: light ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --accent-text: #2C4ED8;
  --accent-soft: rgba(49, 87, 240, .1);

  --bg: #f5f5f7;
  --bg-screen: #f5f5f7;
  --card: #ffffff;
  --card-2: #fbfbfc;
  --text: #0d0d0f;
  --text-2: #45454b;
  --dim: #6b6b71;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .16);
  --fill: rgba(0, 0, 0, .04);
  --fill-2: rgba(0, 0, 0, .06);
  --chip-text: #3a3a40;

  --glass-hi: rgba(255, 255, 255, .9);
  --glass-top: rgba(255, 255, 255, .78);
  --glass-bot: rgba(255, 255, 255, .5);
  --glass-border: rgba(0, 0, 0, .08);
  --glass-border-hover: rgba(0, 0, 0, .16);
  --glass-inset: rgba(255, 255, 255, 1);
  --glass-inset-low: rgba(0, 0, 0, .04);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, .07);
  --nav-solid: rgba(245, 245, 247, .82);

  --metal-a: #2a2a2f;
  --metal-b: #8a8a90;
  --blue-a: #5b7bff;
  --blue-b: #1f3bb8;
  --mark-faded: linear-gradient(160deg, rgba(49, 87, 240, .14) 0%, rgba(49, 87, 240, .03) 70%);
  --footer-word: rgba(0, 0, 0, .045);
  --shadow-big: rgba(20, 30, 80, .16);
  --hero-glow: rgba(49, 87, 240, .16);
  --photo-cap: rgba(255, 255, 255, .78);
  --mock-bg: #ffffff;
  --avatar-bg: #1d1d1f;
  --avatar-text: #ffffff;
  --dot-off: #c9c9ce;
  --grain-opacity: .07;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg-screen);
  -webkit-text-size-adjust: 100%;
}

html.is-loading {
  overflow: hidden;
  padding-right: var(--sbw);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .4s ease, color .4s ease;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

section[id],
header[id] {
  scroll-margin-top: var(--nav-h);
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: var(--grain);
}

/* ---------- Loader ---------- */
.loader {
  display: none;
}

.js .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg-screen);
  transition: opacity .6s ease, visibility .6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-ring,
.loader-mark {
  grid-area: 1 / 1;
}

.loader-ring {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.loader-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--accent);
  animation: spin 1.1s linear infinite;
}

.loader-mark {
  width: 56px;
  height: 56px;
  background: var(--mark-tint);
  -webkit-mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
  mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: .55;
  }
}

/* ---------- Shared pieces ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.logo-mark {
  display: inline-block;
  flex: none;
  width: 26px;
  height: 26px;
  background: var(--mark-tint);
  -webkit-mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
  mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
}

.t-dim {
  color: var(--dim);
  font-weight: 400;
}

.t-bright {
  color: var(--text);
  font-weight: 700;
}

.metal,
.blue-metal {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metal {
  background-image: linear-gradient(180deg, var(--metal-a) 15%, var(--metal-b) 100%);
}

.blue-metal {
  background-image: linear-gradient(180deg, var(--blue-a) 0%, var(--blue-b) 100%);
}

.label {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.label--center {
  text-align: center;
}

.h2 {
  max-width: 24ch;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.h2 > span {
  display: block;
}

.ws .h2,
.faq .h2 {
  font-size: clamp(30px, 3.3vw, 50px);
}

.h2--center {
  margin: 0 auto;
  text-align: center;
}

.section {
  position: relative;
  padding: var(--sec) 0;
}

/* ---------- Liquid glass ---------- */
.glass {
  background:
    radial-gradient(120% 90% at 50% 0%, var(--glass-hi), transparent 60%),
    linear-gradient(180deg, var(--glass-top), var(--glass-bot));
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset),
    inset 0 -1px 0 var(--glass-inset-low),
    var(--glass-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease, transform .2s ease;
}

a.glass:hover,
button.glass:hover,
.btn-glass:hover,
.glass-ico:hover {
  border-color: var(--glass-border-hover);
  box-shadow:
    inset 0 1px 0 var(--glass-inset),
    inset 0 -1px 0 var(--glass-inset-low),
    0 0 0 4px var(--accent-soft),
    var(--glass-shadow);
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 48px;
  padding: 0 7px 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .3s ease, background-color .3s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 4px var(--accent-soft);
}

.btn-white {
  background: #ffffff;
  color: #0d0d0f;
}

.btn-white:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .22);
}

.btn-primary:active,
.btn-white:active,
.btn-glass:active,
.btn-outline:active,
.icon-btn:active {
  transform: translateY(1px);
}

.btn-dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
}

.btn-white .btn-dot {
  background: var(--accent);
  color: #ffffff;
}

.btn-dot svg {
  transition: transform .3s var(--ease-out);
}

.btn-primary:hover .btn-dot svg,
.btn-white:hover .btn-dot svg {
  transform: translateX(2px);
}

.btn-primary--sm {
  height: 42px;
  padding-left: 18px;
  font-size: 14px;
  gap: 12px;
}

.btn-primary--sm .btn-dot {
  width: 30px;
  height: 30px;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background-color .3s ease, border-color .3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #ffffff;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
}

/* ---------- Navigation (fixed) ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px var(--pad);
  transition: padding .4s var(--ease-out);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color .4s ease, border-color .4s ease, padding .4s var(--ease-out), box-shadow .4s ease;
}

.nav.is-stuck {
  padding-top: 12px;
}

.nav.is-stuck .nav-inner {
  padding: 7px 7px 7px 20px;
  background: var(--nav-solid);
  border-color: var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-inset), var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}

.nav.is-stuck .nav-pill {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav-pill {
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
}

.nav-pill a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--chip-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}

.nav-pill a:hover,
.nav-pill a.is-current {
  background: var(--fill-2);
  color: var(--text);
}

.nav-academy {
  display: inline-flex;
  gap: 4px;
}

.nav-academy span {
  color: var(--accent-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ico-moon {
  display: none;
}

[data-theme="light"] .ico-moon {
  display: block;
}

[data-theme="light"] .ico-sun {
  display: none;
}

#themeToggle svg {
  transition: transform .5s var(--ease-out);
}

#themeToggle:hover svg {
  transform: rotate(-25deg);
}

.menu-btn {
  display: none;
}

.menu-btn path {
  transition: transform .35s var(--ease-out);
  transform-origin: 12px 12px;
}

.menu-btn[aria-expanded="true"] .mb-top {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .mb-bot {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  background: radial-gradient(ellipse 70% 55% at 50% -10%, var(--hero-glow), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(36px, 9vh, 110px) var(--pad) 0;
}

.hero-title {
  font-size: clamp(34px, 4.7vw, 80px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.hero-title span {
  display: block;
}

.hero-sub {
  max-width: 44ch;
  margin-top: 22px;
  color: var(--dim);
  font-size: 17px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.stage {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16%;
  height: 86vh;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

.stage canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Fallback when WebGL or the CDN is unavailable */
.stage.no3d::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  transform: translateX(-50%) perspective(900px) rotateX(52deg) rotateZ(-24deg);
  background: linear-gradient(150deg, #9db0ff 0%, #3157F0 40%, #6f8bff 58%, #1f3bb8 100%);
  -webkit-mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
  mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
}

.hero-corner {
  position: absolute;
  z-index: 3;
  bottom: 40px;
}

.hero-corner--left {
  left: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--dim);
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 56px;
  background: var(--line-2);
}

.scroll-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--dim);
  border-bottom: 1px solid var(--dim);
  transform: translateX(-50%) rotate(45deg);
}

.hero-corner--right {
  right: var(--pad);
  max-width: 300px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dim);
}

.hero-corner--right u {
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.hero-corner--right b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Card bands ---------- */
.bands {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  padding: 260px 0 40px;
  overflow: hidden;
}

.band-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.band-set {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

.card {
  flex: none;
  width: 420px;
  height: 270px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 420px 270px;
  transition: transform .35s var(--ease-out), border-color .35s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card--project img,
.card--video video {
  width: 100%;
  height: 196px;
  object-fit: cover;
  object-position: left top;
  filter: grayscale(1) contrast(1.05);
  transition: filter .5s ease;
}

.card:hover img,
.card:hover video {
  filter: none;
}

.card-foot {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
}

.card-foot strong {
  font-size: 15px;
  font-weight: 600;
}

.card-foot span {
  font-size: 13px;
  color: var(--dim);
}

.card--quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
}

.quote-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}

.quote-head strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.quote-head span {
  font-size: 13px;
  color: var(--dim);
}

.card--quote p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}

.code-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.code-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fill-2);
}

.code-head span:first-child {
  background: var(--accent);
}

.code-head em {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  color: var(--dim);
}

.card--code pre {
  margin: 0;
  padding: 20px 18px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
  white-space: pre;
  overflow: hidden;
}

.card--code b {
  color: var(--accent-text);
  font-weight: 500;
}

.card--code i {
  font-style: normal;
  color: var(--dim);
}

/* ---------- Glow cards (cursor light) ---------- */
.glow-card {
  position: relative;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out), border-color .35s ease, background-color .4s ease, --mx .7s var(--ease-out), --my .7s var(--ease-out);
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--accent-soft), transparent 60%);
  pointer-events: none;
}

.glow-card.is-tracking {
  transition: transform .4s var(--ease-out), border-color .35s ease;
}

.glow-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
}

/* ---------- Workspace / live mockup ---------- */
.ws {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}

.ws-text > p:not(.label) {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 16.5px;
}

.ws-text .h2 + p {
  margin-top: 26px;
}

.ws-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.mock-wrap {
  perspective: 1400px;
}

.js .mock-wrap {
  opacity: 0;
  transform: translateY(40px) scale(.94);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.js .mock-wrap.built {
  opacity: 1;
  transform: none;
}

.mock {
  position: relative;
  border-radius: 18px;
  background: var(--mock-bg);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px var(--shadow-big);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-out), background-color .4s ease;
}

.mock-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, 0%), var(--accent-soft), transparent 55%);
  opacity: 0;
  transition: opacity .4s ease;
}

.mock-wrap.is-hover .mock-light {
  opacity: 1;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.mock-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.mock-logo .logo-mark {
  width: 18px;
  height: 18px;
}

.mock-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 280px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--fill);
  color: var(--dim);
}

.mock-search em {
  font-style: normal;
}

.mock-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.mock-icons i {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--fill-2);
}

.mock-icons b,
.md-head b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.mock-body {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: 420px;
}

.mock-side {
  padding: 14px 10px;
  border-right: 1px solid var(--line);
}

.mock-side p,
.md-label {
  margin: 0 0 10px 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--dim);
}

.mock-side li {
  display: flex;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--text-2);
  font-size: 12.5px;
}

.mock-side li.on {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
}

.mock-side li span {
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.mock-list {
  padding: 8px;
  border-right: 1px solid var(--line);
}

.mock-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 7px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 9px;
}

.mock-item.on {
  background: var(--fill-2);
}

.mock-item b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fill-2);
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
}

.mock-item.on b {
  background: var(--accent);
  color: #ffffff;
}

.mock-item strong,
.md-head strong {
  display: block;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-item span,
.md-head span {
  display: block;
  color: var(--dim);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-item i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot-off);
}

.mock i.ok {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-text);
}

.mock-detail {
  padding: 18px;
}

.md-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.md-head b {
  width: 40px;
  height: 40px;
  font-size: 13px;
}

.md-head strong {
  font-size: 15px;
}

.md-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0 16px;
}

.md-meta div {
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--fill);
}

.md-meta dt {
  font-size: 10.5px;
  color: var(--dim);
}

.md-meta dd {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
}

.md-desc {
  margin-bottom: 16px;
  color: var(--text-2);
  font-size: 12.5px;
  line-height: 1.6;
}

.md-desc .ghost {
  visibility: hidden;
}

.md-desc .caret {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--accent-text);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.md-hist li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-2);
}

.md-hist em {
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  color: var(--dim);
}

/* Assembly */
.js .mock-item,
.js .md-hist li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

.js .mock-item {
  transition-delay: calc(300ms + var(--i, 0) * 45ms);
}

.js .md-hist li {
  transition-delay: calc(700ms + var(--i, 0) * 130ms);
}

.js .built .mock-item,
.js .built .md-hist li {
  opacity: 1;
  transform: none;
}

/* Features */
.feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 88px;
}

.feat {
  display: flex;
  gap: 16px;
}

.glass-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--accent-text);
}

.feat h3 {
  font-size: 16px;
  font-weight: 600;
}

.feat p {
  margin-top: 4px;
  color: var(--dim);
  font-size: 14.5px;
}

/* ---------- Numbers ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: clamp(28px, 3.5vw, 44px);
}

.stat-num {
  font-size: clamp(64px, 8vw, 116px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat p:not(.stat-num):not(.stat-big) {
  max-width: 32ch;
  margin-top: 18px;
  color: var(--text-2);
}

.stat--text {
  justify-content: flex-end;
}

.stat-big {
  max-width: 18ch;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--text);
}

/* ---------- Manifesto / about ---------- */
#sobre {
  overflow-x: clip;
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

.why-text {
  position: relative;
  z-index: 1;
}

.why-title {
  font-size: clamp(40px, 5vw, 84px);
  line-height: 1;
  letter-spacing: -.045em;
}

.why-title span {
  display: block;
}

.shine {
  background-image:
    linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .9) 50%, transparent 60%),
    linear-gradient(180deg, var(--blue-a) 0%, var(--blue-b) 100%);
  background-size: 250% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 160% 0, 0 0;
  animation: shine 6.5s ease-in-out infinite;
}

@keyframes shine {
  0% {
    background-position: 160% 0, 0 0;
  }

  30%,
  100% {
    background-position: -60% 0, 0 0;
  }
}

.why-text > p {
  max-width: 56ch;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 17px;
}

.why-title + p {
  margin-top: 32px;
}

.why-text strong {
  color: var(--text);
  font-weight: 600;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.principles > div {
  padding: 0 22px;
  border-left: 1px solid var(--line-2);
}

.principles > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.principles h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-text);
}

.principles p {
  margin-top: 6px;
  color: var(--dim);
  font-size: 14px;
}

.why-text .techs {
  margin-top: 36px;
  color: var(--dim);
  font-size: 14px;
}

.why-art {
  position: relative;
}

.why-mark {
  position: absolute;
  left: -30%;
  top: -18%;
  width: 120%;
  aspect-ratio: 1;
  background: var(--mark-faded);
  -webkit-mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
  mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
  transform: translateY(var(--py, 0px)) rotate(var(--pr, 0deg)) scale(var(--ps, 1));
  will-change: transform;
  pointer-events: none;
}

.why-photo {
  position: relative;
  width: 80%;
  margin-left: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.why-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
}

.why-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--photo-cap);
  color: var(--text);
  font-size: 12.5px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.faq-head > p:not(.label) {
  margin-top: 20px;
  color: var(--dim);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .3s ease, background-color .3s ease;
}

.faq-list details:hover {
  border-color: var(--line-2);
}

.faq-list details[open] {
  background: var(--card-2);
  border-color: var(--accent);
}

.faq-list summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--accent-text);
  transition: transform .35s var(--ease-out);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list details p {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* ---------- CTA (the blue card) ---------- */
.section--cta {
  padding-top: calc(var(--sec) * .6);
}

.cta-card {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: 30px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(180deg, #3d63f5 0%, #2443C4 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 50px 120px var(--shadow-big);
  overflow: hidden;
  isolation: isolate;
}

.cta-card::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -30%;
  z-index: -1;
  width: 46%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, .07);
  -webkit-mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
  mask: url("../assets/livetech-mark.svg") center / contain no-repeat;
  transform: rotate(-14deg);
}

.cta-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.cta-logo .logo-mark {
  background: #ffffff;
}

.cta-title {
  max-width: 13ch;
  margin: 26px auto 22px;
  font-size: clamp(38px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}

.cta-card > p {
  max-width: 46ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.cta-rule {
  max-width: 640px;
  height: 1px;
  margin: 44px auto 20px;
  border: 0;
  background: rgba(255, 255, 255, .22);
}

.cta-card .cta-foot {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.cta-card :focus-visible {
  outline-color: #ffffff;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: 96px 0 clamp(100px, 15vw, 230px);
}

.footer-in,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
}

.footer-brand p {
  max-width: 32ch;
  margin: 14px 0 22px;
  color: var(--dim);
  font-size: 15px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-cols h4 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.footer-cols a {
  display: block;
  padding: 5px 0;
  color: var(--dim);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .25s ease, transform .25s var(--ease-out);
}

.footer-cols a:hover {
  color: var(--accent-text);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

.footer-word {
  position: absolute;
  left: 50%;
  bottom: -5.2vw;
  z-index: 0;
  transform: translateX(-50%);
  font-size: 21vw;
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1;
  white-space: nowrap;
  color: var(--footer-word);
  pointer-events: none;
  user-select: none;
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  filter: blur(15px);
  transform: translateY(26px);
  transition:
    opacity 1.2s var(--ease-out),
    filter 1.2s var(--ease-out),
    transform 1.2s var(--ease-out);
  transition-delay: var(--reveal-delay, 200ms);
}

.js .reveal.in {
  opacity: 1;
  filter: none;
  transform: none;
}

/* ---------- Narrower desktops: the links move into the menu ---------- */
@media (max-width: 1180px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-pill {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: var(--pad);
    right: var(--pad);
    display: grid;
    gap: 2px;
    max-width: 420px;
    margin-left: auto;
    padding: 12px;
    border-radius: 22px;
    background: var(--card);
    border: 1px solid var(--line-2);
    box-shadow: 0 30px 60px var(--shadow-big);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu a:not(.btn-primary) {
    display: flex;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease;
  }

  .mobile-menu a:not(.btn-primary):hover {
    background: var(--fill-2);
  }

  .mobile-menu a span {
    color: var(--accent-text);
  }

  .mobile-menu .btn-primary {
    margin-top: 8px;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .ws,
  .why,
  .faq {
    grid-template-columns: 1fr;
  }

  .mock-wrap {
    max-width: 760px;
  }

  .why-art {
    max-width: 520px;
  }

  .footer-in {
    grid-template-columns: 1fr;
  }
}

/* ---------- Phone ---------- */
@media (max-width: 900px) {
  :root {
    --sec: 88px;
    --nav-h: 76px;
  }

  .glass {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav {
    padding: 12px var(--pad);
  }

  .nav.is-stuck .nav-inner {
    padding-left: 16px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  [data-theme="dark"] .nav.is-stuck .nav-inner {
    background: rgba(20, 20, 23, .96);
  }

  [data-theme="light"] .nav.is-stuck .nav-inner {
    background: rgba(255, 255, 255, .96);
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu {
    max-width: none;
  }

  .js .reveal {
    filter: none;
    transform: translateY(26px) scale(.985);
    transition-duration: .85s;
    transition-delay: calc(var(--reveal-delay, 200ms) * .6);
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .stage {
    position: relative;
    bottom: auto;
    height: 50vh;
    margin-top: 8px;
  }

  .hero-corner--left {
    display: none;
  }

  .hero-corner--right {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 0 auto 48px;
    padding: 0 var(--pad);
    text-align: center;
  }

  .bands {
    display: none;
  }

  .ws-text {
    text-align: center;
  }

  .ws-text .h2,
  .ws-text > p {
    margin-left: auto;
    margin-right: auto;
  }

  .ws-extra {
    display: none;
  }

  .ws-btns {
    justify-content: center;
  }

  .mock-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-side {
    display: none;
  }

  .mock-search {
    flex: none;
    justify-content: center;
    width: 32px;
    padding: 8px;
  }

  .mock-search em {
    display: none;
  }

  .mock-list {
    max-height: 150px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  }

  .mock-item:nth-child(n+4) {
    display: none;
  }

  .mock {
    transform: none !important;
  }

  .mock-light {
    display: none;
  }

  .feats {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 64px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 220px;
  }

  .why {
    text-align: center;
  }

  .why-text > p {
    margin-left: auto;
    margin-right: auto;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .principles > div,
  .principles > div:first-child {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .why-art {
    position: static;
    margin: 0 auto;
  }

  .why-mark {
    left: 50%;
    top: 4%;
    width: 110vw;
    max-width: none;
    opacity: .6;
    transform: translateX(-50%);
  }

  .why-photo {
    width: 100%;
  }

  .faq-head {
    text-align: center;
  }

  .faq-head .h2 {
    margin: 0 auto;
  }

  .cta-btns a {
    width: 100%;
    justify-content: center;
  }

  .cta-btns .btn-white {
    justify-content: space-between;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .footer-word {
    bottom: -6vw;
    font-size: 26vw;
  }
}

@media (prefers-reduced-motion: reduce) {

  .js .reveal,
  .js .mock-wrap,
  .js .mock-item,
  .js .md-hist li {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .shine,
  .loader-ring::after,
  .loader-mark,
  .md-desc .caret {
    animation: none;
  }

  .mock,
  .why-mark {
    transform: none !important;
  }
}

/* ---------- Lenis ---------- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ==========================================================================
   Band cards: the consultancy side (chat, proposal, deploy, service, stack)
   ========================================================================== */
.card--deploy pre {
  margin: 0;
  padding: 20px 18px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
  white-space: pre;
  overflow: hidden;
}

.card--deploy b {
  color: var(--accent-text);
  font-weight: 500;
}

.card--deploy i {
  font-style: normal;
  color: var(--dim);
}

.card--deploy u {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.card--chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.chat-head .logo-mark {
  width: 30px;
  height: 30px;
}

.chat-head strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.chat-head span {
  font-size: 12.5px;
  color: var(--dim);
}

.bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.bubble--in {
  background: var(--fill-2);
  border-bottom-left-radius: 4px;
}

.bubble--out {
  align-self: flex-end;
  background: var(--accent);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.card--doc {
  padding: 24px;
}

.doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doc-head strong {
  font-size: 18px;
  font-weight: 600;
}

.chip-accent {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
}

.card--doc dl {
  margin: 14px 0 0;
}

.card--doc dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.card--doc dt {
  color: var(--dim);
  font-size: 13px;
}

.card--doc dd {
  font-size: 13.5px;
  font-weight: 500;
  text-align: right;
}

.card--service,
.card--stack {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.card--service {
  justify-content: space-between;
}

.service-kicker {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.service-big {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.service-note {
  color: var(--dim);
  font-size: 14px;
}

.card--stack ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.card--stack li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--fill);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================================
   Process: BPMN diagram with two lanes and a token that travels on scroll
   ========================================================================== */
.sec-sub {
  max-width: 60ch;
  margin: 22px auto 0;
  color: var(--dim);
  font-size: 16.5px;
  text-align: center;
}

.bpm {
  margin-top: 56px;
  padding: 20px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
}

.bpm-scroll {
  overflow-x: auto;
  border-radius: 16px;
  scrollbar-width: thin;
}

.bpm-svg {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
  font-family: var(--font);
}

.lane {
  fill: var(--card);
}

.lane--alt {
  fill: var(--fill);
}

.lane-head {
  fill: var(--fill);
}

.lane-split {
  stroke: var(--line-2);
  stroke-width: 1;
}

.lane-name {
  fill: var(--dim);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-anchor: middle;
}

.lane-name--lt {
  fill: var(--accent-text);
}

.flow {
  fill: none;
  stroke: var(--dim);
  stroke-width: 1.6;
  opacity: .75;
}

.flow--alt {
  stroke-dasharray: 5 5;
}

.arrow-head {
  fill: var(--dim);
}

.flow-label {
  fill: var(--dim);
  font-size: 12px;
}

.bpm-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node {
  cursor: pointer;
  outline: none;
}

.node rect,
.node circle,
.node path:not(.gate-x) {
  fill: var(--card);
  stroke: var(--line-2);
  stroke-width: 1.6;
  transition: fill .35s ease, stroke .35s ease, stroke-width .2s ease;
}

.node text {
  fill: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-anchor: middle;
  transition: fill .35s ease;
}

.node .node-cap {
  fill: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
}

.node--end circle {
  stroke-width: 4;
}

.gate-x {
  fill: none;
  stroke: var(--dim);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke .35s ease;
}

.node.is-done rect,
.node.is-done circle,
.node.is-done path:not(.gate-x) {
  stroke: var(--accent);
}

.node.is-done .gate-x {
  stroke: var(--accent);
}

.node.is-current rect,
.node.is-current circle,
.node.is-current path:not(.gate-x) {
  fill: var(--accent);
  stroke: var(--accent);
}

.node--task.is-current text,
.node.is-current .gate-x {
  fill: #ffffff;
  stroke: #ffffff;
}

.node--task.is-current text {
  stroke: none;
}

.node:hover rect,
.node:hover circle,
.node:hover path:not(.gate-x) {
  stroke: var(--accent-text);
}

.node:focus-visible rect,
.node:focus-visible circle,
.node:focus-visible path:not(.gate-x) {
  stroke: var(--accent-text);
  stroke-width: 3.5;
}

.bpm-token {
  transition: opacity .25s ease;
  fill: var(--accent);
  stroke: #ffffff;
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(49, 87, 240, .85));
}

.bpm-hint {
  display: none;
}

.bpm-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 16px;
  color: var(--dim);
  font-size: 13px;
}

.bpm-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lg {
  display: inline-block;
  border: 1.6px solid var(--dim);
}

.lg--event {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.lg--task {
  width: 20px;
  height: 13px;
  border-radius: 4px;
}

.lg--gate {
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
}

.lg--alt {
  width: 22px;
  height: 0;
  border-width: 2px 0 0;
  border-style: dashed;
}

/* ==========================================================================
   Training: bento
   ========================================================================== */
.train-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
}

.b-fs {
  grid-column: span 7;
  grid-row: span 2;
}

.b-fluig,
.b-quotes {
  grid-column: span 5;
}

.b-projects {
  grid-column: span 12;
}

.b-top .chip {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--chip-text);
}

.bento-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.b-top p {
  max-width: 48ch;
  margin-top: 8px;
  color: var(--text-2);
}

.bento-card .link-arrow {
  margin-top: auto;
  padding-top: 24px;
}

.trail {
  margin: 28px 0 0;
}

.trail li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}

.trail li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21.5px;
  top: 54px;
  bottom: -10px;
  width: 1px;
  background: var(--line-2);
}

.trail-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: 13px;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.trail li:hover .trail-n {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.trail strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.trail span:not(.trail-n) {
  color: var(--dim);
  font-size: 14.5px;
}

.b-code {
  margin: 22px 0 18px;
  border-radius: 14px;
  background: var(--fill);
  border: 1px solid var(--line);
  overflow: hidden;
}

.b-code pre {
  margin: 0;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-2);
  white-space: pre;
  overflow-x: auto;
}

.b-code b {
  color: var(--accent-text);
  font-weight: 500;
}

.b-code i {
  font-style: normal;
  color: var(--dim);
}

.b-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b-chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--fill);
  border: 1px solid var(--line);
  color: var(--chip-text);
  font-size: 12.5px;
}

.b-quotes {
  justify-content: space-between;
}

.quotes {
  display: grid;
}

.q {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility .6s;
}

.q.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.q blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--text);
}

.q figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.q figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}

.q figcaption span {
  display: flex;
  flex-direction: column;
  color: var(--dim);
  font-size: 13.5px;
}

.q figcaption strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.q-dots {
  display: flex;
  gap: 6px;
  margin-top: 24px;
}

.q-dots button {
  position: relative;
  width: 36px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.q-dots button::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 9px;
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
  transition: background-color .3s ease;
}

.q-dots button.is-on::after {
  background: var(--accent);
}

.b-projects-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.b-projects-head p {
  margin-top: 6px;
  color: var(--text-2);
}

.b-crowd {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 40px;
  height: 40px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--card);
  object-fit: cover;
  object-position: 50% 20%;
}

.avatars img:first-child {
  margin-left: 0;
}

.b-crowd p {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
}

.b-crowd strong {
  margin-right: 4px;
  font-size: 22px;
  font-weight: 700;
}

.b-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.pj {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card-2);
  text-decoration: none;
  transition: border-color .3s ease, transform .4s var(--ease-out);
}

.pj:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.pj-shot {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pj-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .8s var(--ease-out);
}

.pj:hover .pj-shot img {
  transform: scale(1.04);
}

.pj-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px;
}

.pj-info strong {
  font-size: 17px;
  font-weight: 600;
}

.pj-info strong span {
  color: var(--accent-text);
}

.pj-info > span {
  color: var(--dim);
  font-size: 14px;
}

.pj-info em {
  color: var(--accent-text);
  font-size: 13.5px;
  font-style: normal;
}

@media (max-width: 1100px) {
  .b-fs {
    grid-column: span 12;
    grid-row: auto;
  }

  .b-fluig,
  .b-quotes {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .bpm {
    padding: 12px;
    border-radius: 22px;
  }

  .bpm-hint {
    display: block;
    margin-top: 10px;
    color: var(--dim);
    font-size: 13px;
    text-align: center;
  }


  .train-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .b-fluig,
  .b-quotes {
    grid-column: span 12;
  }

  .b-projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .q {
    transition: none;
  }
}


/* ==========================================================================
   Services: tabs + detail panel
   ========================================================================== */
.svc-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
}

.svc-intro {
  max-width: 40ch;
  color: var(--text-2);
  font-size: 16px;
}

.svx {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 20px;
  align-items: start;
  margin-top: 56px;
}

.svx-tabs {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svx-tab {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 16px 18px 16px 16px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out);
}

.svx-tab:hover {
  border-color: var(--line-2);
  transform: translateX(3px);
}

.svx-tab.is-on {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  transform: none;
}

.svx-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--fill-2);
  color: var(--accent-text);
  transition: background-color .3s ease, color .3s ease;
}

.svx-tab.is-on .svx-ico {
  background: var(--accent);
  color: #ffffff;
}

.svx-tab-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.svx-tab-text em {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-size: 13px;
  font-style: normal;
}

.svx-arrow {
  color: var(--dim);
  transition: transform .3s var(--ease-out), color .3s ease;
}

.svx-tab.is-on .svx-arrow {
  color: var(--accent-text);
  transform: translateX(3px);
}

.svx-help {
  margin-top: 6px;
  padding: 12px 18px;
  color: var(--dim);
  font-size: 14px;
  text-decoration: none;
  transition: color .25s ease;
}

.svx-help strong {
  color: var(--text);
  font-weight: 600;
}

.svx-help:hover strong {
  color: var(--accent-text);
}

.svx-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.svx-panel::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  z-index: -1;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  pointer-events: none;
}

.svx-panel[hidden] {
  display: none;
}

.svx-panel.is-on {
  animation: svxIn .55s var(--ease-out);
}

@keyframes svxIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.svx-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.svx-top h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.svx-top p {
  max-width: 52ch;
  margin-top: 8px;
  color: var(--text-2);
}

.svx-price {
  flex: none;
  text-align: right;
}

.svx-price small {
  display: block;
  color: var(--dim);
  font-size: 13px;
}

.svx-price strong {
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.svx-price em {
  font-size: .38em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
}

.svx-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.svx-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.svx-facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--fill);
}

.svx-facts dt {
  color: var(--dim);
  font-size: 13px;
}

.svx-facts dd {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}

.svx-sub {
  margin: 26px 0 12px;
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.svx-list {
  display: grid;
  gap: 10px;
}

.svx-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.svx-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.svx-panel.is-on .svx-list li {
  animation: svxItem .5s var(--ease-out) both;
  animation-delay: calc(140ms + var(--i, 0) * 45ms);
}

@keyframes svxItem {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
}

.svx-visual {
  position: relative;
  margin: 0;
}

.svx-visual figcaption {
  margin-top: 16px;
  color: var(--dim);
  font-size: 13px;
}

.svx-visual figcaption a {
  color: var(--accent-text);
}

.svx-visual--site {
  padding: 0 7% 9% 0;
}

.dev {
  display: block;
  overflow: hidden;
  box-shadow: 0 30px 60px var(--shadow-big);
}

.dev img {
  width: 100%;
}

.dev--desk {
  border-radius: 14px;
  border: 1px solid var(--line-2);
}

.dev--phone {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: 26%;
  border-radius: 20px;
  border: 4px solid #0b0b0d;
  transition: transform .6s var(--ease-out);
}

.svx-panel.is-on .dev--phone {
  animation: phoneIn .8s var(--ease-out) .15s both;
}

@keyframes phoneIn {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(4deg);
  }
}

.svx-visual--site:hover .dev--phone {
  transform: translateY(-6px) rotate(-2deg);
}

.app-frame {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px var(--shadow-big);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--fill);
  border-bottom: 1px solid var(--line);
}

.app-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fill-2);
}

.app-bar i:first-child {
  background: var(--accent);
}

.app-bar em {
  margin-left: 8px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11.5px;
  font-style: normal;
}

.app-frame img {
  width: 100%;
  transition: transform .8s var(--ease-out);
}

.svx-visual--app:hover .app-frame img {
  transform: scale(1.03);
}

.ops {
  display: block;
  padding: 18px;
  border-radius: 18px;
  background: var(--card-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px var(--shadow-big);
}

.ops-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ops-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.ops-live i {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34c759;
}

.ops-live i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #34c759;
  opacity: 0;
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(.6);
    opacity: .8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.ops-head em {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
}

.ops-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.ops-row b {
  font-weight: 500;
}

.ops-row span {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
}

.ops-log {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--fill);
  color: var(--text-2);
  font-size: 13px;
}

.ops-log span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ops-log i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.svx-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.svx-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svx-stack li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--fill);
  border: 1px solid var(--line);
  color: var(--chip-text);
  font-size: 12.5px;
}

@media (max-width: 1100px) {
  .svx {
    grid-template-columns: 1fr;
  }

  .svx-tabs {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .svx-tab {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 14px;
  }

  .svx-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .svx-arrow {
    display: none;
  }

  .svx-help {
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 4px 4px 0;
  }
}

@media (max-width: 900px) {
  .svx-tabs {
    grid-template-columns: 1fr;
  }

  .svx-tab:hover {
    transform: none;
  }

  .svx-top {
    flex-direction: column;
    gap: 14px;
  }

  .svx-price {
    text-align: left;
  }

  .svx-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .svx-foot {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {

  .svx-panel.is-on,
  .svx-panel.is-on .svx-list li,
  .svx-panel.is-on .dev--phone,
  .ops-live i::after {
    animation: none;
  }
}

/* ---------- Guarantees (numbers bento) ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gx {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.gx-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
}

.gx-students { grid-column: span 7; }
.gx-reply { grid-column: span 5; }
.gx-support { grid-column: span 5; }
.gx-contract { grid-column: span 7; }
.gx-sim { grid-column: 1 / -1; }

.gx-k {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.gx-card .stat-num small {
  font-size: .42em;
  letter-spacing: -.02em;
}

.gx-lead {
  max-width: 36ch;
  margin-top: 14px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}

/* 100+ */
.gx-faces {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  padding-top: 32px;
}

.gx-faces > p {
  max-width: 30ch;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.5;
}

.gx-avatars {
  display: flex;
  flex: none;
  list-style: none;
  padding: 0;
}

.gx-avatars li {
  width: 52px;
  height: 52px;
  margin-left: -14px;
  border-radius: 50%;
  border: 3px solid var(--card);
  overflow: hidden;
  background: var(--fill-2);
}

.js .gx-avatars li {
  transform: translateX(calc(var(--n, 0) * -10px));
  opacity: 0;
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-out);
  transition-delay: calc(var(--n, 0) * 90ms + 500ms);
}

.gx-avatars li:first-child { margin-left: 0; }
.gx-avatars li:nth-child(2) { --n: 1; }
.gx-avatars li:nth-child(3) { --n: 2; }
.gx-avatars li:nth-child(4) { --n: 3; }
.gx-avatars li:nth-child(5) { --n: 4; }

.js .gx-students.in .gx-avatars li {
  transform: none;
  opacity: 1;
}

.gx-avatars img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.gx-more {
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent) !important;
}

.gx-link {
  align-self: flex-start;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text);
}

.gx-link span {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}

.gx-link:hover span { transform: translateX(4px); }

/* 24h live clock */
.gx-clock {
  margin-top: auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--fill);
  border: 1px solid var(--line);
  transform: translateY(0);
}

.gx-reply .gx-clock { margin-top: 32px; }

.gx-clock-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--dim);
}

.gx-clock-row strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.gx-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2fbf71;
  box-shadow: 0 0 0 0 rgba(47, 191, 113, .5);
  animation: gxPulse 2s infinite;
}

.gx-dot--end {
  background: var(--accent);
  box-shadow: none;
  animation: none;
}

@keyframes gxPulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, .5); }
  70% { box-shadow: 0 0 0 8px rgba(47, 191, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); }
}

.gx-clock-bar {
  position: relative;
  height: 22px;
  margin: 4px 0 4px 4px;
  border-left: 2px dashed var(--line-2);
}

.gx-clock-bar i {
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 1.4s var(--ease-out) .6s;
}

.gx-reply.in .gx-clock-bar i { height: 100%; }

/* 30 days */
.gx-days {
  display: grid;
  grid-template-columns: repeat(31, minmax(0, 1fr));
  gap: 3px;
  margin-top: 30px;
}

.gx-days i {
  height: 26px;
  border-radius: 3px;
  background: var(--fill-2);
  transition: background-color .3s ease;
  transition-delay: calc(var(--d) * 28ms + 500ms);
}

.gx-support.in .gx-days i { background: var(--accent); }
.gx-support.in .gx-days i:first-child { background: var(--text); }

.gx-days-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--dim);
  font-family: var(--mono);
}

.gx-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding: 26px 0 0;
  list-style: none;
}

.gx-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
}

.gx-list svg { color: var(--accent-text); }

/* Contract */
.gx-contract {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
}

.gx-contract h3,
.sim-head h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
}

.paper {
  padding: 24px 24px 20px;
  border-radius: 14px;
  color: #141416;
  background: linear-gradient(170deg, #ffffff, #eeeef1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 #fff;
  transform: rotate(1.6deg) translateY(10px);
  transition: transform .9s var(--ease-out) .3s;
}

:root[data-theme="light"] .paper {
  box-shadow: 0 24px 60px rgba(20, 24, 60, .14), 0 0 0 1px rgba(0, 0, 0, .06);
}

.gx-contract.in .paper { transform: rotate(1.6deg); }
.gx-contract:hover .paper { transform: rotate(0deg) translateY(-3px); }

.paper-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.paper-head img { border-radius: 7px; }

.paper-head strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.paper-head span {
  font-size: 12px;
  color: #6b6b71;
}

.paper-clauses {
  list-style: none;
  padding: 6px 0 0;
}

.paper-clauses li {
  display: grid;
  grid-template-columns: 1fr 24px;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, .12);
}

.paper-clauses b {
  font-size: 13.5px;
  font-weight: 700;
}

.paper-clauses span {
  grid-column: 1;
  font-size: 12.5px;
  line-height: 1.45;
  color: #55555b;
}

.paper-ok {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--i) * 260ms + 900ms);
}

.gx-contract.in .paper-ok { transform: scale(1); }

.paper-sign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 18px;
}

.paper-sign > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 52px;
}

.paper-line {
  display: block;
  height: 1px;
  background: rgba(0, 0, 0, .35);
}

.paper-sign small {
  margin-top: 6px;
  font-size: 11px;
  color: #6b6b71;
}

.paper-sig {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 120px;
  color: #2443C4;
}

.paper-sig path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s ease-in-out 1.9s;
}

.gx-contract.in .paper-sig path { stroke-dashoffset: 0; }

@media (max-width: 1100px) {
  .gx-students, .gx-reply, .gx-support, .gx-contract { grid-column: span 6; }
  .gx-contract { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .gx { grid-template-columns: 1fr; }
  .gx-students, .gx-reply, .gx-support, .gx-contract, .gx-sim { grid-column: auto; }
  .gx-faces { flex-direction: column; align-items: flex-start; gap: 14px; }
  .paper { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .gx-avatars li, .gx-days i, .paper, .paper-ok, .paper-sig path, .gx-clock-bar i {
    transition: none !important;
  }
  .gx-dot { animation: none; }
}

/* ---------- Project simulator ---------- */
.gx-sim {
  padding: clamp(26px, 4vw, 56px);
  border-radius: 24px;
  background:
    radial-gradient(70% 60% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
}

.sim-head {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.sim-head h3 span { display: block; }

.sim-head > p:last-child {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}

.sim-seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-width: 640px;
  margin: 36px auto 24px;
  padding: 6px;
  border-radius: 16px;
  background: var(--fill);
  border: 1px solid var(--line);
}

.sim-seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 12px;
  border: 0;
  border-radius: 11px;
  font: 500 15px/1 var(--font);
  color: var(--text-2);
  background: transparent;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}

.sim-seg button:hover { color: var(--text); }

.sim-seg button.is-on {
  color: var(--avatar-text);
  background: var(--avatar-bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

:root[data-theme="light"] .sim-seg button.is-on {
  color: var(--on-accent);
  background: var(--accent);
}

.sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.sim-box,
.sim-result {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 18px;
  background: var(--fill);
  border: 1px solid var(--line);
}

.sim-q {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
}

.sim-q--extras {
  margin: 26px 0 12px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.sim-stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
  margin: 14px 0 18px;
}

.sim-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--fill-2);
  color: var(--text);
  font: 400 22px/1 var(--font);
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, transform .2s var(--ease-out);
}

.sim-step:hover { border-color: var(--accent); }
.sim-step:active { transform: scale(.92); }

.sim-val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.sim-val strong {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.sim-val span {
  font-size: 16px;
  color: var(--dim);
}

#simRange {
  --p: 0%;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--accent) var(--p), var(--fill-2) var(--p));
  cursor: pointer;
}

#simRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

#simRange::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
}

.sim-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--dim);
  text-align: center;
}

.sim-extras {
  display: grid;
  gap: 8px;
}

.sim-x {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--fill);
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease;
}

.sim-x:hover { border-color: var(--line-2); }

.sim-x input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sim-x-box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--line-2);
  color: transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.sim-x-label {
  font-size: 14.5px;
  color: var(--text);
}

.sim-x em {
  font-style: normal;
  font-size: 13px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.sim-x:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.sim-x input:checked + .sim-x-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.sim-x input:focus-visible + .sim-x-box {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.sim-x:has(input:checked) em { color: var(--accent-text); }

.sim-result {
  display: flex;
  flex-direction: column;
  align-self: start;
  text-align: center;
}

.sim-r-label {
  font-size: 14px;
  color: var(--text-2);
}

.sim-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.sim-price small {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-text);
}

.sim-price strong {
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sim-price em {
  font-style: normal;
  font-size: 18px;
  color: var(--dim);
}

.sim-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
}

.sim-lines {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.sim-lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 14px;
}

.sim-lines dt { color: var(--text-2); }

.sim-lines dd {
  flex: none;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sim-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
  text-align: left;
}

.sim-vs div {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
}

.sim-vs b {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sim-vs-us {
  background: var(--accent-soft);
  color: var(--text);
}

.sim-vs-us b { color: var(--accent-text); }

.sim-vs-them {
  border: 1px dashed var(--line-2);
  color: var(--dim);
}

.sim-cta {
  align-self: center;
  margin-top: 22px;
}

.sim-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--dim);
}

.js .sim-fallback { display: none; }

.sim-fallback {
  color: var(--text-2);
}

/* ---------- Process: interactive controls ---------- */
.bpm-token.is-jump { opacity: 0; transition: none; }
.bpm-token.is-rest { opacity: 0; transition: opacity .35s ease .15s; }

.bpm-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.bpm-play {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--fill);
  color: var(--text);
  font: 600 14px/1 var(--font);
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease;
}

.bpm-play:hover { border-color: var(--accent); }

.bpm-play-ico {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
}

.bpm-play-ico::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.bpm-play.is-playing .bpm-play-ico::before {
  left: 7px;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 0;
  border-left: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
}

.bpm-steps {
  display: grid;
  flex: 1;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  list-style: none;
  padding: 0;
}

.bpm-steps button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 40px;
  padding: 7px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  font: 500 12.5px/1.1 var(--font);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.bpm-steps button:hover { border-color: var(--line-2); color: var(--text); }

.bpm-steps b {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fill-2);
  color: var(--text-2);
  font: 600 12px/1 var(--mono);
  transition: background-color .25s ease, color .25s ease;
}

.bpm-steps span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bpm-steps .is-done b {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.bpm-steps .is-on {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.bpm-steps .is-on b {
  background: var(--accent);
  color: #fff;
}

.bpm-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px 40px;
  margin-top: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 20px;
  background: var(--fill);
  border: 1px solid var(--line);
}

.bpm-detail.is-swap .bpm-detail-main,
.bpm-detail.is-swap .bpm-detail-side {
  animation: bpmSwap .55s var(--ease-out);
}

@keyframes bpmSwap {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

.bpm-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bpm-count {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--dim);
}

.bpm-who {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 600;
}

.bpm-who.is-you {
  background: var(--fill-2);
  color: var(--text);
}

.bpm-detail h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.bpm-detail-main > p {
  max-width: 46ch;
  margin-top: 10px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}

.bpm-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.bpm-choice button {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: 600 14px/1 var(--font);
  cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .25s ease;
}

.bpm-choice button:hover { transform: translateY(-2px); }

.bpm-choice button.is-alt {
  background: transparent;
  border: 1px dashed var(--line-2);
  color: var(--text);
}

.bpm-sub {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.bpm-does {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.bpm-does li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.bpm-does svg {
  flex: none;
  margin-top: 3px;
  color: var(--accent-text);
}

.bpm-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.bpm-facts > div {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}

.bpm-facts > div[hidden] { display: none; }

.bpm-facts span {
  display: block;
  font-size: 12px;
  color: var(--dim);
}

.bpm-facts strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.bpm-nav {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.bpm-arrow {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font: 600 14px/1 var(--font);
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, opacity .25s ease;
}

.bpm-arrow--next {
  padding: 0 14px 0 20px;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.bpm-arrow:hover:not(:disabled) { border-color: var(--accent-text); }
.bpm-arrow:disabled { opacity: .35; cursor: default; }

.bpm-meter {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--fill-2);
  overflow: hidden;
}

.bpm-meter i {
  display: block;
  width: 11%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .6s var(--ease-out);
}

/* Nudge: the next step pulses until the first click. */
.bpm.is-hinting .node[data-step="1"] rect {
  animation: bpmNudge 1.6s ease-in-out infinite;
}

.bpm.is-hinting .bpm-arrow--next {
  animation: bpmRing 1.6s ease-out infinite;
}

@keyframes bpmNudge {
  50% { stroke: var(--accent); stroke-width: 3.5; }
}

@keyframes bpmRing {
  0% { box-shadow: 0 0 0 0 rgba(49, 87, 240, .55); }
  100% { box-shadow: 0 0 0 12px rgba(49, 87, 240, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .bpm-detail.is-swap .bpm-detail-main,
  .bpm-detail.is-swap .bpm-detail-side,
  .bpm.is-hinting .node[data-step="1"] rect,
  .bpm.is-hinting .bpm-arrow--next { animation: none; }
}

@media (max-width: 1100px) {
  .bpm-steps button span { display: none; }
  .bpm-steps button { justify-content: center; }
}

@media (max-width: 900px) {
  .bpm-detail {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 20px;
  }

  .bpm-play-txt { display: none; }
  .bpm-play { padding: 11px; }

  .bpm-steps {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bpm-steps button span { display: none; }
  .bpm-arrow--next span { display: none; }
  .bpm-steps { grid-auto-columns: minmax(30px, 1fr); gap: 4px; }
  .bpm-steps button { min-width: 0; padding: 3px; border-radius: 10px; }
}

@media (max-width: 900px) {
  .sim-grid { grid-template-columns: 1fr; }
  .sim-seg button { padding: 12px 8px; font-size: 14px; }
  .sim-x { grid-template-columns: 22px 1fr; }
  .sim-x em { grid-column: 2; }
  .sim-vs { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Portfolio page
   ========================================================================== */
.pf-head {
  position: relative;
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 110px)) 0 clamp(24px, 4vw, 48px);
  text-align: center;
}

.pf-head::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background: radial-gradient(58% 60% at 50% 0%, var(--hero-glow), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.pf-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.pf-title span { display: block; }

.pf-filter {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  padding: 6px;
  border-radius: 999px;
  background: var(--fill);
  border: 1px solid var(--line);
}

.pf-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 14px/1 var(--font);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}

.pf-filter button:hover { color: var(--text); }

.pf-filter b {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--fill-2);
  font-size: 11.5px;
  font-weight: 600;
}

.pf-filter button.is-on {
  color: var(--on-accent);
  background: var(--accent);
}

.pf-filter button.is-on b { background: rgba(255, 255, 255, .22); }

.pf-cases { padding-top: clamp(24px, 4vw, 48px); }

.case {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 6vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.case:first-child { border-top: 0; padding-top: 0; }

.case--flip .case-visual { order: 2; }

.case-visual {
  position: relative;
  display: block;
  padding: 0 0 6% 0;
}

.case-visual .app-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease-out);
}

.case-visual:hover .app-frame img { transform: scale(1.025); }

.case-visual .app-frame {
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}

.case-visual:hover .app-frame { transform: translateY(-6px); }

.case-phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 22%;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid var(--card-2);
  box-shadow: 0 24px 50px var(--shadow-big);
}

.case-phone img { display: block; width: 100%; height: auto; }

.case-open {
  position: absolute;
  left: 18px;
  bottom: calc(6% + 18px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .5s var(--ease-out);
}

.case-visual:hover .case-open,
.case-visual:focus-visible .case-open {
  opacity: 1;
  transform: none;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.case-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
}

.case-cat {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 600;
}

.case h2,
.pf-students h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--text);
}

.case-lead {
  margin-top: 16px;
  max-width: 44ch;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
}

.case-sub {
  margin: 26px 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.case-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.case-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--text);
}

.case-list svg {
  flex: none;
  margin-top: 4px;
  color: var(--accent-text);
}

.case-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pf-students {
  padding: clamp(40px, 6vw, 88px) 0 0;
  border-top: 1px solid var(--line);
}

.pf-students-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.pf-students-head > p {
  max-width: 34ch;
  color: var(--text-2);
}

.pf-students .pj {
  padding: 14px;
  border-radius: 22px;
}

.pf-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--dim);
}

[data-cat][hidden] { display: none !important; }

@media (max-width: 900px) {
  .case,
  .case--flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case--flip .case-visual { order: 0; }
  .case-open { display: none; }
  .pf-students-head { flex-direction: column; align-items: flex-start; }
  .case-btns > a { flex: 1 1 auto; justify-content: center; }
  .pf-filter { border-radius: 22px; }
}

.case-visual,
.case-visual * { text-decoration: none; }

/* Portfolio: student projects shown inside a browser frame */
.pf-students .pj {
  border: 0;
  background: transparent;
  padding: 0 !important;
}

.pf-students .pj-shot.app-frame {
  aspect-ratio: auto;
  overflow: hidden;
}

.pf-students .pj-shot.app-frame img {
  display: block;
  aspect-ratio: 16 / 10;
  height: auto;
}

.pf-students .pj:hover .pj-shot.app-frame { transform: translateY(-6px); }

.pf-students .pj-shot.app-frame {
  transition: transform .6s var(--ease-out);
}

.pf-students .pj-info { padding: 20px 4px 0; }

/* ==========================================================================
   Live Tech Academy page
   ========================================================================== */
.logo-tag {
  margin-left: 2px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

/* Hero */
.ac-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 0;
  overflow: hidden;
}

.ac-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  background: radial-gradient(55% 60% at 70% 10%, var(--hero-glow), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.ac-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.ac-open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--fill);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}

.ac-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fbf71;
  animation: gxPulse 2s infinite;
}

.ac-title {
  font-size: clamp(38px, 4.9vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.ac-title > span { display: block; }

.ac-sub {
  max-width: 48ch;
  margin-top: 26px;
  color: var(--text-2);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}

.ac-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ac-proof {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.ac-proof dt,
.ac-prof-stats dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

.ac-proof dd,
.ac-prof-stats dd {
  margin: 8px 0 0;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}

.ac-hero-art {
  position: relative;
  margin: 0;
  padding: 0 4% 8% 8%;
}

.ac-photo {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px var(--shadow-big);
  aspect-ratio: 4 / 5;
}

.ac-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.ac-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--nav-solid);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 18px 40px var(--shadow-big);
  font-size: 13.5px;
  color: var(--text);
  animation: acFloat 6s ease-in-out infinite;
}

.ac-float--live {
  top: 7%;
  left: 0;
  font-weight: 600;
}

.ac-float--live i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5a5a;
  box-shadow: 0 0 0 4px rgba(255, 90, 90, .2);
}

.ac-float--code {
  top: 40%;
  right: -2%;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  animation-delay: -2s;
}

.ac-float--code b {
  margin-bottom: 4px;
  font-weight: 500;
  color: var(--dim);
}

.ac-float--code em { font-style: normal; color: var(--accent-text); }
.ac-float--code s { text-decoration: none; color: #3ccf86; }

.ac-float--crowd {
  left: 2%;
  bottom: 0;
  gap: 14px;
  animation-delay: -4s;
}

.ac-float--crowd .avatars img {
  width: 34px;
  height: 34px;
  border-width: 2px;
}

.ac-float--crowd strong {
  display: block;
  font-size: 15px;
}

.ac-float--crowd span:last-child {
  font-size: 12.5px;
  color: var(--text-2);
}

@keyframes acFloat {
  50% { transform: translateY(-8px); }
}

.ac-strip {
  margin-top: clamp(56px, 7vw, 96px);
  padding: 18px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ac-strip-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: acStrip 40s linear infinite;
}

.ac-strip-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

.ac-strip-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes acStrip {
  to { transform: translateX(-50%); }
}

/* Who */
.ac-who {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.ac-who-card { padding: clamp(26px, 3vw, 38px); }

.ac-who-n {
  display: block;
  margin-bottom: 40px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-text);
}

.ac-who-card h3,
.ac-diff-card h3,
.ac-steps h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.ac-who-card p,
.ac-diff-card p,
.ac-steps p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* Courses */
.ac-pick {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.ac-pick p {
  font-size: 14px;
  color: var(--dim);
}

.ac-pick-btns {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--fill);
  border: 1px solid var(--line);
}

.ac-pick-btns button {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 14px/1 var(--font);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}

.ac-pick-btns button:hover { color: var(--text); }

.ac-pick-btns button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

.ac-courses {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}

.ac-course {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  transition: transform .4s var(--ease-out), border-color .35s ease, box-shadow .4s ease, opacity .4s ease;
}

.ac-course--main {
  background:
    radial-gradient(90% 60% at 100% 0%, var(--accent-soft), transparent 70%),
    var(--card);
}

.ac-level {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}

.ac-course--main .ac-level {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.ac-course h3 {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.ac-course-top p {
  max-width: 50ch;
  margin-top: 12px;
  color: var(--text-2);
  line-height: 1.6;
}

.ac-course .case-list { margin: 28px 0 0; }
.ac-course .trail { margin-top: 28px; }

.ac-course-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

.ac-facts {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-facts span {
  display: block;
  font-size: 12px;
  color: var(--dim);
}

.ac-facts strong {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 600;
}

.ac-reco {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .5s var(--ease-out);
}

.ac-courses.has-pick .ac-course { opacity: .55; }

.ac-courses.has-pick .ac-course.is-pick {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.ac-course.is-pick .ac-reco {
  opacity: 1;
  transform: none;
}

/* Method */
.ac-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.ac-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line-2) 70%);
}

.ac-steps li { position: relative; }

.ac-step-n {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent-text);
}

.ac-steps li:first-child .ac-step-n {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* Diferenciais */
.ac-diff {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.ac-diff-card { padding: clamp(24px, 2.6vw, 32px); }

.ac-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 32px;
  border-radius: 15px;
  color: var(--accent-text);
}

/* Quotes */
.ac-quotes {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.ac-quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(24px, 2.8vw, 34px);
}

.ac-quote blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.ac-quote--big {
  background:
    radial-gradient(90% 60% at 0% 0%, var(--accent-soft), transparent 70%),
    var(--card);
}

.ac-quote--big blockquote {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  letter-spacing: -.01em;
}

.ac-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}

.ac-quote figcaption img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.ac-quote figcaption strong {
  display: block;
  font-size: 15px;
}

.ac-quote figcaption span span,
.ac-quote figcaption > span {
  font-size: 13px;
  color: var(--dim);
}

/* Professor */
.ac-prof {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.ac-prof-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px var(--shadow-big);
}

.ac-prof-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.ac-prof-text > p:not(.label):not(.ac-prof-lead) {
  max-width: 56ch;
  margin-top: 16px;
  color: var(--text-2);
  line-height: 1.7;
}

.ac-prof-text strong { color: var(--text); }

.ac-prof-lead {
  margin-top: 22px;
  font-size: clamp(19px, 1.7vw, 23px);
  color: var(--text-2);
}

.ac-prof-stats {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin: 36px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* Cases */
.ac-cases { margin-top: 56px; }

.ac-cases .pj {
  border: 0;
  background: transparent;
}

.ac-cases .pj-shot.app-frame {
  aspect-ratio: auto;
  transition: transform .6s var(--ease-out);
}

.ac-cases .pj-shot.app-frame img {
  display: block;
  aspect-ratio: 16 / 10;
  height: auto;
}

.ac-cases .pj:hover .pj-shot.app-frame { transform: translateY(-6px); }
.ac-cases .pj-info { padding: 20px 4px 0; }
.ac-cases .svx-stack { margin-top: 14px; padding: 0 4px; }

/* Schools */
.ac-school-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

.ac-school-stats > div {
  padding: 0 clamp(14px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}

.ac-school-stats > div:first-child { padding-left: 0; border-left: 0; }

.ac-school-stats span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

.ac-school-stats strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}

.ac-schools {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: 48px;
  align-items: start;
}

.ac-schools-text > p:not(.ac-sub-label) {
  max-width: 62ch;
  margin-bottom: 16px;
  color: var(--text-2);
  line-height: 1.7;
}

.ac-schools-text strong { color: var(--text); }

.ac-sub-label {
  margin: 34px 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.ac-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-modules li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--fill);
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
}

.ac-modules b {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.ac-triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 18px;
  border: 1px solid var(--line);
}

.ac-triple > div {
  padding: 20px;
  border-left: 1px solid var(--line);
}

.ac-triple > div:first-child { border-left: 0; }

.ac-triple strong {
  font-size: 15px;
  font-weight: 600;
}

.ac-triple p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.ac-partner {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: clamp(26px, 3vw, 40px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(160deg, #4A6CF2 0%, #3157F0 45%, #2443C4 100%);
  box-shadow: 0 40px 90px rgba(49, 87, 240, .3), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.ac-partner-k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.ac-partner h3 {
  margin-top: 12px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.ac-partner ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.ac-partner li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
}

.ac-partner li svg {
  flex: none;
  margin-top: 3px;
}

@media (max-width: 1100px) {
  .ac-hero-in,
  .ac-prof { grid-template-columns: 1fr; }
  .ac-hero-art { max-width: 520px; }
  .ac-prof-photo { max-width: 480px; }
  .ac-courses { grid-template-columns: 1fr; }
  .ac-diff,
  .ac-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .ac-steps::before { display: none; }
  .ac-quotes { grid-template-columns: 1fr 1fr; }
  .ac-quote--big { grid-column: 1 / -1; }
  .ac-schools { grid-template-columns: 1fr; }
  .ac-partner { position: static; }
}

@media (max-width: 900px) {
  .ac-hero { text-align: left; }
  .ac-who,
  .ac-diff,
  .ac-steps,
  .ac-quotes,
  .ac-modules,
  .ac-triple { grid-template-columns: 1fr; }
  .ac-triple > div { border-left: 0; border-top: 1px solid var(--line); }
  .ac-triple > div:first-child { border-top: 0; }
  .ac-school-stats { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .ac-school-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ac-pick { justify-items: start; }
  .ac-float--code { display: none; }
  .ac-proof { gap: 18px; }
  .ac-reco { position: static; align-self: flex-start; margin-bottom: 12px; display: none; }
  .ac-course.is-pick .ac-reco { display: inline-block; }
  .ac-btns > a { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-float, .ac-strip-track, .ac-pulse { animation: none; }
}

/* ---------- Academy: personas ---------- */
.ac-persona {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}

.ac-pts {
  display: grid;
  gap: 10px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.ac-pt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease, transform .4s var(--ease-out);
}

.ac-pt:hover { border-color: var(--line-2); }

.ac-pt-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.ac-pt-t strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.ac-pt-t em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.45;
}

.ac-pt-arrow {
  color: var(--dim);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .4s var(--ease-out);
}

.ac-pt.is-on {
  border-color: var(--accent);
  background:
    radial-gradient(100% 120% at 0% 0%, var(--accent-soft), transparent 70%),
    var(--card);
}

.ac-pt.is-on .ac-pt-n {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.ac-pt.is-on .ac-pt-arrow {
  opacity: 1;
  transform: none;
  color: var(--accent-text);
}

.ac-pps {
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ac-pp {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 3vw, 40px);
  animation: acSwap .55s var(--ease-out);
}

@keyframes acSwap {
  from { opacity: 0; transform: translateY(10px); filter: blur(4px); }
}

.ac-ba-k {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

.ac-ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.ac-ba-col {
  padding: 20px;
  border-radius: 18px;
}

.ac-ba-now {
  border: 1px dashed var(--line-2);
}

.ac-ba-after {
  background: var(--accent-soft);
}

.ac-ba-after .ac-ba-k { color: var(--accent-text); }

.ac-ba-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-ba-col li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.45;
}

.ac-ba-now li {
  color: var(--text-2);
}

.ac-ba-now li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--dim);
}

.ac-ba-after li svg {
  flex: none;
  margin-top: 3px;
  color: var(--accent-text);
}

.ac-ba-arrow {
  display: grid;
  place-items: center;
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.ac-pp-path ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-pp-path li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14.5px;
  font-weight: 600;
}

.ac-pp-path li b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fill-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.ac-pp-path li + li::before {
  content: "→";
  margin: 0 6px 0 -2px;
  color: var(--dim);
  order: -1;
}

.ac-pp-path li + li { padding-left: 8px; }

.ac-pp-faq {
  padding: 22px;
  border-radius: 18px;
  background: var(--fill);
  border: 1px solid var(--line);
}

.ac-pp-q {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.ac-pp-q span {
  margin-right: 4px;
  color: var(--accent-text);
}

.ac-pp-a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ac-pp-a img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.ac-pp-a p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.ac-pp-a strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 14px;
}

.ac-pp > .btn-primary { justify-self: start; }

/* ---------- Academy: method cycle ---------- */
.ac-cycle {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}

.ac-cycle-tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ac-ct {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .3s ease, border-color .3s ease;
}

.ac-ct:hover { background: var(--fill); }

.ac-ct-n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  padding-top: 3px;
}

.ac-ct-t strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.ac-ct-t em {
  display: none;
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}

.ac-ct.is-on {
  background: var(--card);
  border-color: var(--line);
}

.ac-ct.is-on .ac-ct-n { color: var(--accent-text); }

.ac-ct.is-on .ac-ct-t em {
  display: block;
  margin-top: 8px;
  animation: acSwap .5s var(--ease-out);
}

.ac-pp[hidden],
.ac-scene[hidden] { display: none !important; }

.ac-ct-bar {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  opacity: 0;
}

.ac-ct-bar::after {
  content: "";
  display: block;
  width: var(--p, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.ac-ct.is-on .ac-ct-bar { opacity: 1; }

.ac-stage {
  position: relative;
  min-height: 460px;
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: 24px;
  background:
    radial-gradient(70% 60% at 70% 0%, var(--accent-soft), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ac-scene { height: 100%; }
.ac-scene.is-on { animation: acSwap .6s var(--ease-out); }

.ac-win {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  background: var(--mock-bg);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px var(--shadow-big);
  overflow: hidden;
}

.ac-win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.ac-win-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot-off);
}

.ac-win-bar i:first-child { background: var(--accent); }

.ac-win-bar em {
  margin-left: 8px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

.ac-rec {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 90, 90, .14);
  color: #ff6b6b;
  font-size: 11.5px;
  font-weight: 600;
}

/* live */
.ac-call {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
  padding: 12px;
  flex: 1;
}

.ac-call-main {
  position: relative;
  min-height: 230px;
  border-radius: 12px;
  overflow: hidden;
}

.ac-call-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.ac-call-name {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 13, 15, .7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.ac-call-slide {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(13, 13, 15, .82);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #e8e8ea;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
}

.ac-call-slide b { color: #8EA3F7; font-weight: 500; }

.ac-call-side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ac-tile {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--fill-2);
}

.ac-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.ac-tile--more {
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.ac-chat {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.ac-msg {
  justify-self: start;
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 14px 14px 14px 4px;
  background: var(--fill-2);
  font-size: 13px;
  line-height: 1.45;
  animation: acPop .5s var(--ease-out) both .4s;
}

.ac-msg b {
  display: block;
  font-size: 11.5px;
  color: var(--dim);
}

.ac-msg--me {
  justify-self: end;
  border-radius: 14px 14px 4px 14px;
  background: var(--accent);
  color: #fff;
  animation-delay: 1.2s;
}

.ac-msg--me b { color: rgba(255, 255, 255, .75); }

@keyframes acPop {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
}

/* code */
.ac-editor {
  display: grid;
  grid-template-columns: 34px 1fr;
  flex: 1;
  padding: 16px 16px 16px 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
}

.ac-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ln;
  color: var(--dim);
  text-align: right;
  opacity: .6;
}

.ac-lines li::before {
  counter-increment: ln;
  content: counter(ln);
  padding-right: 12px;
}

.ac-editor pre {
  margin: 0;
  padding-left: 12px;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.ac-editor b { color: var(--accent-text); font-weight: 500; }
.ac-editor i { font-style: normal; color: #3ccf86; }
.ac-cm { color: var(--dim); }

.ac-caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--accent);
  animation: acBlink 1s steps(1) infinite;
}

@keyframes acBlink { 50% { opacity: 0; } }

.ac-term {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--fill);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
}

.ac-term span { color: var(--accent-text); }
.ac-term .ac-ok,
.ac-term .ac-pass { opacity: 0; transition: opacity .4s ease; }
.ac-scene--code.is-done .ac-ok,
.ac-scene--code.is-done .ac-pass { opacity: 1; }
.ac-scene--code.is-done .ac-ok:nth-child(3) { transition-delay: .25s; }
.ac-scene--code.is-done .ac-pass { transition-delay: .5s; }
.ac-ok { color: #3ccf86; }
.ac-pass { color: var(--text); font-weight: 500; }

/* project */
.ac-proj {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 28px);
  flex: 1;
}

.ac-proj-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.ac-proj-head .ac-ba-k { margin-bottom: 6px; }

.ac-proj-head strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.ac-proj-pct {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ac-proj-bar {
  height: 8px;
  border-radius: 99px;
  background: var(--fill-2);
  overflow: hidden;
}

.ac-proj-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--mark-tint);
  transition: width 2.6s cubic-bezier(.45, 0, .2, 1);
}

.ac-scene--proj.is-run .ac-proj-bar i { width: 100%; }

.ac-proj-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-proj-steps li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .3s ease, background-color .3s ease;
  transition-delay: calc(var(--k) * .6s + .3s);
}

.ac-proj-steps em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--dim);
}

.ac-proj-steps span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  transition: inherit;
}

.ac-scene--proj.is-run .ac-proj-steps li {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: var(--accent-soft);
}

.ac-scene--proj.is-run .ac-proj-steps span {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.ac-proj-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(60, 207, 134, .12);
  color: #3ccf86;
  font-family: var(--mono);
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease 2.8s, transform .5s var(--ease-out) 2.8s;
}

.ac-proj-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: gxPulse 2s infinite;
}

.ac-scene--proj.is-run .ac-proj-live { opacity: 1; transform: none; }

/* support chat */
.ac-group {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  flex: 1;
}

.ac-bubble {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 86%;
  animation: acPop .5s var(--ease-out) both;
  animation-delay: calc(var(--k) * .7s + .2s);
}

.ac-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fill-2);
  border: 1px solid var(--line-2);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-2);
}

.ac-bubble > div {
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--fill-2);
  font-size: 13.5px;
  line-height: 1.5;
}

.ac-bubble b {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  color: var(--dim);
}

.ac-bubble code {
  font-family: var(--mono);
  font-size: 12.5px;
}

.ac-bubble--code > div {
  background: var(--fill);
  border: 1px solid var(--line-2);
  color: var(--bad, #ff6b6b);
}

.ac-bubble--code code { color: #ff8a8a; }

.ac-bubble--me {
  justify-self: end;
}

.ac-bubble--me > div {
  border-radius: 16px 16px 4px 16px;
  background: var(--accent);
  color: #fff;
}

.ac-bubble--me b { color: rgba(255, 255, 255, .78); }

.ac-bubble--me code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .18);
}

.ac-cycle-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--dim);
  text-align: right;
}

/* ---------- Academy: differentiators bento ---------- */
.ac-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.ac-bx {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 38px);
}

.ac-bx h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.ac-bx p:not(.ac-ba-k) {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--text-2);
  line-height: 1.6;
}

.ac-bx .ac-ba-k { color: var(--accent-text); }

.ac-bx--class {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.ac-bx--pro { grid-column: span 5; }
.ac-bx--hands { grid-column: span 5; }

.ac-bx--port {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 28px;
  align-items: center;
}

.ac-seats-wrap { display: grid; gap: 20px; }

.ac-seats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  background: var(--fill);
  border: 1px solid var(--line);
}

.ac-seats i {
  aspect-ratio: 1;
  border-radius: 10px 10px 6px 6px;
  border: 1.5px dashed var(--line-2);
  transition: background-color .4s ease, border-color .4s ease;
  transition-delay: calc(var(--k) * 60ms + .3s);
}

.ac-bx--class.in .ac-seats i.is-on {
  border-style: solid;
  border-color: transparent;
  background: var(--mark-tint);
}

.ac-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ac-compare > div {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--accent-soft);
}

.ac-compare span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-text);
}

.ac-compare strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}

.ac-compare em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--text-2);
}

.ac-compare .ac-compare-them {
  background: transparent;
  border: 1px dashed var(--line-2);
}

.ac-compare-them span,
.ac-compare-them strong { color: var(--dim); }

.ac-bx--pro .b-code { margin: auto 0 0; padding-top: 0; }
.ac-bx--pro h3 + p { margin-bottom: 24px; }

.ac-mini-term {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 14px;
  background: #0b0b0d;
  border: 1px solid var(--line-2);
  color: #e8e8ea;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
}

.ac-bx--hands h3 + p { margin-bottom: 24px; }

.ac-mini-term p { margin: 0 !important; max-width: none !important; color: #e8e8ea !important; line-height: 1.9 !important; }
.ac-mini-term span:not(.ac-caret) { color: #8EA3F7; margin-right: 6px; }
.ac-mini-term i { font-style: normal; color: #3ccf86; }
.ac-mini-term .ac-mt-out { color: #9a9aa0 !important; padding-left: 18px; }

.ac-mt-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 11.5px;
}

.ac-mt-head span { color: #9a9aa0 !important; }
.ac-mt-head em { font-style: normal; color: #6e6e72; }

.ac-bx--port .link-arrow { display: inline-flex; margin-top: 22px; color: var(--accent-text); font-weight: 600; font-size: 14px; }

.ac-port-shot {
  position: relative;
  display: block;
  transform: rotate(1.5deg);
  transition: transform .6s var(--ease-out);
}

.ac-port-shot:hover { transform: rotate(0) translateY(-6px); }

.ac-port-shot .app-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.ac-port-badge {
  position: absolute;
  left: -12px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #3ccf86;
  color: #06210f;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

.ac-port-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #06210f;
}

@media (max-width: 1100px) {
  .ac-persona,
  .ac-cycle { grid-template-columns: 1fr; }
  .ac-pts { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ac-pt { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .ac-pt-arrow { display: none; }
  .ac-cycle-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-bx--class,
  .ac-bx--port { grid-column: 1 / -1; }
  .ac-bx--pro,
  .ac-bx--hands { grid-column: span 6; }
}

@media (max-width: 900px) {
  .ac-pts { grid-template-columns: 1fr; }
  .ac-pt { grid-template-columns: auto 1fr; }
  .ac-pt-t em { display: none; }
  .ac-ba { grid-template-columns: 1fr; }
  .ac-ba-arrow { transform: rotate(90deg); justify-self: center; }
  .ac-cycle-tabs { grid-template-columns: 1fr; }
  .ac-ct:not(.is-on) .ac-ct-t strong { font-size: 16px; }
  .ac-stage { min-height: 0; padding: 12px; }
  .ac-call { grid-template-columns: 1fr; }
  .ac-call-side { grid-template-columns: repeat(4, 1fr); }
  .ac-call-slide { display: none; }
  .ac-bx--class,
  .ac-bx--port { grid-template-columns: 1fr; }
  .ac-bx--pro,
  .ac-bx--hands { grid-column: 1 / -1; }
  .ac-bento { grid-template-columns: 1fr; }
  .ac-bento > * { grid-column: auto !important; }
  .ac-port-shot { transform: none; }
  .ac-port-badge { left: 10px; }
  .ac-cycle-note { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-pp, .ac-scene.is-on, .ac-msg, .ac-bubble { animation: none; }
  .ac-caret { animation: none; }
}

.ac-port-shot,
.ac-port-shot * { text-decoration: none; }

.ac-rec { white-space: nowrap; }
.ac-win-bar em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ---------- Academy: depoimentos (leitor + parede 3D) ---------- */
.ac-voices {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}

.ac-reader {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background:
    radial-gradient(90% 60% at 0% 0%, var(--accent-soft), transparent 70%),
    var(--card);
}

.ac-reader-q { width: 40px; height: 30px; color: var(--accent); margin-bottom: 26px; }

.ac-reader-list { position: relative; flex: 1; display: grid; }
.ac-rq { grid-area: 1 / 1; display: flex; flex-direction: column; margin: 0; }
.ac-rq[hidden] { display: none !important; }
.ac-rq.is-in { animation: ac-rq-in .7s var(--ease-out) both; }
@keyframes ac-rq-in {
  from { opacity: 0; filter: blur(8px); transform: translateY(10px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

.ac-rq blockquote {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--text);
}

.ac-rq figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  font-size: 13px;
  color: var(--dim);
}
.ac-rq figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.ac-rq figcaption strong { display: block; font-size: 15px; color: var(--text); }

.ac-reader-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ac-reader-who { display: flex; gap: 8px; }
.ac-reader-who button {
  width: 40px; height: 40px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--fill);
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  filter: grayscale(1);
  transition: opacity .3s ease, filter .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ac-reader-who button img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.ac-reader-who button:hover { opacity: .9; }
.ac-reader-who button[aria-selected="true"] {
  opacity: 1; filter: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.ac-reader-count { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .08em; }

/* parede */
.ac-wall {
  --wall-bg: var(--card);
  position: relative;
  min-height: 560px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--wall-bg);
  overflow: hidden;
  isolation: isolate;
}
.ac-wall::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 50% at 70% 40%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.ac-wall-scene {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  perspective: 300px;
}
.ac-wall-plane {
  display: flex; align-items: center; gap: 16px;
  transform: translateX(-80px) translateZ(-100px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg);
}
.ac-wall-col { display: flex; flex-direction: column; gap: 16px; padding: 8px; }
.ac-wall-grp {
  display: flex; flex-direction: column; gap: 16px; flex-shrink: 0;
  animation: ac-wall-up var(--dur, 46s) linear infinite;
}
.ac-wall-col.is-rev > .ac-wall-grp { animation-direction: reverse; }
@media (hover: hover) and (pointer: fine) {
  .ac-wall-col:hover > .ac-wall-grp { animation-play-state: paused; }
}
@keyframes ac-wall-up {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-100% - 16px)); }
}

.ac-wc {
  width: 220px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--fill-2), var(--fill)), var(--card-2);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 8px 22px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.ac-wc:hover { border-color: var(--line-2); background-color: var(--card); }
.ac-wc.is-current { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 8px 22px rgba(0, 0, 0, .18); }
.ac-wc-head { display: flex; align-items: center; gap: 10px; }
.ac-wc-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.ac-wc-head strong { display: block; font-size: 13.5px; line-height: 1.3; color: var(--text); }
.ac-wc-head span { display: block; font-size: 11.5px; line-height: 1.3; color: var(--dim); }
.ac-wc p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }

.ac-wall-fade { position: absolute; z-index: 1; pointer-events: none; }
.ac-wall-fade--t { inset: 0 0 auto; height: 25%; background: linear-gradient(to bottom, var(--wall-bg), transparent); }
.ac-wall-fade--b { inset: auto 0 0; height: 25%; background: linear-gradient(to top, var(--wall-bg), transparent); }
.ac-wall-fade--l { inset: 0 auto 0 0; width: 22%; background: linear-gradient(to right, var(--wall-bg), transparent); }
.ac-wall-fade--r { inset: 0 0 0 auto; width: 22%; background: linear-gradient(to left, var(--wall-bg), transparent); }

.ac-wall-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bot));
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  font-size: 12px; color: var(--text-2);
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 900px) {
  .ac-voices { grid-template-columns: minmax(0, 1fr); }
  .ac-wall { min-height: 440px; }
  .ac-wall-plane { transform: translateX(-40px) translateZ(-100px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg); }
  .ac-wc { width: 190px; padding: 15px; }
  .ac-wall-hint { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card-2); }
}

@media (prefers-reduced-motion: reduce) {
  .ac-wall-grp { animation: none; }
  .ac-rq.is-in { animation: none; }
}

.ac-ini {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
}
.ac-rq figcaption .ac-ini { width: 48px; height: 48px; font-size: 18px; }
.ac-reader-who .ac-ini { width: 100%; height: 100%; font-size: 15px; }
.ac-wc-head .ac-ini { width: 34px; height: 34px; font-size: 13px; }
