/* ==========================================================================
   ARONEG Technology — site stylesheet
   Dark, engineering-flavoured, no external dependencies.
   ========================================================================== */

:root {
  --bg: #06090f;
  --bg-soft: #080d16;
  --panel: #0b1220;
  --panel-2: #0e1728;
  --line: rgba(148, 173, 214, 0.14);
  --line-strong: rgba(148, 173, 214, 0.26);
  --ink: #e9eff9;
  --ink-2: #c3cfe3;
  --muted: #8d9cb6;
  --muted-2: #6d7d97;
  --brand: #7b93ff;
  --brand-bright: #a5b6ff;
  --mint: #4fe0c0;
  --grad: linear-gradient(120deg, #7b93ff 0%, #8f7dff 45%, #4fe0c0 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -30px rgba(4, 8, 18, 0.9), 0 2px 8px rgba(4, 8, 18, 0.4);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --wrap: 1180px;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

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

img, svg { display: block; max-width: 100%; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

::selection { background: rgba(123, 147, 255, 0.32); color: #fff; }

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

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

.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: 0.02em; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--brand);
  color: #05070d;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 9, 15, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #0a0f1a;
  background: var(--grad);
  box-shadow: 0 6px 18px -8px rgba(123, 147, 255, 0.9);
}
.brand-mark svg { width: 22px; height: 22px; stroke-width: 1.8; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--grad);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 99;
  padding: 12px 24px 26px;
  background: rgba(7, 11, 19, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink-2);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav-foot {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.2s ease;
}

.btn .arrow { width: 17px; height: 17px; stroke-width: 1.9; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--grad);
  color: #06080f;
  font-weight: 650;
  box-shadow: 0 14px 34px -18px rgba(123, 147, 255, 0.95);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -16px rgba(123, 147, 255, 1); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.028);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: rgba(123, 147, 255, 0.55);
  background: rgba(123, 147, 255, 0.1);
  transform: translateY(-1px);
}

.btn-sm { padding: 9px 17px; font-size: 13px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 92px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 173, 214, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 173, 214, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(112% 82% at 50% 8%, #000 32%, transparent 78%);
  -webkit-mask-image: radial-gradient(112% 82% at 50% 8%, #000 32%, transparent 78%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-a {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(123, 147, 255, 0.55), transparent 68%);
}
.orb-b {
  width: 460px;
  height: 460px;
  top: 40px;
  right: -160px;
  background: radial-gradient(circle, rgba(79, 224, 192, 0.34), transparent 68%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(79, 224, 192, 0.16);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.hero h1 span { display: block; }

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

.lede {
  margin-top: 22px;
  max-width: 33em;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--muted);
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts li { display: flex; flex-direction: column; gap: 3px; }
.fact-k {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.fact-v { font-size: 14.5px; color: var(--ink); font-weight: 500; }

/* Hero visual */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.code-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(19, 29, 48, 0.96), rgba(8, 13, 22, 0.98));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-visual:hover .code-card { transform: rotateY(0) rotateX(0); }

.code-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 80% -10%, rgba(123, 147, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.code-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #33405a;
}
.dots i:first-child { background: #3b4a66; }
.code-file {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.code-tag {
  margin-left: auto;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mint);
  background: rgba(79, 224, 192, 0.08);
}

.code-body {
  position: relative;
  margin: 0;
  padding: 20px 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.4px;
  line-height: 1.85;
  color: #cdd9ec;
  scrollbar-width: thin;
}
.code-body code { font-family: inherit; white-space: pre; }
.c-com { color: #5c6d88; }
.c-key { color: #a08dff; }
.c-fn { color: #7fd7ff; }
.c-str { color: #6fe3bd; }
.c-num { color: #ffc48c; }

.code-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 15px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-2);
}
.chip.ok { color: var(--mint); border-color: rgba(79, 224, 192, 0.3); background: rgba(79, 224, 192, 0.07); }
.chip.ok i { background: var(--mint); box-shadow: 0 0 0 3px rgba(79, 224, 192, 0.14); }

.float-card {
  position: absolute;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(12, 19, 32, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.95);
}

.float-a {
  left: -6px;
  bottom: -86px;
  width: 186px;
  padding: 13px 15px 12px;
  animation: floaty 7s ease-in-out infinite;
}
.float-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}
.float-top b { font-family: var(--mono); font-size: 13px; color: var(--mint); }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 42px;
  margin-top: 9px;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(to top, rgba(123, 147, 255, 0.35), var(--brand));
}
.bars i:last-child { background: linear-gradient(to top, rgba(79, 224, 192, 0.35), var(--mint)); }

.float-b {
  top: -70px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 13px;
  animation: floaty 9s ease-in-out infinite reverse;
}
.float-b b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.float-b span { font-size: 11px; color: var(--muted-2); }
.pulse {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(79, 224, 192, 0.6);
  animation: ping 2.4s ease-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes ping {
  0% { transform: scale(0.75); opacity: 1; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee-wrap {
  position: relative;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-soft), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--bg-soft), transparent); }

.marquee { display: flex; overflow: hidden; }
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 46px;
  padding-right: 46px;
  animation: scroll-x 38s linear infinite;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: 104px 0;
}
.section-alt {
  background: linear-gradient(180deg, var(--bg-soft), rgba(8, 13, 22, 0.35));
  border-block: 1px solid var(--line);
}

.section-head { max-width: 720px; margin-bottom: 54px; }

.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 16px;
}

.section-head h2,
.approach-copy h2,
.company-copy h2,
.contact-copy h2 {
  font-size: clamp(1.75rem, 2.9vw, 2.55rem);
  letter-spacing: -0.03em;
}

.section-sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

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

.card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 25, 41, 0.72), rgba(9, 14, 24, 0.72));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 160px at 50% -10%, rgba(123, 147, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 147, 255, 0.4);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, 0.9);
}
.card:hover::after { opacity: 1; }

.card-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand-bright);
  background: rgba(123, 147, 255, 0.08);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.card-ico svg { width: 22px; height: 22px; }
.card:hover .card-ico {
  color: var(--mint);
  border-color: rgba(79, 224, 192, 0.35);
  background: rgba(79, 224, 192, 0.09);
}

.card h3 {
  font-size: 18.5px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card > p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  border: 1px solid rgba(79, 224, 192, 0.7);
  background: rgba(79, 224, 192, 0.18);
}

/* Price / engagement cards */
.price-card { display: flex; flex-direction: column; }
.price-card h3 { margin-top: 6px; }
.price-tag {
  margin-top: 6px;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.06em;
  color: var(--mint) !important;
}
.price-card .card-list { margin-top: auto; }
.price-card.featured {
  border-color: rgba(123, 147, 255, 0.45);
  background: linear-gradient(180deg, rgba(24, 33, 58, 0.9), rgba(10, 16, 28, 0.9));
  box-shadow: 0 30px 60px -40px rgba(123, 147, 255, 0.6);
}
.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(79, 224, 192, 0.14);
  border: 1px solid rgba(79, 224, 192, 0.35);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mint);
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 30px 26px 4px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; padding-right: 0; }
.step:not(:first-child) { padding-left: 26px; }
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.5s ease;
}
.step:hover::before { width: 100%; }
.step-num {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 14px;
}
.step h3 { font-size: 17.5px; margin-bottom: 9px; }
.step p { font-size: 14px; line-height: 1.78; color: var(--muted); }
.step-out {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Stack
   -------------------------------------------------------------------------- */

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.stack-col {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 20, 34, 0.55);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.stack-col:hover { border-color: var(--line-strong); background: rgba(17, 26, 44, 0.7); }
.stack-col h3 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
  font-weight: 500;
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
  font-size: 12.5px;
  color: var(--ink-2);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tags li:hover {
  color: var(--ink);
  border-color: rgba(123, 147, 255, 0.45);
  background: rgba(123, 147, 255, 0.1);
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}
.note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--mint); }
.note p { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Approach
   -------------------------------------------------------------------------- */

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.approach-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.approach-copy .btn { margin-top: 28px; }

.approach-list { display: grid; gap: 8px; }
.approach-list li {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.approach-list li:hover {
  background: rgba(18, 27, 45, 0.6);
  border-color: var(--line);
}
.ai-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--brand-bright);
}
.ai-ico svg { width: 19px; height: 19px; }
.approach-list h3 { font-size: 16.5px; margin-bottom: 7px; }
.approach-list p { font-size: 14px; line-height: 1.78; color: var(--muted); }

/* --------------------------------------------------------------------------
   Company / facts
   -------------------------------------------------------------------------- */

.company-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.company-copy p {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}
.muted-sm { font-size: 13.5px !important; color: var(--muted-2) !important; }

.facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(12, 19, 32, 0.6);
}
.facts > div {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 0; }
.facts > div:nth-child(even) { background: rgba(255, 255, 255, 0.016); }
.facts dt {
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}
.facts dd {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.facts dd.mono { color: var(--mint); font-size: 12.5px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 400px at 88% 0%, rgba(123, 147, 255, 0.14), transparent 62%),
    radial-gradient(700px 400px at 0% 100%, rgba(79, 224, 192, 0.08), transparent 60%);
}
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: start;
}

.contact-meta {
  display: grid;
  gap: 18px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.contact-meta li { display: flex; gap: 14px; }
.cm-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--mint);
}
.cm-ico svg { width: 18px; height: 18px; }
.contact-meta div { display: flex; flex-direction: column; gap: 2px; }
.contact-meta span { font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); }
.contact-meta a, .contact-meta address, .contact-meta b {
  font-style: normal;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.contact-meta a:hover { color: var(--mint); }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 27, 45, 0.85), rgba(9, 14, 24, 0.9));
  box-shadow: var(--shadow);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: grid; gap: 7px; }
.field label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 10, 18, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.65; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9cb6' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 17px;
  padding-right: 36px;
  cursor: pointer;
}
.field select option { background: #0b1220; color: var(--ink); }
.field input::placeholder,
.field textarea::placeholder { color: #56657f; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(123, 147, 255, 0.65);
  background: rgba(10, 16, 28, 0.9);
  box-shadow: 0 0 0 3px rgba(123, 147, 255, 0.14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: rgba(255, 120, 130, 0.7); }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}
.field-check input {
  width: 16px;
  height: 16px;
  margin: 4px 0 0;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.field-check label { font-size: 13px; color: var(--muted); }

.err {
  font-size: 12px;
  color: #ff8a94;
  min-height: 0;
}
.err:empty { display: none; }

.form-status {
  font-size: 13.5px;
  line-height: 1.7;
  min-height: 0;
}
.form-status:empty { display: none; }
.form-status.ok { color: var(--mint); }
.form-status.bad { color: #ff8a94; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding-top: 58px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 30em;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted-2);
}
.footer-nav,
.footer-legal { display: flex; flex-direction: column; gap: 9px; }
.footer-nav h3,
.footer-legal h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 6px;
}
.footer-nav a { font-size: 13.5px; color: var(--muted); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--ink); }
.footer-legal p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-2);
}
.footer-legal p.mono { color: var(--muted); font-size: 11.5px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.reveal {
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Only hide content when JS can reveal it again. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero { padding-bottom: 122px; }
  .hero-visual { max-width: 560px; }
  .hero-facts { margin-top: 36px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n + 2) { padding-bottom: 26px; }
  .step:nth-child(n + 3) { padding-top: 26px; }
  .approach-grid,
  .company-wrap,
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .approach-copy { position: static; }
  .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-actions .btn-sm { display: none; }
  :root { --header-h: 64px; }
  .hero { padding-top: calc(var(--header-h) + 52px); }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding-inline: 18px; }
  .hero h1 { font-size: clamp(1.95rem, 8vw, 2.6rem); }
  .lede { font-size: 15.5px; }
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step,
  .step:not(:first-child) {
    padding: 22px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .step::before { display: none; }
  .stack-grid { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; padding: 13px 16px; }
  .contact-form { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-facts { gap: 14px 26px; }
  .float-card { display: none; }
  .code-card { transform: none; }
  .code-body { font-size: 11.4px; padding: 16px 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@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;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}
