:root {
  --brand: #d63842;
  --brand-dark: #b52a34;
  --brand-soft: #fdeced;
  --ink: #12141a;
  --ink-2: #2b2f3a;
  --muted: #5f6573;
  --line: #e7e8ec;
  --bg: #ffffff;
  --soft: #f7f7f9;
  --night: #121419;
  --night-2: #1c1f27;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18,20,26,.04), 0 8px 24px rgba(18,20,26,.06);
  --shadow-lg: 0 2px 6px rgba(18,20,26,.05), 0 30px 60px -20px rgba(18,20,26,.25);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
h1, h2, h3 { letter-spacing: -0.02em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(231,232,236,.8); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: .06em; font-size: 19px; }
.brand svg { width: 34px; height: 34px; flex: none; }
nav.links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; font-weight: 500; }
nav.links a:hover { color: var(--ink); }
nav.links .lang { font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff !important; text-decoration: none; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; box-shadow: 0 6px 16px -6px rgba(214,56,66,.6); transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.sm { padding: 8px 14px; font-size: 14px; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--ink) !important; border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: #cfd1d8; background: #fff; }
.btn.light { background: #fff; color: var(--ink) !important; box-shadow: none; }
.btn.light:hover { background: #f1f1f3; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(214,56,66,.12), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(214,56,66,.06), transparent 60%),
  linear-gradient(180deg, #fff, var(--soft)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(18,20,26,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18,20,26,.035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hgrid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand-dark); background: var(--brand-soft); border: 1px solid #f7d3d6; padding: 5px 12px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 18px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 560px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .ic { width: 18px; height: 18px; color: var(--brand); stroke-width: 2.4; }

/* app mockup */
.mock { position: relative; padding: 0 48px 56px 0; }
.win { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); }
.win .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafafb; }
.win .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e4e8; }
.app { display: grid; grid-template-columns: 128px 1fr; min-height: 360px; font-size: 12px; }
.app aside { background: var(--night); color: #a9adb8; padding: 14px 10px; }
.app aside .mini svg { width: 26px; height: 26px; margin: 0 0 14px 6px; display: block; }
.app aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.app aside li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; }
.app aside li i { width: 12px; height: 12px; border-radius: 3px; background: #3a3e4a; }
.app aside li.on { background: rgba(214,56,66,.18); color: #fff; }
.app aside li.on i { background: var(--brand); }
.app .main { padding: 16px; display: grid; gap: 12px; align-content: start; background: #fbfbfc; }
.mtitle { font-weight: 700; font-size: 14px; color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi span { display: block; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { white-space: nowrap; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.two { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.ptitle { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.chart { display: flex; align-items: flex-end; gap: 7px; height: 92px; }
.chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #ee5c66, var(--brand)); opacity: .9; }
.chart i:not(:last-child) { opacity: .35; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f3; color: var(--ink-2); }
.rows li:last-child { border: 0; padding: 0; }
.st { font-style: normal; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.st.ok { background: #e8f3ff; color: #1c64c4; }
.st.warn { background: #fff4e0; color: #a35a00; }
.st.done { background: #e7f6ec; color: #18794e; }
.ask { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #f3c9cc; border-radius: 10px; padding: 9px 12px; color: var(--ink-2); box-shadow: 0 0 0 4px rgba(214,56,66,.06); }
.ask .ic { width: 16px; height: 16px; color: var(--brand); }

.phone { position: absolute; right: 0; bottom: 0; width: 170px; background: #fff; border: 7px solid var(--night); border-radius: 28px; padding: 22px 12px 14px; box-shadow: var(--shadow-lg); font-size: 11px; }
.phone .notch { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 54px; height: 8px; border-radius: 8px; background: var(--night); }
.phone .pt { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.phone ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.phone li { background: var(--soft); border-radius: 8px; padding: 7px 8px; color: var(--ink-2); line-height: 1.35; }
.phone li b { display: block; font-size: 10px; color: var(--brand); }
.phone .pbtn { background: var(--brand); color: #fff; text-align: center; border-radius: 9px; padding: 8px; font-weight: 600; }

/* sections */
.sec { padding: 96px 0; }
.soft { background: var(--soft); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.sec h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 14px; font-weight: 800; }
.shead { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.shead p { color: var(--muted); font-size: 18px; margin: 0; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.feat:hover { border-color: #f0c3c7; box-shadow: var(--shadow); transform: translateY(-2px); }
.fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.feat h3 { margin: 0 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

.dark { background: var(--night); color: #e9eaee; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(214,56,66,.35), transparent 65%); pointer-events: none; }
.dark .lead { color: #a9adb8; }
.agrid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ticks.light { color: #e9eaee; }
.pwrap { display: flex; justify-content: center; }
.phone.big { position: relative; right: auto; bottom: auto; width: 260px; border-color: #2a2e38; font-size: 14px; padding: 30px 16px 18px; border-radius: 36px; border-width: 9px; }
.phone.big .notch { width: 80px; height: 10px; top: 7px; background: #2a2e38; }
.phone.big .pt { font-size: 18px; color: var(--ink); }
.phone.big li b { font-size: 12px; }
.phone.big .pbtn { padding: 12px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tr { display: flex; gap: 16px; align-items: flex-start; }
.tr .fi { margin: 0; }
.tr h3 { margin: 2px 0 4px; font-size: 17px; }
.tr p { margin: 0; color: var(--muted); font-size: 15px; }

.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
dl.company { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; font-size: 15px; }
dl.company dt { color: var(--muted); }
dl.company dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
dl.company dd a { font-weight: 600; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #d63842, #a8222c); color: #fff; border-radius: 24px; padding: 56px; position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ctext h2 { color: #fff; }
.ctext p { color: rgba(255,255,255,.85); font-size: 17px; margin: 0 0 24px; }
.kcs { position: relative; z-index: 1; display: grid; gap: 12px; }
.kc { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 16px; }
.kc span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.kc p { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.kc a { color: #fff; text-decoration: none; }
.kc a:hover { text-decoration: underline; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14px; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.fbrand p { margin: 12px 0 8px; max-width: 340px; }
.fbrand > a:last-child { color: var(--ink-2); text-decoration: none; font-weight: 600; }
footer h4 { margin: 4px 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
footer .fgrid > div:not(.fbrand) a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
footer .fgrid a:hover { color: var(--ink); }
.legal { border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; overflow-wrap: anywhere; }

/* documents */
.doc { padding: 64px 24px 80px; max-width: 820px; }
.doc h1 { font-size: 38px; margin: 0 0 8px; font-weight: 800; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc a { overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .hgrid, .agrid, .cgrid, .contact { grid-template-columns: 1fr; }
  .hgrid { gap: 48px; }
  .win { transform: none; }
  .feats, .trust { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  nav.links { gap: 14px; }
  nav.links a.hide-sm { display: none; }
  .hero { padding: 44px 0 56px; }
  .sec { padding: 64px 0; }
  .feats, .trust { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app aside { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .two { grid-template-columns: 1fr; }
  .two .panel:last-child { display: none; }
  .mock { padding: 0; }
  .phone:not(.big) { display: none; }
  dl.company { grid-template-columns: 1fr; gap: 0; }
  dl.company dt { margin-top: 12px; font-size: 13px; }
  dl.company dt:first-child { margin-top: 0; }
  .contact { padding: 32px 22px; border-radius: 18px; }
  .card { padding: 22px; }
  .doc { padding: 40px 16px 56px; }
  .doc h1 { font-size: 30px; }
}
