/* Marduno marketing site. Mobile-first; breakpoints 560 / 640 / 760 / 960 / 1080. */

:root {
  --ink: #14171c;
  --ink-2: #3a4049;
  --muted: #5d6470;
  --muted-2: #9097a1;
  --line: #e3dfd8;
  --line-2: #eeebe5;
  --field: #d4cfc7;
  --bg: #fbfaf8;
  --paper: #ffffff;
  --tint: #f4f2ee;
  --chrome: #f6f5f2;
  --brand: #0f4c41;
  --brand-2: #176350;
  --brand-soft: #e5efeb;
  --brand-bright: #8fd3bf;
  --accent: #a8661f;
  --accent-soft: #f7ecdc;
  --dark: #0f201c;
  --ok: #1b7350;   --ok-soft: #e2f2e9;
  --warn: #a8661f; --warn-soft: #f7ecdc;
  --info: #2c5a96; --info-soft: #e5edf8;
  --off: #66499c;  --off-soft: #eee8f7;
  --bad: #a3392f;  --bad-soft: #f8e5e2;
  --r: 10px;
  --r-lg: 14px;
  --shadow-win: 0 1px 2px rgba(20, 23, 28, .05), 0 14px 34px -10px rgba(20, 23, 28, .16),
                0 40px 70px -40px rgba(15, 76, 65, .30);
  --font: "IBM Plex Sans", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="hy"] body { font-family: "Noto Sans Armenian", "IBM Plex Sans", system-ui, sans-serif; }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; color: var(--ink); overflow-wrap: break-word; }
html[lang="de"] :is(h1, h2, h3), html[lang="ru"] :is(h1, h2, h3) { hyphens: auto; }
h1 { font-size: clamp(2.05rem, 1.25rem + 3vw, 3.1rem); line-height: 1.07; letter-spacing: -.024em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); line-height: 1.14; letter-spacing: -.016em; }
h3 { font-size: 1.06rem; line-height: 1.35; }
html[lang="hy"] h1 { font-size: clamp(1.8rem, 1.15rem + 2.6vw, 2.85rem); letter-spacing: 0; line-height: 1.15; }
html[lang="hy"] h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.05rem); letter-spacing: 0; line-height: 1.2; }
html[lang="ru"] h1, html[lang="de"] h1 { font-size: clamp(1.95rem, 1.2rem + 3vw, 3.2rem); }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
img, svg { display: inline-block; vertical-align: middle; }
.i { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .97rem; line-height: 1.2; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--field); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #eef6f3; color: var(--brand); }
.btn-lg { padding: 14px 22px; font-size: 1.02rem; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .i { transition: transform .15s; }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow.light { color: var(--brand-bright); }
.link-arrow.light:hover { color: #fff; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 248, .92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled, .hdr.open { border-bottom-color: var(--line); }
.hdr-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700;
  font-size: 1.16rem; letter-spacing: -.012em; }
.logo:hover { color: var(--ink); }
.logo-mark { color: var(--brand); flex-shrink: 0; }
.hdr-nav { display: none; gap: 28px; margin: 0 auto; }
.hdr-nav a { color: var(--ink-2); font-weight: 500; font-size: .96rem; }
.hdr-nav a:hover, .hdr-nav a[aria-current] { color: var(--brand); }
.hdr-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.hdr-actions .lang, .hdr-login { display: none; }
.hdr-actions .btn { display: none; }
.hdr-login { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.burger { display: inline-flex; margin-left: auto; margin-right: -8px; padding: 8px; background: none; border: 0;
  color: var(--ink); cursor: pointer; border-radius: 8px; }
.burger-close { display: none; }
.burger[aria-expanded="true"] .burger-open { display: none; }
.burger[aria-expanded="true"] .burger-close { display: inline; }
@media (min-width: 600px) {
  .hdr-actions .btn { display: inline-flex; }
  .burger { margin-left: 0; }
}
@media (min-width: 1080px) {
  .hdr-nav { display: flex; }
  .hdr-actions { margin-left: 0; }
  .hdr-actions .lang, .hdr-login { display: inline-flex; }
  .burger { display: none; }
  .mnav { display: none !important; }
}

.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px;
  border-radius: 8px; cursor: pointer; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--tint); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 170px; margin: 0; padding: 6px;
  list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 16px 40px -12px rgba(20, 23, 28, .22); }
.lang ul a { display: block; padding: 8px 10px; border-radius: 7px; color: var(--ink); font-size: .95rem; }
.lang ul a:hover { background: var(--tint); }
.lang ul a[aria-current] { color: var(--brand); font-weight: 600; }

.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(20, 23, 28, .25); max-height: calc(100dvh - 64px); overflow-y: auto;
  padding: 4px 0 22px; }
.mnav nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink);
  font-size: 1.08rem; font-weight: 500; }
.mnav-langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.mnav-langs a { padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2);
  font-size: .88rem; font-weight: 600; }
.mnav-langs a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* sticky mobile call to action */
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 248, .96); border-top: 1px solid var(--line); transform: translateY(110%);
  transition: transform .25s ease; }
.mcta.show { transform: none; }
@media (min-width: 760px) { .mcta { display: none; } }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
@media (min-width: 960px) { .sec { padding: 104px 0; } }
.sec-tight { padding-top: 24px; }
.tint { background: var(--tint); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--brand); font-weight: 600;
  font-size: .92rem; }
.kicker::before { content: ""; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.sec-head .kicker { color: var(--brand); font-size: .92rem; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 36em; }
.lead-sm { color: var(--muted); font-size: 1.05rem; }
.muted { color: var(--muted); font-weight: 400; }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.split-head h2 { max-width: 16em; }
.split-head p { color: var(--muted); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
  .split-head { position: sticky; top: 104px; align-self: start; }
}

/* ---------- hero ---------- */
.hero { padding: 44px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.hero h1 { max-width: 15em; }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 26px; }
.trust { display: flex; gap: 10px; align-items: baseline; margin: 0; color: var(--muted); font-size: .93rem; max-width: 34em; }
.trust::before { content: ""; flex: 0 0 18px; height: 2px; background: var(--brand); transform: translateY(-4px); }
@media (max-width: 479px) {
  .hero-cta .btn { width: 100%; }
}
@media (min-width: 1000px) {
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 56px; }
}

/* ---------- product screens (illustrative) ---------- */
.app, .win { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-win); overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--ink); }
.app { display: grid; grid-template-columns: minmax(0, 1fr); }
.app-side { display: none; }
@media (min-width: 560px) {
  .app { grid-template-columns: 136px minmax(0, 1fr); }
  .app-side { display: flex; flex-direction: column; gap: 2px; padding: 14px 8px 40px; background: var(--chrome);
    border-right: 1px solid var(--line); }
}
.app-brand { display: flex; align-items: center; gap: 7px; padding: 2px 8px 14px; font-weight: 700; font-size: 13px; }
.app-brand .logo-mark { color: var(--brand); }
.app-nav { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: var(--muted);
  font-size: 12.5px; min-width: 0; }
.app-nav span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-nav.on { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 23, 28, .08); }
.app-nav.on .i { color: var(--brand); }
.app-main { padding: 14px 14px 16px; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.app-top strong { font-size: 15px; }
.app-search { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 58%; overflow: hidden;
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted-2); font-size: 12px; }
.app-top strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app-search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 400px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; min-width: 0; }
.kpi span { display: block; color: var(--muted); font-size: 10.5px; line-height: 1.25; min-height: 2.5em; }
.kpi b { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 11px; color: var(--ok); font-weight: 600; }
.kpi .amber { color: var(--warn); }
.kpi .brand { color: var(--brand); }
.app-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
@media (min-width: 400px) { .app-cols { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.panel { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; min-width: 0; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px;
  font-size: 12px; font-weight: 600; }
.panel-h.pad { padding: 12px 14px 4px; margin: 0; font-size: 13px; }
.panel-h .count { background: var(--tint); border-radius: 99px; padding: 0 7px; font-size: 11px; color: var(--muted); }
.row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-2); min-width: 0; }
.panel-h + .row, .team .row:first-child { border-top: 0; }
.row .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.row .t { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.row.more { color: var(--muted); font-size: 12px; padding-left: 32px; }
.av { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px;
  border-radius: 50%; color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.av-lg { width: 46px; height: 46px; font-size: 15px; }
.av1 { background: var(--brand); } .av2 { background: #b06d27; } .av3 { background: #2f5c96; } .av4 { background: #6a4d9e; }
.pill { flex-shrink: 0; padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.p-vac { background: var(--info-soft); color: var(--info); }
.p-off { background: var(--off-soft); color: var(--off); }
.p-sick { background: var(--bad-soft); color: var(--bad); }
.p-ok { background: var(--ok-soft); color: var(--ok); }
.p-late { background: var(--warn-soft); color: var(--warn); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 104px; padding-top: 4px; }
.bars > div { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.bars i { display: block; width: 100%; max-width: 26px; background: #cfe2dc; border-radius: 4px 4px 0 0; }
.bars i.today { background: var(--brand); }
.bars em { order: -1; font-style: normal; font-size: 10px; color: var(--muted); margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.bars small { margin-top: 5px; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.bars-tall { height: 150px; }
.hbars > div { display: grid; grid-template-columns: minmax(0, 96px) minmax(0, 1fr) 26px; align-items: center; gap: 8px;
  padding: 6px 0; font-size: 12px; }
.hbars span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.hbars i { display: block; height: 9px; background: var(--brand); opacity: .82; border-radius: 5px; }
.hbars b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.sample { position: absolute; color: var(--muted-2); font-size: 10px; letter-spacing: .02em; pointer-events: none; }
.app .sample { right: 12px; bottom: 6px; }
@media (min-width: 560px) { .app .sample { left: 14px; right: auto; bottom: 12px; } }
.win .sample { top: 8px; right: 12px; }

.win-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--chrome);
  border-bottom: 1px solid var(--line); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcd7cf; }
.win-title { margin-left: 8px; color: var(--muted); font-size: 11.5px; }
.win-wide { max-width: 1000px; margin: 0 auto; }
.pad { padding: 12px 14px; }
.prof-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; min-width: 0; }
.prof-head > div { min-width: 0; }
.prof-head strong { display: block; font-size: 15px; }
.prof-head > div span { display: block; color: var(--muted); font-size: 12.5px; }
.prof-head small { display: block; color: var(--muted-2); font-size: 11.5px; }
.tabs-mk { display: flex; gap: 16px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted);
  font-size: 12.5px; overflow: hidden; white-space: nowrap; }
.tabs-mk span { padding: 8px 0; border-bottom: 2px solid transparent; }
.tabs-mk .on { color: var(--ink); font-weight: 600; border-bottom-color: var(--brand); }
.tl { list-style: none; margin: 0; padding: 16px 16px 18px; }
.tl li { position: relative; padding: 0 0 14px 22px; }
.tl li::before { content: ""; position: absolute; left: 0; top: 5px; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--brand); background: var(--paper); }
.tl li::after { content: ""; position: absolute; left: 5px; top: 17px; bottom: 0; width: 1px; background: var(--line); }
.tl li:last-child { padding-bottom: 0; }
.tl li:last-child::after { display: none; }
.tl time { display: block; color: var(--muted-2); font-size: 11px; font-variant-numeric: tabular-nums; }
.tl b { display: block; font-size: 13px; font-weight: 600; }
.tl span { color: var(--muted); font-size: 12.5px; }
.team { padding: 2px 14px 4px; }
.req { margin: 8px 14px 14px; padding: 11px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.req-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.req-top > div { min-width: 0; }
.req-top strong { display: block; font-size: 13px; }
.req-top > div span { display: block; color: var(--muted); font-size: 12px; }
.req-btns { display: flex; gap: 8px; margin-top: 10px; }
.req-btns span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 7px; font-size: 12px; font-weight: 600; }
.b-ok { background: var(--brand); color: #fff; }
.b-no { border: 1px solid var(--field); color: var(--ink); background: var(--paper); }
.win-flow .req-top { padding-top: 16px; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 14px 8px 20px; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  font-size: 12px; padding: 0 4px; min-width: 0; }
.stepper li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before { background: var(--brand); }
.stepper .dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); color: #fff; }
.stepper .done .dot { background: var(--brand); border-color: var(--brand); }
.stepper .now .dot { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.stepper b { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.stepper small { display: block; color: var(--muted); font-size: 11px; }
.rep { padding: 14px; }
.kpis-rep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .kpis-rep { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpis-rep .kpi span { min-height: 0; }
.rep-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
@media (min-width: 760px) { .rep-cols { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }

.phone-wrap { display: flex; justify-content: center; }
.phone { position: relative; width: 280px; max-width: 100%; border: 9px solid #1c2024; border-radius: 40px;
  background: var(--paper); box-shadow: var(--shadow-win); overflow: hidden; font-size: 13px; line-height: 1.4; }
.phone-in { padding: 20px 15px 10px; }
.ph-top { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.ph-top strong { flex: 1; color: var(--ink); font-size: 15px; }
.ph-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; padding: 9px 10px; background: var(--ok-soft);
  color: var(--ok); border-radius: var(--r); font-size: 12px; }
.ph-note .i { margin-top: 1px; }
.ph-bal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ph-bal div { border: 1px solid var(--line); border-radius: var(--r); padding: 10px; min-width: 0; }
.ph-bal span { display: block; color: var(--muted); font-size: 11px; }
.ph-bal b { font-size: 22px; font-weight: 600; }
.ph-bal small { font-size: 12px; color: var(--muted); font-weight: 500; }
.ph-sec { margin: 16px 0 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ph-shift { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line-2); }
.ph-shift b { font-weight: 500; font-variant-numeric: tabular-nums; }
.ph-btn { margin-top: 12px; padding: 11px; border-radius: var(--r); background: var(--brand); color: #fff; text-align: center;
  font-weight: 600; font-size: 13.5px; }
.phone .sample { position: static; display: block; text-align: center; padding: 6px 0 12px; }

/* ---------- problem ---------- */
.numbered { list-style: none; margin: 0; padding: 0; }
.numbered li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 22px 0; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.num { color: var(--brand); font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; padding-top: 1px; }
.numbered h3 { margin-bottom: 6px; }
.numbered p { margin: 0; color: var(--muted); }
.pivot { margin: 28px 0 0; padding-left: 16px; border-left: 3px solid var(--brand); font-size: 1.12rem; font-weight: 600; }

/* ---------- modules ---------- */
.mod-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; }
@media (min-width: 640px) { .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mod { background: var(--paper); padding: 26px 22px; min-width: 0; }
.mod-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: var(--r); background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.mod h3 { margin-bottom: 8px; }
.mod p { color: var(--muted); font-size: .97rem; margin-bottom: 14px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.tags li { padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); color: var(--ink-2);
  font-size: 12.5px; }

/* ---------- personas ---------- */
.persona-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .persona-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; }
  .persona-grid.flip .persona-copy { order: 2; }
}
.persona-copy h2 { max-width: 15em; }
.persona-shot .win { max-width: 520px; margin: 0 auto; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.checks .i { color: var(--brand); margin-top: 4px; }
@media (min-width: 640px) { .checks.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }

/* ---------- approvals ---------- */
.note { margin-top: 18px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--muted); font-size: .96rem; }

/* ---------- security (dark) ---------- */
.dark { background: var(--dark); color: #dfe7e4; }
.dark h2, .dark h3 { color: #fff; }
.dark .split-head p { color: #a9bab5; }
.sec-list { list-style: none; margin: 0; padding: 0; }
.sec-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .11); }
.sec-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .11); }
.sec-list .i { color: var(--brand-bright); margin-top: 2px; }
.sec-list h3 { margin: 0 0 4px; font-size: 1.02rem; }
.sec-list p { margin: 0; color: #a9bab5; font-size: .96rem; }

/* ---------- setup steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.steps li { position: relative; padding: 0 0 30px 56px; min-width: 0; }
.steps li::before { content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 1.5px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { display: none; }
.step-n { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 36px;
  height: 36px; border-radius: 50%; border: 1.5px solid var(--brand); background: var(--paper); color: var(--brand); font-weight: 600; }
.steps h3 { margin: 6px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .steps li { padding: 0; }
  .step-n { position: static; margin-bottom: 14px; }
  .steps li::before { left: 48px; right: -16px; top: 18px; bottom: auto; width: auto; height: 1.5px; }
  .steps li:last-child::before { display: none; }
  .steps h3 { margin-top: 0; }
}

/* ---------- comparison ---------- */
.cmp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cmp-row span { padding: 14px 16px; border-top: 1px solid var(--line); min-width: 0; }
.cmp-row span:first-child { border-right: 1px solid var(--line); color: var(--muted); }
.cmp-row span:last-child { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.cmp-row span:last-child .i { color: var(--brand); margin-top: 4px; }
.cmp-head span { border-top: 0; background: var(--chrome); font-size: .85rem; font-weight: 600; color: var(--muted); }
.cmp-head span:last-child { color: var(--brand); }
@media (max-width: 559px) { .cmp-row span { padding: 12px; font-size: .93rem; } .cmp-row span:last-child .i { display: none; } }

/* ---------- pricing ---------- */
.price-band-row { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.price-band-row p { color: var(--muted); max-width: 40em; }
@media (min-width: 900px) { .price-band-row { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; } }
.plan-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.plan-chips li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; font-weight: 600; background: var(--paper); }
.plan-chips li.hl { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); min-width: 0; }
.plan-hl { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 18px 40px -22px rgba(15, 76, 65, .4); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h2 { margin: 0; font-size: 1.35rem; }
.badge { padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: .76rem; font-weight: 600; white-space: nowrap; }
.plan-tag { margin: 0; color: var(--muted); }
.plan .checks { flex: 1; margin: 4px 0 8px; }
.plan .checks li { padding: 4px 0; font-size: .95rem; }
.plans-note { margin: 28px 0 0; text-align: center; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0;
  list-style: none; cursor: pointer; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { color: var(--brand); margin-top: 3px; transition: transform .2s; }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 20px; color: var(--muted); max-width: 42em; }

/* ---------- final CTA ---------- */
.final { background: var(--brand); color: #fff; }
.final-row { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.final h2 { color: #fff; margin-bottom: 10px; max-width: 18em; }
.final p { color: #cfe4dd; margin: 0; max-width: 36em; }
@media (min-width: 900px) { .final-row { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; } }
@media (max-width: 479px) { .final .btn { width: 100%; } }

/* ---------- sub-pages ---------- */
.page-head { padding: 56px 0 8px; }
.page-head h1 { max-width: 18em; }
.page-head .lead { margin: 0; }
@media (min-width: 960px) { .page-head { padding: 88px 0 16px; } }
.feat-list { display: grid; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 34px 0; border-top: 1px solid var(--line); }
.feat:last-child { border-bottom: 1px solid var(--line); }
.feat-title { display: flex; align-items: center; gap: 14px; }
.feat-title .mod-ic { margin: 0; }
.feat-title h2 { margin: 0; font-size: 1.4rem; }
.feat-body p { margin: 0 0 6px; color: var(--muted); font-size: 1.04rem; }
@media (min-width: 900px) { .feat { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; } .feat-title { align-items: flex-start; } }
.sec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 760px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sec-grid li { background: var(--paper); padding: 26px 24px; min-width: 0; }
.sec-grid h2 { margin: 0 0 6px; font-size: 1.1rem; letter-spacing: 0; }
.sec-grid p { margin: 0; color: var(--muted); }
.prose { max-width: 720px; }
.prose p { font-size: 1.1rem; line-height: 1.75; margin: 0 0 1.2em; }
.prose p:first-of-type { font-size: 1.22rem; }
.page-about .prose p:first-of-type { color: var(--ink); }
.narrow-page { padding: 56px 0 96px; }
.narrow { max-width: 600px; }
.muted-line { margin-top: 20px; color: var(--muted); }

/* ---------- demo & forms ---------- */
.demo { padding-top: 48px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 960px) { .demo { padding-top: 80px; } .demo-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; } }
.demo-copy .lead { margin-bottom: 0; }
.small-h { margin: 32px 0 10px; font-size: 1rem; letter-spacing: 0; }
.expect { list-style: none; margin: 0; padding: 0; counter-reset: x; }
.expect li { position: relative; padding: 11px 0 11px 38px; border-top: 1px solid var(--line); counter-increment: x; }
.expect li::before { content: counter(x); position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: .85rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.demo-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px;
  box-shadow: 0 20px 50px -34px rgba(20, 23, 28, .35); }
@media (min-width: 640px) { .demo-card { padding: 32px; } }
.f2 { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .f2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.field .opt { color: var(--muted-2); font-weight: 400; font-size: .85rem; }
.field input, .field select, .field textarea, .slug {
  width: 100%; padding: 11px 12px; border: 1px solid var(--field); border-radius: 9px; background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.4; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus, .slug:focus-within {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.has-err input, .has-err select, .has-err textarea { border-color: var(--bad); }
.err { display: block; margin-top: 5px; color: var(--bad); font-size: .86rem; }
.form-err { margin: 0 0 16px; padding: 10px 12px; border-radius: 9px; background: var(--bad-soft); color: var(--bad); font-size: .93rem; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .86rem; text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 28px 8px; }
.done-ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px;
  border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.done p { color: var(--muted); margin: 0; }
.slug { display: flex; padding: 0; overflow: hidden; }
.slug input { flex: 1; min-width: 0; padding: 11px 12px; border: 0; outline: 0; font: inherit; font-size: 1rem; background: transparent; }
.slug span { padding: 11px 12px; background: var(--chrome); color: var(--muted); border-left: 1px solid var(--line); white-space: nowrap; }
.login-form { margin: 28px 0 0; }

/* ---------- footer ---------- */
.ftr { background: #131917; color: #a5afab; padding-bottom: 8px; }
@media (max-width: 759px) { .ftr { padding-bottom: 84px; } .page-demo .ftr { padding-bottom: 8px; } }
.ftr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 56px; padding-bottom: 36px; }
.ftr-brand { grid-column: 1 / -1; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } .ftr-brand { grid-column: auto; } }
.ftr .logo { color: #fff; }
.ftr .logo-mark { color: #1f7a64; }
.ftr-brand p { margin: 12px 0 0; font-size: .95rem; max-width: 22em; }
.ftr h2 { margin: 0 0 12px; color: #fff; font-size: .9rem; letter-spacing: 0; }
.ftr-grid a { display: block; padding: 4px 0; color: #a5afab; font-size: .95rem; }
.ftr a:hover { color: #fff; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.ftr-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ftr-langs a { color: #a5afab; }
.ftr-langs a[aria-current] { color: #fff; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
