/* ==========================================================================
   Softmedya — site styles
   Fonts: Inter & Plus Jakarta Sans (SIL OFL 1.1), self-hosted.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --surface: #ffffff;
  --ink: #0c1324;
  --ink-2: #33405a;
  --muted: #5b6579;
  --line: #e2e7f0;
  --grid: rgba(35, 70, 255, 0.07);

  --brand: #2346ff;
  --brand-ink: #1a34d6;
  --brand-soft: #eaeeff;
  --on-brand: #ffffff;
  --violet: #7b3cf5;
  --accent: #ff6a3d;
  --ok: #0f9d63;
  --down: #e5484d;

  --shadow: 0 1px 2px rgba(12, 19, 36, 0.05), 0 10px 28px -12px rgba(12, 19, 36, 0.16);
  --shadow-lg: 0 30px 70px -28px rgba(24, 40, 120, 0.38);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1160px;
  --header-h: 72px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090e1a;
    --bg-soft: #0d1424;
    --surface: #111a2e;
    --ink: #eef2fa;
    --ink-2: #c3ccdc;
    --muted: #95a0b5;
    --line: #1f2a42;
    --grid: rgba(120, 140, 255, 0.07);

    --brand: #7088ff;
    --brand-ink: #8fa2ff;
    --brand-soft: #18214a;
    --on-brand: #0a0f1f;
    --violet: #a47bff;
    --accent: #ff8a61;
    --ok: #3ccf8e;
    --down: #ff6b70;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 30px -12px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 30px 70px -28px rgba(0, 0, 0, 0.75);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  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: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.45rem); letter-spacing: -0.03em; }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 650; color: var(--ink); }

.lead { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 0.7rem 1rem; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- Icons ---------- */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.35rem; border-radius: 999px;
  font: 600 1rem/1.1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2.2; }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 75%, transparent); }
.btn--primary:hover { background: var(--brand-ink); color: var(--on-brand); transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--brand); border-color: var(--brand); }
.btn--light { background: #ffffff; color: #1a2fc2; }
.btn--light:hover { background: #eef1ff; color: #1a2fc2; transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { color: #ffffff; border-color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.btn--sm { min-height: 40px; padding: 0.55rem 1.05rem; font-size: 0.92rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; text-decoration: none; }
.link-arrow .i { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.15s ease; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 19, 36, 0.4); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; flex: none;
  color: var(--ink); text-decoration: none;
  font: 800 1.3rem/1 var(--font-head); letter-spacing: -0.035em;
}
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand__word span { color: var(--brand); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.site-nav__list { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: block; padding: 0.5rem 0.85rem; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.96rem;
}
.site-nav__list a:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav__list a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.site-nav__extra { display: flex; align-items: center; gap: 0.75rem; }

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-switch a {
  padding: 0.35rem 0.62rem; border-radius: 999px;
  font: 700 0.78rem/1 var(--font-body); letter-spacing: 0.04em;
  color: var(--muted); text-decoration: none;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--bg); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; left: -16px; right: -16px;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 12px 16px 20px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(12, 19, 36, 0.35);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; }
  .js .site-nav__list a { padding: 0.85rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .js .site-nav__extra { justify-content: space-between; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 0.75rem; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font: 700 0.78rem/1.2 var(--font-body); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 1rem;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 70% 30%, #000 25%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 420px at 82% 8%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 70%),
    radial-gradient(460px 260px at 0% 62%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__copy .lead { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: 0.93rem; font-weight: 500; }
.hero__proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__proof .i { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }

.hl {
  background: linear-gradient(92deg, var(--brand) 0%, var(--violet) 55%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .mock__chip--a { left: -1%; }
}

/* Hero mock-up (decorative) */
.mock { position: relative; width: 100%; aspect-ratio: 1 / 0.86; }
.mock__browser {
  position: absolute; inset: 0 13% 9% 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock__bar i:nth-child(2) { background: #febc2e; }
.mock__bar i:nth-child(3) { background: #28c840; }
.mock__url {
  margin-left: 10px; flex: 1; min-width: 0; height: 22px; padding-inline: 10px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font: 500 11px/20px var(--font-body); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock__body { display: grid; gap: 12px; padding: 14px; }
.mock__lead {
  position: relative; height: clamp(88px, 13vw, 132px); border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #2d5bff, #7b3cf5 70%, #ff8a5c);
}
.mock__lead::after {
  content: ""; position: absolute; left: 14px; right: 30%; bottom: 14px; height: 30px;
  background: linear-gradient(#fff 0 0) top / 100% 9px no-repeat, linear-gradient(rgba(255, 255, 255, 0.6) 0 0) bottom / 70% 7px no-repeat;
  opacity: 0.95;
}
.mock__tag {
  position: absolute; left: 14px; top: 12px; padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: #1a2fc2; font: 700 10px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
}
.mock__row { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; }
.mock__thumb { height: 40px; border-radius: 9px; background: var(--brand-soft); }
.mock__row:nth-child(3) .mock__thumb { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.mock__row:nth-child(4) .mock__thumb { background: color-mix(in srgb, var(--violet) 16%, var(--surface)); }
.mock__lines b { display: block; height: 8px; margin: 5px 0; border-radius: 4px; background: var(--line); }
.mock__lines b:last-child { width: 58%; }

.mock__phone {
  position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 9 / 18.5;
  padding: 7px; border-radius: 30px; background: #0c1324;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.mock__screen {
  height: 100%; border-radius: 24px; overflow: hidden; background: var(--surface);
  display: flex; flex-direction: column; gap: 9px; padding: 22px 12px 12px;
}
.mock__screen-title { font: 700 10px/1 var(--font-body); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.mock__value { height: 14px; width: 70%; border-radius: 5px; background: var(--ink); opacity: 0.85; }
.mock__sub { height: 8px; width: 38%; border-radius: 4px; background: color-mix(in srgb, var(--ok) 55%, transparent); }
.mock__chart { flex: 1 1 auto; width: 100%; min-height: 0; margin-block: 4px; }
.mock__chart path.area { fill: color-mix(in srgb, var(--brand) 16%, transparent); stroke: none; }
.mock__chart path.line { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mock__list { display: grid; gap: 7px; }
.mock__item { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 8px; border-radius: 9px; background: var(--bg-soft); }
.mock__item b { display: block; height: 6px; width: 46%; border-radius: 3px; background: var(--line); }
.mock__item i { font: 700 9px/1 var(--font-body); font-style: normal; color: var(--ok); }
.mock__item--down i { color: var(--down); }

.mock__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.8rem; border-radius: 999px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font: 650 0.8rem/1 var(--font-body); color: var(--ink);
  animation: float 7s ease-in-out infinite;
}
.mock__chip .i { width: 16px; height: 16px; stroke-width: 2.4; }
.mock__chip--a { top: 40%; left: -5%; }
.mock__chip--a .i { color: var(--ok); }
.mock__chip--b { left: 3%; bottom: 3%; animation-delay: -3.5s; }
.mock__chip--b .i { color: var(--brand); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { background: var(--surface); padding: clamp(22px, 2.5vw, 32px) clamp(18px, 2vw, 28px); }
.stat__num { font: 800 clamp(1.9rem, 1.45rem + 1.5vw, 2.7rem)/1 var(--font-head); letter-spacing: -0.035em; color: var(--ink); }
.stat__num span { color: var(--brand); }
.stat__label { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.45; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 30px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card h3 { margin-bottom: 0.45em; }
.card p { color: var(--muted); margin: 0; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card__more { margin-top: auto; padding-top: 1.1rem; }
.card__more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.2rem;
  border-radius: 14px; background: var(--brand-soft); color: var(--brand);
}
.icon--accent { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.icon--violet { background: color-mix(in srgb, var(--violet) 14%, var(--surface)); color: var(--violet); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 1rem; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 0.8rem; align-items: start; color: var(--ink-2); }
.checklist .i { width: 24px; height: 24px; margin-top: 1px; padding: 4px; border-radius: 50%; stroke-width: 3; color: #fff; background: var(--ok); }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.panel__title { font: 700 0.8rem/1.2 var(--font-body); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.1rem; }

.app-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.app-rows li { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.app-rows li:first-child { padding-top: 0; }
.app-rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.app-rows strong { display: block; font-size: 0.98rem; line-height: 1.3; }
.app-rows strong + span { font-size: 0.86rem; color: var(--muted); }
.app-rows .count { font: 800 1.05rem/1 var(--font-head); color: var(--ink); white-space: nowrap; }

.app-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff; }
.app-icon .i { width: 22px; height: 22px; stroke-width: 2; }
.app-icon--1 { background: linear-gradient(135deg, #10b981, #047857); }
.app-icon--2 { background: linear-gradient(135deg, #f7b733, #e8871e); }
.app-icon--3 { background: linear-gradient(135deg, #2d5bff, #1a34d6); }
.app-icon--4 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: clamp(22px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block; margin-bottom: 1rem; padding: 0.45rem 0.6rem; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand); font: 800 0.9rem/1 var(--font-head);
}
.step h3 { margin-bottom: 0.4em; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 1.4rem; }
.quote blockquote { margin: 0; color: var(--ink-2); font-size: 1.03rem; }
.quote blockquote::before {
  content: "\201C"; display: block; height: 0.55em; margin-bottom: 0.4rem;
  font: 800 3.2rem/1 var(--font-head); color: var(--brand);
}
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.8rem; }
.quote figcaption strong { display: block; line-height: 1.3; }
.quote figcaption strong + span { font-size: 0.88rem; color: var(--muted); }
.avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--violet)); color: #fff; font: 700 0.95rem/1 var(--font-head);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 28px; color: #fff;
  background: linear-gradient(125deg, #2346ff 0%, #4f38f0 55%, #7b3cf5 100%);
  box-shadow: 0 30px 60px -30px rgba(35, 70, 255, 0.6);
}
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.cta::before { width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%); }
.cta::after { width: 320px; height: 320px; left: 30%; bottom: -220px; background: radial-gradient(circle, rgba(255, 138, 92, 0.45), transparent 65%); }
.cta h2 { color: #fff; margin-bottom: 0.35em; }
.cta p { color: rgba(255, 255, 255, 0.86); margin: 0; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 320px at 88% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0 0 1.4rem; padding: 0; font-size: 0.88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.42rem 0.8rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
  font-size: 0.86rem; font-weight: 600; text-decoration: none;
}
a.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip--brand { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.chip .i { width: 15px; height: 15px; stroke-width: 2.2; }

/* ---------- About ---------- */
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts div:first-child { padding-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 650; text-align: right; }

.timeline { position: relative; display: grid; gap: 2rem; list-style: none; margin: 0; padding: 0; max-width: 780px; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--brand), var(--violet), var(--accent));
}
.timeline li { position: relative; padding-left: 52px; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-soft); border: 4px solid var(--brand);
}
.timeline__year { display: block; margin-bottom: 0.2rem; font: 800 0.95rem/1.3 var(--font-head); color: var(--brand); letter-spacing: 0.02em; }
.timeline h3 { margin-bottom: 0.3em; }
.timeline p { margin: 0; color: var(--muted); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.mv .card { padding: clamp(26px, 3vw, 40px); }
.mv .card p { font-size: 1.12rem; color: var(--ink-2); }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.service {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: start;
  padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line);
}
.service:first-child { border-top: 0; padding-top: 0; }
.service__intro .icon { margin-bottom: 1.2rem; }
.service__intro p { color: var(--ink-2); }
.service__intro .btn { margin-top: 0.5rem; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.features li {
  display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--ink-2); font-size: 0.97rem; line-height: 1.5;
}
.features .i { width: 20px; height: 20px; margin-top: 1px; color: var(--brand); stroke-width: 2.4; }
.service__note { grid-column: 1 / -1; margin: 0; color: var(--muted); }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 22px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 18px 0; cursor: pointer; list-style: none; font-weight: 650; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 600 1.5rem/1 var(--font-head); color: var(--brand); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding-bottom: 20px; color: var(--muted); }

/* ---------- References ---------- */
.app-card .app-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.1rem; }
.app-card .app-icon .i { width: 26px; height: 26px; }
.app-card h3 { font-size: 1.08rem; }
.app-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; }

.ref-group + .ref-group { margin-top: clamp(36px, 4vw, 52px); }
.ref-group h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; }
.ref-group h3 .count { font: 700 0.8rem/1 var(--font-body); padding: 0.3rem 0.55rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.ref-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.ref-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ref-list strong { font-weight: 650; line-height: 1.35; }
.ref-list span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__cards { display: grid; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.contact-card .icon { margin: 0; }
.contact-card h2 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.35rem; }
.contact-card p { margin: 0; }
.contact-card .big { font: 700 1.12rem/1.35 var(--font-head); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a.big:hover { color: var(--brand); }
.contact-card .sub { display: block; margin-top: 0.3rem; font-size: 0.9rem; color: var(--muted); }
.contact-card .links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.2rem; }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.form h2 { font-size: 1.5rem; margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.95rem;
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent);
}
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__note { margin: 0; font-size: 0.86rem; color: var(--muted); flex: 1 1 240px; }
.form__status { margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ink); font-size: 0.92rem; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }

/* ---------- 404 & language picker ---------- */
.center-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 48px 16px; text-align: center; }
.center-page .brand { justify-content: center; margin-bottom: 2rem; }
.center-page h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); }
.center-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.big-code { font: 800 clamp(4.5rem, 3rem + 8vw, 8rem)/1 var(--font-head); letter-spacing: -0.05em; margin: 0 0 0.5rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(48px, 6vw, 72px) 28px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__about p { margin: 1rem 0 0; color: var(--muted); max-width: 38ch; font-size: 0.95rem; }
.footer__title { margin: 0 0 1rem; font: 700 0.78rem/1.2 var(--font-body); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.footer__links { display: grid; gap: 0.6rem; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--brand); }
.footer__links li { color: var(--ink-2); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.87rem; color: var(--muted);
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--brand); }
.footer__bottom nav { display: flex; gap: 1rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .nav-toggle, .cta, .hero__visual { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Small utilities ---------- */
.panel__more { margin: 1.4rem 0 0; }
.section__more { margin: 2rem 0 0; }
.contact-card address { font-style: normal; }
.contact-card .maps-link { margin-top: 0.5rem; }
.footer__bottom p { margin: 0; }
.center-page .lead { margin-inline: auto; }
.center-page__h2 { font-size: 1.3rem; margin-top: 1.5rem; }
