/* ============ TOKENS ============ */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05060c;
  --bg-2: #0a0c16;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f6ff;
  --muted: #9aa1b8;
  --blue: #2f5bff;
  --blue-2: #4d7cff;
  --violet: #8a3ffc;
  --grad: linear-gradient(90deg, #2e8bff 0%, #4f5bff 45%, #8a3ffc 100%);
  --radius: 10px;
  --container: 980px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --text-2: var(--text-2);
  --nav-text: #cdd2e6;
  --header-bg: linear-gradient(180deg, rgba(5,6,12,.85), rgba(5,6,12,0));
  --menu-bg: rgba(5, 6, 12, .96);
  --surface: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.005));
  --surface-hover: linear-gradient(180deg, rgba(47,91,255,.12), rgba(255,255,255,.005));
  --tag-bg: rgba(8, 10, 24, .6);
  --chip-bg: #1b1d2a;
  --grid: rgba(255, 255, 255, .06);
  --hero-lines: rgba(180, 200, 255, .4);
  --ring-dark: #05061c;
  --ring-dark-2: #0a0f55;
  --ring-blend: screen;
  --ring-opacity: .34;
  --rig-glow: 0 0 28px rgba(60, 80, 255, .55);
  --glow-opacity: 1;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6fc;
  --bg-2: #ffffff;
  --line: rgba(12, 18, 50, .1);
  --line-2: rgba(12, 18, 50, .18);
  --text: #0a0e24;
  --muted: #5d6584;
  --blue-2: #2b55f5;
  --text-2: #3e4668;
  --nav-text: #3e4668;
  --header-bg: linear-gradient(180deg, rgba(244,246,252,.94), rgba(244,246,252,0));
  --menu-bg: rgba(244, 246, 252, .98);
  --surface: linear-gradient(180deg, #ffffff, rgba(255,255,255,.55));
  --surface-hover: linear-gradient(180deg, rgba(47,91,255,.1), #ffffff);
  --tag-bg: rgba(255, 255, 255, .85);
  --chip-bg: #ffffff;
  --grid: rgba(12, 18, 50, .07);
  --hero-lines: rgba(43, 85, 245, .35);
  --ring-dark: #cfd8ff;
  --ring-dark-2: #8fa4ff;
  --ring-blend: normal;
  --ring-opacity: .6;
  --rig-glow: 0 18px 40px rgba(60, 80, 255, .28);
  --glow-opacity: .35;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  transition: background .35s ease, color .35s ease;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
svg { display: block; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

.ico { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.eyebrow b { font-weight: 400; margin: 0 6px; }
.eyebrow--blue { color: var(--blue-2); }

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

h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h2 em { font-style: normal; color: var(--blue-2); font-weight: 400; font-size: .7em; margin-left: 6px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 11px; }
.btn--primary { background: linear-gradient(180deg, #3b6bff, #1f45ea); box-shadow: 0 8px 30px -8px rgba(47, 91, 255, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { box-shadow: 0 12px 40px -6px rgba(47, 91, 255, 1), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--outline { border-color: var(--blue-2); color: var(--text); background: rgba(47, 91, 255, .05); }
.btn--outline:hover { background: rgba(47, 91, 255, .2); }
.btn--glass { background: rgba(160, 140, 255, .55); border-color: rgba(255,255,255,.25); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(160, 140, 255, .8); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: var(--text); transition: color .2s; }
.link-arrow:hover { color: var(--blue-2); }
.link-arrow--sm { color: var(--blue-2); font-size: 10px; }

/* ============ HEADER ============ */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 48px; background: var(--header-bg); backdrop-filter: blur(6px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; width: min(1000px, 100% - 48px); }
.logo { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.logo span { color: var(--blue-2); }

.nav { display: flex; gap: 34px; font-size: 10.5px; color: var(--nav-text); position: absolute; left: 50%; transform: translateX(-50%); }
.nav a { position: relative; padding: 14px 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue-2); border-radius: 2px; box-shadow: 0 0 10px var(--blue-2); }

.burger { display: none; width: 36px; height: 36px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); transition: .3s; }
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 21px; }
.burger.open span:first-child { top: 17px; transform: rotate(45deg); }
.burger.open span:last-child { top: 17px; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 480px; padding: 108px 0 56px; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero__inner { position: relative; z-index: 3; }
.hero__text { max-width: 400px; }
.hero h1 { font-size: clamp(38px, 5vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 18px 0 26px; }
.lead { font-size: 12px; line-height: 1.6; color: var(--text-2); max-width: 340px; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }

.grid-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--grid) 30%, var(--grid) 70%, transparent); }
.grid-lines i:nth-child(1) { left: 7%; }
.grid-lines i:nth-child(2) { left: 24%; }
.grid-lines i:nth-child(3) { left: 47%; }
.grid-lines i:nth-child(4) { left: 71%; }
.grid-lines i:nth-child(5) { left: 94.500%; }

/* ---- Parallax visual ---- */
.visual { position: absolute; top: 0; right: 0; width: min(62%, 760px); height: 100%; z-index: 1; --mx: 0; --my: 0; --sy: 0; }
.visual > [data-depth] { transform: translate3d(calc(var(--mx) * var(--d, 0) * 22px), calc(var(--my) * var(--d, 0) * 22px + var(--sy) * var(--d, 0) * -50px), 0); transition: transform .12s linear; will-change: transform; }

.visual__glow {
  position: absolute; left: 12%; top: 5%; width: 80%; height: 90%;
  background:
    radial-gradient(40% 45% at 55% 45%, rgba(63, 83, 255, .45), transparent 70%),
    radial-gradient(30% 35% at 75% 65%, rgba(138, 63, 252, .4), transparent 70%);
  filter: blur(40px);
  opacity: var(--glow-opacity);
}

.scene { position: absolute; left: 50%; top: 54%; width: 0; height: 0; perspective: 1100px; }
.rig {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transform-style: preserve-3d;
  transform: translateY(calc(var(--sy, 0) * -30px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg));
  will-change: transform;
  filter: drop-shadow(var(--rig-glow));
}

.ring {
  --size: 440px;
  --thick: 70px;
  position: absolute; left: calc(var(--size) / -2); top: calc(var(--size) / -2);
  width: var(--size); height: var(--size); border-radius: 50%;
  background: conic-gradient(from calc(var(--i) * 9deg),
    var(--ring-dark) 0deg, #1226b8 40deg, #2a5cf0 75deg, #3f8cff 100deg, #2646e0 130deg,
    var(--ring-dark-2) 175deg, var(--ring-dark) 205deg, #3a28c8 245deg, #6a38f0 290deg, #8f58ff 305deg, #4a33e8 330deg, var(--ring-dark) 360deg);
  -webkit-mask: radial-gradient(circle farthest-side, transparent calc(100% - var(--thick)), #000 calc(100% - var(--thick) + 2px), #000 calc(100% - 2px), transparent 100%);
          mask: radial-gradient(circle farthest-side, transparent calc(100% - var(--thick)), #000 calc(100% - var(--thick) + 2px), #000 calc(100% - 2px), transparent 100%);
  mix-blend-mode: var(--ring-blend);
  opacity: var(--ring-opacity);
}
.ring--a { transform: rotateZ(-38deg) rotateY(62deg) translateZ(calc(var(--i) * 3px - 8px)); }
.ring--b { --size: 400px; --thick: 56px; transform: rotateZ(28deg) rotateX(66deg) rotateY(-12deg) translateZ(calc(var(--i) * 3px - 8px)); }
.ring--b { background: conic-gradient(from calc(var(--i) * -11deg + 40deg),
    var(--ring-dark) 0deg, #2f26c8 50deg, #5a3cf0 90deg, #8a5cff 105deg, #4a33e8 140deg,
    var(--ring-dark) 200deg, #1a3ed8 250deg, #2f7cff 285deg, #2646e0 320deg, var(--ring-dark) 360deg); }

.visual__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--hero-lines); stroke-width: 1; vector-effect: non-scaling-stroke; }
.visual__lines path { vector-effect: non-scaling-stroke; }

.stat { position: absolute; font-size: 10px; color: var(--text-2); line-height: 1.35; }
.stat strong { display: block; font-size: 15px; font-weight: 500; color: var(--text); }
.stat--tl { left: 8%; top: 22%; }
.stat--br { right: 12%; bottom: 17%; }
.stat--tag { right: 0; top: 32%; padding: 10px 16px; border: 1px solid var(--line-2); background: var(--tag-bg); font-size: 8.5px; color: var(--text-2); backdrop-filter: blur(6px); }

/* ============ SECTIONS ============ */
.section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }

/* ---- Services ---- */
.services { padding-top: 26px; }
.services__inner { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.services__intro p { font-size: 11px; line-height: 1.6; color: var(--text-2); margin: 12px 0 22px; max-width: 240px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { position: relative; display: block; padding: 22px 16px 40px; min-height: 160px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); transition: border-color .3s, transform .3s, background .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(77, 124, 255, .6); background: var(--surface-hover); }
.card__icon { width: 30px; height: 30px; margin-bottom: 18px; fill: none; stroke: var(--blue-2); stroke-width: 2.200; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(77,124,255,.5)); }
.card h3 { font-size: 11.5px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 9.5px; line-height: 1.5; color: var(--muted); }
.card__go { position: absolute; left: 16px; bottom: 14px; width: 11px; height: 11px; fill: none; stroke: var(--blue-2); stroke-width: 2; transition: transform .3s; }
.card:hover .card__go { transform: translate(3px, -3px); }

/* ---- Work ---- */
.projects { display: grid; grid-template-columns: 1.05fr 1.05fr 1.05fr; gap: 28px; }
.project { display: block; }
.thumb { position: relative; height: 160px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); transition: transform .4s, box-shadow .4s; }
.project:hover .thumb { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(47, 91, 255, .7); }
.thumb--dark { background: #080a14; }
.thumb--light { background: #ececef; }
.thumb__bar { position: absolute; left: 14px; right: 14px; top: 8px; height: 3px; border-radius: 2px; background: currentColor; opacity: .18; }
.thumb--dark { color: #fff; } .thumb--light { color: #000; }
.thumb__copy { position: absolute; left: 30px; top: 48px; width: 120px; z-index: 2; }
.thumb__copy b { display: block; font-size: 15px; font-weight: 500; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 10px; }
.thumb__copy i { display: block; height: 2px; margin-bottom: 4px; border-radius: 2px; background: currentColor; opacity: .2; }
.thumb__copy i.s { width: 60%; }
.thumb__copy u { display: block; width: 28px; height: 8px; border-radius: 8px; margin-top: 8px; background: currentColor; opacity: .5; }
.thumb--light .thumb__copy { color: #111; }

.thumb__blob { position: absolute; right: -40px; top: -20px; width: 230px; height: 230px; border-radius: 42% 58% 50% 50% / 55% 40% 60% 45%; background: conic-gradient(from 20deg, #0a0a6a, #3a35ff, #7c6bff, #2b1dd6, #0a0a6a); filter: blur(1px); transform: rotate(-20deg); box-shadow: inset 0 0 40px rgba(255,255,255,.2); }
.thumb__phone { position: absolute; right: 36px; top: 20px; width: 70px; height: 150px; border-radius: 12px; background: #0b0b10; border: 3px solid #1b1b22; box-shadow: 0 14px 30px rgba(0,0,0,.35); padding: 14px 8px; display: grid; gap: 6px; align-content: start; transform: rotate(-4deg); }
.thumb__phone span { height: 22px; border-radius: 4px; background: linear-gradient(90deg, #2f5bff, #8a3ffc); opacity: .85; }
.thumb__phone span:nth-child(2) { background: #2a2a34; }
.thumb__phone span:nth-child(3) { background: #2a2a34; height: 34px; }
.thumb__crystal { position: absolute; right: 18px; top: 28px; width: 130px; height: 120px; background: conic-gradient(from 40deg at 50% 50%, #0b0b0f, #aaa 40deg, #1c1c22 90deg, #e0e0e8 140deg, #0b0b0f 190deg, #888 250deg, #111 300deg, #ccc 340deg, #0b0b0f); clip-path: polygon(50% 0, 88% 18%, 100% 55%, 72% 100%, 30% 88%, 0 50%, 14% 14%); transform: rotate(12deg); }

.project__meta { display: flex; align-items: flex-start; justify-content: space-between; padding: 12px 2px 0; color: var(--blue-2); }
.project__meta h3 { font-size: 11px; font-weight: 600; color: var(--text); }
.project__meta p { font-size: 9px; color: var(--muted); margin-top: 3px; }

/* ---- Process ---- */
.process { padding: 36px 0 30px; }
.process__inner { display: grid; grid-template-columns: 250px 1fr; gap: 50px; align-items: start; }
.process__intro h2 { font-size: 24px; margin: 8px 0 12px; line-height: 1.05; max-width: 150px; }
.process__intro p:last-child { font-size: 9.5px; line-height: 1.55; color: var(--text-2); max-width: 220px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; padding-top: 6px; }
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -26px; top: 34px; color: var(--blue-2); font-size: 12px; }
.steps__n { position: absolute; left: -22px; top: 0; font-size: 8px; color: var(--text); }
.steps__icon { width: 32px; height: 32px; margin-bottom: 16px; fill: none; stroke: var(--blue-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(77,124,255,.5)); }
.steps h3 { font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.steps p { font-size: 9.5px; line-height: 1.5; color: var(--muted); }

/* ---- Tech ---- */
.stack { padding: 18px 0 34px; }
.stack__inner { display: grid; grid-template-columns: 250px 1fr; gap: 50px; align-items: center; }
.stack__intro h2 { font-size: 20px; }
.stack__intro p { margin-top: 8px; font-size: 9.5px; line-height: 1.5; color: var(--text-2); max-width: 200px; }
.tech { display: grid; grid-template-columns: repeat(8, 1fr); border-left: 1px solid var(--line); }
.tech li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 4px; font-size: 8.5px; color: var(--text-2); border-right: 1px solid var(--line); transition: background .3s, color .3s; }
.tech li:hover { background: rgba(47, 91, 255, .1); color: var(--text); }
.tech__svg { width: 26px; height: 26px; }
.tech__logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--chip-bg); border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; color: var(--text); }
.tech__text { height: 26px; display: grid; place-items: center; font-weight: 700; }
.tech__text--go { color: #3fc3e6; font-style: italic; font-size: 15px; }
.tech__text--aws { color: var(--text); font-size: 16px; letter-spacing: -.03em; position: relative; }
.tech__text--aws::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: 2px; height: 3px; border-bottom: 2px solid #ff9900; border-radius: 0 0 50% 50%; }

/* ============ CTA ============ */
.cta { color: #fff; position: relative; overflow: hidden; padding: 38px 0 42px; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 140% at 100% 100%, rgba(138, 63, 252, .55), transparent 60%),
  linear-gradient(100deg, #1330d8 0%, #2a2cf0 45%, #5a35f4 100%); }
.cta__bg::before, .cta__bg::after { content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(160, 190, 255, .18); filter: blur(2px); }
.cta__bg::before { width: 420px; height: 420px; left: -140px; bottom: -280px; }
.cta__bg::after { width: 380px; height: 380px; right: -120px; bottom: -220px; border-color: rgba(190, 140, 255, .28); }
.cta__inner { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 40px; align-items: center; width: min(1100px, 100% - 48px); }
.cta h2 { font-size: 26px; margin-top: 6px; }
.cta .eyebrow { color: rgba(255,255,255,.7); font-size: 8px; }
.cta__text { font-size: 10px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 240px; margin-inline: auto; }

/* ============ A11Y / TOGGLE ============ */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 12px; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.theme-toggle:hover { border-color: var(--blue-2); background: rgba(47, 91, 255, .12); transform: rotate(15deg); }
.theme-toggle svg { grid-area: 1 / 1; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s ease, opacity .3s; }
.theme-toggle .moon { opacity: 0; transform: rotate(90deg) scale(.4); }
:root[data-theme="light"] .theme-toggle .sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
:root[data-theme="light"] .theme-toggle .moon { opacity: 1; transform: none; }

/* ---- About ---- */
.about__inner { display: grid; grid-template-columns: 250px 1fr; gap: 50px; align-items: start; }
.about__intro h2 { font-size: 24px; margin: 8px 0 12px; line-height: 1.1; }
.about__intro p:not(.eyebrow) { font-size: 10.5px; line-height: 1.65; color: var(--text-2); max-width: 260px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact { padding: 20px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.fact strong { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact > span { display: block; margin-top: 6px; font-size: 9.5px; color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; margin-top: 22px; }
.checks li { position: relative; padding-left: 22px; font-size: 10px; line-height: 1.5; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 13px; height: 13px; border-radius: 50%; background: rgba(47, 91, 255, .15); border: 1px solid var(--blue-2); }
.checks li::after { content: ""; position: absolute; left: 4.5px; top: 4px; width: 3px; height: 6px; border: solid var(--blue-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.checks b { display: block; color: var(--text); font-weight: 600; }

/* ---- Reviews ---- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 20px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); transition: border-color .3s, transform .3s; }
.review:hover { transform: translateY(-4px); border-color: rgba(77, 124, 255, .6); }
.review__stars { font-size: 11px; letter-spacing: 3px; color: #ffb84d; }
.review blockquote { margin: 0; font-size: 10.5px; line-height: 1.7; color: var(--text-2); }
.review figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); font-size: 11px; font-weight: 600; color: #fff; }
.review cite { display: block; font-style: normal; font-size: 10.5px; font-weight: 600; }
.review small { font-size: 9px; color: var(--muted); }

/* ---- FAQ ---- */
.faq__inner { display: grid; grid-template-columns: 250px 1fr; gap: 50px; align-items: start; }
.faq__intro h2 { font-size: 24px; margin: 8px 0 12px; line-height: 1.1; }
.faq__intro p:not(.eyebrow) { font-size: 10px; line-height: 1.6; color: var(--text-2); max-width: 220px; margin-bottom: 20px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; font-size: 12px; font-weight: 500; cursor: pointer; list-style: none; transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; font-size: 18px; line-height: 1; font-weight: 400; color: var(--blue-2); transition: transform .3s; }
.faq__list summary:hover { color: var(--blue-2); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 34px 18px 0; font-size: 10.5px; line-height: 1.7; color: var(--text-2); }

/* ---- Blog ---- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { display: block; }
.post__img { position: relative; height: 130px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); background: #080a14; transition: transform .4s, box-shadow .4s; }
.post:hover .post__img { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(47, 91, 255, .7); }
.post__img::before { content: ""; position: absolute; width: 180px; height: 180px; right: -30px; top: -40px; border-radius: 50%; border: 30px solid; filter: blur(1px); }
.post__img--1 { background: radial-gradient(70% 90% at 20% 100%, #1a2cc8, #080a14 70%); }
.post__img--1::before { border-color: #3a62ff; }
.post__img--2 { background: radial-gradient(70% 90% at 80% 100%, #5a2dd6, #080a14 70%); }
.post__img--2::before { border-color: #8a5cff; right: auto; left: -30px; }
.post__img--3 { background: radial-gradient(70% 90% at 50% 100%, #1560c8, #080a14 70%); }
.post__img--3::before { border-color: #2f9cff; top: -10px; }
.post__meta { display: flex; gap: 10px; margin: 12px 0 6px; font-family: var(--mono); font-size: 9px; color: var(--muted); }
.post__meta b { color: var(--blue-2); font-weight: 500; }
.post h3 { font-size: 12.5px; font-weight: 600; line-height: 1.35; transition: color .2s; }
.post:hover h3 { color: var(--blue-2); }
.post p { margin-top: 6px; font-size: 9.5px; line-height: 1.6; color: var(--muted); }

/* ============ FOOTER ============ */
.footer { padding: 48px 0 22px; border-top: 1px solid var(--line); background: var(--bg-2); transition: background .35s; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { max-width: 240px; margin: 12px 0 16px; font-size: 10px; line-height: 1.65; color: var(--muted); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; font-family: var(--mono); font-size: 10px; color: var(--text-2); transition: border-color .25s, color .25s, background .25s; }
.socials a:hover { border-color: var(--blue-2); color: var(--text); background: rgba(47, 91, 255, .15); }
.footer h3 { margin-bottom: 14px; font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer li + li { margin-top: 9px; }
.footer li a, .footer address { font-size: 10.5px; font-style: normal; line-height: 1.7; color: var(--text-2); transition: color .2s; }
.footer li a:hover, .footer address a:hover { color: var(--blue-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 9.5px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 18px; }
.footer__bottom a:hover { color: var(--text); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav { position: fixed; inset: 48px 0 auto 0; transform: none; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: var(--menu-bg); border-bottom: 1px solid var(--line); font-size: 14px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav a.active::after { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }

  .hero { padding-top: 110px; }
  .visual { width: 100%; opacity: .55; }
  .hero__text { max-width: 100%; }
  .stat--tag { display: none; }

  .services__inner, .process__inner, .stack__inner, .about__inner, .faq__inner { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr; }
  .reviews, .posts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr; }
  .thumb { height: 200px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 30px; padding-left: 22px; }
  .steps li:nth-child(2)::after { display: none; }
  .tech { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
  .tech li { border-bottom: 1px solid var(--line); }
  .cta__inner { grid-template-columns: 1fr; gap: 20px; }
  .cta__text { margin: 0; max-width: 100%; }
  .cta__inner .btn { justify-self: start; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .ring { --size: 300px; --thick: 48px; }
  .ring--b { --size: 270px; --thick: 40px; }
  .hero__actions { flex-wrap: wrap; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .visual > [data-depth] { transition: none; }
  .theme-toggle, .theme-toggle svg { transition: none; }
}

.footer__bottom p a { text-decoration: underline; text-underline-offset: 2px; }
