/* AI2Business — Editorial Cinematic AI-Lab */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/unbounded-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/unbounded-500.woff2") format("woff2");
  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: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/unbounded-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/unbounded-700.woff2") format("woff2");
  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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-cyr-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
  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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
  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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-cyr-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
  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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-cyr-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  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;
}

:root {
  --bg: #080809;
  --bg-elevated: #0e0e10;
  --surface: rgba(20, 20, 24, 0.72);
  --surface-solid: #141418;
  --surface-2: #1a1a1f;
  --text: #f4f4f5;
  --muted: #9b9ba3;
  --faint: #6b6b74;
  --accent: #ff6b00;
  --accent-soft: rgba(255, 107, 0, 0.14);
  --accent-line: rgba(255, 107, 0, 0.45);
  --accent-hover: #ff8533;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --max: 1180px;
  --prose: 780px;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --display: "Unbounded", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}

/* Atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(255, 107, 0, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at 92% 8%, rgba(255, 140, 40, 0.07), transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 90%, rgba(255, 107, 0, 0.05), transparent 55%),
    linear-gradient(180deg, #0b0b0d 0%, var(--bg) 40%, #09090b 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: var(--prose);
}

.muted {
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 9, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

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

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #ff9a3c);
  box-shadow: 0 0 24px rgba(255, 107, 0, 0.35);
  position: relative;
  flex-shrink: 0;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(0, 0, 0, 0.35);
  border-radius: 3px;
  border-right-color: transparent;
}

.site-nav {
  display: flex;
  gap: 0.15rem;
  margin-left: auto;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

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

.header-cta {
  margin-left: 0.5rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-accent {
  background: var(--accent);
  color: #120c08;
  box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.3), 0 8px 28px rgba(255, 107, 0, 0.25);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #120c08;
  box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.4), 0 12px 36px rgba(255, 107, 0, 0.35);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--accent-line);
  color: var(--text);
  background: var(--accent-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -10% -5%;
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 0%, transparent 70%);
  animation: grid-drift 28s linear infinite;
  opacity: 0.7;
}

.hero-nodes {
  position: absolute;
  right: max(2%, calc(50% - 520px));
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 48vw);
  height: min(420px, 55vh);
  opacity: 0.9;
}

.hero-nodes svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.brand-signal {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  background: linear-gradient(120deg, #fff 30%, #ffc08a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.mono-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

h1,
.h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.7;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 0.85s var(--ease) forwards;
}

.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.18s; }
.reveal-d3 { animation-delay: 0.28s; }
.reveal-d4 { animation-delay: 0.38s; }

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, -48px, 0); }
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.hero-nodes .pulse {
  animation: node-pulse 3.2s ease-in-out infinite;
}

.hero-nodes .pulse-2 {
  animation-delay: 1.1s;
}

.hero-nodes .pulse-3 {
  animation-delay: 2s;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-inset {
  padding: 4.5rem 0;
}

.section-panel {
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.55), rgba(14, 14, 16, 0.8));
  border-block: 1px solid var(--border);
}

.section-kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-body p {
  color: var(--muted);
  font-size: 1.0625rem;
}

.section-body p + p {
  margin-top: 1rem;
}

/* Editorial tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tile {
  background: var(--surface-solid);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.25s;
}

.tile:hover {
  background: #1c1c22;
}

.tile:hover::before {
  background: var(--accent);
}

.tile-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
  margin-bottom: 1rem;
  display: block;
}

.tile h3 {
  margin-bottom: 0.65rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Cards / cases */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 107, 0, 0.08);
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9375rem;
}

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 107, 0, 0.25);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.9rem;
}

/* Magazine article list */
.article-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  align-items: start;
  transition: padding 0.25s var(--ease);
}

.article-row:hover {
  padding-left: 0.5rem;
}

.article-row:hover h2,
.article-row:hover h3 {
  color: var(--accent-hover);
}

.article-row time {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--faint);
  padding-top: 0.35rem;
}

.article-row h2,
.article-row h3 {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  color: var(--text);
  transition: color 0.2s;
}

.article-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-row .meta {
  display: inline-block;
  margin-top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
}

/* Legacy article-card maps to row style */
.article-card {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  background: transparent;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  transition: padding 0.25s var(--ease);
}

.article-list .article-card:first-child {
  border-top: 1px solid var(--border);
}

.article-card:hover {
  padding-left: 0.5rem;
}

.article-card:hover h2,
.article-card:hover h3 {
  color: var(--accent-hover);
}

.article-card time {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--faint);
  padding-top: 0.35rem;
}

.article-card h2,
.article-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  color: var(--text);
  transition: color 0.2s;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-card .meta,
.meta {
  display: inline-block;
  margin-top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-list li {
  font-family: var(--mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.tag-list li:hover {
  border-color: var(--accent-line);
  color: var(--text);
}

/* Stack */
.stack {
  display: grid;
  gap: 0;
}

.stack article {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 1.25rem;
}

.stack article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.7rem;
  width: 3px;
  height: 1.1rem;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
}

.stack p {
  color: var(--muted);
  margin: 0;
}

/* Breadcrumbs */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--border-strong);
}

/* Article prose */
.page-hero {
  padding: 3.5rem 0 1rem;
}

.prose {
  max-width: var(--prose);
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  color: var(--muted);
  font-size: 0.9375rem;
  font-family: var(--mono);
}

.article-body {
  font-size: 1.0625rem;
}

.article-body h2 {
  margin-top: 2.75rem;
}

.article-body h3 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

.article-body p,
.article-body li {
  color: #c8c8ce;
}

.article-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 107, 0, 0.4);
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-body pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.article-body code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: rgba(255, 107, 0, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.article-body pre code {
  background: none;
  padding: 0;
}

.article-body .lead {
  font-size: 1.2rem;
  color: #d8d8de;
  line-height: 1.7;
  max-width: none;
}

.article-body .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.article-body .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.article-body .button:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--text);
  text-decoration: none;
}

.article-body .button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #120c08;
}

.article-body .button.primary:hover {
  background: var(--accent-hover);
  color: #120c08;
}

.article-body figure {
  margin: 2rem 0;
}

.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #121214;
}

.article-body figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--faint);
  line-height: 1.55;
}

.article-body .facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  padding: 1.35rem 0;
  border-block: 1px solid var(--border);
}

.article-body .facts strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.article-body .facts span {
  font-size: 0.75rem;
  color: var(--muted);
}

.article-body .table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.article-body caption {
  text-align: left;
  font-size: 0.75rem;
  color: var(--faint);
  margin-bottom: 0.75rem;
}

.article-body th,
.article-body td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.article-body thead th {
  color: var(--faint);
  font-weight: 500;
  font-size: 0.75rem;
}

.article-body tfoot {
  color: var(--accent);
  background: var(--accent-soft);
}

.article-body .callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.4rem;
  margin: 1.75rem 0;
}

.article-body .callout strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.article-body .callout p {
  margin: 0;
}

.article-body .demo-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.article-body .demo-card .eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.article-body .demo-card h3 {
  margin: 0 0 0.5rem;
}

.article-body .demo-card p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
}

.article-body .file-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.article-body .file-list a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.article-body .file-list a:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--text);
  text-decoration: none;
}

.article-body .file-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.article-body .file-list small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.article-body .small {
  font-size: 0.8125rem;
  color: var(--faint);
}

.article-body .contact-card {
  margin: 3rem 0 1rem;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 0, 0.28);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), transparent 55%);
}

.article-body .contact-card .eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.article-body .contact-card h2 {
  margin-top: 0.5rem;
}

.article-body .contact-name {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .article-body .facts {
    grid-template-columns: 1fr;
  }

  .article-body .file-list {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(20, 20, 24, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.faq-item[open] {
  border-left-color: var(--accent);
  background: rgba(26, 26, 31, 0.9);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 1.1rem 1.35rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  color: var(--muted);
  margin: 0;
  padding: 0 1.35rem 1.25rem;
}

/* Contacts */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}

.contact-list li {
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: baseline;
}

.contact-list strong {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  min-width: 6rem;
}

.contact-list-lg a {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-list-lg a:hover {
  color: var(--accent);
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.4;
}

.geo-note {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 0.35rem;
}

.office-line {
  display: block;
}

.geo-cities-line {
  margin: 0;
  line-height: 1.5;
}

.geo-cities-line a,
.office-line a,
.geo-topics a,
.tag-list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.geo-cities-line a:hover,
.office-line a:hover,
.geo-topics a:hover,
.tag-list a:hover {
  color: var(--accent);
}

.contact-offices {
  align-items: flex-start;
}

.contact-panel {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 107, 0, 0.06), transparent 50%), var(--surface-solid);
}

.consult-offer {
  padding: 2rem;
  border: 1px solid rgba(255, 107, 0, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), transparent 55%);
}

.consult-price-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.consult-price {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.75rem;
}

.consult-list {
  color: var(--muted);
  padding-left: 1.25rem;
  margin: 0 0 2rem;
}

.consult-list li {
  margin: 0.5rem 0;
}

.consult-card {
  display: block;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-solid);
  color: inherit;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.consult-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  color: inherit;
}

.consult-card h2 {
  font-size: 1.35rem;
  margin: 0.5rem 0;
  color: var(--text);
}

.consult-card p {
  margin: 0;
  color: var(--muted);
}

.consult-card-price {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent) !important;
  margin: 1rem 0 0.5rem !important;
}

.consult-card-link {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(14, 14, 16, 0.9));
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--muted);
  max-width: 22rem;
  margin: 0;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 1rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer nav a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
}

/* Scroll reveal for sections */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 960px) {
  .tile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-nodes {
    opacity: 0.35;
    width: min(380px, 70vw);
    right: -5%;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 0.15rem;
    margin-left: 0;
  }

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

  .site-nav a {
    padding: 0.85rem 0.75rem;
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article-card,
  .article-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 4rem;
  }

  .hero-nodes {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-grid {
    animation: none;
  }
}
