/* Stardev Digital — site styles. No inline styles anywhere (strict CSP). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0a0a0b;
  --ink-2: #131315;
  --ink-3: #1d1e21;
  --ink-line: rgba(255, 255, 255, 0.13);
  --ink-muted: #a2a2a8;
  --paper: #ffffff;
  --mist: #f2f2ef;
  --line: #dededa;
  --text: #0a0a0b;
  --muted: #5f5f66;
  --star: #ffd400;
  --star-deep: #f2c200;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;
  --gutter: clamp(16px, 3.4vw, 48px);
  --wrap: 1480px;
  --topbar-h: 34px;
  --mainbar-h: 68px;
  --subnav-h: 42px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mainbar-h) + var(--subnav-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--star);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: var(--ink-muted); }
.eyebrow--dark { color: rgba(10, 10, 11, 0.72); }
.eyebrow__num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.eyebrow__star {
  width: 12px;
  height: 12px;
  background: var(--star);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.h2 {
  font-size: clamp(30px, 4.1vw, 62px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hl { color: var(--star); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn span { transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--star { background: var(--star); color: var(--ink); }
.btn--star:hover { background: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--ink-ghost { border-color: rgba(10, 10, 11, 0.4); color: var(--ink); }
.btn--ink-ghost:hover { border-color: var(--ink); background: rgba(10, 10, 11, 0.06); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: calc(var(--topbar-h) * -1);
  z-index: 50;
  background: var(--ink);
  color: #fff;
}

.topbar {
  height: var(--topbar-h);
  background: #1a1a1c;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.topbar__mark {
  width: 10px;
  height: 14px;
  background: linear-gradient(var(--star) 0 50%, #fff 50% 100%);
}
.topbar__link {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topbar__link:hover { color: #fff; }

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33d17a;
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #33d17a;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.mainbar {
  height: var(--mainbar-h);
  border-bottom: 1px solid var(--ink-line);
}
.mainbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding-right: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  text-decoration: none;
  color: #fff;
}
.logo__star { width: 26px; height: 26px; fill: var(--star); flex: none; }
.logo__word {
  font-size: 27px;
  font-stretch: var(--wide);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.logo__sub {
  align-self: flex-end;
  margin-bottom: 3px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mainbar__clock {
  display: flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mainbar__clock-label { color: var(--ink-muted); }
.mainbar__clock-value { font-variant-numeric: tabular-nums; min-width: 8ch; }

.mainbar__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  height: 100%;
}
.mainbar__link {
  margin-right: 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.mainbar__link:hover { color: var(--star); }

.cta-block {
  display: grid;
  place-items: center;
  height: calc(100% + 1px);
  padding: 0 clamp(20px, 2.6vw, 40px);
  background: var(--star);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}
.cta-block:hover { background: #fff; }

.burger {
  display: none;
  position: relative;
  width: 56px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 17px;
  right: 17px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.burger span:first-child { top: calc(50% - 5px); }
.burger span:last-child { top: calc(50% + 4px); }
.burger[aria-expanded="true"] span:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: calc(50% - 1px); transform: rotate(-45deg); }

.subnav {
  height: var(--subnav-h);
  border-bottom: 1px solid var(--ink-line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.subnav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}
.subnav__share {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.subnav__share:hover { color: #fff; }
.subnav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.subnav__links a {
  position: relative;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.subnav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--star);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.subnav__links a:hover,
.subnav__links a.is-current { color: #fff; }
.subnav__links a.is-current::after { transform: scaleX(1); }
.subnav__lang { justify-self: end; color: var(--ink-muted); }
.subnav__lang .is-active { color: #fff; }

.mobile-menu {
  position: fixed;
  inset: var(--mainbar-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px var(--gutter) 32px;
  background: var(--ink);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__links li { border-bottom: 1px solid var(--ink-line); }
.mobile-menu__links a {
  display: block;
  padding: 16px 0;
  font-size: clamp(24px, 7vw, 36px);
  font-stretch: var(--wide);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 18px; margin-top: 32px; }
.mobile-menu__mail { color: var(--ink-muted); text-decoration: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: max(640px, calc(100svh - var(--topbar-h) - var(--mainbar-h) - var(--subnav-h)));
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 72% 55%, rgba(48, 72, 160, 0.28), transparent 70%),
    var(--ink);
  color: #fff;
  isolation: isolate;
}
.hero__globe {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.94) 0%, rgba(10, 10, 11, 0.7) 38%, rgba(10, 10, 11, 0) 70%),
    linear-gradient(0deg, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0) 34%);
  pointer-events: none;
}
.hero__inner { padding-top: clamp(32px, 5vh, 96px); }
.hero__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(56px, 7.6vw, 128px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__title .line {
  display: block;
  animation: rise 1s var(--ease) both;
}
.hero__title .line:nth-child(2) { animation-delay: 0.08s; }
.hero__title .line:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(0.4em); }
  to { opacity: 1; transform: none; }
}
.hero__lead {
  max-width: 620px;
  margin-top: 26px;
  color: #d4d4d8;
  font-size: clamp(16px, 1.25vw, 19px);
  animation: rise 1s 0.25s var(--ease) both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: rise 1s 0.35s var(--ease) both;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vh, 64px);
  border-top: 1px solid var(--ink-line);
}
.facts__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px 24px 26px 0;
}
.facts__item + .facts__item { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.facts__value {
  font-size: clamp(28px, 3.1vw, 48px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.facts__label {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--star);
  color: var(--ink);
  border-block: 1px solid var(--star-deep);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 20px 0 20px 34px;
  font-size: clamp(18px, 2vw, 28px);
  font-stretch: var(--wide);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--ink);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section { padding-block: clamp(80px, 10vw, 150px); }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #fff; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-head__text {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}
.section--ink .section-head__text { color: var(--ink-muted); }

/* services cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 34px 34px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 4px;
  background: var(--star);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { background: var(--ink); color: #fff; }
.card:hover::before { transform: scaleX(1); }
.card__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.card:hover .card__num { color: var(--star); }
.card__icon {
  width: 52px;
  height: 52px;
  margin: 34px 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__icon .soft { opacity: 0.25; }
.card:hover .card__icon { stroke: var(--star); }
.card__title {
  margin-top: 40px;
  font-size: clamp(20px, 1.7vw, 25px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.card__text { margin-top: 14px; color: var(--muted); }
.card:hover .card__text { color: #c9c9ce; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card:hover .tags li { border-color: rgba(255, 255, 255, 0.25); }

/* solutions tabs */
.tabs__list {
  display: flex;
  border-bottom: 1px solid var(--ink-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative;
  flex: 1 0 auto;
  padding: 20px 26px 22px 0;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.tabs__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 26px;
  bottom: -1px;
  height: 3px;
  background: var(--star);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tabs__tab:hover { color: #fff; }
.tabs__tab[aria-selected="true"] { color: #fff; }
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }

.tabs__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px 80px;
  padding-top: clamp(44px, 5vw, 72px);
  animation: fade 0.6s var(--ease) both;
}
.tabs__panel[hidden] { display: none; }
@keyframes fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.panel__value {
  font-size: clamp(52px, 8.4vw, 136px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--star);
  white-space: nowrap;
}
.panel__caption {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.panel__title {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}
.panel__body > p { color: #c9c9ce; }
.checklist { margin-top: 26px; border-top: 1px solid var(--ink-line); }
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--star);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

/* network layers */
.layers {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.layers::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 46px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  opacity: 0.35;
}
.layers::after {
  content: "";
  position: absolute;
  top: 43px;
  left: 0;
  width: 120px;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, transparent, var(--star));
  animation: flow 3.6s linear infinite;
}
@keyframes flow {
  from { transform: translateX(-120px); }
  to { transform: translateX(min(100vw, 1480px)); }
}
.layer {
  position: relative;
  z-index: 1;
  padding: 26px 24px 30px;
  background: var(--ink);
  color: #fff;
}
.layer--accent { background: var(--star); color: var(--ink); }
.layer__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--ink);
  color: var(--star);
  font-size: 13px;
  font-weight: 700;
}
.layer--accent .layer__num { border-color: var(--ink); background: var(--star); color: var(--ink); }
.layer__title {
  margin-top: 30px;
  font-size: 22px;
  font-stretch: var(--wide);
  font-weight: 800;
  text-transform: uppercase;
}
.layer__text { margin-top: 10px; color: #bdbdc2; font-size: 15px; }
.layer--accent .layer__text { color: rgba(10, 10, 11, 0.78); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: clamp(56px, 6vw, 88px);
}
.pillar { padding-top: 24px; border-top: 2px solid var(--ink); }
.pillar__title {
  margin-bottom: 12px;
  font-size: 20px;
  font-stretch: var(--wide);
  font-weight: 800;
  text-transform: uppercase;
}
.pillar p { color: var(--muted); }

/* tech stack */
.stack {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px 40px;
  align-items: start;
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stack__label {
  padding-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stack__list { display: flex; flex-wrap: wrap; gap: 8px; }
.stack__list li {
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.2s, color 0.2s;
}
.stack__list li:hover { background: var(--ink); color: var(--star); }

/* hosting plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(48px, 5vw, 72px);
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan__kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan--featured .plan__kicker { color: var(--star); }
.plan__title {
  margin-top: 14px;
  font-size: clamp(24px, 2.2vw, 32px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.plan__text { margin-top: 12px; color: var(--muted); }
.plan--featured .plan__text { color: #c9c9ce; }
.plan .checklist { margin: 24px 0 32px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.checklist--light { border-top-color: var(--line); }
.checklist--light li { border-bottom-color: var(--line); }
.checklist--light li::before { background: var(--ink); }

/* approach steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 3px;
  background: var(--star);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 0.2s linear;
}
.step { padding: 36px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__num {
  display: block;
  font-size: clamp(56px, 6.4vw, 96px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.step__title {
  margin: 36px 0 12px;
  font-size: 22px;
  font-stretch: var(--wide);
  font-weight: 800;
  text-transform: uppercase;
}
.step p { color: var(--muted); }

/* why */
.why { position: relative; overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  right: -12vw;
  top: -10vw;
  width: 46vw;
  height: 46vw;
  background: var(--star);
  opacity: 0.06;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  pointer-events: none;
}
.statement {
  position: relative;
  max-width: 14ch;
  font-size: clamp(40px, 7.4vw, 118px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.principles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: clamp(64px, 7vw, 110px);
}
.principle { padding-top: 22px; border-top: 1px solid var(--ink-line); }
.principle__title {
  margin-bottom: 10px;
  font-size: 18px;
  font-stretch: var(--wide);
  font-weight: 800;
  text-transform: uppercase;
}
.principle p { color: var(--ink-muted); }

/* company */
.company {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px 96px;
  align-items: start;
}
.company__lead {
  margin: 34px 0 18px;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.4;
}
.company__intro > p:last-child { max-width: 640px; color: var(--muted); }
.glance { padding: 34px; background: var(--mist); }
.glance__title {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.glance__list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.glance__list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.glance__list dd { font-weight: 600; }
.glance__list a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* contact */
.contact {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--star);
  color: var(--ink);
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px 80px;
  align-items: end;
}
.contact__head { grid-column: 1 / -1; }
.contact__title {
  font-size: clamp(38px, 7.6vw, 124px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
.contact__text { max-width: 560px; font-size: 18px; }
.contact__mail {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(22px, 2.6vw, 38px);
  font-stretch: var(--wide);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact__mail:hover { border-bottom-color: transparent; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* footer */
.footer {
  padding-top: clamp(64px, 8vw, 110px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer__brand p { max-width: 340px; margin-top: 22px; color: var(--ink-muted); }
.footer__h {
  margin-bottom: 18px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__links li + li { margin-top: 10px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--star); }
.footer__noc { display: flex; align-items: center; gap: 10px; color: var(--ink-muted); }
.footer__wordmark {
  margin: clamp(56px, 7vw, 100px) 0 -0.12em;
  font-size: 16vw;
  font-stretch: var(--wide);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ink-2);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  user-select: none;
}
@media (min-width: 1480px) { .footer__wordmark { font-size: 238px; } }
.footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--ink-line);
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer__top { text-decoration: none; }
.footer__top:hover { color: #fff; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  padding: 12px 18px;
  background: var(--star);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transform: translateX(-50%);
}

/* ---------- reveal ---------- */

.is-pending {
  opacity: 0;
  transform: translateY(28px);
}
.is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .mainbar__link { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .plan { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .plan > :not(.checklist) { grid-column: 1; }
  .plan .checklist { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .layers { grid-template-columns: repeat(3, 1fr); }
  .layers::before, .layers::after { display: none; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --topbar-h: 0px; --subnav-h: 0px; --mainbar-h: 60px; }
  .topbar, .subnav { display: none; }
  .mainbar__inner { grid-template-columns: 1fr auto; }
  .mainbar__clock { display: none; }
  .burger { display: block; }
  .cta-block { font-size: 12px; }
  .section-head { grid-template-columns: 1fr; }
  .tabs__panel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .company { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(10, 10, 11, 0.97) 10%, rgba(10, 10, 11, 0.55) 60%, rgba(10, 10, 11, 0.35) 100%);
  }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .logo { gap: 8px; }
  .logo__word { font-size: 20px; }
  .logo__star { width: 20px; height: 20px; }
  .logo__sub { display: none; }
  .cta-block { padding: 0 12px; font-size: 11px; letter-spacing: 0.04em; }
  .hero__inner { padding-top: 48px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .facts__item { padding: 20px 12px 22px 0; }
  .facts__item + .facts__item { padding-left: 0; border-left: 0; }
  .facts__item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ink-line); }
  .facts__item:nth-child(n + 3) { border-top: 1px solid var(--ink-line); }
  .cards { grid-template-columns: 1fr; }
  .stack { grid-template-columns: 1fr; }
  .plan { display: flex; padding: 28px 22px; }
  .plan .checklist { margin: 22px 0 28px; }
  .stack__list li { padding: 7px 13px; font-size: 13px; }
  .card { min-height: 0; padding: 28px 22px; }
  .card__icon { margin: 26px 0 0; }
  .card__title { margin-top: 26px; }
  .layers { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 20px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step__title { margin-top: 20px; }
  .principles { grid-template-columns: 1fr; gap: 28px; }
  .glance { padding: 24px 20px; }
  .glance__list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
  .tabs__tab { padding-right: 22px; font-size: 14px; }
}

@media (max-width: 359px) {
  .cta-block { display: none; }
}

/* ---------- multi-page additions ---------- */

.subnav__links a[aria-current="page"] { color: #fff; }
.subnav__links a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu__links a[aria-current="page"] { color: var(--star); }
.eyebrow__star--ink { background: var(--ink); }

.card__link {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__link span { transition: transform 0.3s var(--ease); }
.card:hover .card__link { color: var(--star); }
.card:hover .card__link span { transform: translateX(4px); }

.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section-more { margin-top: clamp(36px, 4vw, 56px); }
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.more-link span { transition: transform 0.3s var(--ease); }
.more-link:hover span { transform: translateX(4px); }
.more-link--light { color: #fff; }
.more-link--light:hover { color: var(--star); }

/* page hero (sub pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 110px) clamp(56px, 7vw, 100px);
  background:
    radial-gradient(900px 600px at 85% 30%, rgba(48, 72, 160, 0.3), transparent 70%),
    var(--ink);
  color: #fff;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -6vw;
  top: 50%;
  z-index: -1;
  width: min(46vw, 640px);
  aspect-ratio: 1;
  background: var(--star);
  opacity: 0.07;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transform: translateY(-50%);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 4vw, 56px);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: #fff; }
.page-hero__title {
  font-size: clamp(54px, 10.5vw, 172px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  animation: rise 1s var(--ease) both;
}
.page-hero__lead {
  max-width: 660px;
  margin-top: 28px;
  color: #d4d4d8;
  font-size: clamp(17px, 1.4vw, 21px);
  animation: rise 1s 0.15s var(--ease) both;
}
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.jump a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.jump a:hover { border-color: var(--star); background: var(--star); color: var(--ink); }
.facts--page { margin-top: clamp(48px, 5vw, 72px); }

/* service details */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 56px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.svc:first-child { padding-top: 0; border-top: 0; }
.svc__num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.svc__title {
  margin-top: 14px;
  font-size: clamp(24px, 2.4vw, 36px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.svc__text { color: var(--muted); font-size: 18px; }
.svc .tags { margin-top: 20px; }
.svc .more-link { margin-top: 26px; }
.svc__list { margin-top: 0; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 32px; }
.feature { padding-top: 22px; border-top: 1px solid var(--ink-line); }
.feature__title {
  margin-bottom: 10px;
  font-size: 18px;
  font-stretch: var(--wide);
  font-weight: 800;
  text-transform: uppercase;
}
.feature__title::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 18px;
  background: var(--star);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.feature p { color: var(--ink-muted); }

/* faq */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 40px 80px;
  align-items: start;
}
.faq-wrap__text { margin-top: 24px; color: var(--muted); }
.faq-wrap__text a { color: var(--ink); text-underline-offset: 3px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  padding: 24px 52px 24px 0;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--muted); }
.faq__item p { padding: 0 52px 26px 0; color: var(--muted); }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 32px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.tile:hover { background: var(--star); color: var(--ink); }
.tile__num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--star); }
.tile:hover .tile__num { color: var(--ink); }
.tile__title {
  margin-top: auto;
  font-size: clamp(22px, 2vw, 28px);
  font-stretch: var(--wide);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.tile__text { margin-top: 12px; color: var(--ink-muted); }
.tile:hover .tile__text { color: rgba(10, 10, 11, 0.75); }
.tile__arrow {
  position: absolute;
  top: 26px;
  right: 30px;
  font-size: 30px;
  transition: transform 0.3s var(--ease);
}
.tile:hover .tile__arrow { transform: translateX(6px); }

/* contact page */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px 72px;
  align-items: start;
}
.channel { padding: 26px 0; border-top: 1px solid var(--line); }
.channel:first-child { padding-top: 0; border-top: 0; }
.channel__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.channel__text { margin-top: 6px; color: var(--muted); }
.channel__link {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(18px, 1.6vw, 22px);
  font-stretch: var(--wide);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.channel__link:hover { border-bottom-color: var(--star); }
.next { margin-top: 32px; padding: 28px; background: var(--ink); color: #fff; }
.next__title {
  margin-bottom: 10px;
  color: var(--star);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.next__list li {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--ink-line);
}
.next__list li:first-child { border-top: 0; }
.next__list span { flex: none; color: var(--ink-muted); font-weight: 700; font-size: 14px; padding-top: 2px; }

.form { padding: clamp(24px, 3.2vw, 48px); background: var(--mist); }
.form__title {
  margin-bottom: 28px;
  font-size: clamp(24px, 2.2vw, 32px);
  font-stretch: var(--wide);
  font-weight: 800;
  text-transform: uppercase;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { display: block; margin-bottom: 24px; }
.field__label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.field__input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  transition: box-shadow 0.2s;
}
.field__input:focus { outline: none; box-shadow: 0 2px 0 0 var(--ink); }
select.field__input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 28px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field__input--area { min-height: 150px; resize: vertical; }
.field__input.is-invalid { border-bottom-color: #c62828; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 8px; }
.form__note { max-width: 380px; color: var(--muted); font-size: 14px; }
.form__note a { color: var(--ink); }
.form__error { margin-top: 18px; color: #c62828; font-weight: 600; }

@media (max-width: 1180px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .svc { grid-template-columns: 1fr; gap: 18px; }
  .faq-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 200px; }
}
@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; gap: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .svc { padding: 36px 0; }
  .faq__item summary { padding-right: 40px; }
  .faq__item p { padding-right: 0; }
  .page-hero::before { width: 80vw; right: -30vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track { animation: none; }
  .layers::after { display: none; }
  .is-pending { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; background: var(--ink); color: #fff; }
.notfound__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  min-height: 100svh;
}
.notfound__code {
  margin-top: 40px;
  font-size: clamp(96px, 20vw, 260px);
  font-stretch: var(--wide);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--star);
}
.notfound__text { color: var(--ink-muted); font-size: 18px; }
