@font-face{font-family:'Literata Variable';font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/literata-cyrillic-opsz-normal.woff2) format('woff2-variations');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Literata Variable';font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/literata-latin-ext-opsz-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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:'Literata Variable';font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/literata-latin-opsz-normal.woff2) format('woff2-variations');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:'Literata Variable';font-style:italic;font-display:swap;font-weight:200 900;src:url(/fonts/literata-cyrillic-wght-italic.woff2) format('woff2-variations');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Literata Variable';font-style:italic;font-display:swap;font-weight:200 900;src:url(/fonts/literata-latin-ext-wght-italic.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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:'Literata Variable';font-style:italic;font-display:swap;font-weight:200 900;src:url(/fonts/literata-latin-wght-italic.woff2) format('woff2-variations');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:'IBM Plex Sans Variable';font-style:normal;font-display:swap;font-weight:100 700;src:url(/fonts/ibm-plex-sans-cyrillic-wght-normal.woff2) format('woff2-variations');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'IBM Plex Sans Variable';font-style:normal;font-display:swap;font-weight:100 700;src:url(/fonts/ibm-plex-sans-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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:'IBM Plex Sans Variable';font-style:normal;font-display:swap;font-weight:100 700;src:url(/fonts/ibm-plex-sans-latin-wght-normal.woff2) format('woff2-variations');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:'JetBrains Mono Variable';font-style:normal;font-display:swap;font-weight:100 800;src:url(/fonts/jetbrains-mono-cyrillic-wght-normal.woff2) format('woff2-variations');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'JetBrains Mono Variable';font-style:normal;font-display:swap;font-weight:100 800;src:url(/fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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 Variable';font-style:normal;font-display:swap;font-weight:100 800;src:url(/fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations');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}
/* MonoPbx marketing site.
   Colours come from the product: the console's warm paper and ink, and the orange full stop of the MonoPhone mark.
   Type: Literata (display), IBM Plex Sans (text, as in the console), JetBrains Mono (code). No gradients, no glows. */
:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --ink: #1a1915;
  --ink-2: #3d3a33;
  --muted: #69655b;
  --rule: #d8d3c6;
  --rule-2: #c3bdae;
  --accent: #c2410c;
  --accent-hover: #9a330a;
  --dot: #ff7a33;
  --night: #1a1915;
  --night-2: #24231e;
  --night-text: #f2f1ec;
  --night-muted: #a9a59a;
  --display: 'Literata Variable', 'Literata', Georgia, 'Times New Roman', serif;
  --font: 'IBM Plex Sans Variable', 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
code, kbd, pre { font-family: var(--mono); font-variant-ligatures: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.i { width: 22px; height: 22px; flex: none; }
.i-sm { width: 17px; height: 17px; }
.dot { color: var(--dot); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: 4px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-light { font-weight: 400; color: var(--muted); }
.logo-mark { border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-links ul { display: flex; gap: 22px; margin-left: 12px; }
.nav-links ul a, .nav-docs { color: var(--ink-2); font-size: 15px; text-decoration: none; }
.nav-links ul a:hover, .nav-docs:hover { color: var(--ink); text-decoration: underline; }
.nav-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule-2); color: var(--ink); border-radius: 4px; padding: 6px; cursor: pointer; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 5px; cursor: pointer; color: var(--ink-2); font-size: 14px; padding: 4px 0; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--rule-2); padding: 6px 0; min-width: 190px; }
.lang li a { display: block; padding: 7px 14px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--paper-2); }
.lang li a[aria-current] { font-weight: 600; }

/* ---------- hero: copy on the left, a real screen bleeding off the right edge ---------- */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.eyebrow { font-family: var(--mono); font-variant-ligatures: none; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.hero h1 {
  font-family: var(--display); font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.025em;
  font-weight: 560; font-variation-settings: 'opsz' 72;
}
.hero h1 em { font-style: italic; font-weight: 500; }
.hero-sub { margin-top: 26px; font-size: 18.5px; color: var(--ink-2); max-width: 34em; }
.hero-why { margin-top: 14px; color: var(--muted); max-width: 34em; }
.ctas { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.hero-trial { margin-top: 14px; font-size: 14px; color: var(--muted); }
.shot { margin: 0; }
.shot img { border: 1px solid var(--rule-2); background: #fff; }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); font-family: var(--mono); }
.hero-shot { margin-top: 8px; margin-right: calc(-1 * max(32px, (100vw - var(--wrap)) / 2 + 32px)); }
.hero-shot img { width: 100%; max-width: none; border-right: 0; }

/* ---------- sections ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--rule); }
.sec-head { margin-bottom: 20px; }
.sec-n { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.sec-head h2 { font-family: var(--display); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 540; font-variation-settings: 'opsz' 48; }
h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.split-side .sec-head { position: sticky; top: 92px; }
.side-note { color: var(--muted); max-width: 22em; }

/* spec rows: a definition list, not a card grid */
.specs .row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.specs .row:first-child { padding-top: 4px; }
.specs dt { font-weight: 600; }
.specs dd p + p { margin-top: 8px; }
.specs .spec { font-family: var(--mono); font-size: 13px; color: var(--muted); line-height: 1.7; }
.wide-shot { margin: 56px 0 48px auto; width: 82%; }

/* dial codes */
.section-codes { background: var(--paper-2); }
.codes-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.codes-copy > p { color: var(--ink-2); }
.codes { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.codes th { text-align: left; font-weight: 600; font-size: 13px; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--rule-2); }
.codes td { padding: 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.codes td:first-child { width: 9.5em; padding-right: 16px; }
kbd { font-size: 14px; color: var(--ink); white-space: nowrap; }
.codes-shot { margin-top: 64px; }

/* apps: three real screens, staggered */
.apps-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.apps-copy p { color: var(--ink-2); }
.apps-copy p + p { margin-top: 14px; }
.apps-copy .platforms { margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.ph { width: 100%; }
.ph-1 { margin-top: 64px; }
.ph-3 { margin-top: 28px; }

/* integrations */
.integ p { color: var(--ink-2); max-width: 46em; }
.integ p + p { margin-top: 16px; }
.integ .muted { color: var(--muted); }

/* install: the one dark block on the page */
.section-install { background: var(--night); color: var(--night-text); border-top: 0; }
.section-install .sec-n { color: var(--dot); }
.section-install a { color: #ffb48a; }
.section-install a:hover { color: #fff; }
.install-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 8px; align-items: start; }
.install-cmds > p { color: var(--night-muted); }
.install-cmds > p code { color: var(--night-text); font-size: 0.9em; }
.cmd { display: flex; align-items: stretch; margin: 12px 0 24px; border: 1px solid #3a3832; background: var(--night-2); }
.cmd code { flex: 1; min-width: 0; padding: 14px 16px; font-size: 13.5px; line-height: 1.55; color: var(--night-text); overflow-wrap: anywhere; }
.copy {
  display: inline-flex; align-items: center; gap: 6px; flex: none; cursor: pointer;
  background: transparent; color: var(--night-muted); border: 0; border-left: 1px solid #3a3832; padding: 0 14px; font: 600 13px var(--font);
}
.copy:hover { color: var(--night-text); }
.copy.done { color: var(--dot); }
.install-cmds h3 { margin-top: 8px; color: var(--night-text); }
.steps { margin-top: 12px; padding-left: 1.3em; color: var(--night-muted); }
.steps li { padding-left: 4px; margin-bottom: 12px; }
.steps li::marker { font-family: var(--mono); color: var(--dot); }
.steps strong { color: var(--night-text); font-weight: 600; }
.term { margin: 0; border: 1px solid #3a3832; background: #11110e; }
.term-head { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1px solid #3a3832; font: 12px var(--mono); color: var(--night-muted); }
.term-body { margin: 0; padding: 16px; font-size: 12.5px; line-height: 1.7; color: #d6d3c9; white-space: pre-wrap; overflow-wrap: anywhere; }
.t-prompt { color: var(--dot); }
.t-cmd { color: #fff; white-space: pre-wrap; }
.t-say { color: #e9e6dc; font-weight: 600; }
.t-ok { color: #7fd99a; font-weight: 600; }
.t-dim { color: #6f6b61; }
.install-facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid #3a3832; }
.install-facts h3 { color: var(--night-text); margin-bottom: 12px; }
.facts div { padding: 8px 0; border-bottom: 1px solid #2f2d27; }
.facts dt { font-size: 13px; color: var(--night-muted); }
.facts dd { color: var(--night-text); }
.ports { width: 100%; border-collapse: collapse; font-size: 15px; }
.ports th, .ports td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid #2f2d27; font-weight: 400; }
.ports th { width: 11em; padding-right: 16px; }
.ports code { color: var(--night-text); font-size: 13.5px; white-space: nowrap; }
.ports td { color: var(--night-muted); }
.install-facts .small { margin-top: 12px; color: var(--night-muted); }
.install-other { margin-top: 40px; color: var(--night-muted); font-size: 15px; }

/* pricing */
.pricing-big { font-size: 19px; color: var(--ink-2); max-width: 36em; }
.tiers { width: 100%; max-width: 480px; border-collapse: collapse; margin-top: 28px; }
.tiers th, .tiers td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.tiers thead th { font-size: 13px; color: var(--muted); font-weight: 600; border-bottom-color: var(--rule-2); padding-top: 0; }
.tiers tbody th { font-family: var(--mono); font-size: 15px; }
.tiers td { text-align: right; font-family: var(--display); font-size: 20px; font-weight: 520; font-variant-numeric: lining-nums tabular-nums; }
.tiers thead th:last-child { text-align: right; }
.tiers td a { font-family: var(--font); font-size: 15px; font-weight: 600; }
.tier-notes { margin-top: 24px; color: var(--ink-2); max-width: 40em; }
.tier-notes li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.tier-notes li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.pricing .small { margin-top: 18px; }

/* security */
.prose-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.prose-list dt { font-weight: 600; margin-bottom: 4px; }
.prose-list dd { color: var(--ink-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 13px; font: 400 22px var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 44em; }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 48px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.foot-brand p { margin-top: 10px; color: var(--muted); }
.foot h2 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-meta p + p { margin-top: 10px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 600; }
.foot-base { margin-top: 40px; color: var(--muted); font-size: 13px; }

/* 404 */
.nf { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.nf h1 { font-family: var(--display); font-size: 96px; font-weight: 560; line-height: 1; }
.nf-links { display: flex; gap: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: 8px 32px 20px; gap: 12px; }
  .nav-links.open { display: flex; }
  .nav-links ul { flex-direction: column; gap: 0; margin: 0; }
  .nav-links ul a { display: block; padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .nav-actions { margin-left: 0; justify-content: space-between; padding-top: 6px; }
  .hero-grid, .split, .codes-grid, .apps-grid, .install-grid, .install-facts { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split-side .sec-head { position: static; }
  .split-side:empty { display: none; }
  .hero-shot { margin-right: -32px; }
  .wide-shot { width: 100%; }
  .codes-shot { margin-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { padding: 8px 16px 20px; }
  .hero { padding: 40px 0 56px; }
  .hero-sub { font-size: 17px; }
  .hero-shot { margin-right: -16px; }
  .section { padding: 60px 0; }
  .specs .row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .prose-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .phones { gap: 10px; }
  .ph-1 { margin-top: 32px; }
  .ph-3 { margin-top: 14px; }
  .codes td:first-child { width: 7.5em; }
  .ports th { width: 8.5em; }
  .term-body { font-size: 11.5px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
