/* ScreenshotX dashboard — plain CSS, no build step. Tokens first, then layout, then components. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #16181d;
  --text-2: #5b6270;
  --text-3: #8a91a0;
  --line: #e6e8ec;
  --line-2: #eef0f3;
  --blue: #1f6feb;
  --blue-soft: #e8f0fe;
  --green: #0eb27a;
  --red: #e5384d;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.45 var(--font); color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { flex: none; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--text-2); }

/* ---- App shell --------------------------------------------------------- */
.shell { display: grid; grid-template-columns: 280px 1fr; grid-template-rows: 64px 1fr; height: 100vh; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #3fa2ff, #2563eb 55%, #4338ca); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.divider-v { width: 1px; height: 24px; background: var(--line); }

.sidebar { border-right: 1px solid var(--line); padding: 24px 12px 16px 32px; display: flex; flex-direction: column; overflow-y: auto; background: var(--surface); }
.nav-link { position: relative; display: flex; align-items: center; gap: 16px; padding: 10px 0; color: var(--text); font-size: 15px; }
.nav-link:hover { text-decoration: none; color: var(--blue); }
.nav-link .icon { color: var(--text-3); }
.nav-link.is-active { font-weight: 650; }
.nav-link.is-active .icon { color: var(--blue); }
.nav-link.is-active::before { content: ""; position: absolute; left: -22px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--blue); }
.nav-heading { margin: 28px 0 8px; font-size: 12px; letter-spacing: .06em; color: var(--text-3); text-transform: uppercase; }
.tag-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; padding: 10px 12px 10px 0; cursor: pointer; font-size: 15px; }
.tag-toggle > span { display: flex; align-items: center; gap: 16px; }
.tag-toggle .icon { color: var(--text-3); }
.tag-list { margin: 0 0 0 36px; padding: 0; list-style: none; font-size: 14px; }
.tag-list li a { display: block; padding: 5px 0; color: var(--text-2); }
.tag-list li a.is-active { color: var(--blue); font-weight: 600; }
.tag-empty { margin: 0 0 0 36px; font-size: 13.5px; color: var(--text-2); }
.sidebar-foot { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--text-2); }
.sidebar-foot a { color: var(--text-2); }
.sidebar-foot span { margin: 0 6px; }

.content { overflow-y: auto; background: var(--bg); }
.page-head { background: var(--surface); padding: 28px 48px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.page-head h1 { font-size: 22px; font-weight: 700; }
.sort-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0; background: none; border: 0; font-weight: 600; font-size: 14px; cursor: pointer; }
.search { position: relative; width: 400px; max-width: 100%; }
.search input { width: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.search input:focus { outline: 2px solid var(--blue-soft); border-color: var(--blue); }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.page-body { padding: 36px 48px 56px; }

/* ---- Media grid ------------------------------------------------------------ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px; }
.card { background: var(--surface); border: 1px solid transparent; border-radius: 16px; padding: 16px; transition: box-shadow .15s, border-color .15s; }
.card:hover { border-color: var(--line); box-shadow: var(--shadow); }
.thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: #f0f1f4; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.thumb .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-3); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.dur { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 4px; background: rgba(40, 44, 52, .8); color: #fff; font-size: 12px; font-weight: 600; }
.lock-chip { position: absolute; left: 8px; top: 8px; padding: 3px 5px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: var(--text-2); display: grid; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.card-title a.name { color: var(--text); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card-title a.name:hover { color: var(--blue); text-decoration: none; }
.card-date { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; color: var(--text-3); font-size: 14px; min-height: 28px; }
.views { display: inline-flex; align-items: center; gap: 6px; }
.actions { display: flex; align-items: center; gap: 4px; }
.card-foot .actions { opacity: 0; transition: opacity .12s; width: 100%; justify-content: space-between; }
.card:hover .card-foot .actions, .card:focus-within .card-foot .actions { opacity: 1; }
.card:hover .card-foot .views, .card:focus-within .card-foot .views { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--line-2); text-decoration: none; }
.actions .group { display: flex; align-items: center; gap: 2px; }
.icon-btn.danger { color: var(--red); }
.rename-form { display: flex; flex: 1; min-width: 0; }
.rename-form input { width: 100%; padding: 4px 6px; border: 1px solid var(--blue); border-radius: 6px; }
.empty { text-align: center; padding: 96px 0; color: var(--text-2); }
.empty h2 { color: var(--text); font-size: 20px; margin-bottom: 8px; }
.pager { display: flex; justify-content: center; margin-top: 40px; }

/* ---- Settings pages --------------------------------------------------------- */
.settings { max-width: 640px; margin: 0 auto; padding: 0 0 80px; }
.settings > h1 { font-size: 26px; font-weight: 700; padding: 36px 0 24px; }
.settings h2 { font-size: 24px; font-weight: 700; margin: 56px 0 8px; padding-bottom: 14px; }
.rows { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row .label { font-weight: 500; }
.row .label small { display: block; margin-top: 4px; font-weight: 400; color: var(--text-2); font-size: 13px; }
.row .label strong { font-weight: 650; }
.row .value { display: flex; align-items: center; gap: 18px; color: var(--text-2); }
.row .value a, .link-btn { color: var(--blue); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, #cfd8ea, #a9b8d8); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; }
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.row-pro { opacity: .98; }
.badge { display: inline-block; padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: 650; vertical-align: middle; }
.badge-pro { background: #dbe8ff; color: #2a5fd0; margin-left: 4px; }
.badge-plan { background: #9aa0aa; color: #fff; margin-left: 6px; }
select, .field { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); min-width: 170px; }
.row select { min-width: 210px; }
select:disabled { color: var(--text-3); background: #f4f5f7; }
.field:focus, select:focus { outline: 2px solid var(--blue-soft); border-color: var(--blue); }
.switch { position: relative; display: inline-block; width: 40px; height: 24px; flex: none; }
.switch input[type=checkbox] { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch-track { position: absolute; inset: 0; border-radius: 12px; background: #e3e5ea; border: 1px solid #d5d8de; transition: background .15s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #9aa0aa; transition: transform .15s, background .15s; }
.switch input:checked ~ .switch-track { background: #e5f8f0; border-color: var(--green); }
.switch input:checked ~ .switch-track::after { transform: translateX(16px); background: var(--green); }
.switch input:disabled ~ .switch-track { opacity: .55; }
.notif-table { width: 100%; border-collapse: collapse; }
.notif-table th { text-align: center; font-size: 12px; letter-spacing: .05em; color: var(--text-2); padding-bottom: 20px; width: 150px; }
.notif-table th:first-child { text-align: left; }
.notif-table td { padding: 20px 0; border-top: 1px dashed var(--line); text-align: center; }
.notif-table td:first-child { text-align: left; }
.notif-table input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--blue); }
.fineprint { color: var(--text-2); font-size: 13px; margin-top: 18px; }

/* ---- Buttons / chips / panels ---------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; }
.btn:hover { text-decoration: none; background: #fafbfc; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: #1a60d0; }
.btn-danger { color: var(--red); }
.btn-block { width: 100%; }
.flash { margin: 0 0 20px; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.flash-notice { background: #e8f8f1; color: #0b7a55; }
.flash-alert { background: #fdecee; color: #b3202f; }
.flash-wrap { padding: 20px 48px 0; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 40px; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); display: grid; place-items: center; margin-top: 2px; }
.feature-list strong { display: block; font-weight: 650; }
.feature-list span { color: var(--text-2); font-size: 14px; }

/* ---- Dropdowns --------------------------------------------------------------- */
.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 0; font-weight: 500; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 0; right: 1px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-sizing: content-box; }
.panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 20px; }
.panel[hidden] { display: none; }
.panel-account { width: 300px; }
.panel-account .who { display: flex; align-items: center; margin-bottom: 4px; font-weight: 650; font-size: 16px; }
.meter { height: 3px; background: var(--line); border-radius: 2px; margin: 14px 0 6px; overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--blue); }
.panel-account .btn { margin: 16px 0 12px; }
.panel-account .signout { display: flex; align-items: center; gap: 12px; color: var(--text); background: none; border: 0; padding: 8px 0; cursor: pointer; width: 100%; }
.panel-notes { width: 380px; max-height: 70vh; overflow-y: auto; padding: 0; }
.panel-notes header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 6px; font-weight: 650; font-size: 13px; }
.note { display: flex; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line-2); }
.note:first-of-type { border-top: 0; }
.note .nbody { min-width: 0; flex: 1; }
.note .nbody b { display: block; font-size: 14px; }
.note .nbody p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.note time { font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.note .unread { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin: 6px auto 0; }
.note-empty { padding: 28px 20px; color: var(--text-2); text-align: center; }
dialog { border: 0; border-radius: 16px; padding: 28px; box-shadow: 0 24px 64px rgba(16, 24, 40, .25); width: min(440px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(16, 24, 40, .4); }
dialog h3 { font-size: 18px; margin-bottom: 8px; }
dialog p { color: var(--text-2); margin: 0 0 18px; }
dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ---- Auth ---------------------------------------------------------------------- */
.auth { min-height: 100vh; display: grid; place-items: center; background: var(--bg); padding: 24px; }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.auth-card .brand { justify-content: center; margin-bottom: 24px; }
.auth-card h1 { font-size: 22px; text-align: center; margin-bottom: 24px; }
.auth-card label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.auth-card .field { width: 100%; }
.auth-card .btn { margin-top: 22px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 14px; color: var(--text-2); }
.errors { margin: 0 0 12px; padding: 10px 14px; background: #fdecee; color: #b3202f; border-radius: 8px; font-size: 14px; }

/* ---- Public share page -------------------------------------------------------- */
body.share { background: #1b1c1f; color: #e8e9ec; min-height: 100vh; display: flex; flex-direction: column; }
body.share.theme-light { background: #fff; color: var(--text); }
.share-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.share-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.share-id b { font-weight: 650; }
.share-id span { color: var(--text-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-stage { flex: 1; display: grid; place-items: center; padding: 32px 24px; min-height: 0; }
.share-stage img, .share-stage video { max-width: 100%; max-height: calc(100vh - 220px); border-radius: 6px; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); background: #000; }
.share-meta { width: min(900px, 100%); margin: 0 auto; padding: 0 24px 48px; }
.comments h3 { font-size: 16px; margin-bottom: 12px; }
.comment { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.comment b { font-size: 14px; }
.comment p { margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; }
.comment .replies { margin-left: 24px; }
.comment-form { display: grid; gap: 8px; margin-top: 12px; }
.comment-form textarea, .comment-form input { background: transparent; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: 10px 12px; color: inherit; }
.share-foot { position: fixed; right: 20px; bottom: 14px; font-size: 13px; color: #8c909a; }
.share-foot a { color: inherit; font-weight: 650; }
.lock-card { background: var(--surface); color: var(--text); border-radius: 16px; padding: 32px; width: min(380px, calc(100vw - 32px)); text-align: center; }
.lock-card .field { width: 100%; margin-top: 16px; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 64px auto 1fr; height: auto; min-height: 100vh; }
  .sidebar { flex-direction: row; flex-wrap: wrap; padding: 8px 16px; border-right: 0; border-bottom: 1px solid var(--line); gap: 4px 16px; }
  .nav-heading, .sidebar-foot, .tag-toggle, .tag-list, .tag-empty { display: none; }
  .nav-link { padding: 8px 0; gap: 8px; }
  .nav-link.is-active::before { display: none; }
  .topbar, .page-head, .page-body { padding-left: 16px; padding-right: 16px; }
  .page-head { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .settings { padding: 0 16px 64px; }
}

/* ---- Marketing site ------------------------------------------------------------ */
body.mk { background: var(--surface); }
.mk-wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.mk-narrow { width: min(760px, 100% - 48px); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 10px; }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: #f1f6ff; }

.mk-nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; }
.mk-nav-in { display: flex; align-items: center; gap: 36px; height: 72px; }
.mk-links { display: flex; gap: 28px; flex: 1; }
.mk-links a { color: var(--text); font-weight: 500; }
.mk-links a:hover, .mk-links a.is-active { color: var(--blue); text-decoration: none; }
.mk-cta { display: flex; align-items: center; gap: 22px; }
.mk-login { color: var(--text); font-weight: 500; }

.mk-hero { padding: 88px 0 72px; text-align: center; background: radial-gradient(900px 420px at 50% -60px, #e3eeff 0%, rgba(227, 238, 255, 0) 70%), var(--surface); }
.mk-hero-sm { padding: 64px 0 32px; }
.mk-hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.06; letter-spacing: -.03em; font-weight: 750; }
.mk-hero h1 span { background: linear-gradient(90deg, #1f6feb, #3b3fd8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-lead { max-width: 640px; margin: 22px auto 0; font-size: 19px; color: var(--text-2); }
.mk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 26px; border-radius: 999px; background: #14161b; color: #fff; font-size: 13.5px; font-weight: 600; }
.mk-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.mk-note { margin-top: 18px; color: var(--text-2); font-size: 14px; }


.mk-sec { padding: 96px 0; }
.mk-tight { padding-top: 24px; }
.mk-alt { background: var(--bg); }
.mk-sec h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; text-align: center; font-weight: 700; }
.mk-sub { max-width: 640px; margin: 14px auto 0; text-align: center; color: var(--text-2); font-size: 17px; }
.mk-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.mk-feat { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mk-feat h3 { font-size: 18px; margin: 18px 0 8px; }
.mk-feat p { margin: 0; color: var(--text-2); }
.mk-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.mk-steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; counter-reset: s; }
.mk-steps li span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }
.mk-steps h3 { margin: 16px 0 8px; font-size: 20px; }
.mk-steps p { margin: 0; color: var(--text-2); }
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mk-checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.mk-checks li { position: relative; padding-left: 30px; }
.mk-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e5f8f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230eb27a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mk-band { padding: 80px 0; text-align: center; color: #fff; background: linear-gradient(135deg, #1f6feb, #3b3fd8); }
.mk-band h2 { font-size: clamp(28px, 4vw, 40px); }
.mk-band p { margin: 12px 0 28px; opacity: .9; font-size: 18px; }

.mk-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 440px)); gap: 28px; justify-content: center; }
.mk-plan { border-radius: 22px; background: #eef0f4; padding: 0 0 4px; border: 1px solid var(--line); }
.mk-plan-pro { background: #dfe9ff; border-color: #cbdcff; }
.mk-plan-top { text-align: center; padding: 11px; font-weight: 600; font-size: 15px; color: var(--text-2); }
.mk-plan-pro .mk-plan-top { color: var(--blue); }
.mk-plan-body { background: #fff; border-radius: 20px; padding: 32px; margin: 0 2px 2px; }
.mk-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mk-plan h3 { font-size: 22px; }
.mk-price { margin-top: 26px; }
.mk-price b { font-size: 48px; letter-spacing: -.03em; }
.mk-plan .mk-checks { margin: 26px 0 30px; }
.mk-table { width: 100%; border-collapse: collapse; margin-top: 36px; background: #fff; border-radius: 14px; overflow: hidden; }
.mk-table th, .mk-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line-2); }
.mk-table th:first-child, .mk-table td:first-child { text-align: left; }
.mk-table th { font-size: 14px; color: var(--text-2); background: #fafbfc; }
.mk-table .yes { color: var(--green); display: inline-flex; }
.mk-table .no { color: var(--text-3); }
.mk-faq { margin-top: 36px; border-top: 1px solid var(--line); }
.mk-faq details { border-bottom: 1px solid var(--line); }
.mk-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary .icon { color: var(--text-3); transition: transform .15s; }
.mk-faq details[open] summary .icon { transform: rotate(180deg); }
.mk-faq p { margin: 0 0 22px; padding: 0 4px; color: var(--text-2); }

.mk-foot { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #fafbfc; }
.mk-foot-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.mk-foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.mk-foot-cols div { display: grid; gap: 10px; align-content: start; }
.mk-foot-cols b { margin-bottom: 4px; }
.mk-foot-cols a { color: var(--text-2); }
.mk-legal { margin-top: 40px; color: var(--text-3); font-size: 13px; }

@media (max-width: 800px) {
  .mk-links { display: none; }
  .mk-nav-in { gap: 12px; justify-content: space-between; }
  .mk-split { grid-template-columns: 1fr; }
  .mk-sec { padding: 64px 0; }
  }

/* ---- Auth extras ------------------------------------------------------------------ */
.oauth { display: grid; gap: 10px; }
.oauth-btn { justify-content: center; margin: 0; }
.oauth-apple { background: #000; color: #fff; border-color: #000; }
.oauth-apple:hover { background: #1c1c1e; }
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; color: var(--text-3); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.check { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 400; color: var(--text-2); }
.verify-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 48px; background: #fff7e6; color: #7a5200; font-size: 14px; border-bottom: 1px solid #f3dfae; }
.verify-banner form { margin: 0; }

/* Downloads (website + dashboard) */
.dl-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; margin: 0 0 16px; background: var(--surface); border: 1px solid var(--line, #e5e8ee); border-radius: 16px; }
.dl-card h2 { font-size: 20px; text-align: left; margin: 0 0 4px; }
.dl-card .btn { white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.dl-notes { margin-top: 12px; font-size: 14px; color: var(--muted, #5b6472); }
.dl-notes p { margin: 0 0 6px; }
@media (max-width: 640px) { .dl-card { flex-direction: column; align-items: flex-start; } }

/* Real product screenshots on the landing page */
.mk-shot { margin: 0; }
.mk-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(20, 40, 100, .18); }
.mk-shot-hero { max-width: 1040px; margin: 64px auto 0; padding: 0 12px; }

/* Billing: plan cards */
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.plan-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.plan-card-featured { border-color: var(--blue); box-shadow: 0 10px 30px rgba(31, 111, 235, .12); }
.plan-card h3 { margin: 0 0 6px; font-size: 20px; }
.plan-price { margin: 0 0 14px; font-size: 32px; font-weight: 750; letter-spacing: -.02em; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--muted, #5b6472); letter-spacing: 0; }
.feature-list-sm { margin: 0 0 20px; padding-left: 18px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.feature-list-sm li { margin: 0 0 6px; }
.mk-per { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.mk-tag { display: inline-block; padding: 2px 10px; margin-left: 6px; font-size: 14px; font-weight: 600; color: var(--blue); background: #e8f0fe; border-radius: 999px; vertical-align: middle; }
