/* =========================================================================
   Kulinda Security — Global stylesheet
   Single source of truth. Edit tokens here to retheme the entire site.
   ========================================================================= */

:root {
  /* Brand */
  --brand-deep:   #1F2C7C;   /* Logo "kulinda" deep blue */
  --brand-ice:    #5BB6E8;   /* Logo glacial cyan */
  --brand-ice-2:  #7BD0FF;
  --brand-glow:   #1F2C7C;

  /* Surfaces — light theme (Sylink-inspired) */
  --bg:           #F2F4F8;
  --bg-elev-1:    #FFFFFF;
  --bg-elev-2:    #E9EDF3;
  --bg-soft:      #DEE3EC;

  /* Text */
  --text:         #0B1020;
  --text-muted:   #4B5366;
  --text-dim:     #7A8294;
  --text-faint:   #C2C9D6;

  /* Lines */
  --line:         #E3E7EE;
  --line-strong:  #CCD3DE;
  --line-glow:    rgba(31, 44, 124, 0.20);
}

html[data-theme="light"] .bg-grid,
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(15,17,23,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,17,23,0.04) 1px, transparent 1px);
}
.site-header {
  background: rgba(242, 244, 248, 0.85) !important;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.btn--primary {
  color: #FFFFFF !important;
  background: var(--brand-deep) !important;
}
.btn--primary:hover {
  background: #2A3CA0 !important;
}
*::selection { color: #FFF; background: var(--brand-deep); }

:root {
  --good:         #16A34A;
  --warn:         #D97706;
  --crit:         #DC2626;

  /* Accent — deep blue takes the lead in light mode */
  --accent:       #1F2C7C;
  --accent-soft:  rgba(31, 44, 124, 0.10);

  /* Type */
  --font-sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 144px);

  /* Density (tweakable) */
  --density: 1;
}

/* Density variants */
[data-density="compact"] { --section-y: clamp(48px, 6vw, 96px); }
[data-density="airy"]    { --section-y: clamp(96px, 14vw, 200px); }

* { box-sizing: border-box; }
*::selection { background: var(--accent); color: #000; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; }

/* ─────────────────────────────────────────────────────────────────────────
   Type scale
   ───────────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.h-display {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.h-section {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.h-card {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 64ch;
  text-wrap: pretty;
}

p { text-wrap: pretty; }

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   Background grain & grid
   ───────────────────────────────────────────────────────────────────────── */

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 70%);
}

/* ─────────────────────────────────────────────────────────────────────────
   Layout primitives
   ───────────────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

section { position: relative; z-index: 1; }

.section { padding: var(--section-y) 0; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   Header
   ───────────────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(10, 11, 15, 0.7);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 32px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  position: relative;
}

.site-logo__text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-logo__text span {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-family: var(--font-mono);
  margin-left: 6px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}

.site-nav a:hover { color: var(--text); background: var(--bg-elev-2); }

.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  margin-top: 2px;
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
}

.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--text-dim);
  padding: 6px 10px;
  font-family: inherit;
  font-size: inherit;
  text-transform: uppercase;
  transition: background .15s, color .15s;
}

.lang-toggle button.is-active {
  background: var(--accent);
  color: #000;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.theme-toggle__sun  { display: none; }
.theme-toggle__moon { display: inline-block; }
html[data-theme="light"] .theme-toggle__sun  { display: inline-block; }
html[data-theme="light"] .theme-toggle__moon { display: none; }

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-elev-1);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px var(--gutter);
    align-items: stretch;
  }
  .site-nav.is-open a { padding: 12px 14px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #000;
}
.btn--primary:hover {
  background: var(--brand-ice-2);
  transform: translateY(-1px);
}

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

.btn--text {
  padding: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn--text:hover { color: var(--brand-ice-2); }
.btn--text::after { content: "→"; transition: transform .2s; }
.btn--text:hover::after { transform: translateX(4px); }

/* ─────────────────────────────────────────────────────────────────────────
   Cards
   ───────────────────────────────────────────────────────────────────────── */

.card {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  transition: border-color .25s, transform .25s, background .25s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--line-strong);
  background: var(--bg-elev-2);
}

.card--hover-glow:hover {
  border-color: var(--line-glow);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.card__title {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.card__desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--line-glow);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(80px, 12vw, 160px) 0 var(--section-y);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(91, 182, 232, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(31, 44, 124, 0.25), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__lede {
  margin-top: 24px;
}

.hero__display {
  margin-top: 28px;
}

.hero__display em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

/* Animated radar visual */
.hero-visual {
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 60%, rgba(91, 182, 232, 0.04) 100%);
}

.hero-visual::before, .hero-visual::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero-visual::after { inset: 28%; }

.hero-visual__inner {
  position: absolute;
  inset: 44%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.hero-visual__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 75%, rgba(91, 182, 232, 0.18) 90%, var(--accent) 99%, transparent 100%);
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

.hero-visual__cross {
  position: absolute;
  inset: 0;
}

.hero-visual__cross::before, .hero-visual__cross::after {
  content: "";
  position: absolute;
  background: var(--line);
}
.hero-visual__cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.hero-visual__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }

.hero-visual__dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}
.hero-visual__dot.d1 { top: 24%; left: 70%; animation: blink 2s infinite; }
.hero-visual__dot.d2 { top: 64%; left: 32%; animation: blink 3s 1s infinite; }
.hero-visual__dot.d3 { top: 38%; left: 22%; animation: blink 2.5s .5s infinite; background: var(--warn); box-shadow: 0 0 14px var(--warn); }

@keyframes blink {
  0%, 60%, 100% { opacity: 1; }
  70%, 90% { opacity: 0.2; }
}

.hero-visual__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.hero-visual__label.tl { top: 8px; left: 16px; }
.hero-visual__label.tr { top: 8px; right: 16px; color: var(--accent); }
.hero-visual__label.bl { bottom: 8px; left: 16px; }
.hero-visual__label.br { bottom: 8px; right: 16px; }

/* ─────────────────────────────────────────────────────────────────────────
   Stat strip
   ───────────────────────────────────────────────────────────────────────── */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip > div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.stat-strip > div:last-child { border-right: 0; }

.stat-strip__num {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}
.stat-strip__num span {
  color: var(--accent);
}
.stat-strip__lbl {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip > div:nth-child(2) { border-right: 0; }
  .stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ─────────────────────────────────────────────────────────────────────────
   Service grid
   ───────────────────────────────────────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Approach / steps
   ───────────────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.steps > div {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.steps > div:last-child { border-right: 0; padding-right: 24px; }

.steps__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.steps__title {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.steps__desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .steps > div { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-left: 0;}
  .steps > div:last-child { border-bottom: 0; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Sectors strip
   ───────────────────────────────────────────────────────────────────────── */

.sectors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.sectors > div {
  padding: 32px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.sectors > div:last-child { border-right: 0; }
.sectors__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  color: var(--accent);
}
.sectors__name {
  font-size: 15px;
  font-weight: 500;
}
.sectors__sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

@media (max-width: 880px) {
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sectors > div { border-bottom: 1px solid var(--line); }
  .sectors > div:nth-child(2n) { border-right: 0; }
  .sectors > div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ─────────────────────────────────────────────────────────────────────────
   CTA banner
   ───────────────────────────────────────────────────────────────────────── */

.cta-banner {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(ellipse 80% 80% at 0% 50%, rgba(91, 182, 232, 0.08), transparent 60%),
    radial-gradient(ellipse 80% 80% at 100% 100%, rgba(31, 44, 124, 0.18), transparent 60%),
    var(--bg-elev-1);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}

@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; }
}

.cta-banner__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-self: end;
}

@media (max-width: 760px) {
  .cta-banner__cta { justify-self: start; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  margin-top: 100px;
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 400;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

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

.site-footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 36ch;
  margin: 16px 0 0;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Generic content blocks
   ───────────────────────────────────────────────────────────────────────── */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head__intro {
  max-width: 60ch;
}

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.feature-row:last-child { border-bottom: 0; }

@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
}

.feature-row__visual {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(91, 182, 232, 0.04) 16px 17px);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

ul.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
ul.checklist li {
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--text-muted);
}
ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

/* Page header for inner pages */

.page-head {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 40%, rgba(91, 182, 232, 0.08), transparent 60%);
  pointer-events: none;
}

.page-head__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}

@media (max-width: 760px) {
  .page-head__inner { grid-template-columns: 1fr; }
}

.page-head__crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.page-head__crumbs a:hover { color: var(--accent); }
.page-head__crumbs span { color: var(--text); }

/* Service detail */

.service-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-block:last-child { border-bottom: 0; }

.service-block__category {
  position: sticky;
  top: 100px;
}
.service-block__category .eyebrow { margin-bottom: 16px; }
.service-block__category h2 {
  font-size: 32px;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.service-block__category p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.service-block__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .service-block { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .service-block__category { position: relative; top: 0; }
  .service-block__items { grid-template-columns: 1fr; }
}

/* Code-style decoration */
.code-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  gap: 12px;
}
.code-line::before {
  content: ">";
  color: var(--accent);
}

/* Tweaks panel */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 18px;
  width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
  font-size: 13px;
}
.tweaks.is-visible { display: block; }
.tweaks h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 14px;
  display: flex;
  justify-content: space-between;
}
.tweaks h4 button {
  background: transparent; border: 0; color: var(--text-dim); cursor: pointer;
}
.tweaks label {
  display: block;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 12px;
}
.tweaks .swatch-row {
  display: flex; gap: 8px; margin-top: 8px;
}
.tweaks .swatch {
  width: 28px; height: 28px; border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
}
.tweaks .swatch.is-active { border-color: var(--text); }
.tweaks select {
  width: 100%;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 6px 8px;
  border-radius: 4px;
  font-family: inherit;
  margin-top: 6px;
}

/* Process visual: scanning lines */
.scan {
  position: relative;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  padding: 24px;
}

.scan__line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.scan__line span.ok { color: var(--good); }
.scan__line span.warn { color: var(--warn); }
.scan__line span.crit { color: var(--crit); }
.scan__line span.acc { color: var(--accent); }

.scan::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  animation: scan-move 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan-move {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Lang switching */
[data-fr], [data-en] { display: none; }
html[lang="fr"] [data-fr] { display: revert; }
html[lang="en"] [data-en] { display: revert; }
html[lang="fr"] .inline[data-fr], html[lang="en"] .inline[data-en] { display: inline; }
html[lang="fr"] .block[data-fr], html[lang="en"] .block[data-en] { display: block; }

/* Logo image in nav */
.site-logo img { height: 44px; width: auto; }
@media (max-width: 880px) {
  .site-logo img { height: 38px; }
}

/* Visual: terminal */
.term {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.term__bar {
  position: absolute; top: 0; left: 0; right: 0; height: 30px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
}
.term__bar span {
  width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint);
}
.term__bar small {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.term__body { padding-top: 28px; }
.term__row { padding: 4px 0; }
.term__row.acc { color: var(--accent); }
.term__row.ok  { color: var(--good); }
.term__row.warn{ color: var(--warn); }

/* Quote block */
.quote {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 400;
  text-wrap: balance;
}
.quote__author {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Tag */
.tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  background: var(--bg-elev-1);
}

/* Form */
.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-row input, .form-row textarea, .form-row select {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  width: 100%;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
