/* Date:          2026-11-28
   Function:      The one stylesheet for Preshak: nanoT palette as custom properties, Geomini for
                  display and Arimo for text, a 4 px spacing scale, light theme, the tenant console
                  (shell, tables, pills, forms, flash boxes, two-pane inbox) and the public landing
                  page. Responsive down to 360 px. Hairline borders only; no shadows, no gradients.
   Developed by:  nanoT
   Reports to:    Shashi Suman
   Accountable:   Shashi Suman */

@import url("/assets/fonts/fonts.css");

/* ------------------------------------------------------------------ tokens */
:root {
  --blue: #143c9e;          /* product colour */
  --blue-dark: #0f2f7c;
  --blue-soft: #e8edf8;
  --navy: #0b2560;          /* dark surfaces, the mark */
  --teal: #12938c;          /* delivered and settled */
  --teal-soft: #e3f3f2;
  --cyan: #17b6e8;          /* the mark only */
  --green-brand: #21b573;   /* the customer bubble of the mark; the customer side of a conversation */
  --bg: #f9fafb;
  --paper: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #d9dee7;
  --line-soft: #e8ecf2;
  --amber: #a16207;
  --amber-soft: #fdf3dc;
  --red: #b42318;
  --red-soft: #fcebe9;
  --green: #1f7a3a;
  --green-soft: #e6f4ea;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px;
  --radius: 6px;
  --radius-lg: 10px;
  --max: 1180px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--navy); margin: 0; }
h1 { font-size: 26px; line-height: 1.2; }
h2 { font-size: 19px; line-height: 1.3; }
h3 { font-size: 16px; line-height: 1.35; }
p { margin: 0 0 var(--s3); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, .mono { font-family: var(--font-mono); font-size: 13px; }
pre { margin: 0; white-space: pre-wrap; word-break: break-word; }
.devanagari, [lang="hi"], .lang-hi { font-family: var(--font-devanagari); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.inline { display: inline; }
.hidden { display: none !important; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: var(--s6) 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ------------------------------------------------------------------ shell */
.topbar {
  display: flex; align-items: center; gap: var(--s6); flex-wrap: wrap;
  padding: var(--s2) var(--s6); background: var(--paper); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.logo { display: inline-flex; align-items: center; gap: var(--s2); color: var(--navy); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo .mark { flex: 0 0 auto; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.logo .devanagari { font-size: 15px; color: var(--ink-3); padding-left: var(--s2); border-left: 1px solid var(--line); line-height: 1; }
.nav { display: flex; gap: var(--s1); flex-wrap: wrap; flex: 1 1 auto; }
.nav a { padding: var(--s2) var(--s3); border-radius: var(--radius); color: var(--ink-2); font-size: 14px; }
.nav a:hover { background: var(--bg); text-decoration: none; }
.nav a.active { background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.who { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: var(--s3); margin-left: auto; }
button.link { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; cursor: pointer; }
button.link:hover { text-decoration: underline; }
main { max-width: var(--max); margin: 0 auto; padding: var(--s6) var(--s6) var(--s12); }
main.wide { max-width: 1480px; }
.foot { max-width: var(--max); margin: 0 auto; padding: var(--s6); font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line-soft); }
body.public .foot { display: none; }

/* ------------------------------------------------------------------ page */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); }
.page-head .sub { color: var(--ink-3); margin: var(--s1) 0 0; }
.actions { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.page.narrow { max-width: 640px; }
.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: var(--s4); }
.row { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); }
.panel > h2, .panel > h3 { margin-bottom: var(--s3); }
.panel-muted { background: var(--bg); border-style: dashed; }
.panel-note { border-color: var(--blue-soft); background: var(--blue-soft); }
.panel .table { margin: 0 calc(-1 * var(--s5)); width: calc(100% + 2 * var(--s5)); border: 0; border-radius: 0; }
.panel .table-wrap { margin: 0 calc(-1 * var(--s5)); }
.panel .table-wrap .table { margin: 0; width: 100%; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.panel-head h2, .panel-head h3 { margin: 0; }

.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4) var(--s5); display: flex; flex-direction: column; gap: var(--s1); min-width: 0; }
.stat-label { font-size: 13px; color: var(--ink-3); }
.stat-value { font-family: var(--font-display); font-size: 28px; line-height: 1.1; color: var(--navy); font-weight: 600; }
.stat-sub { font-size: 13px; color: var(--ink-2); }
.stat.ok .stat-value { color: var(--teal); }

.empty { color: var(--ink-3); text-align: center; padding: var(--s8) var(--s4) !important; }
.empty-state { text-align: center; padding: var(--s10) var(--s4); color: var(--ink-2); }
.empty-state h2 { margin-bottom: var(--s2); }

dl.kv { display: grid; grid-template-columns: minmax(120px, 160px) 1fr; gap: var(--s2) var(--s4); margin: 0; }
dl.kv dt { color: var(--ink-3); font-size: 13px; }
dl.kv dd { margin: 0; word-break: break-word; }

/* ------------------------------------------------------------------ flash */
.flash { padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: var(--s4); font-size: 14px; }
.flash-ok { border-color: var(--teal); background: var(--teal-soft); color: #0b4a46; }
.flash-err { border-color: #e9a7a0; background: var(--red-soft); color: #7a1a12; }
.flash-warn { border-color: #e7c66a; background: var(--amber-soft); color: #6b4400; }
.flash-info { border-color: #b9c6ea; background: var(--blue-soft); color: var(--blue-dark); }

/* ------------------------------------------------------------------ pills */
.pill { display: inline-block; padding: 1px var(--s2); border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 0.01em; background: var(--line-soft); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.pill.queued, .pill.draft, .pill.pending, .pill.unknown, .pill.none, .pill.scheduled { background: var(--line-soft); color: var(--ink-2); }
.pill.accepted, .pill.sent, .pill.open, .pill.running, .pill.connected, .pill.in, .pill.opted_in, .pill.issued { background: var(--blue-soft); color: var(--blue-dark); }
.pill.delivered, .pill.read, .pill.approved, .pill.active, .pill.completed, .pill.paid, .pill.settled, .pill.resolved, .pill.ok, .pill.green, .pill.high { background: var(--teal-soft); color: #0b5c57; }
.pill.failed, .pill.rejected, .pill.suspended, .pill.disabled, .pill.disconnected, .pill.opted_out, .pill.cancelled, .pill.overdue, .pill.void, .pill.red, .pill.low, .pill.error { background: var(--red-soft); color: var(--red); }
.pill.paused, .pill.received, .pill.yellow, .pill.medium, .pill.skipped, .pill.warn { background: var(--amber-soft); color: var(--amber); }
.pill.closed { background: var(--line-soft); color: var(--ink-3); }
.tag { display: inline-block; padding: 0 var(--s2); border: 1px solid var(--line); border-radius: var(--radius); font-size: 12px; line-height: 20px; color: var(--ink-2); background: var(--paper); margin: 0 var(--s1) var(--s1) 0; }

/* ------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: 14px; }
.table th, .table td { padding: var(--s2) var(--s3); text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); font-weight: 700; background: var(--bg); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fcfcfd; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { gap: var(--s1); }

/* ------------------------------------------------------------------ forms */
.form { display: flex; flex-direction: column; gap: var(--s4); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.form-grid .span-2 { grid-column: 1 / -1; }
.field, .form label { display: flex; flex-direction: column; gap: var(--s1); font-size: 13px; color: var(--ink-2); font-weight: 700; min-width: 0; }
.field small { font-weight: 400; color: var(--ink-3); }
.field.inline-check { flex-direction: row; align-items: center; gap: var(--s2); font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input[type="search"], input[type="datetime-local"], input[type="tel"], input:not([type]), select, textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s2) var(--s3); width: 100%; min-height: 38px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 1px var(--blue); }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
input[type="file"] { font: inherit; font-weight: 400; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3) var(--s4) var(--s4); margin: 0; min-width: 0; }
legend { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 0 var(--s1); }
.choices { display: flex; gap: var(--s4); flex-wrap: wrap; }
.choices label { flex-direction: row; align-items: center; gap: var(--s2); font-weight: 400; }
.filters { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: flex-end; margin-bottom: var(--s4); }
.filters .field { flex: 1 1 160px; }
.filters .field input, .filters .field select { min-height: 36px; font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1; padding: 0 var(--s4); min-height: 38px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--bg); text-decoration: none; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.danger { color: var(--red); border-color: #e9a7a0; }
.btn.danger:hover { background: var(--red-soft); }
.btn.small { min-height: 30px; padding: 0 var(--s3); font-size: 13px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--blue); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.form .btn { align-self: flex-start; }

.once { border: 1px solid var(--teal); background: var(--teal-soft); border-radius: var(--radius-lg); padding: var(--s4) var(--s5); }
.once code { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s2) var(--s3); margin: var(--s2) 0; word-break: break-all; font-size: 13px; }
.copy-row { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.copy-row code { flex: 1 1 200px; margin: 0; }

/* ------------------------------------------------------------------ auth */
.auth { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: var(--s6) var(--s4); }
.auth-card { width: 100%; max-width: 400px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s8); }
.auth-card .logo { margin-bottom: var(--s6); }
.auth-card h1 { margin-bottom: var(--s4); }
.auth-card .form .btn { align-self: stretch; }

/* ------------------------------------------------------------------ inbox */
.inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: var(--s4); align-items: start; }
.inbox.with-card { grid-template-columns: 300px minmax(0, 1fr) 280px; }
.convo-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.convo-list .filters { padding: var(--s3); margin: 0; border-bottom: 1px solid var(--line-soft); }
.convo { display: block; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line-soft); color: inherit; }
.convo:hover { background: var(--bg); text-decoration: none; }
.convo.active { background: var(--blue-soft); }
.convo .row1 { display: flex; justify-content: space-between; gap: var(--s2); align-items: baseline; }
.convo .name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convo .when { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.convo .row2 { display: flex; justify-content: space-between; gap: var(--s2); font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.unread { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 20px; }
.thread { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; min-height: 60vh; }
.thread-head { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.thread-head h2 { font-size: 17px; }
.thread-head .controls { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.thread-head .controls form { display: flex; gap: var(--s1); align-items: center; }
.thread-head .controls select { min-height: 32px; font-size: 13px; width: auto; }
.window { font-size: 13px; padding: var(--s1) var(--s3); border-radius: 999px; background: var(--teal-soft); color: #0b5c57; font-weight: 700; }
.window.closed { background: var(--amber-soft); color: var(--amber); }
.messages { list-style: none; margin: 0; padding: var(--s4); flex: 1 1 auto; overflow-y: auto; max-height: 62vh; display: flex; flex-direction: column; gap: var(--s2); }
.msg { max-width: 72%; padding: var(--s2) var(--s3); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg); }
.msg-in { align-self: flex-start; }
.msg-out { align-self: flex-end; background: var(--blue-soft); border-color: #c9d4f0; }
.msg-body { white-space: pre-wrap; word-break: break-word; }
.msg-meta { font-size: 11px; color: var(--ink-3); margin-top: var(--s1); display: flex; gap: var(--s2); align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.msg-meta .pill { font-size: 10px; line-height: 16px; }
.msg-error { color: var(--red); font-size: 12px; }
.composer { border-top: 1px solid var(--line-soft); padding: var(--s3) var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.composer .line { display: flex; gap: var(--s2); align-items: flex-end; }
.composer textarea { min-height: 44px; max-height: 160px; }
.composer .vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s2); }
.composer .note { font-size: 13px; color: var(--ink-3); }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); font-size: 14px; }
.contact-card h3 { font-size: 15px; }

/* ------------------------------------------------------------------ misc console */
.code-block { background: var(--navy); color: #e6ecff; border-radius: var(--radius-lg); padding: var(--s4) var(--s5); overflow-x: auto; font-size: 13px; line-height: 1.55; }
.code-block code { color: inherit; }
.docs h1, .docs h2, .docs h3 { margin: var(--s6) 0 var(--s3); }
.docs h1:first-child { margin-top: 0; }
.docs pre { background: var(--navy); color: #e6ecff; border-radius: var(--radius); padding: var(--s3) var(--s4); overflow-x: auto; margin-bottom: var(--s4); }
.docs code { background: var(--line-soft); padding: 0 var(--s1); border-radius: 3px; }
.docs pre code { background: none; padding: 0; }
.docs table { margin-bottom: var(--s4); }
.docs ul, .docs ol { margin: 0 0 var(--s3); padding-left: var(--s6); }
.preview { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); background: #eef3ea; max-width: 420px; }
.preview .bubble { background: var(--paper); border-radius: var(--radius-lg); padding: var(--s3) var(--s4); white-space: pre-wrap; word-break: break-word; border: 1px solid var(--line); }
.preview .bubble-head { font-weight: 700; margin-bottom: var(--s1); }
.preview .bubble-foot { font-size: 12px; color: var(--ink-3); margin-top: var(--s2); }
.preview .buttons { display: flex; flex-direction: column; gap: var(--s1); margin-top: var(--s2); }
.preview .buttons span { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; padding: var(--s2); color: var(--blue); font-weight: 700; font-size: 14px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding-left: var(--s8); position: relative; margin-bottom: var(--s2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 700; text-align: center; line-height: 22px; }
.bar { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--teal); }
.pager { display: flex; gap: var(--s2); align-items: center; justify-content: flex-end; margin-top: var(--s3); font-size: 13px; }

/* ------------------------------------------------------------------ landing */
body.public { background: var(--paper); }
.land-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) var(--s6); border-bottom: 1px solid var(--line-soft); max-width: var(--max); margin: 0 auto; }
.land-top nav { display: flex; gap: var(--s4); align-items: center; font-size: 14px; white-space: nowrap; }
.land { max-width: var(--max); margin: 0 auto; padding: 0 var(--s6); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 var(--s4); }
.eyebrow .brand, .eyebrow .devanagari { text-transform: none; }
.hero { padding: var(--s20) 0 var(--s12); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s10); align-items: end; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 600; }
.hero h1 .accent, .section h2 .accent { color: var(--blue); }
.hero .lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin: var(--s6) 0 0; }
.hero .buttons { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s6); }
.hero-hi { font-size: 15px; color: var(--ink-3); margin: var(--s6) 0 0; line-height: 1.7; max-width: 60ch; }
.hero-hi strong { display: block; font-size: 20px; color: var(--navy); font-weight: 700; margin-bottom: var(--s1); }
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s4) 0; display: flex; gap: var(--s6); flex-wrap: wrap; align-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; margin-right: var(--s2); }
.section { padding: var(--s16) 0; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s10); align-items: start; }
.section:last-of-type { border-bottom: 0; }
.section .head { grid-column: 1 / -1; }
.section h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
.section .copy { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.section .copy p { margin-bottom: var(--s4); }
.section .panel { font-size: 14px; }
.section.full { grid-template-columns: 1fr; }
.pricing { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); border: 1px solid var(--line); margin-top: var(--s6); }
.pricing th, .pricing td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.pricing th { font-family: var(--font-display); font-size: 16px; color: var(--navy); background: var(--bg); }
.pricing th:first-child, .pricing td:first-child { color: var(--ink-3); font-size: 13px; width: 26%; }
.pricing td.price { font-family: var(--font-display); font-size: 20px; color: var(--navy); font-weight: 600; }
.footnote { font-size: 13px; color: var(--ink-3); margin-top: var(--s4); line-height: 1.6; }
.statements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s6); }
.statements .panel { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.statements .panel strong { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: var(--s2); font-family: var(--font-mono); font-weight: 400; }
.land-foot { border-top: 1px solid var(--line); margin-top: var(--s12); padding: var(--s8) 0 var(--s12); font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.land-foot nav { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s3); }
.land-foot .logo { margin-bottom: var(--s3); }
.card-code { background: var(--navy); color: #e6ecff; border-radius: var(--radius-lg); padding: var(--s5); font-family: var(--font-mono); font-size: 13px; line-height: 1.6; overflow-x: auto; }
.card-code .k { color: var(--cyan); }
.card-code .ok { color: #7fd1c9; }
.card-contact dl.kv { grid-template-columns: 90px 1fr; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .inbox.with-card { grid-template-columns: 280px minmax(0, 1fr); }
  .inbox.with-card .contact-card { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .topbar { padding: var(--s2) var(--s4); gap: var(--s3); }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--s1); }
  .nav a { flex: 0 0 auto; }
  .who { margin-left: auto; }
  main { padding: var(--s4) var(--s4) var(--s10); }
  .hero, .section { grid-template-columns: 1fr; gap: var(--s6); padding: var(--s12) 0; }
  .hero { padding-top: var(--s12); }
  .inbox, .inbox.with-card { grid-template-columns: 1fr; }
  .convo-list.collapsed-mobile { display: none; }
  .messages { max-height: 50vh; }
  .msg { max-width: 90%; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .statements { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .land-top nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .land-top, .land { padding-left: var(--s4); padding-right: var(--s4); }
  .hero h1 { font-size: 36px; }
  .section h2 { font-size: 26px; }
  .who span.name { display: none; }
  dl.kv { grid-template-columns: 1fr; gap: var(--s1); }
  dl.kv dt { margin-top: var(--s2); }
  .pricing th:first-child, .pricing td:first-child { width: 34%; }
  .page-head .actions { width: 100%; }
  .btn { min-height: 40px; }
}
