/* Mons Media — brand: black and white only (MARCA.md), Montserrat 500/700. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format('woff2');
}

:root {
  --black: #0b0b0b;
  --ink-2: #1f1f1f;
  --line: #e6e6e6;
  --gray: #8a8a8a;
  --white: #ffffff;
  --soft: #f7f7f7;
  --radius: 14px;
  --font: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--black); text-decoration: underline; text-decoration-color: var(--gray); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--black); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
p { margin: 0 0 .8em; }
code, .mono { font-family: var(--mono); font-size: .9em; font-weight: 400; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.main { padding-top: 32px; padding-bottom: 64px; min-height: 60vh; }
.muted { color: var(--gray); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* Logo lockup (inline SVG, currentColor) */
.lockup { display: inline-flex; align-items: center; gap: 9px; color: currentColor; }
.logo-mark { height: 30px; width: auto; display: block; }
.logo-word { height: 21px; width: auto; display: block; }
.lockup-sub { font-size: 10.5px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; padding-left: 10px; border-left: 1px solid currentColor; line-height: 1.6; opacity: .9; }
.lockup-sm .logo-mark { height: 24px; }
.lockup-sm .logo-word { height: 17px; }
.lockup-sm .lockup-sub { font-size: 9.5px; }

/* Top bar */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--black); flex: none; }
.env-badge { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--black); border: 1px solid var(--black); padding: 2px 8px; border-radius: 999px; }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.navlink, .linkbtn { font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.navlink:hover, .linkbtn:hover { color: var(--black); text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.inline-form { display: inline; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 14px/1 var(--font); color: var(--black); background: var(--white);
  border: 1px solid var(--black); border-radius: 999px; padding: 11px 18px;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { background: var(--black); color: var(--white); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .3; cursor: not-allowed; pointer-events: none; }
.btn-ink, .btn-primary { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-ink:hover, .btn-primary:hover { background: var(--ink-2); color: var(--white); }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; }
.btn-danger { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-danger:hover { background: var(--ink-2); }
.btn-outline-danger { background: var(--white); }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Cards, notices, pills, tags */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 18px; }
.card.soft { background: var(--soft); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.scope {
  display: inline-block; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: var(--ink-2); font-weight: 400;
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; white-space: nowrap;
}
.notice { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; border: 1px solid var(--line); background: var(--soft); font-size: 14px; color: var(--black); }
.notice-ok { border-color: var(--black); background: var(--white); }
.notice-err { border-color: var(--black); border-left-width: 4px; background: var(--white); }
.notice-warn { border-left: 4px solid var(--black); }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--black); }
.pill-ok { background: var(--black); color: var(--white); }
.pill-warn { background: var(--white); color: var(--black); border-style: dashed; }
.pill-err { background: var(--white); color: var(--black); }
.pill-muted { background: var(--soft); color: var(--ink-2); border-color: var(--line); }
.empty { color: var(--gray); margin: 4px 0; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.eyebrow a { color: inherit; }

/* Landing */
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: center; padding: 24px 0 44px; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 46em; }
.cta-row { margin: 26px 0 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.fineprint { font-size: 12.5px; color: var(--gray); max-width: 40em; }
.hero-art { display: flex; justify-content: center; }
.hero-logo { width: 100%; max-width: 280px; aspect-ratio: 1; background: var(--black); color: var(--white); border-radius: 36px; display: flex; align-items: center; justify-content: center; padding: 22px; }
.logo-full { width: 100%; height: auto; display: block; }
.section { padding: 30px 0; }
.section-title { font-size: 20px; margin: 0 0 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature-n { font-size: 12px; font-weight: 700; color: var(--gray); letter-spacing: .12em; }
.feature h3 { margin: 10px 0 6px; font-size: 16px; }
.feature p { color: var(--ink-2); font-size: 14px; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 24px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-2); }
.checklist li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(-45deg); }
.cell-title { font-weight: 700; margin-top: 6px; }

/* Tables */
.table-card { padding: 6px 0; overflow-x: auto; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); padding: 10px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td.mono { word-break: break-all; }
.table-compact td, .table-compact th { padding: 8px 10px; }
.card .table-compact { font-size: 13px; }
.row-warn td { background: var(--soft); }
.acct { display: flex; gap: 12px; align-items: center; }
.card + .section-title, .table-card + .section-title { margin-top: 34px; }

/* Messages, narrow forms */
.message { max-width: 640px; margin: 40px auto; text-align: center; }
.narrow { max-width: 420px; margin: 32px auto; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
fieldset.form-stack { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset[disabled] { opacity: .45; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label, .field > span:first-child { font-size: 13px; font-weight: 700; color: var(--black); }
input[type="password"], input[type="text"], select, textarea {
  font: 500 15px/1.4 var(--font); color: var(--black); background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; width: 100%;
}
input[type="password"]:hover, select:hover, textarea:hover { border-color: var(--gray); }
textarea { resize: vertical; min-height: 80px; }
select:invalid { color: var(--gray); }
.counter { align-self: flex-end; }
.hint:empty { display: none; }

/* Page head & dashboard */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.head-actions { display: flex; gap: 10px; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.dash-main > .card + .card, .dash-side > .card + .card { margin-top: 22px; }

.profile-main { display: flex; gap: 20px; align-items: flex-start; }
.avatar-lg, .avatar-md, .avatar-sm { border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line); background: var(--soft); display: inline-block; }
.avatar-lg { width: 92px; height: 92px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-sm { width: 38px; height: 38px; }
.display-name { font-size: 22px; margin-bottom: 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verified { font-size: 10.5px; font-weight: 700; color: var(--white); background: var(--black); border-radius: 999px; padding: 2px 9px; letter-spacing: .04em; }
.handle { color: var(--gray); margin-bottom: 8px; }
.bio { color: var(--ink-2); white-space: pre-line; max-width: 40em; }
.ids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 14px; background: var(--soft); border-radius: 12px; }
.ids dt { font-family: var(--mono); font-size: 11px; color: var(--gray); }
.ids dd { margin: 2px 0 0; font-size: 12.5px; word-break: break-all; }
.stats-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; }
.stats-head h3 { margin: 0; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px; display: flex; flex-direction: column; }
.stat-v { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.stat-l { font-size: 12px; color: var(--gray); font-weight: 500; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 16px; }
.video { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.cover { position: relative; aspect-ratio: 3 / 4; background: var(--soft); border-bottom: 1px solid var(--line); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(11, 11, 11, .78); color: var(--white); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.video-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.video-title { font-size: 13px; font-weight: 700; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-body p { margin: 0; }
.vstats { list-style: none; padding: 0; margin: 4px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; font-size: 12px; color: var(--gray); }
.vstats span { color: var(--black); font-weight: 700; }
.pager { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

.scope-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.scope-list li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; font-size: 13.5px; }
.scope-list .mark { font-weight: 700; color: var(--black); }
.scope-list .denied { color: var(--gray); }
.scope-list .denied .mark { color: var(--gray); }
.kv { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.kv div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.kv dt { color: var(--gray); }
.kv dd { margin: 0; }
.danger-zone { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.confirm { border: 1px solid var(--black); border-radius: 12px; padding: 14px; font-size: 14px; }

/* Uploads */
.file-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; position: relative;
  border: 1.5px dashed var(--gray); border-radius: 12px; padding: 22px 14px; cursor: pointer; background: var(--soft); transition: border-color .15s;
}
.file-drop:hover { border-color: var(--black); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop-label { font-weight: 700; color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.file-drop.has-file { border-style: solid; border-color: var(--black); background: var(--white); }
.file-drop.has-file .file-drop-label { text-decoration: none; }
.preview-video { width: 100%; max-height: 360px; border-radius: 10px; background: var(--black); }
.progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--black); transition: width .2s; }
.form-status { font-size: 13.5px; margin: 0; }
.form-status.err { color: var(--black); font-weight: 700; }
.form-status.err::before { content: '× '; }
.form-status.ok { color: var(--black); font-weight: 700; }
.form-status.ok::before { content: '✓ '; }

/* Direct Post */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.creator { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.creator-name { font-size: 16px; }
.seg { display: inline-flex; border: 1px solid var(--black); border-radius: 999px; padding: 3px; gap: 3px; width: max-content; }
.seg label { position: relative; padding: 7px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--black); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--black); color: var(--white); }
.checks { display: flex; gap: 22px; flex-wrap: wrap; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--black); width: 16px; height: 16px; flex: none; }
.check.is-disabled { color: var(--gray); cursor: not-allowed; }
.checks .check { align-items: center; }
.checks .check input { margin-top: 0; }
.disclose { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.switch-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; cursor: pointer; }
.switch-row > span { display: flex; flex-direction: column; gap: 4px; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch:checked { background: var(--black); }
.switch:checked::after { transform: translateX(18px); }
.disclose-options { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.label-note { font-size: 13px; font-weight: 700; color: var(--black); background: var(--soft); border-left: 3px solid var(--black); border-radius: 6px; padding: 8px 10px; margin: 0; }
.consent { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.submit-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.submit-wrap { display: inline-block; }
.preview-card { position: sticky; top: 88px; }
.phone { aspect-ratio: 9 / 16; background: var(--black); border-radius: 22px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.phone .preview-video { max-height: none; height: 100%; border-radius: 0; object-fit: contain; }
.phone-empty { color: var(--gray); padding: 24px; text-align: center; }
.photo-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; height: 100%; }
.photo-strip img { flex: none; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.file-meta { margin-top: 10px; }

/* Legal */
.legal { max-width: 820px; margin: 0 auto; }
.legal-head { margin-bottom: 24px; }
.legal section { padding-top: 10px; margin-bottom: 18px; }
.legal h2 { font-size: 19px; margin-top: 14px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .table { font-size: 13.5px; border: 1px solid var(--line); border-radius: 12px; }
.legal .table td, .legal .table th { padding: 10px 12px; }
.toc { margin-bottom: 26px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 14px; }
.contact { font-style: normal; line-height: 1.7; margin: 10px 0; }

/* Footer */
.footer { background: var(--black); color: var(--line); padding: 34px 0 38px; font-size: 13px; }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; }
.footer-brand .lockup { color: var(--white); margin-bottom: 14px; }
.footer-brand p { margin: 0; line-height: 1.7; color: var(--line); }
.footer a { color: var(--white); text-decoration-color: var(--gray); }
.footer-links { display: flex; gap: 20px; align-items: flex-start; }
.footer-links a { font-weight: 700; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { grid-column: 1 / -1; color: var(--gray); font-size: 12px; margin: 0; }

/* Who it is for, how it works, FAQ */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 14px; color: var(--ink-2); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 12px; font-weight: 700; color: var(--gray); letter-spacing: .12em; margin-bottom: 10px; }
.steps strong { color: var(--black); }
.faq { display: grid; gap: 10px; max-width: 52em; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }

/* Pending items prepared by a team's tools */
.pending-card { margin-bottom: 22px; border-color: var(--black); }
.pending-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pending-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.pending-main { min-width: 0; }
.post-side { display: grid; gap: 16px; align-content: start; position: sticky; top: 88px; }
.post-side .preview-card { position: static; }
.seg-fixed label { cursor: default; }

@media (max-width: 960px) {
  .dash, .post-layout { grid-template-columns: 1fr; }
  .preview-card, .post-side { position: static; }
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .split, .footer-in { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ids { grid-template-columns: 1fr; }
  .profile-main { flex-direction: column; }
  .toc ol { columns: 1; }
}
@media (max-width: 520px) {
  .topbar-in { gap: 8px; }
  .lockup { gap: 6px; }
  .topbar .logo-mark { height: 24px; }
  .topbar .logo-word { height: 16px; }
  .topbar .lockup-sub { letter-spacing: .2em; padding-left: 6px; font-size: 9px; }
  .env-badge { font-size: 9px; padding: 1px 6px; }
  .topnav { gap: 10px; }
  .navlink, .linkbtn { font-size: 12px; }
}
@media (max-width: 420px) {
  .topbar .lockup-sub { display: none; }
}
