/* makli.com — site styles (Round 36). Shared by / and /security/. Brand: Plus Jakarta Sans, #673de6. */
:root {
  --ink: #140f2b;
  --ink-2: #2f1c6a;
  --text: #2b2d3a;
  --muted: #5d6175;
  --faint: #8a8ea3;
  --line: #ebe8f5;
  --line-2: #dcd6f2;
  --bg: #ffffff;
  --soft: #f7f5ff;
  --soft-2: #f1edff;
  --accent: #673de6;
  --accent-2: #8b5cf6;
  --accent-deep: #4c22c9;
  --accent-ink: #ffffff;
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgba(20, 15, 43, .05), 0 12px 32px -16px rgba(20, 15, 43, .18);
  --shadow-lg: 0 30px 80px -30px rgba(47, 28, 106, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -10px rgba(103, 61, 230, .65); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.btn i { font-size: 18px; }

/* ── Top bar & nav ───────────────────────────────────────────────── */
.topbar { background: var(--ink); color: #d9d4f5; font-size: 13.5px; text-align: center; padding: 9px 16px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; margin-left: 6px; }
.topbar a:hover { text-decoration: underline; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 15, 43, .35); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: .02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 9px 13px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #4b4e5c; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-login { padding: 10px 14px; font-size: 15px; font-weight: 500; color: #4b4e5c; text-decoration: none; border-radius: 10px; }
.nav-login:hover { background: var(--soft); color: var(--ink); }
.nav .btn { padding: 11px 18px; font-size: 14.5px; border-radius: 11px; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 20px; color: var(--ink); cursor: pointer; }
.mnav { display: none; }

/* ── Sections ────────────────────────────────────────────────────── */
section { position: relative; }
.sec { padding: 104px 0; }
.sec-soft { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.sec-dark { background: radial-gradient(120% 120% at 50% 0%, #2a1a63 0%, var(--ink) 55%); color: #cfc9ee; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--soft-2); color: var(--accent-deep); font-size: 13px; font-weight: 700; letter-spacing: .01em;
}
.sec-dark .eyebrow { background: rgba(255, 255, 255, .08); color: #d9ccff; }
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 14px; }
.head p { font-size: 18px; color: var(--muted); }
.sec-dark .head p { color: #b9b2df; }
.grad { background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(139, 92, 246, .16) 0%, transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(103, 61, 230, .14) 0%, transparent 70%),
    linear-gradient(180deg, #fbfaff 0%, #fff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); letter-spacing: -.035em; margin: 18px 0 20px; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note i { color: var(--ok); font-size: 17px; }

/* Hero console: a live-looking run of Makli on one ticket. */
.console {
  position: relative; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate;
}
/* A light travelling around the edge: a conic gradient masked down to a 2px border. */
.console::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ring, 0deg), rgba(103, 61, 230, 0) 0deg, rgba(139, 92, 246, .9) 60deg, rgba(103, 61, 230, 0) 120deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.console-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.console-bar b { color: var(--ink); font-weight: 700; }
.dots { display: inline-flex; gap: 6px; margin-right: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e7e4f2; display: block; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft-2); color: var(--accent-deep); }
.chip-ok { background: #e8f8ee; color: #15803d; }
.chip-warn { background: #fff4e5; color: #b45309; }
.console-body { padding: 18px; display: grid; gap: 14px; }
.msg { border-radius: 16px; padding: 13px 15px; font-size: 14.5px; line-height: 1.55; }
.msg-client { background: var(--soft); border: 1px solid var(--line); }
.msg-who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.msg-who img { width: 20px; height: 20px; border-radius: 50%; }
.steps { list-style: none; margin: 0; padding: 4px 2px; display: grid; gap: 8px; }
.step {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; font-size: 13.5px; color: var(--text);
  opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.step.is-on { opacity: 1; transform: none; }
.step .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--soft-2); color: var(--accent); font-size: 15px; }
.step .t { color: var(--faint); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 4px; }
.step code { font-size: 12px; background: #f3f1fb; padding: 1px 6px; border-radius: 6px; color: var(--ink-2); }
.msg-makli { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); color: #f4f0ff; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg-makli.is-on { opacity: 1; transform: none; }
.msg-makli .msg-who { color: #dcd2ff; }
.msg-makli b { color: #fff; }
.console-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); background: #fcfbff; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .3; animation: blink 1.2s infinite; display: block; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }

/* ── Logos ───────────────────────────────────────────────────────── */
.logos { padding: 34px 0 10px; }
.logos p { text-align: center; font-size: 13.5px; font-weight: 600; color: var(--faint); letter-spacing: .02em; margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 54px; }
.logo-row img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s ease, opacity .2s ease; }
.logo-row img:hover { filter: none; opacity: 1; }

/* ── Cards / grids ───────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 20px 44px -22px rgba(47, 28, 106, .35); }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--soft-2); color: var(--accent); font-size: 24px; }
.card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-size: 14.5px; color: var(--text); }
.card li { display: flex; gap: 8px; align-items: flex-start; }
.card li i { color: var(--accent); margin-top: 3px; }
.card .where { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--faint); }
.card .where b { color: var(--ink-2); }

/* Channels: three large cards with a mini visual each. */
.channel { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.channel .body { padding: 26px 26px 24px; }
.channel .vis { height: 190px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.mini { width: 82%; display: grid; gap: 8px; font-size: 12.5px; }
.mini .b { padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -12px rgba(20, 15, 43, .35); }
.mini .b.me { justify-self: end; background: var(--accent); color: #fff; border-color: var(--accent); }
.mini .b.note { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.mini .row { display: flex; align-items: center; gap: 8px; }
.mini .pill { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: var(--soft-2); color: var(--accent-deep); font-weight: 700; font-size: 11px; }
.mini .confirm { display: flex; gap: 6px; margin-top: 6px; }
.mini .confirm span { padding: 4px 10px; border-radius: 8px; font-weight: 700; font-size: 11px; }
.mini .confirm .y { background: var(--accent); color: #fff; }
.mini .confirm .n { background: #fff; border: 1px solid var(--line-2); color: var(--muted); }

/* ── Demo tabs ───────────────────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px 0 34px; }
.tab { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 600 14px/1 inherit; font-family: inherit; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: all .2s ease; }
.tab:hover { color: var(--ink); border-color: var(--accent); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.demo { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; align-items: stretch; }
.demo-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.demo-col h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.demo-col h3 .n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--soft-2); color: var(--accent); font-size: 13px; font-weight: 800; }
.demo-col p, .demo-col li { font-size: 14.5px; }
.demo-col .steps { gap: 10px; }
.demo-col .step { opacity: 1; transform: none; }
.demo-panel[hidden] { display: none; }
.demo-panel { animation: rise .45s var(--ease) both; }
.demo-out { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.demo-out i { color: var(--ok); font-size: 18px; }
.demo-col.reply { background: linear-gradient(160deg, #fbfaff 0%, #fff 60%); }

/* ── Integrations ────────────────────────────────────────────────── */
.integ { display: flex; flex-direction: column; gap: 10px; }
.integ .top { display: flex; align-items: center; gap: 12px; }
.integ .top h3 { margin: 0; font-size: 17px; }
.integ .count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--accent-deep); background: var(--soft-2); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.integ p { font-size: 14px; }
.integ .need { font-size: 12.5px; color: var(--faint); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.integ .need b { color: var(--ink-2); }

/* ── Control (modes) ─────────────────────────────────────────────── */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.mode { border-radius: var(--radius); padding: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.mode b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 16px; margin-bottom: 6px; }
.mode p { font-size: 14px; color: #b9b2df; }
.mode .lvl { display: flex; gap: 4px; margin-bottom: 14px; }
.mode .lvl i { height: 6px; flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .12); display: block; }
.mode .lvl i.on { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.ctrl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ctrl { border-radius: var(--radius); padding: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.ctrl i { font-size: 24px; color: #c4b5fd; }
.ctrl h3 { font-size: 16.5px; margin: 12px 0 6px; }
.ctrl p { font-size: 14px; color: #b9b2df; }

/* ── Security ────────────────────────────────────────────────────── */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shield { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.shield-vis { position: relative; height: 320px; border-radius: var(--radius-lg); background: radial-gradient(60% 60% at 50% 50%, #efe9ff 0%, #fff 70%); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.shield-core { width: 120px; height: 120px; border-radius: 34px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; color: #fff; font-size: 58px; box-shadow: 0 24px 50px -20px rgba(103, 61, 230, .8); position: relative; z-index: 2; }
.orbit { position: absolute; border: 1px dashed var(--line-2); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit.o1 { width: 220px; height: 220px; } .orbit.o2 { width: 320px; height: 320px; animation-duration: 60s; animation-direction: reverse; }
.orbit span { position: absolute; top: -17px; left: calc(50% - 17px); width: 34px; height: 34px; border-radius: 11px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); font-size: 17px; box-shadow: var(--shadow); }
.orbit.o2 span:nth-child(2) { top: auto; bottom: -17px; }
.orbit.o1 span:nth-child(2) { top: calc(50% - 17px); left: -17px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15px; }
.facts li i { color: var(--accent); font-size: 20px; margin-top: 2px; }
.facts b { color: var(--ink); }

/* ── Steps (onboarding) ──────────────────────────────────────────── */
.onboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.onboard .card { padding-top: 54px; }
.onboard .card::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; left: 26px; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }

/* ── Pricing ─────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 12px 0 2px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .vol { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.plan .btn { margin-top: 22px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 30px 60px -30px rgba(103, 61, 230, .55); }
.plan .flag { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.calc-band { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.calc-band b { color: var(--ink); font-size: 17px; }
.calc-band p { color: var(--muted); font-size: 14.5px; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; }
.faq .a p + p { margin-top: 10px; }

/* ── CTA & footer ────────────────────────────────────────────────── */
.cta-band { border-radius: 30px; padding: 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; background: radial-gradient(120% 140% at 0% 0%, #7c4dff 0%, var(--accent) 35%, #3b1aa6 100%); color: #ece6ff; overflow: hidden; position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.cta-band p { font-size: 17px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f1edff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-mascot { justify-self: end; align-self: center; width: 200px; max-height: 240px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
footer.site { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 104px; font-size: 14.5px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--faint); }

/* ── Lead modal ──────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(20, 15, 43, .55); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal-card { width: min(560px, 100%); background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); position: relative; animation: rise .35s var(--ease) both; max-height: calc(100vh - 40px); overflow: auto; }
.modal-card h3 { font-size: 24px; margin-bottom: 8px; }
.modal-card > p { color: var(--muted); margin-bottom: 20px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); font-size: 18px; cursor: pointer; }
.lead { display: grid; gap: 12px; }
.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead input, .lead select { width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: 15px inherit; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.lead input:focus, .lead select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(103, 61, 230, .14); }
.lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-err { color: #b91c1c; font-size: 14px; }
.lead-ok { text-align: center; padding: 20px 0; }
.lead-ok i { font-size: 46px; color: var(--ok); }
.consent { font-size: 12.5px; color: var(--faint); text-align: center; }
html.modal-open { overflow: hidden; }

/* ── Security page extras ────────────────────────────────────────── */
.page-hero { padding: 80px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 16px 0 16px; }
.page-hero p { color: var(--muted); font-size: 18.5px; max-width: 720px; margin: 0 auto; }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; }
.toc a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; text-decoration: none; color: var(--muted); }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.layer { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.layer h2 { font-size: 26px; }
.layer .lede2 { color: var(--muted); margin-top: 10px; font-size: 15px; }
.layer .icon { margin-bottom: 16px; }
.layer dl { margin: 0; display: grid; gap: 18px; }
.layer dt { font-weight: 700; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.layer dt i { color: var(--accent); }
.layer dd { margin: 4px 0 0 30px; color: var(--muted); font-size: 15.5px; }
.note-box { margin-top: 30px; padding: 18px 20px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }

/* ── Motion ──────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: scale(.85); } 40% { opacity: 1; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ring { to { --ring: 360deg; } }
.console::before { animation: ring 6s linear infinite; }

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

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .grid-4, .modes, .onboard { grid-template-columns: repeat(2, 1fr); }
  .shield { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: grid; place-items: center; }
  .mnav { display: none; padding: 10px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
  .nav.is-open .mnav { display: grid; gap: 4px; }
  .mnav a { padding: 12px 6px; text-decoration: none; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 10px; color: #fff; border: 0; }
  .grid-3, .sec-grid, .plans, .ctrl-grid, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 36px 26px; }
  .cta-mascot { justify-self: center; width: 170px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .sec { padding: 76px 0; }
}
@media (max-width: 560px) {
  .grid-4, .modes, .onboard { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .lead .row { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .console-body { padding: 14px; }
  .step { grid-template-columns: 24px 1fr; }
  .step .t { display: none; }
}
