/* Dashmor design preview (/next/). One self-contained stylesheet: the brand's navy and green, white paper.
   Display type: Instrument Serif. Text and interface: Hanken Grotesk. */
:root {
  --navy: #00142e; --navy-2: #041d3d; --navy-3: #0a2a50; --navy-line: #17355c;
  --green: #078a04; --green-2: #2fa30f; --green-3: #7fd36b; --mint: #eef6ec;
  --paper: #ffffff; --mist: #f4f7f3; --ink: #00142e; --ink-2: #44546b; --ink-3: #74839a; --rule: #dfe6e2;
  --amber: #e9a23b; --red: #e5484d;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
@font-face { font-family: "Instrument Serif"; src: url("/next/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/next/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--green-3); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.06; }
h3 { font: 600 1.45rem/1.25 var(--sans); letter-spacing: -.015em; text-wrap: balance; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--sans); white-space: nowrap; transition: transform .15s, background .15s, box-shadow .15s; }
.btn.sm { height: 42px; padding: 0 20px; font-size: .95rem; }
.btn:active { transform: translateY(1px); }
.btn.green { background: var(--green); color: #fff; box-shadow: 0 10px 28px -12px rgba(7, 138, 4, .8); }
.btn.green:hover { background: #06a003; }
.btn.glass { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn.glass:hover { background: rgba(255, 255, 255, .08); }
.btn.navy { background: var(--navy); color: #fff; } .btn.navy:hover { background: var(--navy-3); }
.btn.line { color: var(--ink); box-shadow: inset 0 0 0 1px #b9c5cf; } .btn.line:hover { background: var(--mist); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(0, 20, 46, .96); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo img { height: 27px; width: auto; }
.nav nav { display: flex; gap: 30px; margin-right: auto; }
.nav nav a, .nav .link { color: #c9d5e6; font-weight: 500; font-size: .98rem; }
.nav nav a:hover, .nav .link:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.menu { display: none; background: none; border: 0; color: #fff; font: 600 .95rem var(--sans); height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; padding: 64px 0 0; background: linear-gradient(180deg, var(--navy) 0, var(--navy) calc(100% - 210px), var(--paper) calc(100% - 210px)); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 210px 0; background: radial-gradient(900px 480px at 50% 108%, rgba(47, 163, 15, .42), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; text-align: center; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.02; max-width: 20ch; margin-inline: auto; }
.lede { margin: 26px auto 0; max-width: 62ch; font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.55; color: #c9d5e6; }
.hero .ctas { justify-content: center; margin-top: 34px; }
.fine { margin-top: 18px; font-size: .93rem; color: #8da0ba; }

/* ---------- the product canvas ---------- */
.app { position: relative; margin-top: 48px; border-radius: 18px; background: #021730; border: 1px solid #23456f; box-shadow: 0 60px 120px -40px rgba(0, 12, 30, .75), 0 0 0 6px rgba(255, 255, 255, .04); overflow: hidden; font-size: 14px; line-height: 1.4; text-align: left; }
.app-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #04203f; border-bottom: 1px solid #143357; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a4a75; }
.app-bar span { margin-left: 14px; color: #7f95b3; font-size: 12.5px; }
.app-body { display: grid; grid-template-columns: 208px 1fr; }
.rail { padding: 18px 12px; border-right: 1px solid #10294a; background: #021428; display: flex; flex-direction: column; gap: 2px; }
.rail .org { display: flex; align-items: center; gap: 10px; padding: 0 8px 14px; color: #fff; font-size: 13.5px; }
.rail .org img { border-radius: 7px; }
.rail p { margin: 14px 8px 6px; font-size: 11.5px; color: #6c82a1; font-weight: 600; }
.rail a { padding: 7px 10px; border-radius: 8px; color: #b3c2d8; font-size: 13.5px; }
.rail a.on { background: #0b2c55; color: #fff; box-shadow: inset 3px 0 0 var(--green-2); }
.board { padding: 22px 24px 24px; min-width: 0; }
.board-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.board-h h2 { font: 600 22px/1.2 var(--sans); letter-spacing: -.02em; color: #fff; }
.board-h span { color: #8094ae; font-size: 13px; }
.pills { display: flex; gap: 8px; } .pills span { padding: 6px 12px; border-radius: 999px; border: 1px solid #1d3a60; color: #c3cfe0; font-size: 12.5px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.kpi, .card { background: #06203f; border: 1px solid #12305a; border-radius: 12px; }
.kpi { padding: 14px 16px 15px; }
.kpi span { display: block; color: #8ea2bd; font-size: 12.5px; }
.kpi b { display: block; margin: 4px 0 3px; font: 600 28px/1.1 var(--sans); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.kpi em, .role-k em { font-style: normal; font-size: 12.5px; color: #8ea2bd; }
.kpi em.up { color: var(--green-3); } .kpi em.warn { color: #f0b860; }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-top: 12px; }
.card { padding: 16px 18px; min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.card-h b { color: #fff; font-size: 14.5px; font-weight: 600; } .card-h span { color: #7f95b3; font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 196px; padding-top: 26px; }
.bar { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.bar i { width: 100%; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #1c5a3a, #10405a); transform: scaleY(0); transform-origin: bottom; transition: transform .8s cubic-bezier(.2, .8, .2, 1) var(--d); }
.bar.now i { background: linear-gradient(180deg, var(--green-3), var(--green)); }
.bar span { font-size: 11px; color: #6c82a1; }
.bar b { position: absolute; bottom: calc(var(--h) * .86 + 26px); font-size: 12px; color: #fff; background: #0b2c55; padding: 2px 7px; border-radius: 6px; opacity: 0; transition: opacity .4s 1.1s; white-space: nowrap; right: -4px; }
.app.go .bar i { transform: none; } .app.go .bar b { opacity: 1; }
.attn li { display: flex; gap: 11px; padding: 9px 0; border-top: 1px solid #10294a; }
.attn li:first-child { border-top: 0; padding-top: 0; }
.attn i { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; }
.attn i.r { background: var(--red); } .attn i.a { background: var(--amber); }
.attn b { display: block; color: #fff; font-weight: 600; font-size: 13.5px; } .attn span { color: #8ea2bd; font-size: 12.5px; }
.ask { margin-top: 12px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); overflow: hidden; }
.ask-q { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 15px; font-weight: 500; min-height: 50px; }
.caret { width: 2px; height: 18px; background: var(--green); animation: blink 1s steps(2) infinite; }
.ask.answered .caret { display: none; }
.ask-a { display: none; padding: 13px 18px 15px; font-size: 14.5px; color: var(--ink-2); background: var(--mint); }
.ask.answered .ask-a { display: block; animation: rise .5s ease both; }
.ask-a b { color: var(--ink); } .ask-a u { text-decoration: none; display: inline-block; margin: 6px 6px 0 0; padding: 3px 11px; border-radius: 999px; background: #fff; color: var(--green); font-weight: 600; font-size: 13px; box-shadow: inset 0 0 0 1px #cfe5cb; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* ---------- three facts ---------- */
.facts { padding: 72px 0 24px; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts .wrap > div { padding: 4px 36px; border-left: 1px solid var(--rule); }
.facts .wrap > div:first-child { padding-left: 0; border-left: 0; }
.facts b { font: 400 2rem/1.1 var(--serif); display: block; margin-bottom: 8px; }
.facts p { color: var(--ink-2); font-size: 1rem; max-width: 34ch; }

/* ---------- section heads ---------- */
.sec-h { max-width: 720px; margin-bottom: 56px; }
.sec-h p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; }

/* ---------- Dashmor AI ---------- */
.ai { padding: 104px 0 40px; }
.feat { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; padding: 44px 0; }
.feat.flip .feat-copy { order: 2; } .feat.flip { grid-template-columns: 7fr 5fr; }
.feat-copy p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.feat-copy ul { margin-top: 20px; display: grid; gap: 10px; }
.feat-copy li { position: relative; padding-left: 30px; font-weight: 500; }
.feat-copy li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23078a04' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px; }
.panel { background: var(--mist); border-radius: 24px; padding: 34px; font-size: 15px; line-height: 1.45; }
.bubble { border-radius: 18px; padding: 14px 18px; max-width: 92%; }
.bubble.me { margin-left: auto; width: fit-content; background: var(--navy); color: #fff; border-bottom-right-radius: 6px; font-weight: 500; }
.bubble.them { margin-top: 14px; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 14px 40px -24px rgba(0, 20, 46, .35); max-width: 100%; }
.bubble table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; font-variant-numeric: tabular-nums; }
.bubble th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 12.5px; padding: 0 0 8px; border-bottom: 1px solid var(--rule); }
.bubble td { padding: 9px 0; border-bottom: 1px solid #edf1ee; } .bubble tr:last-child td { border-bottom: 0; }
.bubble :is(th, td):not(:first-child) { text-align: right; padding-left: 14px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips span { padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--green); box-shadow: inset 0 0 0 1px #cfe5cb; }
.prompt { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 13px 20px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--rule); }
.built { margin-top: 16px; background: var(--navy); color: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: 0 24px 50px -28px rgba(0, 20, 46, .7); }
.built-h, .built-f { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.built-h b { font-size: 17px; } .built-h span { font-size: 12.5px; color: #8ea2bd; padding: 4px 10px; border: 1px solid var(--navy-line); border-radius: 999px; }
.hbars { display: grid; gap: 11px; margin: 20px 0; }
.hbars div { display: grid; grid-template-columns: 150px 1fr 62px; align-items: center; gap: 12px; font-size: 13.5px; color: #c3cfe0; }
.hbars i { height: 14px; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--green-3)); }
.hbars i.risk { background: var(--amber); }
.hbars b { text-align: right; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.tag { font-size: 13px; color: #f0b860; } .acts { display: flex; gap: 8px; }
.acts b, .acts em { font: 600 13.5px var(--sans); padding: 8px 16px; border-radius: 999px; }
.acts b { background: var(--green); } .acts em { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.auto-row { display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 18px; background: #fff; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.auto-row b { display: block; font-weight: 600; } .auto-row span { font-size: 13.5px; color: var(--ink-3); }
.auto-row time { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.tog { width: 40px; height: 24px; border-radius: 999px; background: #cfd8de; position: relative; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.tog.on { background: var(--green); } .tog.on::after { left: 19px; }
.mail { margin: 18px 0 0 auto; width: 84%; background: var(--navy); color: #fff; border-radius: 16px 16px 16px 6px; padding: 16px 20px; box-shadow: 0 24px 50px -28px rgba(0, 20, 46, .7); }
.mail span { font-size: 12.5px; color: var(--green-3); } .mail b { display: block; margin: 3px 0 5px; } .mail p { font-size: 14px; color: #c3cfe0; }

/* ---------- roles ---------- */
.roles { padding: 96px 0 104px; background: var(--mist); }
.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.role-tabs button { font: 600 1rem var(--sans); color: var(--ink-2); background: none; border: 0; height: 46px; padding: 0 20px; border-radius: 999px; cursor: pointer; box-shadow: inset 0 0 0 1px #cdd6d2; }
.role-tabs button:hover { color: var(--ink); background: #fff; }
.role-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.role-pane { display: grid; grid-template-columns: 1fr 320px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -45px rgba(0, 20, 46, .45); }
.role-main { padding: 34px 36px 0; min-width: 0; }
.role-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; } .role-h span { color: var(--ink-3); font-size: .98rem; }
.role-k { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 26px; }
.role-k div { padding: 0 20px; border-left: 1px solid var(--rule); } .role-k div:first-child { padding-left: 0; border-left: 0; }
.role-k span { display: block; font-size: .88rem; color: var(--ink-3); }
.role-k b { display: block; font: 400 2.5rem/1.15 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.role-k em { font-size: .86rem; color: var(--ink-3); } .role-k em.up { color: var(--green); } .role-k em.warn { color: #b26a00; }
.role-chart { margin: 28px -36px 0; position: relative; } .role-chart span { position: absolute; left: 36px; top: 0; font-size: .82rem; color: var(--ink-3); }
.role-chart svg { width: 100%; height: 150px; }
.role-see { background: var(--navy); color: #fff; padding: 34px 30px; display: flex; flex-direction: column; }
.role-see > b { font: 400 1.5rem var(--serif); }
.role-see ul { margin: 16px 0 28px; display: grid; gap: 12px; } .role-see li { padding-left: 18px; position: relative; color: #c9d5e6; font-size: .98rem; }
.role-see li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--green-3); }
.role-see .btn { margin-top: auto; align-self: flex-start; }

/* ---------- how it works ---------- */
.how { padding: 104px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 7px; right: 12%; top: 7px; height: 2px; background: linear-gradient(90deg, var(--green), var(--green-3) 70%, transparent); }
.steps li { position: relative; padding: 34px 28px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--green); }
.steps time { font-size: .9rem; font-weight: 600; color: var(--green); }
.steps h3 { margin: 6px 0 10px; } .steps p { color: var(--ink-2); font-size: 1rem; }

/* ---------- security ---------- */
.sec { background: var(--navy); color: #fff; padding: 104px 0; position: relative; overflow: hidden; }
.sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 8% 100%, rgba(47, 163, 15, .22), transparent 70%); }
.sec-grid { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.sec-lead p { margin-top: 20px; color: #c9d5e6; font-size: 1.12rem; max-width: 44ch; }
.get { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.get span { flex-basis: 100%; font-size: .9rem; color: #8da0ba; }
.get code { font: 500 .95rem var(--sans); padding: 9px 16px; border-radius: 10px; background: rgba(47, 163, 15, .16); color: #d9f3d3; box-shadow: inset 0 0 0 1px rgba(127, 211, 107, .45); }
.get code b { color: var(--green-3); margin-right: 6px; }
.get code.no { background: none; color: #6f85a4; box-shadow: inset 0 0 0 1px var(--navy-line); } .get code.no s { margin-right: 6px; }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.sec-list div { padding: 18px 0; border-top: 1px solid var(--navy-line); }
.sec-list div:last-child { grid-column: 1 / -1; }
.sec-list dt { font-weight: 600; font-size: 1.05rem; } .sec-list dd { margin-top: 4px; color: #a9b9cf; font-size: .98rem; }

/* ---------- support + price ---------- */
.close { padding: 104px 0; }
.close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.team p { margin: 18px 0 28px; color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.price { background: var(--mist); border-radius: 28px; padding: 44px 46px; }
.price > span { font-weight: 600; color: var(--green); }
.amt { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 12px; }
.amt b { font: 400 5.4rem/1 var(--serif); letter-spacing: -.02em; } .amt em { font-style: normal; color: var(--ink-2); font-size: 1.1rem; }
.price p { color: var(--ink-2); margin-bottom: 26px; max-width: 44ch; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #a9b9cf; padding: 64px 0 56px; font-size: .95rem; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.foot img { height: 23px; width: auto; margin-bottom: 16px; }
.foot p { max-width: 40ch; margin-bottom: 10px; } .foot p svg { display: inline; vertical-align: -2px; }
.foot b { display: block; color: #fff; margin-bottom: 12px; font-weight: 600; }
.foot a { display: block; padding: 4px 0; } .foot a:hover { color: #fff; }

/* ---------- support chat (same widget as the current site) ---------- */
.nk-chat, .nk-chat-launch { --night: #001128; --night-2: #001a38; --night-3: #062449; --line: #11294a; --line-2: #1d3a60; --ink: #fff; --ink-2: #c3cfe0; --ink-3: #8094ae; --body: var(--sans); --grad: linear-gradient(180deg, #2fa30f, #078a04); --blue: #2fa30f; --cyan: #7fd36b; --violet: #2fa30f; color: #fff; }
.nk-chat-launch { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 14px; border: 0; border-radius: 26px; background: var(--grad); color: #fff; font: 800 15px var(--body); cursor: pointer; box-shadow: 0 16px 40px -14px rgba(7, 138, 4, .8); }
.nk-chat-launch img { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: #04060e; }
.nk-chat { position: fixed; right: max(16px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(84px, calc(env(safe-area-inset-bottom, 0px) + 80px)); z-index: 41; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--night-2); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9); overflow: hidden; }
.nk-chat[hidden] { display: none; }
.nk-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.nk-chat-head img { width: 26px; height: 26px; }
.nk-av { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font: 800 15px var(--body); }
.nk-on { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #16a34a; vertical-align: 1px; }
.nk-chat-head b { font-family: var(--display); }
.nk-chat-head span { display: block; font-size: 12px; color: var(--ink-3); }
.nk-chat-head button { margin-left: auto; background: none; border: 0; color: var(--ink-2); font-size: 20px; cursor: pointer; }
.nk-chat-body { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.nk-m { max-width: 88%; padding: 9px 12px; border-radius: 12px; line-height: 1.5; }
.nk-m.user { align-self: flex-end; background: var(--grad); color: #fff; border-radius: 12px 12px 3px 12px; }
.nk-m.bot { background: var(--night-3); color: var(--ink); border-radius: 12px 12px 12px 3px; }
.nk-m.bot a { color: var(--sky); }
.nk-m.bot ul { margin: 6px 0; padding-left: 18px; }
.nk-typing { color: var(--ink-3); font-size: 14px; }
.nk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nk-chips button { border: 1px solid var(--line-2); background: none; color: var(--ink-2); border-radius: 999px; padding: 5px 11px; font: 13px var(--body); cursor: pointer; }
.nk-chips button:hover { color: var(--ink); }
.nk-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.nk-chat-form input, .nk-handoff input, .nk-handoff textarea { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--night); color: var(--ink); padding: 0 12px; font: 15px var(--body); }
.nk-handoff textarea { height: 70px; padding: 10px 12px; resize: vertical; }
.nk-handoff { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; }
.nk-link { background: none; border: 0; color: var(--sky); font: 600 13px var(--body); cursor: pointer; padding: 0 16px 12px; text-align: left; }
.nk-chat .btn.primary { background: var(--green); color: #fff; border: 0; cursor: pointer; }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .nav nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; background: var(--navy); padding: 8px 24px 18px; border-bottom: 1px solid var(--navy-line); display: none; }
  .nav nav.open { display: flex; } .nav nav a { padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .wrap { gap: 16px; } .nav-cta { margin-left: auto; gap: 12px; } .menu { display: block; } .nav .link { display: none; }
  .app-body { grid-template-columns: 1fr; } .rail { display: none; }
  .feat, .feat.flip, .sec-grid, .close-grid { grid-template-columns: 1fr; gap: 32px; } .feat.flip .feat-copy { order: 0; }
  .role-pane { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } .steps::before { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; } .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 52px; background: linear-gradient(180deg, var(--navy) 0, var(--navy) calc(100% - 120px), var(--paper) calc(100% - 120px)); }
  .hero::before,   .hero .btn { flex: 1 1 100%; } .app { margin-top: 44px; border-radius: 14px; }
  .board { padding: 16px 14px 16px; } .pills { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; } .kpi b { font-size: 23px; }
  .split { grid-template-columns: 1fr; } .bars { height: 150px; gap: 5px; }
  .attn li:nth-child(n+3) { display: none; }
  .facts { padding-top: 48px; } .facts .wrap { grid-template-columns: 1fr; gap: 22px; } .facts .wrap > div { border: 0; padding: 0; }
  .ai, .how, .sec, .close, .roles { padding-block: 64px; } .sec-h { margin-bottom: 32px; } .feat { padding: 26px 0; }
  .panel { padding: 18px; border-radius: 18px; }
  .hbars div { grid-template-columns: 104px 1fr 54px; gap: 8px; font-size: 12.5px; }
  .auto-row { grid-template-columns: 1fr 40px; } .auto-row time { grid-column: 1; grid-row: 2; margin-top: -12px; } .auto-row .tog { grid-row: 1 / 3; grid-column: 2; } .mail { width: 100%; }
  .role-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; } .role-tabs button { flex: none; height: 42px; padding: 0 16px; }
  .role-main { padding: 24px 20px 0; } .role-k { grid-template-columns: 1fr 1fr; row-gap: 20px; } .role-k div:nth-child(odd) { padding-left: 0; border-left: 0; } .role-k b { font-size: 2rem; }
  .role-chart { margin-inline: -20px; } .role-chart span { left: 20px; } .role-see { padding: 26px 20px; }
  .steps { grid-template-columns: 1fr; } .sec-list { grid-template-columns: 1fr; }
  .price { padding: 30px 24px; border-radius: 22px; } .amt b { font-size: 4.2rem; }
  .foot { grid-template-columns: 1fr 1fr; gap: 32px; } .foot > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
