/* Ratkaisu IT Consulting — styles */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #5b6678;
  --line: #e3e8f1;
  --brand: #4a5cff;
  --brand-600: #3a49e6;
  --teal: #13c8b9;
  --dark: #070b18;
  --dark-2: #0e1530;
  --on-dark: #e8ecf7;
  --on-dark-muted: #a5afc8;
  --grad: linear-gradient(120deg, #6d7cff 0%, #4a5cff 35%, #13c8b9 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -8px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 60px -20px rgba(30, 41, 99, .35);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #7c8bff; outline-offset: 3px; border-radius: 6px; }
::selection { background: #c9d0ff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 840px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.ico { width: 24px; height: 24px; flex: none; }
.ico-sm { width: 18px; height: 18px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.2rem; border-radius: 999px; border: 1px solid var(--b); font-weight: 650; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px rgba(74, 92, 255, .7); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 14px 30px -10px rgba(74, 92, 255, .8); }
.btn-outline { --b: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { --b: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--brand); }
.btn-ghost-light { --b: rgba(255, 255, 255, .22); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --b: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .12); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .3s;
}
/* Blur lives on a pseudo-element so it doesn't become the containing block of the fixed mobile nav */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 11, 24, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6); }
.site-header.scrolled::before, body.nav-open .site-header::before { background: rgba(7, 11, 24, .94); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.logo-mark { width: 40px; height: 40px; margin-right: -2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px;
  color: var(--on-dark); text-decoration: none; font-weight: 550; font-size: .95rem; background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[data-active], .has-menu.open > .nav-link { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-link .ico { transition: transform .2s; }
.has-menu { position: relative; }
.has-menu.open > .nav-link .ico { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(760px, 92vw); transform: translate(-50%, 8px);
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 12px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-item { display: flex; gap: .7rem; padding: .7rem; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.mega-item:hover, .mega-item[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
.mega-item b { display: block; font-size: .92rem; font-weight: 650; }
.mega-item small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; margin-top: 2px; }
.mega-ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #eef0ff; color: var(--brand); }
.mega-ico .ico { width: 20px; height: 20px; }
.mega-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 8px; padding: 10px 10px 2px; }
.mega-foot a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; text-decoration: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; place-items: center; }
.nav-toggle .ico + .ico { display: none; }
.nav-toggle[aria-expanded="true"] .ico:first-child { display: none; }
.nav-toggle[aria-expanded="true"] .ico + .ico { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom)); background: var(--dark); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: .9rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; background: transparent; border: 0; box-shadow: none; padding: 4px 0 8px; }
  .has-menu.open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item { color: var(--on-dark); }
  .mega-item:hover, .mega-item[aria-current="page"] { background: rgba(255, 255, 255, .06); color: #fff; }
  .mega-item small { color: var(--on-dark-muted); }
  .mega-ico { background: rgba(255, 255, 255, .08); color: #9aa6ff; }
  .mega-foot { border-color: rgba(255, 255, 255, .1); flex-direction: column; }
  .mega-foot a { color: #9aa6ff; }
  .nav-cta { width: 100%; padding: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* Dark backgrounds */
.hero, .page-hero, .section-dark { position: relative; background: var(--dark); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(74, 92, 255, .35), transparent 60%),
    radial-gradient(50% 50% at 90% 20%, rgba(19, 200, 185, .22), transparent 60%),
    radial-gradient(60% 50% at 50% 110%, rgba(124, 58, 237, .25), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-bg.subtle { opacity: .7; }

/* Home hero */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lead, .page-hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-dark-muted); max-width: 62ch; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; margin-bottom: 1.4rem;
  border-radius: 999px; font-size: .85rem; font-weight: 600; color: #cfd6ff;
  background: rgba(74, 92, 255, .14); border: 1px solid rgba(124, 139, 255, .35);
}
.pill .ico { color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-actions.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.75rem; color: var(--on-dark-muted); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .ico { color: var(--teal); }

.hero-visual { position: relative; padding: 64px 0 84px; }
.console {
  position: relative; margin: 0 0 0 auto; max-width: 440px; border-radius: 20px; padding: 18px;
  background: linear-gradient(180deg, rgba(20, 28, 58, .9), rgba(12, 18, 40, .9)); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.console-top { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: .8rem; color: var(--on-dark-muted); }
.console-top > span { width: 10px; height: 10px; border-radius: 50%; background: #2a3458; }
.console-top b { margin-left: 8px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.live { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5ff2df; display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.console-steps li { display: flex; gap: 12px; padding: 11px 12px; border-radius: 12px; align-items: flex-start; }
.console-steps li + li { margin-top: 4px; }
.console-steps b { display: block; font-size: .92rem; color: #fff; font-weight: 600; }
.console-steps small { color: var(--on-dark-muted); font-size: .8rem; }
.console-steps .done .ico { color: #0b1220; background: var(--teal); border-radius: 50%; padding: 3px; margin-top: 2px; }
.console-steps .run { background: rgba(74, 92, 255, .14); border: 1px solid rgba(124, 139, 255, .3); }
.spin { width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: #8c99ff; animation: spin 1s linear infinite; }
.console-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); margin-top: 14px; overflow: hidden; }
.console-bar span { display: block; height: 100%; width: 72%; background: var(--grad); border-radius: inherit; animation: load 3.5s ease-in-out infinite; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: .8rem;
  background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55);
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: .85rem; }
.float small { color: var(--muted); }
.float .ico { color: var(--brand); }
.f1 { left: 0; top: 0; }
.f2 { left: 0; bottom: 0; animation-delay: -2s; }
.f3 { right: 0; top: 8px; animation-delay: -4s; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.ok { background: #16c47f; box-shadow: 0 0 0 4px rgba(22, 196, 127, .18); }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 18px; }
.wave i { width: 3px; height: 100%; background: var(--brand); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.2s; } .wave i:nth-child(3) { animation-delay: -.4s; } .wave i:nth-child(4) { animation-delay: -.6s; } .wave i:nth-child(5) { animation-delay: -.8s; }

.marquee { position: relative; display: flex; overflow: hidden; margin-top: clamp(3rem, 7vw, 5rem); padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .07); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; flex: none; gap: 2.75rem; padding-right: 2.75rem; animation: marquee 50s linear infinite; }
.marquee li { white-space: nowrap; color: #8f9abb; font-weight: 650; font-size: 1.02rem; letter-spacing: -0.01em; }

@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { 0% { width: 20%; } 60% { width: 86%; } 100% { width: 20%; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes wave { 50% { transform: scaleY(.3); } }

/* Page hero */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20ch; }
.page-hero-inner.center h1, .page-hero-inner.center .lead { margin-inline: auto; }
.page-hero.nf { padding: clamp(5rem, 12vw, 8rem) 0; }
.hero-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.25rem; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(74, 92, 255, .8); }
.hero-ico .ico { width: 28px; height: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 2rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.stat-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2rem; }
.stat-row b { display: block; font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1; }
.stat-row span { color: var(--on-dark-muted); font-size: .9rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tight { padding-top: 2rem; }
.section-soft { background: var(--bg-soft); }
.section-dark { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.eyebrow-light { color: #8fe9de; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Centre a lone last card in a 3-column grid */
.grid-3 > :last-child:nth-child(3n + 1) { grid-column: 2; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }

/* Cards */
.card {
  position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
a.card:hover { transform: translateY(-4px); border-color: #c8cfff; box-shadow: var(--shadow-lg); color: var(--ink); }
.card-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1.1rem; background: linear-gradient(135deg, #eef0ff, #e3fbf8); color: var(--brand); }
.card-ico.sm { width: 42px; height: 42px; border-radius: 12px; margin-bottom: .9rem; }
.card-ico.sm .ico { width: 21px; height: 21px; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; font-weight: 650; font-size: .92rem; color: var(--brand); text-decoration: none; }
.card-link .ico { transition: transform .2s; }
a.card:hover .card-link .ico, .card-link:hover .ico { transform: translateX(4px); }
.card-link.light { color: #a3adff; }
.card-link.light:hover { color: #fff; }
.svc-card { display: flex; flex-direction: column; }
.svc-card p { flex: 1; }

.glass { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .1); }
.glass .card-ico { background: rgba(74, 92, 255, .2); color: #b3bcff; }
.glass h3 { font-size: 1.5rem; }
.chat { display: flex; flex-direction: column; gap: 8px; margin: 1.5rem 0 .5rem; }
.msg { max-width: 85%; margin: 0; padding: .6rem .9rem; border-radius: 14px; font-size: .9rem; line-height: 1.45; }
.section-dark .msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.section-dark .msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .08); color: var(--on-dark); border-bottom-left-radius: 4px; }
.flow { margin: 1.5rem 0 .5rem; counter-reset: f; }
.flow li { position: relative; display: flex; align-items: center; gap: .7rem; padding: .65rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); font-size: .9rem; color: var(--on-dark); }
.flow li + li { margin-top: 10px; }
.flow li + li::before { content: ""; position: absolute; left: 1.45rem; top: -11px; height: 10px; border-left: 2px dashed rgba(143, 233, 222, .5); }
.flow .ico { color: #8fe9de; }

.feature-grid { gap: 1.5rem 2rem; }
.feature { display: flex; gap: 1rem; }
.feature-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--dark); color: #8fe9de; }
.feature-ico .ico { width: 21px; height: 21px; }
.feature h3 { margin-bottom: .25rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step { position: relative; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-n { display: inline-block; font-weight: 800; font-size: .9rem; letter-spacing: .05em; margin-bottom: .9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps-v { grid-template-columns: 1fr; gap: .75rem; }
.steps-v .step { display: flex; gap: 1.1rem; padding: 1.25rem 1.4rem; }
.steps-v .step-n { margin: .1rem 0 0; font-size: 1.1rem; }

.domain-card .domain-meta { color: var(--brand); font-weight: 600; font-size: .85rem; margin: .1rem 0 .6rem; }
.domain-card .domain-sample { font-size: .88rem; }
.domain-all { background: var(--dark); border-color: var(--dark); }
.domain-all h3 { color: #fff; }
.domain-all p { color: var(--on-dark-muted); }
.domain-all .card-link { color: #a3adff; }
a.domain-all:hover { color: #fff; border-color: var(--dark); }

.ind-card h3 { font-size: 1.02rem; }

/* Service page */
.offer { padding-top: 1.5rem; }
.offer-check { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; margin-bottom: .9rem; background: #e3fbf8; color: #0b9e92; }
.offer h3 { font-size: 1.05rem; }
.outcomes { margin-top: 1.5rem; display: grid; gap: .9rem; }
.outcomes li { display: flex; gap: .8rem; align-items: center; font-weight: 600; font-size: 1.05rem; }
.outcomes .ico { color: var(--teal); }
.tech-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.tech-cat { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tech-cat h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin-bottom: 1rem; }
.tech-cat h3 .ico { color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { padding: .35rem .75rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; font-weight: 550; color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c8cfff; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .25s; color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq details p { margin: 0; }

/* CTA */
.cta-band { padding-top: 0; }
.section-soft + .cta-band { padding-top: clamp(4rem, 9vw, 7rem); background: linear-gradient(var(--bg-soft) 50%, #fff 50%); }
.cta-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr auto; gap: 2rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; color: #fff;
  background: radial-gradient(80% 120% at 100% 0%, rgba(19, 200, 185, .45), transparent 55%), radial-gradient(70% 120% at 0% 100%, rgba(124, 58, 237, .45), transparent 55%), linear-gradient(135deg, #2b36b8, #4a5cff);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; margin-bottom: .5rem; }
.cta-card p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-direction: column; gap: .75rem; }

/* Technologies page */
.tech-toolbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toolbar-inner { display: flex; align-items: center; gap: 1rem; padding-block: .9rem; }
.search { position: relative; display: flex; align-items: center; flex: 0 0 300px; min-width: 0; }
.search .ico { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: .7rem 1rem .7rem 2.6rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(74, 92, 255, .15); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; flex: 1; min-width: 0; padding: 2px; }
@media (max-width: 960px) { .filter-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.filter-chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: none; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip-btn:hover { border-color: var(--brand); color: var(--brand); }
.chip-btn[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.tech-status { color: var(--muted); font-size: .9rem; min-height: 1.5em; }
.tech-domain { margin-top: 2.5rem; }
.tech-domain-h { font-size: clamp(1.4rem, 2.6vw, 1.9rem); padding-bottom: .75rem; border-bottom: 2px solid var(--ink); margin-bottom: 1.5rem; }
.tech-block { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.75rem); background: #fff; margin-bottom: 1.25rem; }
.tech-block-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.tech-block-head .card-ico { margin: 0; flex: none; }
.tech-block-head h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.tech-block-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.tech-block-head > div { flex: 1; }
.tech-count { flex: none; font-size: .8rem; font-weight: 700; color: var(--brand); background: #eef0ff; padding: .25rem .65rem; border-radius: 999px; }
.tech-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.tech-list li { display: flex; flex-direction: column; padding: .8rem 1rem; border-radius: 12px; background: var(--bg-soft); border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.tech-list li:hover { background: #fff; border-color: #c8cfff; }
.tech-list b { font-size: .95rem; font-weight: 650; }
.tech-list span { font-size: .84rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.tech-list mark { background: #fff1a8; color: inherit; border-radius: 3px; }
.tech-used { margin: 1rem 0 0; font-size: .86rem; color: var(--muted); }
.empty { text-align: center; padding: 4rem 1rem; }
.disclaimer { margin-top: 2.5rem; font-size: .82rem; color: var(--muted); max-width: 80ch; }
[hidden] { display: none !important; }

/* About */
.prose { font-size: 1.05rem; color: var(--ink-2); }
.prose h2 { margin-top: 2rem; font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--ink); }
.prose > h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: .4rem; }
.mission { display: grid; gap: 1.25rem; }
.glass-light { padding: 1.75rem; border-radius: var(--radius); background: linear-gradient(135deg, #f1f3ff, #eafcf9); border: 1px solid #dfe4ff; }
.glass-light h3 { display: flex; align-items: center; gap: .5rem; }
.glass-light h3 .ico { color: var(--brand); }
.glass-light p { margin: 0; color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.form h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field label span { color: var(--brand); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(74, 92, 255, .15); }
.field .invalid { border-color: #e5484d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: .25rem 0 1.5rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #0b8a5f; }
.form-status.err { color: #d0343a; }
.contact-side { display: grid; gap: 1rem; }
.info { display: flex; gap: 1rem; }
.info .card-ico { margin: 0; flex: none; }
.info h3 { margin-bottom: .25rem; font-size: 1.02rem; }
.info p { margin: 0; }
.info a { font-weight: 600; word-break: break-word; }
.info.urgent { border-color: #ffd2d2; background: #fff8f8; }
.info.urgent .card-ico { background: #ffe5e5; color: #d0343a; }
.next-steps { list-style: decimal; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; display: grid; gap: .35rem; margin-top: .35rem; }

.company-dl { margin: .5rem 0 0; display: grid; gap: .55rem; }
.company-dl div { display: flex; flex-direction: column; }
.company-dl dt { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.company-dl dd { margin: 0; font-weight: 600; font-size: .95rem; color: var(--ink); overflow-wrap: anywhere; }
.mission .card h3 { display: flex; align-items: center; gap: .5rem; }
.mission .card h3 .ico { color: var(--brand); }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { margin: 1.1rem 0; max-width: 40ch; }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.footer-h-gap { margin-top: 1.75rem; }
.footer-links { display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: .6rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: center; }
.footer-contact .ico { width: 18px; height: 18px; color: #8fe9de; }
.footer-contact a { color: #fff; font-weight: 600; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* Reveal on scroll (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-v { grid-template-columns: 1fr; }
  .tech-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(3n + 1) { grid-column: auto; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .console { margin: 0 auto; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .toolbar-inner { flex-direction: column; align-items: stretch; gap: .7rem; }
  .search { flex-basis: auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .grid-2, .grid-3, .grid-4, .steps, .tech-cats, .tech-list, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .logo-mark { width: 34px; height: 34px; }
  .brand-text b { font-size: 1.08rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-actions .btn { white-space: normal; }
  .cta-actions .btn { white-space: normal; }
  .float { font-size: .75rem; padding: 8px 11px; }
  .f3 { display: none; }
  .hero-visual { padding: 64px 0 72px; }
  .tech-block-head { flex-wrap: wrap; }
  .tech-toolbar { position: static; }
  .stat-row b { font-size: 1.6rem; }
}
@media (max-width: 380px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .marquee, .hero-visual, .tech-toolbar { display: none !important; }
  .hero, .page-hero, .section-dark { background: #fff; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
