/* Test home page: dark, futuristic, fast. Builds on fonts and tokens in site.css. */

.x {
  --bg: #f3f4f1;
  --bg-2: #e7eae5;
  --panel: #ffffff;
  --line: rgba(15, 27, 45, 0.13);
  --txt: #0f1b2d;
  --txt-2: #475468;
  --glow: #0a3a66;
  --glow-2: #0a3a66;
  --red: #b3362b;
  --red-2: #8f281f;
  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
  background: var(--bg);
  color: var(--txt);
}
.x a { color: inherit; }
.x ::selection { background: var(--red); color: #fff; }

/* navy scenes: same variables, dark values */
.dk { --bg: #e6edf4; --bg-2: #dbe5ef; --panel: #ffffff; --line: rgba(10, 58, 102, 0.16); background: var(--bg); color: var(--txt); }

/* scroll progress, a thin red thread along the top */
.x-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.x-progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* header: glass bar */
.x-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 14px var(--m); transition: background-color 200ms ease, backdrop-filter 200ms ease;
}
.x-head { color: var(--txt); }
.x-head .x-nav a { color: var(--txt-2); }
.night .x-head { color: #e9eff7; }
.night .x-head .x-nav a { color: rgba(233, 239, 247, 0.8); }
.x-head.solid { color: var(--txt); }
.x-head.solid .x-nav a { color: var(--txt-2); }
.x-head.solid .mark img { filter: none; }
.x-head.solid { background: rgba(243, 244, 241, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.x-head .mark { color: inherit; }
.night .x-head .mark img { filter: brightness(0) invert(1); }
.x-nav { display: flex; gap: 26px; margin-left: auto; }
.x-nav a { text-decoration: none; font-size: 15px; font-weight: 500; transition: color 150ms ease; }
.x-head .x-nav a:hover { color: var(--red); }
@media (max-width: 900px) { .x-nav { display: none; } .x-head .x-btn { margin-left: auto; } }

/* buttons */
.x-btn, .x-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease-ui), background-color 150ms ease, box-shadow 200ms ease, border-color 150ms ease;
}
.x-btn { background: var(--red); color: #fff; box-shadow: 0 0 0 rgba(255, 75, 62, 0); }
.x-ghost { border: 1px solid var(--line); color: var(--txt); background: var(--panel); }
.x-btn.big { min-height: 56px; padding: 0 30px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .x-btn:hover { background: var(--red-2); }
  .x-ghost:hover { border-color: var(--glow); }
}
.x-btn:active, .x-ghost:active { transform: scale(0.97); }

.x-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin: 0 0 16px; }
.x-h1 { font-size: clamp(46px, 8vw, 132px); line-height: 0.92; letter-spacing: -0.05em; font-weight: 800; margin: 0; }
.x-h2 { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; margin: 0; max-width: 18ch; }
.x-lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--txt-2); max-width: 46ch; margin: 0; }
.x-small { font-size: 14px; color: var(--txt-2); }
.x-small.center { text-align: center; }
.x-head2 { padding: 0 var(--m); margin-bottom: clamp(40px, 5vw, 72px); }
.x section { position: relative; }

/* ---------- hero ---------- */
.x-hero { min-height: 100svh; display: grid; align-items: end; overflow: hidden; }

.x-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.x-hero-in { position: relative; z-index: 2; padding: 140px var(--m) clamp(40px, 6vw, 80px); display: grid; gap: 28px; justify-items: start; }
.x-h1 .h-off, .x-h1 .h-on { display: block; transition: opacity 260ms var(--ease-ui), transform 360ms var(--ease-ui), filter 260ms ease; }
.x-h1 .h-on { opacity: 0; transform: translateY(18px); filter: blur(8px); }
/* both headlines share one grid cell, so the taller one sets the height and nothing overlaps */
.x-hero .x-h1 { display: grid; }
.x-hero .x-h1 > span { grid-area: 1 / 1; }
.x-hero.on .x-h1 .h-off { opacity: 0; transform: translateY(-18px); filter: blur(8px); }
.x-hero.on .x-h1 .h-on { opacity: 1; transform: none; filter: none; }
.x-activate {
  display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 6px 0; cursor: pointer;
  color: var(--txt); font: 700 14px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase;
}
.x-activate .sw { width: 64px; height: 34px; border-radius: 999px; border: 2px solid var(--txt); position: relative; transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease; }
.x-activate .sw span { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--txt); transition: transform 240ms var(--ease-ui), background-color 200ms ease; }
.x-activate[aria-pressed="true"] .sw { border-color: var(--red); background: rgba(179, 54, 43, 0.12); }
.x-activate[aria-pressed="true"] .sw span { transform: translateX(30px); background: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .js .x-activate[aria-pressed="false"] .sw { animation: pulse 2s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(233, 239, 247, 0.4); } 80%, 100% { box-shadow: 0 0 0 14px rgba(233, 239, 247, 0); } }
.x-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- services ---------- */
.x-services { padding: clamp(96px, 12vw, 180px) 0; background: var(--bg); }
.svc-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); padding: 0 var(--m); align-items: start; }
.svc { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.svc li { border-top: 1px solid var(--line); counter-increment: s; }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc button {
  width: 100%; display: flex; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; cursor: pointer;
  color: var(--txt-2); font: 700 clamp(24px, 2.6vw, 40px)/1.1 var(--font); letter-spacing: -0.03em; text-align: left;
  transition: color 150ms ease;
}
.svc button::before { content: counter(s, decimal-leading-zero); font-size: 13px; letter-spacing: 0.1em; color: var(--glow); font-weight: 600; width: 28px; }
.svc li.open button, .svc button:hover { color: var(--txt); }
.svc .n { flex: 1; }
.svc .pl { width: 18px; height: 18px; position: relative; flex: none; }
.svc .pl::before, .svc .pl::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: currentColor; transition: transform 200ms var(--ease-ui); }
.svc .pl::after { transform: rotate(90deg); }
.svc li.open .pl::after { transform: rotate(0deg); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--ease-ui); }
.svc-body > * { overflow: hidden; }
.svc li.open .svc-body { grid-template-rows: 1fr; }
.svc-body { padding-left: 48px; }
.svc-body p { margin: 0; color: var(--txt-2); max-width: 46ch; }
.svc-body a { display: inline-block; margin: 0; font-weight: 600; color: var(--glow); text-decoration: none; }
.svc-body > div, .svc li .svc-body { gap: 0; }
.svc li.open .svc-body { padding-bottom: 24px; }
.svc li.open .svc-body a { margin-top: 12px; }
.svc-body a::after { content: " \2192"; }
.svc-preview { position: sticky; top: 110px; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity 180ms ease; }
.svc-preview img.swap { opacity: 0.2; }
.svc-preview .scan { display: none; }
@media (max-width: 860px) {
  .svc-wrap { grid-template-columns: 1fr; }
  .svc-preview { display: none; }
  .svc-body { padding-left: 0; }
  .svc button::before { display: none; }
}

/* ---------- pinned scenes (kept short so scrolling never feels heavy) ---------- */
[data-pin] { position: relative; }
.x-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }

.x-chaos { height: 200svh; background: var(--bg-2); }
.x-swap { position: absolute; left: var(--m); top: 13svh; margin: 0; font-size: clamp(44px, 7vw, 120px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; z-index: 2; }
.x-swap span { display: block; transition: opacity 220ms var(--ease-ui), transform 300ms var(--ease-ui); }
.x-swap .b { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(30%); color: var(--red); }
.x-chaos.done .x-swap .a { opacity: 0; transform: translateY(-30%); }
.x-chaos.done .x-swap .b { opacity: 1; transform: none; }
.chips { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.chips li {
  position: absolute; left: 50%; top: 58%; width: 150px; height: 62px; margin: -31px 0 0 -75px; border-radius: 14px;
  display: grid; place-items: center; font-weight: 700; font-size: 17px; color: var(--txt);
  background: #fff; border: 1px solid var(--line);
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
  will-change: transform;
}
.x-chaos.done .chips li { background: var(--glow); border-color: var(--glow); color: rgba(255, 255, 255, 0.35); }
.x-odoo {
  position: absolute; left: 50%; top: 58%; margin: 0; transform: translate(-50%, -50%) scale(0.94); opacity: 0;
  font-size: clamp(64px, 11vw, 190px); font-weight: 800; letter-spacing: -0.06em; color: #fff; z-index: 3; pointer-events: none;
  transition: opacity 260ms var(--ease-ui), transform 400ms var(--ease-ui);
}
.x-chaos.done .x-odoo { opacity: 1; transform: translate(-50%, -50%); }
.x-note { position: absolute; left: var(--m); bottom: 9svh; margin: 0; font-size: clamp(20px, 2vw, 28px); max-width: 22ch; color: var(--txt-2); opacity: 0; transition: opacity 260ms ease; }
.x-chaos.done .x-note { opacity: 1; }
@media (max-width: 700px) { .chips li { width: 100px; height: 46px; margin: -23px 0 0 -50px; font-size: 14px; } }

.x-chain { height: 300svh; background: var(--bg-2); }
.chain-h { position: absolute; left: var(--m); top: 12svh; z-index: 2; max-width: 30ch; }
.chain-h .x-h2 { font-size: clamp(28px, 3vw, 48px); }
.track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; padding-top: 16svh !important; gap: clamp(28px, 5vw, 96px); padding: 0 var(--m) 0 max(var(--m), 40vw); will-change: transform; }
.track-line { position: absolute; left: 0; right: 0; top: 50%; height: 4px; background: var(--line); }
.track-line span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.link { position: relative; flex: none; width: min(70vw, 440px); margin: 0; padding: 14px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.link figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; }
.link img { width: 100%; height: 100%; object-fit: cover; }
.link h3 { margin: 16px 4px 6px; font-size: clamp(32px, 3.4vw, 54px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.link p { margin: 0 4px 6px; color: var(--txt-2); font-size: 15px; }
.link.lit { border-color: var(--red); }
.link { transition: border-color 250ms ease; }

/* ---------- ask Mimira ---------- */
.x-ask { padding: clamp(96px, 12vw, 180px) 0; }
.ask-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding: 0 var(--m); align-items: start; }
.ask-q { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ask-q button {
  width: 100%; text-align: left; padding: 16px 20px; border-radius: 14px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--txt-2); font: 600 17px/1.3 var(--font);
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 140ms var(--ease-ui);
}
.ask-q button:hover { color: var(--txt); border-color: rgba(74, 168, 255, 0.5); }
.ask-q button:active { transform: scale(0.98); }
.ask-q button[aria-pressed="true"] { background: var(--glow); border-color: var(--glow); color: #fff; }
.ask-panel {
  position: sticky; top: 110px; min-height: 340px; padding: clamp(24px, 3vw, 40px); border-radius: 22px;
  background: #fff; border: 1px solid var(--line);
  display: grid; align-content: start; gap: 20px;
}
.ask-who { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; color: var(--red); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }

.ask-a { margin: 0; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; letter-spacing: -0.015em; min-height: 6.5em; }
.ask-a.typing::after { content: ""; display: inline-block; width: 0.5em; height: 1em; margin-left: 2px; background: var(--red); vertical-align: -0.12em; animation: blink 700ms steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-panel .x-ghost { justify-self: start; }
.ask-inline { display: none; }
/* Phones: an accordion. The answer opens right under the question that was tapped, so it is never off screen. */
@media (max-width: 860px) {
  .ask-wrap { grid-template-columns: 1fr; gap: 20px; }
  .ask-q { gap: 10px; }
  .ask-q button { position: relative; padding-right: 52px; }
  .ask-q button::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--font); }
  .ask-q button[aria-pressed="true"]::after { content: "\2212"; }
  .ask-q li.open button { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .ask-q li.open .ask-inline { display: block; }
  .ask-inline { padding: 16px 20px 20px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: var(--panel); }
  .ask-inline p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--txt); }
  .night .ask-inline { background: rgba(255, 255, 255, 0.04); }
  /* the box with the typed answer is only needed on wide screens; keep the two contact buttons */
  .ask-panel { position: relative; top: 0; min-height: 0; padding: 0; background: none !important; border: 0; gap: 0; }
  .ask-panel .ask-who, .ask-panel .ask-a { display: none; }
}

/* ---------- industries ---------- */
.x-ind { padding: 0 0 clamp(96px, 12vw, 180px); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 var(--m); }
.ind { position: relative; aspect-ratio: 4 / 3.4; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transform-style: preserve-3d; transition: transform 200ms var(--ease-ui), border-color 200ms ease; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 250ms ease, transform 600ms var(--ease-ui); }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 35, 61, 0) 30%, rgba(8, 35, 61, 0.92) 85%); }
.ind div { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; color: #fff; }
.ind h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; }
.ind p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 15px; max-width: 34ch; }
@media (hover: hover) and (pointer: fine) {
  .ind:hover { border-color: rgba(74, 168, 255, 0.55); }
  .ind:hover img { transform: scale(1.05); }
}
@media (max-width: 1000px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- numbers ---------- */
.x-nums { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.x-nums > div { background: var(--bg); padding: clamp(32px, 4vw, 64px) clamp(16px, 2vw, 28px); }
.x-nums .big { margin: 0 0 10px; font-size: clamp(48px, 5.4vw, 96px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: var(--glow); white-space: nowrap; }
.x-nums p { margin: 0; color: var(--txt-2); font-size: 15px; }
@media (max-width: 1000px) { .x-nums { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .x-nums { grid-template-columns: repeat(2, 1fr); } }

/* ---------- phases ---------- */
.x-phases { padding: clamp(96px, 12vw, 180px) 0; }
.ph { list-style: none; margin: 0; padding: 0 var(--m); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.ph::before { content: ""; position: absolute; left: var(--m); right: var(--m); top: 13px; height: 3px; background: var(--line); }
.ph::after { content: ""; position: absolute; left: var(--m); right: var(--m); top: 13px; height: 3px; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ph li { position: relative; padding-top: 52px; }
.ph li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 3px solid var(--line); z-index: 1; transition: border-color 200ms ease, box-shadow 200ms ease; }
.ph li.lit::before { border-color: var(--red); background: var(--red); }
.ph h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; }
.ph p { margin: 0; color: var(--txt-2); font-size: 15px; }
@media (max-width: 860px) {
  .ph { grid-template-columns: 1fr; gap: 28px; padding-left: calc(var(--m) + 44px); }
  .ph::before, .ph::after { left: calc(var(--m) + 10px); right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .ph li { padding-top: 0; }
  .ph li::before { left: -44px; }
}

/* ---------- calculator ---------- */
.x-calc { padding: 0 var(--m) clamp(96px, 12vw, 180px); }
.calc-glass {
  border-radius: 28px; padding: clamp(28px, 5vw, 72px); border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px clamp(24px, 4vw, 64px); align-items: end;
}
.calc-glass .x-kicker, .calc-glass .x-h2 { grid-column: 1 / -1; }
.calc-glass .x-h2 { margin-bottom: 8px; }
.calc-glass .calc-big { margin: 0; font-size: clamp(60px, 10vw, 180px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; white-space: nowrap; }
.calc-glass .per { font-size: 0.3em; margin-left: 0.15em; color: var(--txt-2); letter-spacing: -0.02em; }
.calc-hours { grid-column: 1; margin: 0; color: var(--txt-2); font-size: 18px; }
.x-sliders { grid-column: 2; grid-row: 3 / span 2; display: grid; gap: 20px; }
.x-sliders label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-weight: 600; }
.x-sliders output { color: var(--glow); font-variant-numeric: tabular-nums; }
.x-sliders input { grid-column: 1 / -1; width: 100%; accent-color: var(--red); height: 30px; margin: 0; }
.calc-glass .x-small { grid-column: 1 / -1; margin: 8px 0 0; }
.calc-glass a { color: var(--glow); }
@media (max-width: 860px) { .calc-glass { grid-template-columns: 1fr; } .x-sliders { grid-column: 1; grid-row: auto; } }

/* ---------- pricing ---------- */
.x-price { padding: 0 0 clamp(96px, 12vw, 180px); }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 var(--m); }
.pr { border-radius: 22px; padding: 32px 28px; border: 1px solid var(--line); background: var(--panel); display: grid; align-content: start; gap: 6px; transition: transform 200ms var(--ease-ui), border-color 200ms ease; }
.pr.hot { border-color: var(--red); background: #fff; box-shadow: inset 0 6px 0 var(--red); }
.pr h3 { margin: 0 0 10px; font-size: 20px; }
.pr .amt { margin: 0; font-size: clamp(40px, 4vw, 64px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.pr .per { margin: 0 0 18px; color: var(--txt-2); font-size: 14px; }
.pr ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; color: var(--txt-2); }
.pr li::before { content: "\2192"; color: var(--glow); margin-right: 10px; }
.pr .x-btn, .pr .x-ghost { justify-self: start; }
@media (hover: hover) and (pointer: fine) { .pr:hover { transform: translateY(-4px); border-color: rgba(74, 168, 255, 0.5); } }
@media (max-width: 860px) { .pr-grid { grid-template-columns: 1fr; } }

/* ---------- marquee ---------- */
.x-marquee { padding: clamp(40px, 6vw, 96px) 0; overflow: hidden; border-block: 1px solid var(--line); }
.x-marquee .row { display: flex; width: max-content; white-space: nowrap; font-size: clamp(44px, 7vw, 120px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.08; will-change: transform; }
.x-marquee .r2 { color: var(--red); }
.x-marquee .row span { padding-right: 0.3em; }

/* ---------- CTA ---------- */
.x-cta { min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.x-cta-in { position: relative; z-index: 2; padding: 120px var(--m); display: grid; gap: 32px; justify-items: start; }
.magnet {
  width: clamp(140px, 14vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; text-decoration: none; font-weight: 800; font-size: clamp(22px, 2vw, 28px);
  transition: transform 300ms var(--ease-ui), background-color 150ms ease, box-shadow 200ms ease; will-change: transform;
}
.magnet span { transition: transform 300ms var(--ease-ui); }
.magnet:hover { background: var(--red-2); color: #fff; }

/* dock: quick actions once past the hero */
.x-dock {
  position: fixed; right: var(--m); bottom: 20px; z-index: 45; display: flex; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(243, 244, 241, 0.92); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 200ms ease, transform 250ms var(--ease-ui);
}
.x-dock.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 600px) { .x-dock { left: 12px; right: 12px; justify-content: center; } }

.x-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 28px var(--m) 100px; border-top: 1px solid var(--line); color: var(--txt-2); font-size: 14px; }

/* reveals: quick, short travel */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rv] { opacity: 0; transform: translateY(20px); transition: opacity 500ms var(--ease-ui), transform 500ms var(--ease-ui); }
  .js [data-rv].in { opacity: 1; transform: none; }
}

/* reduced motion: finished states, nothing travels or pins */
@media (prefers-reduced-motion: reduce) {
  .x-chaos, .x-chain { height: auto; }
  .x-stage { position: relative; height: auto; min-height: 100svh; }
  .x-chain .x-stage { overflow-x: auto; }
  .track { position: relative; height: 100svh; transform: none !important; }
  .track-line span { transform: none; }
  .ph::after { transform: none; }
}

/* ===================== NIGHT: the dark, futuristic look (default) ===================== */
.x.night, .night .dk {
  --bg: #04080f; --bg-2: #0a1422; --panel: rgba(255, 255, 255, 0.045); --line: rgba(160, 200, 255, 0.16);
  --txt: #e9eff7; --txt-2: #9fb0c6; --glow: #4aa8ff; --red: #ff4b3e; --red-2: #d63a2f;
}
.x.night { background: var(--bg); color: var(--txt); }
.night .x-progress span { background: var(--red); box-shadow: 0 0 12px var(--red); }
.night .x-head.solid { background: rgba(4, 8, 15, 0.72); color: var(--txt); }
.night .x-head.solid .x-nav a { color: var(--txt-2); }
.night .x-head.solid .mark img { filter: brightness(0) invert(1); }
.night .x-kicker { color: var(--glow); }
.night .dk .x-kicker { color: var(--glow); }
@media (hover: hover) and (pointer: fine) {
  .night .x-btn:hover { box-shadow: 0 0 28px rgba(255, 75, 62, 0.45); }
  .night .x-ghost:hover { box-shadow: 0 0 24px rgba(74, 168, 255, 0.25); }
  .night .pr:hover { border-color: rgba(74, 168, 255, 0.5); }
  .night .ind:hover img { opacity: 0.85; }
}
.night .x-hero { background: radial-gradient(120% 80% at 70% 40%, #0b1d36 0%, var(--bg) 60%); }
.night .x-activate[aria-pressed="true"] .sw { border-color: var(--red); background: rgba(255, 75, 62, 0.15); box-shadow: 0 0 24px rgba(255, 75, 62, 0.5); }
.night .x-activate[aria-pressed="true"] .sw span { background: var(--red); }
.night .svc-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 15, 0) 50%, rgba(4, 8, 15, 0.7)), linear-gradient(120deg, rgba(74, 168, 255, 0.18), rgba(255, 75, 62, 0.08)); }
.night .svc-preview img { filter: saturate(0.85) contrast(1.05); }
.night .x-chaos { background: radial-gradient(80% 60% at 50% 60%, #0c1a2e, var(--bg)); }
.night .chips li { background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.night .x-chaos.done .chips li { background: rgba(29, 111, 214, 0.35); border-color: rgba(74, 168, 255, 0.6); box-shadow: 0 0 22px rgba(74, 168, 255, 0.35); }
.night .x-swap .b { color: var(--glow); }
.night .x-odoo { text-shadow: 0 0 40px rgba(74, 168, 255, 0.9); }
.night .track-line { background: rgba(255, 255, 255, 0.08); }
.night .track-line span { background: var(--red); box-shadow: 0 0 16px var(--red); }
.night .link { background: rgba(10, 20, 34, 0.85); }
.night .link.lit { border-color: rgba(255, 75, 62, 0.6); box-shadow: 0 0 34px rgba(255, 75, 62, 0.22); }
.night .ask-q button[aria-pressed="true"] { background: rgba(29, 111, 214, 0.22); border-color: var(--glow); }
.night .ask-panel { background: linear-gradient(160deg, rgba(29, 111, 214, 0.16), rgba(255, 255, 255, 0.03)); }
.night .ask-who { color: var(--glow); }
.night .ask-who img { filter: brightness(0) invert(1); }
.night .ask-a.typing::after { background: var(--glow); }
.night .ind img { opacity: 0.6; filter: saturate(0.8); }
.night .ind::after { background: linear-gradient(180deg, rgba(4, 8, 15, 0.1), rgba(4, 8, 15, 0.92) 78%); }
.night .x-nums .big { background: linear-gradient(180deg, #fff, #7fb9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.night .ph::after { box-shadow: 0 0 14px var(--red); }
.night .ph li.lit::before { background: var(--bg); box-shadow: 0 0 16px var(--red); }
.night .calc-glass { background: radial-gradient(90% 120% at 100% 0%, rgba(255, 75, 62, 0.22), transparent 60%), radial-gradient(80% 100% at 0% 100%, rgba(29, 111, 214, 0.28), transparent 60%), var(--bg-2); }
.night .calc-glass .calc-big { text-shadow: 0 0 40px rgba(255, 75, 62, 0.35); }
.night .pr { background: var(--panel); }
.night .pr.hot { background: linear-gradient(180deg, rgba(255, 75, 62, 0.14), rgba(255, 255, 255, 0.03)); box-shadow: 0 0 40px rgba(255, 75, 62, 0.15); border-color: rgba(255, 75, 62, 0.65); }
.night .x-marquee .r2 { color: transparent; -webkit-text-stroke: 1.5px rgba(159, 176, 198, 0.6); }
.night .x-cta { background: radial-gradient(70% 70% at 50% 60%, #0d1f3a, var(--bg)); }
.night .magnet { box-shadow: 0 0 60px rgba(255, 75, 62, 0.45); }
.night .magnet:hover { box-shadow: 0 0 90px rgba(255, 75, 62, 0.65); }
.night .x-dock { background: rgba(4, 8, 15, 0.7); }

/* theme switch in the header */
.x-theme {
  position: relative; width: 78px; height: 40px; flex: none; padding: 0 11px; border-radius: 999px;
  border: 1px solid currentColor; background: none; color: inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: transform 140ms var(--ease-ui), border-color 150ms ease;
}
.x-theme:active { transform: scale(0.96); }
.x-theme svg { position: relative; z-index: 1; width: 16px; height: 16px; fill: currentColor; transition: opacity 200ms ease, fill 200ms ease; }
.x-theme .knob { position: absolute; top: 3px; left: 3px; width: 32px; height: 32px; border-radius: 50%; background: currentColor; transition: transform 240ms var(--ease-ui); }
.x-theme .sun { fill: var(--bg); }
.x-theme .moon { opacity: 0.6; }
.night .x-theme .knob { transform: translateX(38px); }
.night .x-theme .sun { fill: currentColor; opacity: 0.6; }
.night .x-theme .moon { fill: var(--bg); opacity: 1; }
.night .x-head .x-theme .moon { fill: #04080f; }
.night .x-head .x-theme .sun { fill: currentColor; }
.x.theming, .x.theming * { transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease !important; }

.x-head .x-btn { white-space: nowrap; }
@media (max-width: 480px) {
  .x-head { gap: 10px; padding-inline: 14px; }
  .x-head .mark span { font-size: 17px; }
  .x-head .mark small { display: none; }
  .x-head .x-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .x-theme { width: 70px; height: 38px; padding: 0 10px; }
  .x-theme .knob { width: 30px; height: 30px; }
  .night .x-theme .knob { transform: translateX(32px); }
}

/* icons in buttons, WhatsApp, language link, contact row */
.x-btn svg, .x-ghost svg { width: 18px; height: 18px; fill: currentColor; margin-right: 9px; flex: none; }
.x-btn.big svg { width: 20px; height: 20px; }
.wa-btn svg.wa { fill: #25d366; }
@media (hover: hover) and (pointer: fine) { .wa-btn:hover { border-color: #25d366; } }
.x-lang { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-decoration: none; padding: 10px 6px; opacity: 0.85; transition: opacity 150ms ease; }
.x-lang:hover { opacity: 1; color: var(--red); }
.contact-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.x-dock .wa-btn svg { margin-right: 8px; }
@media (max-width: 420px) { .x-dock .wa-txt { display: none; } .x-dock .wa-btn svg { margin-right: 0; } }
@media (max-width: 900px) { .x-lang { margin-left: auto; } .x-head .x-theme { margin-left: 0; } }
.x-social { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; color: var(--txt); transition: border-color 150ms ease, color 150ms ease, transform 140ms var(--ease-ui); }
.x-social svg { width: 18px; height: 18px; fill: currentColor; }
.x-social:hover { border-color: var(--glow); color: var(--glow); }
.x-social:active { transform: scale(0.95); }
.contact-row .soc { display: flex; gap: 10px; }
.x-foot { align-items: center; }
.foot-soc { display: flex; gap: 10px; margin-left: auto; }
.foot-soc .x-social { width: 40px; height: 40px; }
/* `.x a { color: inherit }` must not win over filled buttons */
.x a.x-btn, .x a.x-btn:hover, .x a.magnet, .x a.magnet:hover { color: #fff; }

/* ===================== the whole site in the new look =====================
   site.css components read these tokens, so pointing them at the theme
   variables makes every older section follow light and dark. */
.x {
  --paper: var(--bg); --paper-2: var(--bg-2); --ink: var(--txt); --muted: var(--txt-2);
  --navy: var(--glow); --navy-deep: var(--bg-2); --on-dark: var(--txt); --on-dark-muted: var(--txt-2);
  --thread: var(--red); --thread-deep: var(--red-2); --sky: #dde8f1;
}
.x.night { --sky: rgba(74, 168, 255, 0.11); }
.x .page { background: var(--bg); }
.x .display, .x .h2 { font-weight: 800; letter-spacing: -0.045em; }
.x .btn { border-radius: 999px; }
.x a.btn, .x a.btn:hover, .x button.btn { color: #fff; }
.x .btn-ink, .x a.btn-ink, .x .btn-light, .x a.btn-light { background: var(--panel); color: var(--txt); border: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .x .btn-ink:hover, .x .btn-light:hover { background: var(--panel); border-color: var(--glow); color: var(--txt); } }
.x .text-page.navy { background: var(--bg-2); color: var(--txt); }
.x .text-page.navy .dots li::before { background: var(--red); }
.x .text-page .aside img, .x .row img, .x .intro-photo img { border-radius: 18px; }
.x .quiz-result { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; color: var(--txt); }
.x .quiz-result h3 { color: var(--txt); }
.x .quiz .opt { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.x .quiz .opt:hover { background: var(--sky); }
.x .form input[type="text"], .x .form input[type="email"], .x .form input[type="tel"], .x .form select, .x .form textarea {
  background: var(--panel); color: var(--txt); border: 1px solid var(--line); border-radius: 12px;
}
.x .form input:focus, .x .form select:focus, .x .form textarea:focus { border-color: var(--glow); outline: 3px solid var(--sky); }
.x .form select option { color: #0f1b2d; background: #fff; }
.x .price-table .rec, .x .price-table tbody tr:nth-child(odd) .rec { background: var(--sky); }
.x .faq-title { background: var(--red); color: #fff; }
.x .site-foot { border-top: 1px solid var(--line); }
.x .site-foot a:hover { color: var(--red); }
.x .foot-soc { display: flex; gap: 10px; margin-top: 10px; }
.x .foot-soc .x-social { width: 40px; height: 40px; }
.night .about-text .cap img { filter: brightness(0) invert(1); }
.x .x-nav a[aria-current="page"] { color: var(--txt); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.night .x-head .x-nav a[aria-current="page"] { color: #fff; }

/* page heroes: a quiet ring behind the title, room for the fixed header */
.x-pagehero { position: relative; overflow: hidden; padding-top: 72px; }
.x-pagehero .x-canvas { opacity: 0.9; }
.x-pagehero .page-hero { position: relative; z-index: 1; }
.night .x-pagehero { background: radial-gradient(90% 90% at 80% 30%, #0b1d36 0%, var(--bg) 65%); }

/* closing section on inner pages */
.x-close { position: relative; overflow: hidden; display: grid; align-items: center; min-height: 70svh; }
.x-close .x-cta-in { padding-block: 96px; }
.night .x-close { background: radial-gradient(70% 70% at 50% 60%, #0d1f3a, var(--bg)); }

/* menu on narrow screens */
.x-menu { display: none; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.x-menu span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform 200ms var(--ease-ui); }
@media (max-width: 900px) {
  .x-menu { display: inline-flex; }
  .x-head .x-book { display: none; }
  .x-head.open { background: var(--bg); flex-wrap: wrap; }
  .night .x-head.open { background: #04080f; }
  .x-head.open .x-nav { display: flex; flex-direction: column; width: 100%; order: 10; gap: 4px; padding: 12px 0 10px; margin: 0; }
  .x-head.open .x-nav a { font-size: 24px; font-weight: 700; color: inherit; padding: 6px 0; }
  .x-head.open .x-menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .x-head.open .x-menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* home: clear edges between sections, alternating grounds, no section leaning on the one before */
.x-services, .x-ask, .x-ind, .x-phases, .x-price { padding-block: clamp(88px, 10vw, 160px); }
.x-ask, .x-price { background: var(--bg-2); }
.x-calc { padding-block: clamp(88px, 10vw, 160px); }
.x-services, .x-ask, .x-ind, .x-nums, .x-phases, .x-calc, .x-price { border-top: 1px solid var(--line); }
.x-nums { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .x-nums { grid-template-columns: 1fr; } }
.x-ask .ask-panel { background: var(--panel); }
.night .x-ask .ask-panel { background: linear-gradient(160deg, rgba(29, 111, 214, 0.16), rgba(255, 255, 255, 0.03)); }
/* light theme: keep "Odoo" readable on the joined block */
.x:not(.night) .x-chaos.done .chips li { background: #dbe5ef; border-color: #b9cde0; color: rgba(10, 58, 102, 0.35); }
.x:not(.night) .x-odoo { color: var(--glow); }
/* inner-page ring sits at the far right, never behind the title */
.x-pagehero .x-canvas { left: auto; right: 0; width: 34%; opacity: 0.4; }
@media (max-width: 860px) { .x-pagehero .x-canvas { width: 60%; height: 50%; opacity: 0.35; } }

/* compact "who we are" box */
.x-brief { margin: clamp(64px, 8vw, 120px) var(--m); padding: clamp(28px, 4vw, 48px); border-radius: 22px; border: 1px solid var(--line); background: var(--panel); display: grid; gap: 18px; justify-items: start; max-width: 860px; }
.x-brief-h { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin: 0; }
.x-brief p { margin: 0; color: var(--txt-2); max-width: 56ch; }
.x-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.x-chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* the full menu needs about 1100px; below that the menu button takes over */
.x-nav a { white-space: nowrap; }
@media (max-width: 1100px) {
  .x-nav { display: none; }
  .x-lang { margin-left: auto; }
  .x-menu { display: inline-flex; }
  .x-head.open { background: var(--bg); flex-wrap: wrap; }
  .night .x-head.open { background: #04080f; }
  .x-head.open .x-nav { display: flex; flex-direction: column; width: 100%; order: 10; gap: 4px; padding: 12px 0 10px; margin: 0; }
  .x-head.open .x-nav a { font-size: 24px; font-weight: 700; color: inherit; padding: 6px 0; }
  .x-head.open .x-menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .x-head.open .x-menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* footer: a modest wordmark, not a full screen */
.x .site-foot { min-height: 0; grid-template-rows: auto auto auto; padding-top: 56px; }
.x .foot-mark { margin-top: 56px; }
.x .foot-mark { margin-top: 40px; }
.x .foot-mark svg { width: 180px; fill: var(--txt-2); opacity: 0.6; }
.x .site-foot .foot-soc { margin-left: 0; justify-content: flex-start; }

/* pricing page: cards instead of the wide table */
.pricing .pr-grid { grid-column: 1 / -1; padding: 0; }
.pr-full .pr { gap: 4px; }
.pr dl { margin: 18px 0 26px; display: grid; gap: 14px; }
.pr dt { font-size: 13px; color: var(--txt-2); margin-bottom: 3px; }
.pr dd { margin: 0; font-weight: 600; line-height: 1.4; }
.pricing .price-note { grid-column: 1 / -1; margin-top: 24px; }

/* ===================== phones ===================== */
/* the settling photo starts 10% larger; keep it inside its frame so the page never pans sideways */
.band-photo, .x .text-page .aside figure, .cta-strip > * { overflow: hidden; }
html { overflow-x: clip; }

/* touch targets of at least 44px on touch screens */
@media (pointer: coarse) {
  .x .mark { min-height: 44px; }
  .x-lang { min-height: 44px; display: inline-flex; align-items: center; }
  .x .tlink { display: inline-flex; align-items: center; min-height: 44px; }
  .x-sliders input[type="range"] { height: 44px; }
  .x-social { width: 44px; height: 44px; }
  .x .foot-soc .x-social { width: 44px; height: 44px; }
  .foot-cols a { display: inline-block; padding: 6px 0; }
  .x-theme { width: 84px; height: 44px; }
  .x-theme .knob { width: 36px; height: 36px; }
  .night .x-theme .knob { transform: translateX(40px); }
}
/* respect the iPhone home indicator */
.x-dock { bottom: max(20px, env(safe-area-inset-bottom)); }

/* cookie banner: small, bottom-left, both answers equally easy */
.x-consent {
  position: fixed; left: var(--m); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 70; max-width: 440px;
  padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); color: var(--txt);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); font-size: 15px; line-height: 1.5;
}
.night .x-consent { background: #0a1422; }
.x-consent p { margin: 0 0 14px; color: var(--txt-2); }
.x-consent strong { color: var(--txt); }
.x-consent a { color: var(--txt); }
.x-consent-b { display: flex; gap: 10px; flex-wrap: wrap; }
.x-consent-b .x-ghost { flex: 1; }
@media (max-width: 600px) { .x-consent { left: 12px; right: 12px; max-width: none; } }

.x-dock.off { display: none; }

/* photo band under page titles: a strip, not a second hero */
.x .band-photo img { height: clamp(170px, 30svh, 340px); }

/* review fixes */
/* services: everything inside a row folds away, the link included */
.svc-body > div { overflow: hidden; min-height: 0; }
.svc-body > div > a { display: inline-block; margin-top: 12px; }
.svc li.open .svc-body a { margin-top: 12px; }
/* closing ring stays at the right edge, never across the heading */
.x-cta .x-canvas, .x-close .x-canvas { left: auto; right: 0; width: 38%; opacity: 0.55; }
@media (max-width: 860px) { .x-cta .x-canvas, .x-close .x-canvas { width: 70%; height: 45%; top: 0; opacity: 0.3; } }
/* the home h1 line is the page's real title: readable, not a whisper */
.x-hero h1.x-kicker { font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 0.14em; line-height: 1.5; max-width: 52ch; }
/* phones: tighter rhythm between sections, a compact cookie banner, a lower FAQ band */
@media (max-width: 860px) {
  .x { --section: 64px; }
  .x .faq-title { min-height: 0; padding-top: 72px; }
}
@media (max-width: 600px) {
  .x-consent { padding: 14px 16px; font-size: 14px; }
  .x-consent p { margin-bottom: 10px; }
  .x-consent-b .x-ghost { min-height: 44px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
}

/* a section straight after a page title (no photo band between) needs no extra top space */
.x-pagehero + section { padding-top: clamp(24px, 3vw, 48px); }

/* ===================== insights: articles and the list ===================== */
.art-head-in { position: relative; z-index: 1; padding: clamp(40px, 6vw, 96px) var(--m) clamp(40px, 5vw, 72px); max-width: 980px; }
.art-head .x-kicker a { color: inherit; text-decoration: none; }
.art-head .x-kicker a:hover { text-decoration: underline; }
.art-h1 { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; margin: 0 0 22px; max-width: 22ch; }
.art-lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--txt-2); max-width: 56ch; margin: 0; }
.art-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 70ch) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 64px); padding: clamp(48px, 6vw, 96px) var(--m); }
.art-body { grid-column: 2; font-size: 19px; line-height: 1.7; }
.art-body > p:first-child { font-size: 21px; }
.art-body h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; margin: 56px 0 16px; scroll-margin-top: 100px; }
.art-body h3 { font-size: 22px; margin: 36px 0 12px; }
.art-body p, .art-body li { color: var(--txt); }
.art-body ul, .art-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.art-body li { margin-bottom: 0.5em; }
.art-body li::marker { color: var(--red); }
.art-body a { color: var(--txt); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.art-body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-size: 22px; }
.art-body code { font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); }
.art-table { overflow-x: auto; margin: 24px 0 32px; border: 1px solid var(--line); border-radius: 16px; }
.art-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.art-table th, .art-table td { text-align: left; vertical-align: top; padding: 12px 14px; }
.art-table thead th { background: var(--bg-2); font-weight: 700; }
.art-table tbody tr + tr td { border-top: 1px solid var(--line); }
.art-toc { grid-column: 1; grid-row: 1; justify-self: end; position: sticky; top: 110px; align-self: start; max-width: 240px; font-size: 15px; }
.art-toc p { margin: 0 0 10px; font-weight: 700; color: var(--txt-2); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.art-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.art-toc a { color: var(--txt-2); text-decoration: none; display: block; line-height: 1.35; }
.art-toc a:hover { color: var(--txt); }
.art-cta { margin-top: 56px; padding: clamp(22px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--line); background: var(--panel); }
.art-cta-h { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.art-cta p { color: var(--txt-2); }
.art-cta .actions { margin-top: 18px; }
.art-more { padding: clamp(56px, 7vw, 112px) var(--m); border-top: 1px solid var(--line); }
.art-more .x-h2 { margin-bottom: 32px; }
@media (max-width: 1100px) {
  .art-wrap { grid-template-columns: minmax(0, 1fr); }
  .art-body { grid-column: 1; }
  .art-toc { grid-column: 1; position: static; justify-self: stretch; max-width: none; margin-bottom: 32px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); }
}
@media (max-width: 600px) { .art-body { font-size: 18px; } .art-body > p:first-child { font-size: 19px; } }

.ins { padding: clamp(24px, 3vw, 48px) var(--m) clamp(72px, 9vw, 140px); }
.ins-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ins-card { display: grid; gap: 8px; height: 100%; padding: 14px 14px 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; color: var(--txt); transition: border-color 150ms ease, transform 200ms var(--ease-ui); }
.ins-card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .ins-card:hover { border-color: var(--glow); transform: translateY(-3px); } .ins-card:hover .ins-t { color: var(--red); } }
.ins-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; margin-bottom: 8px; }
.ins-img img { width: 100%; height: 100%; object-fit: cover; }
.ins-meta { font-size: 13px; color: var(--txt-2); padding: 0 6px; }
.ins-t { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; padding: 0 6px; transition: color 150ms ease; }
.ins-d { color: var(--txt-2); font-size: 15px; line-height: 1.5; padding: 0 6px; }
.ins-empty { color: var(--txt-2); }
@media (max-width: 1000px) { .ins-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ins-list { grid-template-columns: 1fr; } }
