:root {
  --bg: #090a11;
  --bg-soft: #0d0f18;
  --surface: #131624;
  --surface-2: #191d2f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f7;
  --muted: #a4aac0;
  --dim: #828aa6;
  --amber: #ffb057;
  --coral: #ff6f61;
  --violet: #8b6cff;
  --grad: linear-gradient(120deg, var(--amber), var(--coral) 55%, var(--violet));
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(255, 176, 87, 0.35);
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono {
  font-family: var(--mono);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 10px;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 10, 17, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.header.is-stuck {
  border-bottom-color: var(--line);
}

.header__row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

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

.logo svg {
  flex: none;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
}

.burger span,
.burger span::before {
  content: "";
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s, top 0.25s;
}

.burger span {
  top: 17px;
}

.burger span::before {
  left: 0;
  top: 7px;
}

.burger[aria-expanded="true"] span {
  top: 20px;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(-90deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--grad);
  color: #14080a;
  box-shadow: 0 10px 40px -12px rgba(255, 111, 97, 0.7);
}

.btn--primary:hover {
  box-shadow: 0 16px 48px -12px rgba(255, 111, 97, 0.9);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 12px;
}

.btn svg {
  flex: none;
  transition: transform 0.2s;
}

.btn:hover svg {
  transform: translateX(3px);
}

.hero {
  position: relative;
  overflow-x: clip;
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 96px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -72px 0 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 20%, transparent 75%);
  opacity: 0.6;
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb--warm {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -80px;
  background: radial-gradient(circle, rgba(255, 140, 80, 0.5), rgba(255, 111, 97, 0.15) 60%, transparent 75%);
  animation: drift 16s ease-in-out infinite alternate;
}

.orb--cool {
  width: 460px;
  height: 460px;
  left: -180px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.35), transparent 70%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  to {
    transform: translate3d(-40px, 30px, 0) scale(1.08);
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 176, 87, 0.2);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 620px;
}

.hero__facts dt {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__facts dd {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--dim);
}

.code {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(16, 18, 30, 0.92), rgba(16, 18, 30, 0.92)) padding-box,
    linear-gradient(140deg, rgba(255, 176, 87, 0.7), rgba(255, 255, 255, 0.08) 35%, rgba(139, 108, 255, 0.6)) border-box;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(255, 111, 97, 0.35);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.code:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}

.code__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

.code__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.code__bar span {
  margin-left: 10px;
}

.code pre {
  margin: 0;
  padding: 22px 24px 26px;
  font-family: var(--mono);
  font-size: clamp(12px, 1.15vw, 14.5px);
  line-height: 1.85;
  color: #c9cee0;
  overflow-x: auto;
}

.tk-k {
  color: #c4a7ff;
}

.tk-s {
  color: #ffc98a;
}

.tk-p {
  color: #7fd6c2;
}

.tk-c {
  color: #7f86a3;
}

.code__cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--amber);
  animation: blink 1.1s steps(2) infinite;
}

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

.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee ul {
  display: flex;
  flex: none;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 14px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

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

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
}

.section--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.label {
  display: block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.section h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.section__lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 150, 90, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

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

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 176, 87, 0.18), rgba(139, 108, 255, 0.18));
  border: 1px solid var(--line);
  color: var(--amber);
}

.card h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.card__tag {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--dim);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 28px;
  counter-increment: step;
}

.step::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: -16px;
  height: 1px;
  background: var(--line-strong);
}

.step:last-child::before {
  right: 0;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 5px rgba(255, 140, 80, 0.14);
}

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

.step__num::before {
  content: "0" counter(step);
}

.step h3 {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.25;
}

.step p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stack__group {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.stack__group h3 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}

.chips li:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
}

.quote {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(140deg, rgba(255, 176, 87, 0.8), rgba(255, 255, 255, 0.06) 40%, rgba(139, 108, 255, 0.7)) border-box;
}

.quote p {
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.quote small {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--dim);
}

.factors {
  display: grid;
  gap: 16px;
}

.factor {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.factor b {
  grid-row: span 2;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--amber);
}

.factor h3 {
  font-size: 18px;
}

.factor p {
  grid-column: 2;
  font-size: 15px;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.about__text p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.facts li {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.facts b {
  display: block;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.facts span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--dim);
}

.req {
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.req h3 {
  font-size: 20px;
}

.req dl {
  margin-top: 12px;
}

.req__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.req__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.req dt {
  font-size: 14px;
  color: var(--dim);
  padding-top: 2px;
}

.req dd {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 15px;
  text-align: left;
  border-bottom: 1px dashed var(--line-strong);
  transition: color 0.2s, border-color 0.2s;
}

.copy:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.copy.is-copied::after {
  content: "скопировано";
  font-size: 12px;
  color: var(--amber);
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px circle at 100% 0%, rgba(255, 111, 97, 0.22), transparent 60%),
    radial-gradient(500px circle at 0% 100%, rgba(139, 108, 255, 0.2), transparent 60%),
    var(--surface);
  overflow: hidden;
}

.contact h2 {
  font-size: clamp(30px, 4.4vw, 54px);
}

.contact__lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 460px;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.contact__list {
  display: grid;
  gap: 22px;
  align-content: center;
}

.contact__list span {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact__list p,
.contact__list a {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.45;
}

.contact__list a {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact__list a:hover {
  color: var(--amber);
}

.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}

.footer .logo {
  color: var(--text);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__legal {
  margin-top: 24px;
  line-height: 1.6;
}

.page-head {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px);
  isolation: isolate;
  overflow: hidden;
}

.page-head h1 {
  max-width: 900px;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.page-head p {
  margin-top: 20px;
  max-width: 760px;
  color: var(--muted);
}

.crumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
}

.crumbs a:hover {
  color: var(--text);
}

.info {
  padding-bottom: clamp(64px, 9vw, 112px);
}

.info h2 {
  margin: 56px 0 20px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  counter-reset: row;
}

.table th,
.table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.table tbody tr:last-child th,
.table tbody tr:last-child td {
  border-bottom: 0;
}

.table thead th {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.02);
}

.table tbody th {
  width: 34%;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
}

.table--num tbody tr {
  counter-increment: row;
}

.table--num tbody th::before {
  content: counter(row, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--amber);
}

.table td {
  font-size: 16px;
  color: #d9dcea;
}

.table td p + p,
.table td p + ul,
.table td ul + p {
  margin-top: 12px;
}

.table td a {
  color: var(--amber);
  border-bottom: 1px solid rgba(255, 176, 87, 0.4);
}

.table td a:hover {
  border-bottom-color: var(--amber);
}

.codes li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.55;
}

.codes li:first-child {
  padding-top: 0;
}

.codes li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.codes b {
  font-family: var(--mono);
  color: var(--amber);
}

.dots li {
  position: relative;
  padding-left: 20px;
}

.dots li + li {
  margin-top: 6px;
}

.dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

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

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.project:hover {
  box-shadow: 0 30px 80px -40px var(--glow);
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.project__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.project__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.project__bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.project__bar b {
  margin-left: auto;
  font-weight: 500;
  color: var(--dim);
}

.project__preview {
  aspect-ratio: 560 / 196;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 130% at 85% 0%, var(--glow), transparent 62%),
    var(--bg-soft);
  color: var(--accent);
  overflow: hidden;
}

.project__preview svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project:hover .project__preview svg {
  transform: scale(1.04);
}

.project__preview .n {
  fill: rgba(255, 255, 255, 0.07);
}

.project__preview .l {
  fill: rgba(255, 255, 255, 0.16);
}

.project__preview .a {
  fill: currentColor;
}

.project__preview .s {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
}

.project__preview .o {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.project__preview .t,
.project__preview .tb {
  font-family: var(--mono);
  font-size: 11px;
  fill: rgba(255, 255, 255, 0.62);
}

.project__preview .tb {
  font-weight: 700;
  fill: #14080a;
}

.project__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 28px;
}

.project__type {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.project h3 {
  margin-top: 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.project p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
}

.project .dots li::before {
  background: var(--accent);
}

.project .dots {
  margin-top: 18px;
  font-size: 15px;
  color: #d9dcea;
}

.project .chips {
  margin-top: 22px;
}

.project .chips li {
  padding: 5px 11px;
  font-size: 12.5px;
}

.project__foot {
  margin-top: auto;
  padding-top: 24px;
}

.project__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s;
}

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

.project__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--dim);
}

@media (max-width: 1200px) {
  .header__cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .projects {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .project__body {
    padding: 22px 20px 24px;
  }
}

.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s),
    translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s),
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.3s;
}

.js .reveal.is-visible {
  opacity: 1;
  translate: none;
}

@media (max-width: 1080px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .section__head,
  .pricing,
  .about,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .code {
    transform: none;
  }

  .cards,
  .stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 4px;
    font-size: 18px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .cards,
  .stack,
  .steps,
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .step::before {
    right: 0;
  }

  .hero__facts {
    gap: 16px;
  }

  .hero__actions .btn,
  .contact__actions .btn {
    width: 100%;
  }

  .req__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
    width: 100%;
  }

  .table thead {
    display: none;
  }

  .table tbody th {
    width: 100%;
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .table td {
    padding-top: 0;
  }

  .table tr:last-child th {
    border-bottom: 0;
  }

  .codes li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    translate: none;
  }
}

@media print {
  .js .reveal {
    opacity: 1;
    translate: none;
  }

  .grad {
    background: none;
    color: inherit;
  }

  :root {
    --bg: #fff;
    --bg-soft: #fff;
    --surface: #fff;
    --text: #000;
    --muted: #222;
    --dim: #444;
    --amber: #000;
    --line: #bbb;
    --line-strong: #888;
  }

  .header,
  .footer__links,
  .orb,
  .burger {
    display: none;
  }

  .table td {
    color: #000;
  }
}
