/* ==========================================================================
   NEXUS-V · Sections
   Hero, ticker, studio, services, process, stack, engagement, contact, footer
   ========================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero__gl {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
  touch-action: pan-y;
}
.hero.gl-ready .hero__gl {
  opacity: 1;
}
.hero__aura {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 50% at 72% 46%, rgba(201, 173, 132, 0.11), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(201, 173, 132, 0.05), transparent 70%);
}
/* CSS orb shown until (or instead of) the WebGL scene */
.hero__orb {
  position: absolute;
  z-index: 0;
  right: 9%;
  top: 50%;
  width: min(40vw, 600px);
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 34% 28%, rgba(236, 228, 214, 0.8), transparent 10%),
    radial-gradient(circle at 40% 36%, #4b4337, #16130f 58%, #0d0c0a 70%);
  box-shadow: inset -20px -30px 80px rgba(201, 173, 132, 0.25);
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 66%);
  mask: radial-gradient(circle, #000 64%, transparent 66%);
  filter: saturate(1.1) blur(0.4px);
  opacity: 0.85;
  animation: orb 14s linear infinite;
  transition: opacity 1.4s var(--ease);
}
.hero.gl-ready .hero__orb {
  opacity: 0;
}
@keyframes orb {
  to { rotate: 360deg; }
}
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  padding-top: calc(var(--nav-h) + 26px);
  padding-bottom: 36px;
  pointer-events: none;
}
.hero__inner a,
.hero__inner button {
  pointer-events: auto;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.hero__top .label:last-child {
  text-align: right;
}
.hero__title {
  align-self: center;
  font-size: clamp(56px, 9.8vw, 184px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.058em;
  margin-left: -0.05em;
}
.hero__title .serif {
  font-size: 1.06em;
  letter-spacing: -0.04em;
  padding-right: 0.06em;
}
.hero__title .line-mask:nth-child(2) {
  padding-left: 0.9em;
}
.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}
.hero__lede {
  max-width: 40ch;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__lede b {
  color: var(--ink);
  font-weight: 500;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 30px;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  pointer-events: none;
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: var(--line-2);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 46%;
  background: var(--ink);
  animation: drip 2.2s var(--ease-io) infinite;
}
@keyframes drip {
  0% { transform: translateY(-110%); }
  100% { transform: translateY(240%); }
}
.hero__hint {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  top: 50%;
  writing-mode: vertical-rl;
  translate: 0 -50%;
  pointer-events: none;
}

/* Featured reel card */
.reel {
  position: relative;
  display: block;
  width: clamp(260px, 22vw, 340px);
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: rgba(18, 16, 13, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 0.4s var(--ease);
}
.reel:hover {
  border-color: var(--line-3);
}
.reel__head,
.reel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 10px;
}
.reel__foot {
  padding: 12px 6px 4px;
}
.reel__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
}
.reel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s var(--ease), transform 3.2s var(--ease);
}
.reel__media img.is-on {
  opacity: 1;
  transform: scale(1);
}
.reel__title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.reel__bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(236, 228, 214, 0.18);
  overflow: hidden;
}
.reel__bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--ink);
}
.reel__go {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  transition: transform 0.5s var(--ease);
}
.reel__go svg {
  width: 13px;
  height: 13px;
}
.reel:hover .reel__go {
  transform: rotate(45deg);
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 12.6vw;
    line-height: 0.9;
  }
}
@media (max-width: 900px) {
  .hero__orb {
    right: 50%;
    top: 40%;
    width: 78vw;
    translate: 50% -50%;
    opacity: 0.5;
  }
  .hero__title .line-mask:nth-child(2) {
    padding-left: 0;
  }
  .hero__bottom {
    grid-template-columns: 1fr;
  }
  .reel {
    display: none;
  }
  .hero__top .label:last-child,
  .hero__hint {
    display: none;
  }
  .hero__scroll {
    display: none;
  }
}

/* ── Ticker ────────────────────────────────────────────────────────────── */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-block: clamp(22px, 2.6vw, 38px);
  border-block: 1px solid var(--line);
  background: var(--bg);
}
.ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker__group {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  padding-inline: 0.42em;
  font-size: clamp(36px, 5.6vw, 92px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.ticker__item.is-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 230, 220, 0.42);
}
.ticker__item .serif {
  letter-spacing: -0.03em;
}
.ticker__star {
  width: 0.42em;
  height: 0.42em;
  flex: none;
  color: var(--accent);
  animation: spin 9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Studio statement ──────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 4fr);
  gap: 40px;
}
.about__text {
  font-size: clamp(30px, 3.9vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.038em;
  text-wrap: pretty;
}
.about__text .serif {
  letter-spacing: -0.025em;
}
.about__text .w {
  display: inline;
}
.about__text .about__pill,
.about__text .about__pill.w {
  display: inline-block;
}
html.motion .about__text .w {
  opacity: 0.42;
}
.about__pill {
  display: inline-block;
  position: relative;
  width: 2.3em;
  height: 0.86em;
  margin: 0 0.06em;
  vertical-align: -0.06em;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
}
.about__pill img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.about__pill img.is-on {
  opacity: 1;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 26px 20px 0 0;
}
.stat + .stat {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.stat b {
  display: block;
  font-size: clamp(52px, 6.4vw, 104px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.stat b sup {
  font-size: 0.4em;
  vertical-align: 0.95em;
  margin-left: 0.06em;
  color: var(--accent);
}
.stat span {
  display: block;
  margin-top: 14px;
}
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    margin-top: 26px;
    border-top: 1px solid var(--line);
  }
}

/* ── Services (bento) ──────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.svc {
  --x: -999px;
  --y: -999px;
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(22px, 2vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(236, 228, 214, 0.034), rgba(236, 228, 214, 0.01));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s var(--ease);
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--x) var(--y), rgba(201, 173, 132, 0.6), rgba(201, 173, 132, 0.12) 38%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--x) var(--y), rgba(201, 173, 132, 0.06), transparent 45%);
}
.svc--xl {
  grid-column: span 6;
  grid-row: span 2;
}
.svc--md {
  grid-column: span 4;
}
.svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.svc__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(236, 228, 214, 0.03);
  color: var(--ink);
}
.svc__icon svg {
  width: 22px;
  height: 22px;
}
.svc__art {
  position: relative;
  flex: 1;
  min-height: 176px;
  margin: 18px 0 22px;
  color: var(--ink);
}
.svc h3 {
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-top: auto;
}
.svc--xl .svc__art {
  min-height: 330px;
}
.svc--xl h3 {
  font-size: clamp(32px, 3.2vw, 52px);
}
.svc > p {
  margin-top: 12px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.svc__tags li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
}
.svc--cta {
  background: var(--grad-soft), linear-gradient(180deg, rgba(236, 228, 214, 0.03), rgba(236, 228, 214, 0.01));
}
.svc--cta .btn {
  align-self: flex-start;
  margin-top: 22px;
}

/* ── Capability illustrations: small working interfaces ───────────────── */
.ui {
  --panel: rgba(16, 14, 12, 0.78);
  --hair: rgba(236, 228, 214, 0.08);
  --hair-2: rgba(236, 228, 214, 0.14);
  --dim: rgba(236, 230, 220, 0.42);
  --gold: var(--accent);
  --gold-rgb: var(--accent-rgb);
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--hair);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201, 173, 132, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(20, 18, 15, 0.9), rgba(12, 11, 9, 0.9));
  box-shadow: inset 0 1px 0 rgba(236, 228, 214, 0.05), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  font-family: var(--sans);
  color: var(--ink);
  transform: translateZ(0);
}
.ui::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(236, 228, 214, 0.06) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.ui b,
.ui em,
.ui span {
  font-style: normal;
}
.ui-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.ui-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 173, 132, 0.6);
  animation: uiPulse 1.8s ease-out infinite;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes blink {
  50% { opacity: 0; }
}
@keyframes uiPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 173, 132, 0.55); }
  100% { box-shadow: 0 0 0 7px rgba(201, 173, 132, 0); }
}
.svc:not(.is-active) .ui *,
.svc:not(.is-active) .ui-orbit * {
  animation-play-state: paused !important;
}

/* 01 · SaaS dashboard */
.ui__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--hair);
  font-size: 11px;
  color: var(--ink-2);
}
.ui__ws {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 500;
}
.ui__ws i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--gold), #8c7552);
}
.ui__search {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 22px;
  margin-left: auto;
  padding: 0 4px 0 9px;
  border-radius: 7px;
  border: 1px solid var(--hair);
  color: var(--dim);
}
.ui__search kbd {
  font-family: var(--mono);
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(236, 228, 214, 0.06);
}
.ui__avatars {
  display: flex;
}
.ui__avatars i {
  width: 20px;
  height: 20px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #12100d;
  background: #3a342b;
}
.ui__avatars i:nth-child(2) { background: #5a4f40; }
.ui__avatars i:nth-child(3) { background: var(--gold); }
.ui-saas__body {
  position: absolute;
  inset: 38px 0 0 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
}
.ui-saas__side {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  padding-top: 14px;
  border-right: 1px solid var(--hair);
}
.ui-saas__side i {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid var(--hair-2);
}
.ui-saas__side i.is-on {
  border-color: rgba(201, 173, 132, 0.6);
  background: rgba(201, 173, 132, 0.16);
}
.ui-saas__side i.is-on::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 3px;
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
}
.ui-saas__main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 14px;
}
.ui-saas__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ui-saas__kpis div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--hair);
  background: var(--panel);
}
.ui-saas__kpis span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.ui-saas__kpis b {
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: color 0.6s var(--ease);
}
.ui-saas__kpis b.is-tick {
  color: var(--gold);
}
.ui-saas__kpis em {
  font-size: 10.5px;
  color: var(--gold);
}
.ui-saas__kpis em.is-down {
  color: var(--ink-2);
}
.ui-saas__chart {
  position: relative;
  min-height: 0;
  border-radius: 12px;
  border: 1px solid var(--hair);
  background: var(--panel);
  overflow: hidden;
  cursor: crosshair;
}
.ui-saas__chartHead {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--dim);
}
.ui-saas__svg {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 94%;
  height: 76%;
  overflow: visible;
}
.ui-saas__grid line {
  stroke: rgba(236, 228, 214, 0.06);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.ui-saas__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.ui-saas__area {
  fill: url(#areaGrad);
}
.ui-saas__svg.is-drawing {
  animation: chartReveal 2.2s var(--ease) both;
}
@keyframes chartReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.ui-saas__head {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(201, 173, 132, 0.2), 0 0 16px rgba(201, 173, 132, 0.7);
  transition: opacity 0.6s var(--ease);
}
.ui-saas__head.is-hidden {
  opacity: 0;
}
.ui-saas__cross {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(236, 228, 214, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.ui-saas__chart.is-hover .ui-saas__cross {
  opacity: 1;
}
.ui-saas__cross i {
  position: absolute;
  left: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #12100d;
}
.ui-saas__tip {
  position: absolute;
  top: 34px;
  left: 10px;
  display: grid;
  gap: 1px;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid var(--hair-2);
  background: rgba(12, 11, 9, 0.92);
  white-space: nowrap;
}
.ui-saas__tip b {
  font-size: 12px;
  font-weight: 500;
}
.ui-saas__tip em {
  font-size: 10px;
  color: var(--dim);
}
.ui-saas__cross.is-flip .ui-saas__tip {
  left: auto;
  right: 10px;
}
.ui-saas__toast {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(201, 173, 132, 0.28);
  background: rgba(14, 12, 10, 0.94);
  font-size: 10.5px;
  color: var(--ink-2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.ui-saas__toast.is-on {
  opacity: 1;
  transform: none;
}
.ui-saas__toast i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.ui-saas__toast b {
  color: var(--gold);
  font-weight: 500;
}

/* 02 · Deploy terminal */
.ui-term {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  font-family: var(--mono);
}
.ui-term__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--hair);
}
.ui-term__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(236, 228, 214, 0.14);
}
.ui-term__bar span {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.ui-term__body {
  position: relative;
  padding: 12px 14px 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ink-2);
  overflow: hidden;
}
.ui-term__body p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.ui-term__body b {
  color: var(--gold);
  font-weight: 500;
}
.ui-term__body .ok {
  color: var(--gold);
}
.ui-term__body .bar {
  display: inline-block;
  width: 64px;
  height: 4px;
  margin: 0 6px 1px;
  vertical-align: middle;
  border-radius: 4px;
  background: rgba(236, 228, 214, 0.1);
  overflow: hidden;
}
.ui-term__body .bar::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: var(--gold);
  transition: width 0.25s linear;
}
.ui-term__body .caret {
  display: inline-block;
  width: 6px;
  height: 12px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--ink);
  animation: blink 1s steps(2) infinite;
}
.ui-term__regions {
  display: flex;
  gap: 6px;
  padding: 8px 11px 11px;
}
.ui-term__regions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--dim);
  transition: color 0.4s, border-color 0.4s, background-color 0.4s;
}
.ui-term__regions span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(236, 228, 214, 0.2);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.ui-term__regions span.is-up {
  color: var(--ink);
  border-color: rgba(201, 173, 132, 0.35);
  background: rgba(201, 173, 132, 0.06);
}
.ui-term__regions span.is-up::before {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 173, 132, 0.8);
}

/* 03 · Portal sign-in */
.ui-auth {
  display: grid;
  place-items: center;
}
.ui-auth__card {
  position: relative;
  display: grid;
  gap: 6px;
  width: min(84%, 236px);
  padding: 11px 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--hair-2);
  background: rgba(14, 12, 10, 0.94);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 0.8s var(--ease);
}
.svc:hover .ui-auth__card {
  transform: translateY(-4px);
}
.ui-auth__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 500;
}
.ui-auth__brand i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--gold);
}
.ui-auth__field {
  display: grid;
  gap: 2px;
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid var(--hair);
  transition: border-color 0.3s;
}
.ui-auth__field.is-focus {
  border-color: rgba(201, 173, 132, 0.55);
}
.ui-auth__field span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.ui-auth__field b {
  min-height: 14px;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
}
.ui-auth__field.is-focus b::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-left: 1px;
  vertical-align: -1px;
  background: var(--gold);
  animation: blink 1s steps(2) infinite;
}
.ui-auth__btn {
  position: relative;
  display: grid;
  place-items: center;
  height: 26px;
  margin-top: 2px;
  border-radius: 8px;
  background: var(--ink);
  color: #0b0a09;
  font-size: 11px;
  font-weight: 500;
  transition: transform 0.2s, background-color 0.3s;
}
.ui-auth__btn i {
  position: absolute;
  right: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 10, 9, 0.25);
  border-top-color: #0b0a09;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}
.ui-auth__btn.is-press {
  transform: scale(0.97);
  background: var(--gold);
}
.ui-auth__btn.is-press i {
  opacity: 1;
}
.ui-auth__ok {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  background: rgba(14, 12, 10, 0.97);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.ui-auth__ok svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}
.ui-auth__ok .tick {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.6s var(--ease) 0.2s;
}
.ui-auth__ok b {
  font-size: 12px;
  font-weight: 500;
}
.ui-auth__ok span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.ui-auth.is-done .ui-auth__ok {
  opacity: 1;
  transform: none;
}
.ui-auth.is-done .ui-auth__ok .tick {
  stroke-dashoffset: 0;
}

/* 04 · Landing page builder */
.ui-page__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--hair);
}
.ui-page__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(236, 228, 214, 0.14);
}
.ui-page__bar span {
  flex: 1;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(236, 228, 214, 0.04);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
  text-align: center;
}
.ui-page__view {
  position: absolute;
  inset: 34px 0 0 0;
}
.ui-page__copy {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 52%;
}
.ui-page__copy i {
  display: block;
  height: 9px;
  margin-bottom: 7px;
  border-radius: 5px;
  background: rgba(236, 228, 214, 0.16);
  transform-origin: 0 50%;
  animation: pageBuild 5.6s var(--ease) infinite;
}
.ui-page__copy i:nth-child(1) { width: 92%; height: 13px; background: rgba(236, 230, 220, 0.8); }
.ui-page__copy i:nth-child(2) { width: 70%; height: 13px; background: rgba(236, 230, 220, 0.8); animation-delay: 0.12s; }
.ui-page__copy i:nth-child(3) { width: 55%; margin-top: 12px; animation-delay: 0.24s; }
.ui-page__copy b {
  display: block;
  width: 58px;
  height: 20px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--gold);
  transform-origin: 0 50%;
  animation: pageBuild 5.6s var(--ease) 0.36s infinite, ctaPress 5.6s ease infinite;
}
@keyframes pageBuild {
  0% { transform: scaleX(0); opacity: 0; }
  10%, 86% { transform: scaleX(1); opacity: 1; }
  96%, 100% { transform: scaleX(1); opacity: 0; }
}
@keyframes ctaPress {
  0%, 52% { filter: none; }
  56% { filter: brightness(1.25); }
  60%, 100% { filter: none; }
}
.ui-page__orb {
  position: absolute;
  right: 17%;
  top: 44%;
  width: 31%;
  aspect-ratio: 1;
  translate: 0 -50%;
  animation: orbFloat 6s ease-in-out infinite;
}
.ui-page__orb span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 248, 236, 0.95), transparent 12%),
    radial-gradient(circle at 36% 34%, #8d7a5f, #2a241c 55%, #0f0d0a 72%);
  box-shadow: inset -12px -16px 30px rgba(201, 173, 132, 0.28), 0 20px 40px rgba(0, 0, 0, 0.5);
}
.ui-page__orb::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1px solid rgba(201, 173, 132, 0.35);
  transform: rotateX(70deg);
  animation: spin 9s linear infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(4px); }
}
.ui-page__cursor {
  position: absolute;
  left: 30%;
  top: 72%;
  width: 14px;
  height: 14px;
  color: var(--ink);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  animation: cursorPath 5.6s var(--ease-io) infinite;
}
@keyframes cursorPath {
  0%, 20% { transform: translate(60px, 30px); opacity: 0; }
  30% { opacity: 1; }
  48% { transform: translate(-14px, -6px); }
  54% { transform: translate(-14px, -6px) scale(0.86); }
  60% { transform: translate(-14px, -6px) scale(1); }
  84% { transform: translate(40px, 10px); opacity: 1; }
  92%, 100% { transform: translate(40px, 10px); opacity: 0; }
}
.ui-page__score {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 12, 10, 0.92);
  border: 1px solid var(--hair);
}
.ui-page__score svg {
  position: absolute;
  inset: 4px;
  transform: rotate(-90deg);
}
.ui-page__score circle {
  fill: none;
  stroke: rgba(236, 228, 214, 0.1);
  stroke-width: 3;
}
.ui-page__score .fg {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.is-inview .ui-page__score .fg {
  stroke-dashoffset: 2;
}
.ui-page__score b {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* 05 · Marketplace network */
.ui-net svg {
  position: absolute;
  inset: 8px 10px 30px;
  width: calc(100% - 20px);
  height: calc(100% - 38px);
  overflow: visible;
}
.ui-net__edges path {
  fill: none;
  stroke: rgba(236, 228, 214, 0.12);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.ui-net__packets circle {
  fill: var(--ink);
}
.ui-net__packets circle.out {
  fill: var(--gold);
  filter: drop-shadow(0 0 4px rgba(201, 173, 132, 0.9));
}
.ui-net__nodes circle {
  fill: #14120f;
  stroke: rgba(236, 228, 214, 0.32);
  stroke-width: 1;
}
.ui-net__hub {
  fill: var(--gold);
  filter: drop-shadow(0 0 10px rgba(201, 173, 132, 0.6));
}
.ui-net__ring {
  fill: none;
  stroke: rgba(201, 173, 132, 0.45);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 14s linear infinite;
}
.ui-net__label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: rgba(236, 230, 220, 0.42);
}
.ui-net__stat,
.ui-flow__stat {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 10.5px;
  color: var(--dim);
}
.ui-net__stat b,
.ui-flow__stat b {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s var(--ease);
}
.ui-net__stat b.is-tick,
.ui-flow__stat b.is-tick {
  color: var(--gold);
}
.ui-flow__stat em {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* 06 · CRM pipeline */
.ui-crm {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.ui-crm__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hair);
  font-size: 10.5px;
  color: var(--dim);
}
.ui-crm__head b {
  margin-left: 4px;
  color: var(--gold);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.ui-crm__cols {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}
.ui-crm__col {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 8px 7px;
  border-radius: 11px;
  background: rgba(236, 228, 214, 0.025);
  border: 1px solid var(--hair);
}
.ui-crm__col header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.ui-crm__col header em {
  color: var(--ink-2);
  transition: color 0.4s;
}
.ui-crm__col.is-bump header em {
  color: var(--gold);
}
.deal {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 7px;
  border-radius: 7px;
  border: 1px solid var(--hair);
  background: rgba(20, 18, 15, 0.9);
  font-size: 9.5px;
  will-change: transform;
}
.deal i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a4136;
}
.deal b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deal span {
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.deal.is-moving {
  position: relative;
  z-index: 3;
  border-color: rgba(201, 173, 132, 0.6);
  background: #1a1612;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 173, 132, 0.2);
}
.deal.is-won i {
  background: var(--gold);
}
.deal.is-won span {
  color: var(--gold);
}

/* 07 · Automation flow */
.ui-flow svg {
  position: absolute;
  inset: 10px 10px 30px;
  width: calc(100% - 20px);
  height: calc(100% - 40px);
  overflow: visible;
}
.ui-flow__wires path {
  fill: none;
  stroke: rgba(236, 228, 214, 0.14);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.ui-flow__packets circle {
  fill: var(--ink);
}
.ui-flow__packets circle.out {
  fill: var(--gold);
  filter: drop-shadow(0 0 4px rgba(201, 173, 132, 0.9));
}
.ui-flow__node rect {
  fill: #12100d;
  stroke: rgba(236, 228, 214, 0.16);
}
.ui-flow__node text {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: rgba(236, 230, 220, 0.72);
}
.ui-flow__node--hub rect {
  fill: rgba(201, 173, 132, 0.1);
  stroke: rgba(201, 173, 132, 0.65);
}
.ui-flow__node--hub text {
  fill: var(--ink);
}
.ui-flow__busy {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 16 84;
  animation: busy 1.6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(201, 173, 132, 0.8));
}
@keyframes busy {
  to { stroke-dashoffset: -100; }
}

/* 08 · Anything else: services in orbit */
.ui-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.ui-orbit {
  --r: 84px;
  --gold: var(--accent);
}
.ui-orbit__ring {
  position: absolute;
  width: calc(var(--r) * 2);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(236, 228, 214, 0.18);
}
.ui-orbit__ring--in {
  width: 92px;
  border-style: solid;
  border-color: rgba(201, 173, 132, 0.22);
}
.ui-orbit__track {
  position: absolute;
  width: calc(var(--r) * 2);
  aspect-ratio: 1;
  animation: spin 26s linear infinite;
}
.ui-orbit__track span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: #12100d;
  color: var(--ink-2);
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.ui-orbit__track span svg {
  width: 16px;
  height: 16px;
  animation: spin 26s linear infinite reverse;
}
.svc:hover .ui-orbit__track span {
  border-color: rgba(201, 173, 132, 0.45);
  color: var(--ink);
}
.ui-orbit__core {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(201, 173, 132, 0.08), 0 0 40px rgba(201, 173, 132, 0.35);
}
.ui-orbit__core i,
.ui-orbit__core i::after {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #0b0a09;
}
.ui-orbit__core i::after {
  content: "";
  transform: rotate(90deg);
}

@media (max-width: 1100px) {
  .svc,
  .svc--md {
    grid-column: span 6;
  }
  .svc--xl {
    grid-column: span 12;
    grid-row: auto;
    min-height: 520px;
  }
}
@media (max-width: 680px) {
  .svc,
  .svc--md,
  .svc--xl {
    grid-column: span 12;
  }
  .svc--xl {
    min-height: 480px;
  }
}

/* ── Process (horizontal on desktop) ───────────────────────────────────── */
.process {
  position: relative;
  border-top: 1px solid var(--line);
}
.process__pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 96px 56px;
  overflow: hidden;
}
.process__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.process__head .sec-title {
  font-size: clamp(40px, 5.4vw, 86px);
}
.process__meter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}
.process__bar {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line-2);
  overflow: hidden;
}
.process__bar i {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--accent);
}
.process__track {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.process.is-pinned .process__track {
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  margin-inline: 0;
  will-change: transform;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  width: auto;
  min-height: clamp(340px, 46vh, 480px);
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(236, 228, 214, 0.032), rgba(236, 228, 214, 0.008));
  overflow: hidden;
}
.process.is-pinned .step {
  flex: none;
  width: clamp(300px, 31vw, 480px);
}
.step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1s var(--ease);
}
.step.is-active::after {
  transform: none;
}
.step__no {
  font-size: clamp(96px, 10vw, 168px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 230, 220, 0.22);
  transition: -webkit-text-stroke-color 0.6s var(--ease);
}
.step.is-active .step__no {
  -webkit-text-stroke-color: rgba(236, 230, 220, 0.7);
}
.step h3 {
  margin-top: auto;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.step p {
  margin-top: 12px;
  min-height: calc(1.55em * 3);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 40ch;
}
.step ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.step li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
}
.step--end {
  justify-content: center;
  background: var(--grad-soft), linear-gradient(180deg, rgba(236, 228, 214, 0.03), rgba(236, 228, 214, 0.01));
}
.step--end h3 {
  margin-top: 0;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1;
}
.step--end .btn {
  align-self: flex-start;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .process__head {
    grid-template-columns: 1fr;
  }
  .process__pin {
    padding-block: 96px;
  }
  .process__track {
    flex-direction: column;
    width: 100%;
  }
  .step {
    width: 100%;
    min-height: 320px;
  }
  .process__meter {
    display: none;
  }
}

/* ── Stack ─────────────────────────────────────────────────────────────── */
.stack {
  position: relative;
  padding-block: clamp(90px, 10vw, 150px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.stack__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.stack__head .sec-title {
  font-size: clamp(34px, 4.2vw, 64px);
  max-width: 18ch;
}
.stack__rows {
  display: grid;
  gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.stack__row {
  display: flex;
  width: max-content;
  will-change: transform;
}
.stack__group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  flex: none;
}
.tech {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(236, 228, 214, 0.02);
  font-size: 17px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.tech:hover {
  color: var(--ink);
  border-color: var(--line-3);
  background: rgba(236, 228, 214, 0.05);
}
.tech i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(236, 230, 220, 0.3);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.tech:hover i {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(201, 173, 132, 0.6);
}

/* ── Engagement ────────────────────────────────────────────────────────── */
.engage {
  border-top: 1px solid var(--line);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.plan {
  --x: -999px;
  --y: -999px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(236, 228, 214, 0.032), rgba(236, 228, 214, 0.008));
  overflow: hidden;
  isolation: isolate;
}
.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--x) var(--y), rgba(201, 173, 132, 0.07), transparent 45%);
}
.plan--hot {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #13110f, #0d0c0a) padding-box,
    conic-gradient(from var(--ang), rgba(201, 173, 132, 0.75), rgba(201, 173, 132, 0.12) 25%, rgba(201, 173, 132, 0.12) 50%, rgba(201, 173, 132, 0.75) 75%, rgba(201, 173, 132, 0.12)) border-box;
  animation: ang 7s linear infinite;
}
@keyframes ang {
  to { --ang: 360deg; }
}
.plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}
.plan__badge {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan h3 {
  margin-top: 54px;
  font-size: clamp(34px, 3.2vw, 50px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}
.plan__for {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-2);
}
.plan__model {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.plan__model b {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.plan ul {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  margin-bottom: 34px;
}
.plan li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--ink-2);
}
.plan li svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent);
}
.plan .btn {
  margin-top: auto;
  width: 100%;
}
@media (max-width: 1000px) {
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    min-height: 0;
  }
  .plan h3 {
    margin-top: 30px;
  }
}

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(110px, 12vw, 180px);
  border-top: 1px solid var(--line);
  isolation: isolate;
}
.contact__gl {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  -webkit-mask-image: radial-gradient(80% 70% at 26% 50%, #000 10%, transparent 72%);
  mask-image: radial-gradient(80% 70% at 26% 50%, #000 10%, transparent 72%);
}
.contact.gl-ready .contact__gl {
  opacity: 0.75;
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.contact__title {
  margin-top: 24px;
  font-size: clamp(58px, 8vw, 144px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.058em;
}
.contact__title .serif {
  letter-spacing: -0.04em;
}
.contact__lede {
  margin-top: 30px;
  max-width: 38ch;
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--ink-2);
}
.contact__mailrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 46px;
}
.contact__mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  font-size: clamp(22px, 2.3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.contact__mail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-3);
  transform-origin: 100% 50%;
  transition: transform 0.7s var(--ease);
}
.contact__mail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease) 0.1s;
  z-index: 1;
}
.contact__mail:hover::before {
  transform: scaleX(1);
}
.contact__copy {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: background-color 0.3s, color 0.3s;
}
.contact__copy.is-done {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0a09;
}
.contact__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.contact__facts p:last-child {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink);
}

.form {
  position: relative;
  display: grid;
  gap: 26px;
  padding: clamp(24px, 3vw, 42px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(14, 13, 11, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.field {
  position: relative;
  display: grid;
  gap: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  outline: none;
  resize: vertical;
  transition: border-color 0.3s var(--ease);
}
.field textarea {
  min-height: 96px;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-4);
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
}
.field__err {
  min-height: 0;
  font-size: 12px;
  color: #e3a08c;
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-bottom-color: #d98169;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips legend {
  width: 100%;
  margin-bottom: 12px;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.chip span:hover {
  border-color: var(--line-3);
  color: var(--ink);
}
.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #0b0a09;
}
.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.form__note {
  max-width: 34ch;
  font-size: 13px;
  color: var(--ink-3);
}
.form__done {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 40px;
  text-align: center;
  border-radius: inherit;
  background: rgba(14, 13, 11, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.form.is-sent .form__done {
  opacity: 1;
  visibility: visible;
}
.form__done svg {
  width: 64px;
  height: 64px;
  color: var(--accent);
}
.form__done svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.form.is-sent .form__done svg path {
  animation: draw 1s var(--ease) 0.2s forwards;
}
.form__done h3 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.form__done p {
  max-width: 36ch;
  color: var(--ink-2);
}
@media (max-width: 1000px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
  .form__foot .btn {
    width: 100%;
  }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  padding-top: clamp(70px, 8vw, 110px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer__brand p {
  margin-top: 20px;
  max-width: 34ch;
  color: var(--ink-2);
  font-size: 15px;
}
.footer__col h2 {
  margin-bottom: 18px;
}
.footer__col a,
.footer__col span {
  display: block;
  width: fit-content;
  padding: 5px 0;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}
.footer__col a:hover {
  color: var(--ink);
}
.footer__word {
  display: flex;
  justify-content: center;
  margin-top: clamp(50px, 7vw, 100px);
  font-size: 22.6vw;
  font-weight: 600;
  line-height: 0.74;
  letter-spacing: -0.07em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  color: rgba(236, 230, 220, 0.9);
  transform: translateY(6%);
}
.footer__word span {
  display: inline-block;
  padding-bottom: 0.04em;
  background: linear-gradient(180deg, rgba(236, 230, 220, 0.95) 0%, rgba(236, 230, 220, 0.3) 58%, rgba(236, 230, 220, 0) 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 26px max(26px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.to-top svg {
  width: 14px;
  height: 14px;
  transition: transform 0.5s var(--ease);
}
.to-top:hover svg {
  transform: translateY(-3px);
}
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
.step--end p {
  min-height: 0;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  border-top: 1px solid var(--line);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.faq__intro {
  position: sticky;
  top: 120px;
  display: grid;
  justify-items: start;
  gap: 24px;
}
.faq__intro .sec-title {
  margin-top: 0;
  font-size: clamp(40px, 5vw, 82px);
}
.faq__list {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: block;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item h3 {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  transition: color 0.3s var(--ease);
}
.faq__item summary:hover h3 {
  color: var(--accent);
}
.faq__icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--ink);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}
.faq__icon::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__icon {
  background: var(--accent);
  border-color: var(--accent);
}
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background: var(--bg);
}
.faq__item[open] .faq__icon::after {
  transform: rotate(0deg);
}
.faq__a {
  overflow: hidden;
}
.faq__a p {
  max-width: 62ch;
  padding: 0 64px 28px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.faq__a a,
.inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s var(--ease);
}
.faq__a a:hover,
.inline-link:hover {
  text-decoration-color: var(--accent);
}
@media (max-width: 900px) {
  .faq__grid {
    grid-template-columns: 1fr;
  }
  .faq__intro {
    position: static;
  }
  .faq__a p {
    padding-right: 0;
  }
}

@media (max-width: 680px) {
  .ui__search,
  .ui__avatars {
    display: none;
  }
  .ui-saas__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .ui-saas__side {
    display: none;
  }
  .ui-saas__kpis {
    gap: 6px;
  }
  .ui-saas__kpis div {
    padding: 8px;
  }
  .ui-saas__kpis span {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}
