/* Memory by Kiawak · design "Zettelkasten" (2026-11-10): index cards on a light grey desk,
   ink text, Kiawak blue as the thread that links notes, note yellow for what an AI wrote.
   Fonts self-hosted (OFL): Fraunces (titles), Public Sans (text), JetBrains Mono (keys, code). */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #f2f3f5; --paper: #ffffff; --paper-2: #f7f8fa; --ink: #15171c; --ink-2: #393e48; --muted: #626976;
  --line: #dde1e7; --line-2: #eceef2; --accent: #2f54eb; --accent-2: #2443c4; --accent-ink: #ffffff; --accent-soft: #e9eefd;
  --note: #f2c440; --note-soft: #fdf4d4; --note-ink: #6a4f00; --ok: #0b7a52; --ok-soft: #e3f4ec; --bad: #b4231a; --bad-soft: #fbe9e7;
  --thread: rgba(47, 84, 235, 0.42); --shadow: 0 1px 0 rgba(21, 23, 28, 0.04), 0 1px 3px rgba(21, 23, 28, 0.06);
  --shadow-2: 0 2px 4px rgba(21, 23, 28, 0.05), 0 10px 30px rgba(21, 23, 28, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif; --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 4px; --r-2: 8px; color-scheme: light;
}
[data-theme="dark"] {
  --bg: #111316; --paper: #1a1d22; --paper-2: #20242a; --ink: #eceef2; --ink-2: #c7ccd5; --muted: #99a0ac;
  --line: #2d323a; --line-2: #252930; --accent: #7d95ff; --accent-2: #9badff; --accent-ink: #0b0e1c; --accent-soft: #232a48;
  --note: #e2b53a; --note-soft: #3a321c; --note-ink: #f3d77f; --ok: #4cc79a; --ok-soft: #173229; --bad: #ff8a7a; --bad-soft: #3a1d1a;
  --thread: rgba(125, 149, 255, 0.45); --shadow: 0 1px 0 rgba(0, 0, 0, 0.3); --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.35); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); font-variation-settings: normal; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; height: auto; }
code, pre, .m-mono { font-family: var(--mono); font-size: 0.86em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; font-optical-sizing: auto; }
.m-skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.m-skip:focus { left: 8px; }
.m-only-dark { display: none !important; }
[data-theme="dark"] .m-only-dark { display: inline-block !important; }
[data-theme="dark"] .m-only-light { display: none !important; }

.m-wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.m-wrap-doc { width: min(780px, 100% - 32px); }
.m-wrap-wide { width: min(1240px, 100% - 32px); }

/* header */
.m-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.m-top-in { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.m-appbar-in { padding: 0 14px; }
.m-top-app .m-top-in { min-height: 50px; }
.m-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.m-brand:hover { color: var(--ink); }
.m-mark { width: 30px; height: 30px; flex: none; }
.m-mark-c { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.m-mark-n { fill: var(--note-soft); }
.m-mark-t { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-mark-d { fill: #2f54eb; }
.m-wm { font: 650 21px/1 var(--serif); letter-spacing: -0.02em; }
.m-by { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); margin-left: 2px; }
.m-kiawak img { height: 13px; width: auto; display: block; margin-top: 1px; }
.m-nav { display: flex; gap: 4px; margin-left: 8px; }
.m-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 10px; border-radius: var(--r); font-size: 15px; }
.m-nav a:hover { background: var(--paper); color: var(--ink); }
.m-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.m-icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r); color: var(--ink); cursor: pointer; }
.m-icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.m-icon-btn:hover { border-color: var(--ink-2); }
.m-lang { font: 600 12px/1 var(--mono); color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); padding: 9px 8px; border-radius: var(--r); background: var(--paper); }
.m-link-quiet { color: var(--ink-2); text-decoration: none; font-size: 15px; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.m-link-quiet:hover { color: var(--accent); }
.m-pill { font: 500 12px/1 var(--mono); padding: 7px 9px; border-radius: 99px; background: var(--note-soft); color: var(--note-ink); white-space: nowrap; }
.m-inline-form { display: inline; margin: 0; }

/* buttons */
.m-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r); border: 1px solid transparent; font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s; }
.m-btn:active { transform: translateY(1px); }
.m-btn-sm { min-height: 34px; padding: 6px 12px; font-size: 14px; }
.m-btn-block { width: 100%; }
.m-btn-primary { background: var(--accent); color: var(--accent-ink); }
.m-btn-primary:hover { background: var(--accent-2); color: var(--accent-ink); }
.m-btn-quiet { background: var(--paper); color: var(--ink); border-color: var(--line); }
.m-btn-quiet:hover { border-color: var(--ink-2); color: var(--ink); }
.m-btn-danger { background: var(--paper); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.m-btn-danger:hover { background: var(--bad-soft); color: var(--bad); }
.m-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.m-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.m-row-center { justify-content: center; }
.m-link { font-weight: 600; text-decoration: none; }
.m-link:hover { text-decoration: underline; }

/* text bits */
.m-kicker { font: 500 13px/1.3 var(--mono); color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.m-kicker::before { content: ""; width: 22px; height: 1px; background: var(--ink-2); }
.m-lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.m-fine { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.m-h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 28px; max-width: 22em; }
.m-main { min-height: 60vh; }

/* landing */
.m-hero { padding: clamp(36px, 6vw, 80px) 0 40px; }
.m-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.m-hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 600; line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 22px; font-variation-settings: "SOFT" 30, "WONK" 0; }
.m-hero .m-row { margin: 28px 0 12px; }
.m-hero-graph { position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow-2); overflow: hidden; aspect-ratio: 640 / 520; }
.m-hero-graph canvas { width: 100%; height: 100%; display: block; }
.m-hero-graph figcaption { position: absolute; left: 14px; bottom: 10px; margin: 0; font-size: 12px; }
.m-hero-feed { position: absolute; right: 12px; top: 12px; width: min(270px, 58%); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.m-toast { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--note); border-radius: var(--r); padding: 9px 11px 10px; box-shadow: var(--shadow-2); font-size: 13px; line-height: 1.4; animation: m-in 0.4s ease both; }
.m-toast b { font-family: var(--serif); font-weight: 600; font-size: 14px; }
.m-toast .m-who { display: block; font: 500 11px/1.3 var(--mono); color: var(--muted); margin-bottom: 3px; }
.m-toast.is-out { animation: m-out 0.5s ease both; }
@keyframes m-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes m-out { to { opacity: 0; transform: translateY(-4px); } }

.m-band { border-block: 1px solid var(--line); background: var(--paper); padding: 18px 0; }
.m-tools-band .m-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.m-tools-band p { margin: 0; font: 500 13px var(--mono); color: var(--muted); }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.m-chips li { border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; font-size: 14px; color: var(--ink-2); background: var(--paper-2); }

.m-sec { padding: clamp(52px, 7vw, 96px) 0; }
.m-sec-alt { background: var(--paper); border-block: 1px solid var(--line); }
.m-sec-ink { background: #15171c; color: #e8eaee; }
.m-sec-ink .m-h2 { color: #fff; }
.m-sec-ink a { color: #a9b8ff; }
.m-sec-ink .m-code { background: #0d0f13; border-color: #2a2f37; }
.m-sec-ink .m-code pre { color: #dfe3ea; }
.m-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }

.m-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.m-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px; position: relative; box-shadow: var(--shadow); }
.m-steps li::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); border-radius: var(--r) var(--r) 0 0; }
.m-steps h3 { font-size: 22px; margin: 8px 0 8px; }
.m-steps p { margin: 0; color: var(--ink-2); }
.m-step-n { font: 500 12px var(--mono); color: var(--muted); }

.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.m-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.m-card + .m-card { margin-top: 16px; }
.m-cards .m-card + .m-card { margin-top: 0; }
.m-card h2 { font-size: 24px; margin: 0 0 12px; }
.m-card h3 { font-size: 20px; margin: 0 0 8px; }
.m-card p { margin: 0 0 10px; color: var(--ink-2); }
.m-card-index { position: relative; background-image: linear-gradient(var(--paper), var(--paper)), repeating-linear-gradient(transparent 0 27px, var(--line-2) 27px 28px); background-clip: padding-box; }
.m-card-index::after { content: ""; position: absolute; left: 0; right: 0; top: 50px; height: 1px; background: color-mix(in srgb, #d6453b 45%, transparent); }
.m-card-index h3 { min-height: 32px; }
.m-card-danger { border-color: color-mix(in srgb, var(--bad) 30%, var(--line)); }
.m-card-cta { border-top: 3px solid var(--accent); }

.m-chat { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-2); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.m-msg { margin: 0; padding: 10px 14px; border-radius: 12px; max-width: 88%; line-height: 1.5; font-size: 15px; }
.m-msg-u { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.m-msg-a { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.m-msg-tool { align-self: flex-start; font: 500 12px var(--mono); color: var(--note-ink); background: var(--note-soft); padding: 5px 10px; border-radius: 99px; }

.m-price { display: grid; grid-template-columns: 220px 1fr; gap: 32px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.m-price-big { font: 600 64px/1 var(--serif); margin: 0 0 8px; }
.m-price p { margin: 0; color: var(--ink-2); }
.m-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.m-faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.m-faq summary { cursor: pointer; font: 600 19px/1.35 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.m-faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.m-faq[open] summary::after { content: "–"; }
.m-faq p { margin: 10px 0 0; color: var(--ink-2); }
.m-final { text-align: center; }
.m-final .m-h2 { margin-inline: auto; }

/* code blocks */
.m-code { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); margin: 12px 0; }
.m-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; color: var(--ink); white-space: pre; }
.m-code pre code { font-size: inherit; }
.m-copy { position: absolute; top: 7px; right: 7px; font: 500 12px var(--mono); border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: var(--r); padding: 4px 8px; cursor: pointer; }
.m-copy:hover { color: var(--accent); border-color: var(--accent); }
.m-sec-ink .m-copy { background: #1a1d22; border-color: #2d323a; color: #c7ccd5; }
p code, li code, td code, dd code { background: var(--paper-2); border: 1px solid var(--line-2); padding: 1px 5px; border-radius: 3px; word-break: break-all; }

/* connect page */
.m-page-head { padding: 40px 0 8px; }
.m-page-head h1 { font-size: clamp(34px, 4.5vw, 52px); margin: 0 0 12px; }
.m-addr { max-width: 560px; margin: 20px 0 28px; }
.m-addr .m-code pre { font-size: 17px; font-weight: 600; color: var(--accent); }
.m-guides { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px 24px; margin: 28px 0; align-items: start; }
.m-guide-tabs { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; grid-row: span 20; }
.m-guide-tabs a { padding: 8px 12px; border-radius: var(--r); color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; font-size: 15px; }
.m-guide-tabs a:hover, .m-guide-tabs a[aria-current="true"] { background: var(--paper); color: var(--ink); border-left-color: var(--accent); }
.m-guide { grid-column: 2; margin: 0 !important; scroll-margin-top: 80px; }
.m-ol { padding-left: 22px; margin: 6px 0 0; display: grid; gap: 8px; }
.m-tooldl { display: grid; gap: 10px; margin: 0 0 12px; }
.m-tooldl div { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 16px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.m-tooldl dt { font: 500 13.5px var(--mono); color: var(--accent); }
.m-tooldl dd { margin: 0; color: var(--ink-2); }
.m-secret { border: 1px solid var(--note); background: var(--note-soft); border-radius: var(--r); padding: 12px 14px; margin: 0 0 16px; }
.m-secret p { margin: 0; color: var(--ink); }
.m-table-wrap { overflow-x: auto; margin: 0 0 12px; }
.m-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.m-table th { text-align: left; font: 500 12px var(--mono); color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.m-table td { padding: 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.m-td-act { white-space: nowrap; text-align: right; }
.m-td-act form + form { margin-left: 6px; }
.m-details { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.m-details summary { cursor: pointer; font-weight: 600; color: var(--accent); }

/* forms */
.m-form { display: grid; gap: 14px; margin: 14px 0 0; }
.m-field { display: grid; gap: 5px; }
.m-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.m-field input, .m-field textarea, .m-field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); font: 400 16px var(--sans); }
.m-field input:focus, .m-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.m-field.is-bad input { border-color: var(--bad); }
.m-hint { font-size: 13px; color: var(--muted); }
.m-err-text { font-size: 13.5px; color: var(--bad); margin: 0; }
.m-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.m-check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.m-check.is-bad span { color: var(--bad); }
.m-fs { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.m-fs legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.m-notice { margin: 0 0 14px; padding: 11px 14px; border-radius: var(--r); font-size: 15px; border: 1px solid var(--line); background: var(--paper-2); }
.m-notice-ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.m-notice-bad { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 35%, transparent); color: var(--ink); }
.m-notice-info { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.m-warn-text { color: var(--bad); }

/* auth & account */
.m-auth { display: grid; place-items: start center; padding: 48px 16px 72px; }
.m-auth-card { width: min(460px, 100%); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-2); }
.m-auth-card h1 { font-size: 30px; margin: 0 0 8px; }
.m-auth-lead { color: var(--ink-2); margin: 0 0 18px; }
.m-auth-alt { text-align: center; font-size: 14.5px; margin: 14px 0 0; }
.m-consent { width: min(520px, 100%); }
.m-account { padding: 32px 0 64px; }
.m-account-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.m-account-head h1 { margin: 0; font-size: 38px; }
.m-kv { margin: 0 0 12px; display: grid; gap: 8px; }
.m-kv div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.m-kv dt { color: var(--muted); font-size: 14px; }
.m-kv dd { margin: 0; }
.m-meters { display: grid; gap: 12px; margin: 14px 0; }
.m-meter-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 5px; }
.m-meter-bar { height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.m-meter-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* legal docs */
.m-page-doc .m-main { padding: 40px 0 72px; }
.m-doc h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; }
.m-doc h2 { font-size: 21px; margin: 32px 0 8px; }
.m-doc p { color: var(--ink-2); margin: 0 0 10px; }
.m-doc-lead { color: var(--muted) !important; }

/* footer */
.m-foot { border-top: 1px solid var(--line); background: var(--paper); margin-top: 0; padding: 40px 0 24px; font-size: 14.5px; }
.m-foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.m-foot-brand p { color: var(--muted); max-width: 30em; margin: 12px 0 0; }
.m-foot-col { display: flex; flex-direction: column; gap: 6px; }
.m-foot-col h2 { font: 600 13px var(--mono); color: var(--muted); margin: 0 0 6px; }
.m-foot-col a { color: var(--ink-2); text-decoration: none; }
.m-foot-col a:hover { color: var(--accent); }
.m-foot-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }

@media (max-width: 980px) {
  .m-hero-in, .m-split { grid-template-columns: 1fr; gap: 32px; }
  .m-cards, .m-steps { grid-template-columns: 1fr 1fr; }
  .m-guides { grid-template-columns: 1fr; }
  .m-guide-tabs { position: static; flex-direction: row; flex-wrap: wrap; grid-row: auto; }
  .m-guide-tabs a { border-left: 0; border: 1px solid var(--line); background: var(--paper); font-size: 14px; padding: 6px 10px; }
  .m-guide { grid-column: 1; }
  .m-nav { display: none; }
}
@media (max-width: 640px) {
  .m-cards, .m-steps, .m-price, .m-foot-in { grid-template-columns: 1fr; }
  .m-hide-xs { display: none !important; }
  .m-by { display: none; }
  .m-tooldl div, .m-kv div { grid-template-columns: 1fr; gap: 2px; }
  .m-hero-feed { top: auto; bottom: 34px; left: 10px; right: 10px; width: auto; }
  .m-hero-feed .m-toast:nth-child(n+2) { display: none; }
  .m-toast { font-size: 12px; padding: 7px 9px; }
  .m-lead { font-size: 17px; }
  .m-auth-card { padding: 22px 18px; }
  .m-td-act { white-space: normal; }
  .m-td-act form { display: block; margin: 0 0 6px !important; }
}
@media (prefers-reduced-motion: reduce) { .m-toast { animation: none; } }
