@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 dark;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --ink: #1a1915;
  --ink-2: #3d3a33;
  --muted: #69655b;
  --rule: #d8d3c6;
  --rule-2: #c3bdae;
  --accent: #b83c0a;
  --accent-hover: #8f2f08;
  --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;
  --card: #fbfaf6;
  --surface: #fff;
  --warm: var(--warm);
  --warm-bd: #f0c9a8;
  --on-accent: #fff;
}
*, *::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: var(--on-accent); 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: var(--on-accent); }
.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: var(--surface); }
.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 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; }

/* Legal pages */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.legal h1 { font-family: var(--display); font-size: 40px; font-weight: 560; line-height: 1.15; margin-bottom: 8px; }
.legal .legal-date { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 32px 0 10px; }
.legal p, .legal li { line-height: 1.6; color: var(--ink-2); }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.legal th { font-weight: 600; color: var(--muted); }
.legal-back { margin-left: auto; }
@media (max-width: 640px) {
  .legal h1 { font-size: 30px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border-bottom: 0; padding: 2px 0; }
  .legal tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  .legal td:first-child { font-weight: 600; }
}

/* 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); }
}

/* ---------- store buttons, forms, account, pricing page ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.foot-addr { font-size: 14px; color: var(--muted); line-height: 1.5; }
.foot-stores { font-size: 14px; }
.nav-links .nav-actions .nav-docs { white-space: nowrap; }
.legal.wide { max-width: 900px; }
.legal .lead { font-size: 19px; color: var(--ink-2); margin-bottom: 24px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.legal .btn { color: var(--on-accent); text-decoration: none; }
.legal .btn:hover { color: var(--on-accent); }
.legal .btn-ghost, .btn-ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--rule-2); }
.btn-ghost:hover { background: var(--paper-2); }
.btn[disabled] { opacity: .55; cursor: wait; }
.tiers-wide { max-width: none; margin: 8px 0 12px; }
.tiers-wide td, .tiers-wide thead th:not(:first-child) { text-align: right; }
.tiers-wide td:last-child { width: 1%; white-space: nowrap; padding-left: 20px; }
.tiers-wide td[colspan] { text-align: right; font-family: var(--font); font-size: 15px; }
main.legal { padding-top: 48px; padding-bottom: 64px; }
.legal .tier-notes { list-style: none; padding-left: 0; margin: 12px 0 8px; }
.tiers-wide th, .tiers-wide td { vertical-align: middle; }
button.btn { font-family: inherit; cursor: pointer; border: 0; }
.btn-ghost { border: 1px solid var(--rule-2) !important; }
.panel { border: 1px solid var(--rule); background: var(--card); padding: 20px 22px; margin: 20px 0; }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }
.panel[hidden], [hidden] { display: none !important; }
.form { display: grid; gap: 14px; max-width: 520px; }
.form p { margin: 0; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--rule-2); border-radius: 4px; padding: 10px 12px;
}
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.pwrap { position: relative; display: flex; }
.pwrap input { padding-right: 46px !important; }
.eye { position: absolute; right: 2px; top: 0; bottom: 0; width: 42px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); opacity: .7; cursor: pointer; }
.eye:hover, .eye:focus-visible { opacity: 1; }
.eye .eye-off { display: none; }
.eye[aria-pressed=true] .eye-off { display: block; }
.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; padding: 4px 0; }
.radio input { margin-top: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 1px solid var(--rule-2); background: var(--paper-2); padding: 12px 16px; margin: 16px 0; }
.notice.ok { border-color: #7aa97f; background: #eaf3e8; }
.notice.err { border-color: #c98a74; background: #f8e9e3; }
.notice.warn { border-color: #d3b25c; background: #faf3dc; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.card { border: 1px solid var(--rule); background: var(--surface); padding: 14px 18px; margin: 12px 0; }
.card h4 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.facts { display: grid; gap: 6px 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.facts dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.facts dd { overflow-wrap: anywhere; }
.facts code { font-size: 12px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.contact-grid .panel { margin-top: 0; }
.phones-page { max-width: 640px; margin: 24px 0 8px; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
.legal a.btn-ghost { text-decoration: none; }
.legal .form + p { margin-top: 16px; }

/* install methods */
.methods-sub { color: var(--night-muted); margin: 4px 0 20px; }
.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.methods li { border: 1px solid #3a3832; background: var(--night-2); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.methods h3 { color: var(--night-text); font-size: 18px; margin: 0; }
.methods p { color: var(--night-muted); font-size: 15px; }
.methods .m-who { color: var(--dot); font: 12px var(--mono); }
.methods a { margin-top: auto; font-weight: 600; font-size: 15px; }
.apt-h { color: var(--night-text); margin: 0 0 12px; }
@media (max-width: 1000px) { .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .methods { grid-template-columns: minmax(0, 1fr); } }

/* price calculator */
.calc .tabs { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 4px; overflow: hidden; margin: 4px 0 18px; }
.calc .tabs button { font: 600 15px var(--font); padding: 10px 20px; background: transparent; color: var(--ink); border: 0; cursor: pointer; }
.calc .tabs button[aria-selected=true] { background: var(--ink); color: var(--paper); }
.calc-body { display: grid; gap: 16px; max-width: 560px; }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.calc-sc { font-family: var(--display); font-size: 22px; }
.calc-lines { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.calc-lines dt { color: var(--ink-2); }
.calc-lines dd { text-align: right; font-variant-numeric: tabular-nums; }
.calc-lines dd.total { font-family: var(--display); font-weight: 560; font-size: 26px; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 0; }
@media (max-width: 640px) { .calc .tabs { display: flex; } .calc .tabs button { flex: 1; } .calc-lines { grid-template-columns: 1fr; } .calc-lines dd { text-align: left; } }
@media (max-width: 640px) {
  .legal table.tiers-wide { display: table; }
  .legal .tiers-wide thead { display: table-header-group; }
  .legal .tiers-wide tbody { display: table-row-group; }
  .legal .tiers-wide tr { display: table-row; border-bottom: 0; padding: 0; }
  .legal .tiers-wide th, .legal .tiers-wide td { display: table-cell; padding: 10px 6px; border-bottom: 1px solid var(--rule); }
  .legal .tiers-wide td:first-child { font-weight: inherit; }
  .tiers-wide td { font-size: 17px; }
  .tiers-wide .btn-sm { padding: 8px 10px; }
}

/* reCAPTCHA Enterprise: the badge is hidden and the pages show the notice Google asks for (.captcha-note). */
.grecaptcha-badge { visibility: hidden; }
.captcha-note { max-width: 36rem; }

/* ---------- sales home page ---------- */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 22px 0 0; }
.badge { display: inline-flex; align-items: center; }
.badge img { width: auto; max-width: none; }
.badge-apple img { height: 46px; }
.badge-google img { height: 66px; margin: -10px -9px; }
.stores-hero { margin-top: 18px; }
.kicker { font-family: var(--mono); font-variant-ligatures: none; font-size: 13px; color: var(--accent); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }
.lead { font-size: 19px; color: var(--ink-2); }
.hero .ctas { gap: 14px 16px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule-2); }
.ctas .btn-ghost { text-decoration: none; }
.strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.strip-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 0; padding-bottom: 0; }
.strip-list li { display: flex; flex-direction: column; gap: 2px; padding: 22px 20px 22px 0; }
.strip-list li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.strip-list strong { font-family: var(--display); font-size: 20px; font-weight: 540; }
.strip-list span { font-size: 15px; color: var(--ink-2); }
.section-alt { background: var(--paper-2); }
.sec-intro 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; }
.sec-intro .lead { margin-top: 16px; max-width: 38em; }
.sec-intro .kicker:empty { display: none; }
.feat-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.feat-flip .feat-shot { order: -1; }
.feat-shot { position: sticky; top: 92px; }
.feats { margin-top: 28px; display: grid; gap: 0; }
.feats li { display: grid; gap: 2px; padding: 14px 0 14px 18px; border-top: 1px solid var(--rule-2); position: relative; }
.feats li::before { content: ''; position: absolute; left: 0; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.feats li:last-child { border-bottom: 1px solid var(--rule-2); }
.feats strong { font-weight: 600; }
.feats span { color: var(--ink-2); }
.feat-note { margin: 22px 0 14px; color: var(--muted); font-size: 15px; }
.feat-copy > p:last-child { margin-top: 18px; }
.chip-groups { margin-top: 24px; display: grid; gap: 18px; }
.chip-groups dt { font-weight: 600; margin-bottom: 8px; }
.chip-groups dt .muted { font-weight: 400; font-size: 14px; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--rule-2); background: var(--card); border-radius: 999px; padding: 4px 13px; font-size: 14.5px; }
.apps-copy .feats { margin-top: 22px; }
.cmp-wrap { margin-top: 28px; overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--rule-2); }
.cmp thead th { font-size: 13px; color: var(--muted); font-weight: 600; padding-top: 0; }
.cmp thead th:nth-child(2) { color: var(--accent); }
.cmp tbody th { font-weight: 600; width: 18%; }
.cmp td:nth-child(2) { font-weight: 500; width: 41%; }
.sr-col { color: transparent !important; }
.cmp-note { margin-top: 18px; max-width: 52em; }
.save-badge { display: inline-block; background: #e6f0e3; color: #285a2c; border: 1px solid #a9c8a4; font-weight: 600; font-size: 15px; padding: 5px 12px; border-radius: 999px; }
.split-side .save-badge { margin-top: 20px; }
.split-side .ctas { margin-top: 24px; }
.tiers .best-row th, .tiers .best-row td { background: var(--warm); }
.tiers .best-row th { box-shadow: inset 3px 0 0 var(--dot); padding-left: 10px; }
.start-steps { margin: 28px 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.start-steps li { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--rule-2); background: var(--card); }
.start-steps .num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 600 14px var(--mono); }
.start-steps strong { font-size: 18px; font-family: var(--display); font-weight: 540; }
.start-steps span:not(.num) { color: var(--ink-2); }
.section-final { background: var(--night); color: var(--night-text); border-top: 0; }
.final { max-width: 760px; text-align: left; }
.final h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 540; letter-spacing: -0.02em; line-height: 1.1; }
.final p { margin-top: 14px; color: var(--night-muted); }
.final .ctas { margin-top: 26px; }
.final .link { color: #ffb48a; }
.final .btn-ghost, .section-final .btn-ghost { color: var(--night-text) !important; border: 1px solid #8a867b !important; background: transparent; }
.final .btn-ghost:hover, .section-final .btn-ghost:hover { background: var(--night-2); color: #fff !important; }
.final .hero-trial { color: var(--night-muted); }
.foot-base { display: grid; gap: 8px; }
.foot-base p:last-child { max-width: 60em; font-size: 12.5px; }

/* pricing page and tech facts */
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin: 20px 0 8px; }
.ticks { margin: 16px 0 24px; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .35em; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.best { margin: 18px 0 4px; padding: 12px 16px; background: var(--warm); border: 1px solid var(--warm-bd); border-left: 4px solid var(--dot); }
.best .tag { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 13px; padding: 2px 9px; border-radius: 3px; margin-right: 8px; }
.legal .faq { margin: 12px 0 28px; }
.legal .faq details p { color: var(--ink-2); }
.toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 8px 0 28px; }
.toc a { border: 1px solid var(--rule-2); border-radius: 999px; padding: 4px 14px; font-size: 14.5px; text-decoration: none; color: var(--ink-2); background: var(--card); }
.toc a:hover { background: var(--paper-2); color: var(--ink); }
.facts-wide { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 10px 0 18px; }
.facts-wide > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.legal h2 { scroll-margin-top: 80px; }
.legal .links li { margin: 6px 0; }
.methods-light { margin: 16px 0 30px; }
.methods-light li { background: var(--card); border-color: var(--rule-2); }
.methods-light h3 { color: var(--ink); }
.methods-light p { color: var(--ink-2); }
.methods-light .m-who { color: var(--accent); }
.legal ul.methods { list-style: none; padding-left: 0; }
.legal ul.methods li { margin: 0; }
.install-light { grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 12px 0 28px; }
.install-light .install-cmds > p { color: var(--ink-2); }
.install-light .cmd { border-color: var(--rule-2); background: var(--card); }
.install-light .cmd code { color: var(--ink); }
.install-light .copy { color: var(--muted); border-left-color: var(--rule-2); }
.install-light .copy:hover { color: var(--ink); }
.install-light .steps { color: var(--ink-2); }
.install-light .steps strong, .install-light h3 { color: var(--ink); }
.ports-light { width: 100%; border-collapse: collapse; margin: 8px 0; }
.ports-light th, .ports-light td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid var(--rule); font-weight: 400; color: var(--ink-2); }
.ports-light th { width: 11em; padding-right: 16px; }
.ports-light code { color: var(--ink); font-size: 13.5px; white-space: nowrap; }
.legal .term { margin: 8px 0; }
.legal .term p { color: inherit; }
@media (min-width: 1001px) { .install-light { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
@media (max-width: 1000px) {
  .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feat-shot { position: static; }
  .feat-flip .feat-shot { order: 0; }
  .strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .strip-list li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .start-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lead { font-size: 17.5px; }
  .strip-list li { padding: 16px 12px 16px 0; }
  .strip-list li:nth-child(even) { padding-left: 14px; }
  .strip-list strong { font-size: 17px; }
  .strip-list span { font-size: 14px; }
  .facts-wide > div { grid-template-columns: minmax(0, 1fr); }
  .ctas .btn { flex: 1 1 100%; }
  .hero .ctas { gap: 12px; }
  .ports-light th { width: 8.5em; }
}

.install-light .install-cmds > p code { color: var(--ink); }
.legal ul.ticks, .legal ul.links { list-style: none; padding-left: 0; }

/* IMS: the four boxes from handset to mobile core */
.ims-flow { display: grid; gap: 0; margin: 20px 0; counter-reset: f; }
.ims-flow li { position: relative; display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--rule-2); background: var(--card); }
.ims-flow li + li { margin-top: 22px; }
.ims-flow li + li::before { content: '\2193'; position: absolute; left: 50%; top: -22px; height: 22px; line-height: 22px; transform: translateX(-50%); color: var(--accent); font-weight: 700; }
.ims-flow strong { font-family: var(--display); font-weight: 540; font-size: 18px; }
.ims-flow span { color: var(--ink-2); font-size: 15px; }
.ims-card .shot-cap { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.facts-wide dt { color: var(--muted); }
.facts-wide dd { color: var(--ink-2); }

/* ---------- short home page: pillars, benefits, pricing teaser; and the detail pages' head ---------- */
.pillars-sec { padding: 0 0 72px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 22px 22px; border: 1px solid var(--rule-2); background: var(--card); }
.pillar-n { font: 13px var(--mono); color: var(--accent); }
.pillar-tag { position: absolute; top: 20px; right: 20px; font: 600 12px var(--mono); color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 3px 10px; }
.pillar h3 { font-family: var(--display); font-size: 22px; line-height: 1.2; font-weight: 540; letter-spacing: -0.01em; }
.pillar p { color: var(--ink-2); flex: 1; }
.pillar .link { font-weight: 600; }
.benefits { padding: 64px 0; }
.benefit-list { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.benefit-list li { display: flex; flex-direction: column; gap: 4px; padding: 6px 20px 6px 18px; border-left: 2px solid var(--dot); }
.benefit-list li + li { margin-left: 0; }
.benefit-list strong { font-family: var(--display); font-size: 19px; font-weight: 540; }
.benefit-list span { color: var(--ink-2); font-size: 15px; }
.teaser { padding: 40px 0; border-top: 1px solid var(--rule); }
.teaser-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.teaser-row p { font-size: 18px; color: var(--ink-2); max-width: 44em; }
.mini-title { font-family: var(--display); font-size: 22px; font-weight: 540; margin-bottom: 6px; }
.page-head { padding: 56px 0 36px; }
.page-head h1 { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 560; max-width: 20em; }
.page-head .lead { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 40em; }
.page-head .toc { margin-top: 24px; }
.page-head + .section { border-top: 1px solid var(--rule); }
@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
}
@media (max-width: 640px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillars-sec { padding-bottom: 48px; }
  .benefit-list { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding: 36px 0 24px; }
}
.legal .legal-langs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.legal .legal-langs a[aria-current] { color: var(--muted); text-decoration: none; font-weight: 600; }
.legal .legal-note { font-size: 14px; background: var(--card, rgba(0,0,0,.04)); border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; }
.ph { border-radius: 14px; }

/* ---------- screenshot carousel (home hero, /features/) ---------- */
.carousel { margin: 8px 0 0; position: relative; }
.carousel.hero-shot { margin-right: calc(-1 * max(32px, (100vw - var(--wrap)) / 2 + 32px)); }
.car-track { position: relative; }
.car-slide { margin: 0; }
.car-slide img { width: 100%; height: auto; display: block; border: 1px solid var(--rule-2); background: var(--surface); }
.car-slide figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.car-slide figcaption strong { font-weight: 600; color: var(--ink); }
.carousel.is-js .car-track { display: grid; }
.carousel.is-js .car-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.carousel.is-js .car-slide.on { opacity: 1; visibility: visible; }
.carousel:not(.is-js) .car-slide + .car-slide { margin-top: 24px; }
.car-ctrl { display: none; align-items: center; gap: 10px; margin-top: 12px; }
.carousel.is-js .car-ctrl { display: flex; }
.car-btn { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--surface); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 4px; min-width: 40px; height: 40px; padding: 0 12px; line-height: 1; }
.car-btn:hover { background: var(--paper-2); }
.car-dots { display: flex; gap: 8px; margin: 0 auto 0 6px; padding: 0; list-style: none; }
.car-dots button { width: 16px; height: 16px; padding: 0; border-radius: 50%; border: 2px solid var(--ink-2); background: transparent; cursor: pointer; }
.car-dots button[aria-current="true"] { background: var(--accent); border-color: var(--accent); }
.car-btn:focus-visible, .car-dots button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1000px) { .carousel.hero-shot { margin-right: -32px; } }
@media (max-width: 640px) { .carousel.hero-shot { margin-right: -16px; } .car-btn { min-width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .carousel.is-js .car-slide { transition: none; } }

/* ---------- roaming eSIM section ---------- */
.esim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .esim-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Product menu in the top bar: the same <details> pattern as the language menu, opening to the right. */
.nav-links ul li > .prod summary { font-size: 15px; }
.nav-links .prod ul { display: block; left: 0; right: auto; margin: 0; z-index: 20; }
.nav-links .prod li a { white-space: nowrap; border: 0; padding: 8px 16px; }
.prod summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
@media (max-width: 1000px) {
  .nav-links .prod ul { position: static; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav-links .prod summary { padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .nav-links .prod li a { font-size: 16px; }
}

/* ---------- dark mode (follows the system setting) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161512;
    --paper-2: #1e1d19;
    --ink: #ecebe5;
    --ink-2: #cfccc2;
    --muted: #a29e93;
    --rule: #34322c;
    --rule-2: #46433b;
    --accent: #ff8a4c;
    --accent-hover: #ffab7d;
    --night: #0c0b09;
    --night-2: #1b1a16;
    --card: #1c1b17;
    --surface: #23221d;
    --warm: #2c2017;
    --warm-bd: #6b4020;
    --on-accent: #1a1915;
  }
  .start-steps .num { background: var(--ink); color: var(--paper); }
  .notice.ok { border-color: #4f7a54; background: #1b2a1d; }
  .notice.err { border-color: #8a4f3d; background: #2e1b16; }
  .notice.warn { border-color: #8a7433; background: #2b2615; }
  .save-badge { background: #1b2a1d; color: #a9d8a4; border-color: #4f7a54; }
  .section-final, .section-install { border-top: 1px solid var(--rule); }
  .shot img, .car-slide img, .ph { filter: brightness(.94); }
}

/* ---------- sales home page (2026-11-15) ---------- */
.box-sec { border-top: 0; padding-top: 24px; }
.box-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.box-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 22px 22px; border: 1px solid var(--rule-2); background: var(--card); }
.box-tile h3 { font-family: var(--display); font-size: 21px; font-weight: 540; line-height: 1.2; }
.box-tile p { color: var(--ink-2); flex: 1; }
.box-i { color: var(--accent); }
.box-k { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plat-chips { margin: 22px 0 4px; }
.phones-one { grid-template-columns: minmax(0, 1fr); max-width: 300px; margin: 0 auto; }

/* Sponsored eSIM: the one loud band of the page. */
.sims { background: var(--night); color: var(--night-text); border-top: 0; position: relative; overflow: hidden; }
.sims::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--dot); }
.sims-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.sims h2 { font-family: var(--display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 560; font-variation-settings: 'opsz' 60; margin-top: 14px; }
.sims .lead { margin-top: 18px; color: var(--night-muted); max-width: 34em; }
.sims-badge { font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dot); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sims-badge span { background: var(--dot); color: #1a1915; border-radius: 999px; padding: 3px 11px; letter-spacing: .04em; }
.sims-steps { margin: 30px 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sims-steps li { display: grid; gap: 4px; align-content: start; padding: 16px; border: 1px solid #3a3832; background: var(--night-2); }
.sims-steps .num { width: 28px; height: 28px; border-radius: 50%; background: var(--dot); color: #1a1915; display: grid; place-items: center; font: 600 13px var(--mono); }
.sims-steps strong { font-weight: 600; color: var(--night-text); }
.sims-steps span:not(.num) { color: var(--night-muted); font-size: 15px; }
.sims .btn { background: var(--dot); color: #1a1915; }
.sims .btn:hover { background: #ffa06b; color: #1a1915; }
.sims .btn-ghost { background: transparent; color: var(--night-text) !important; border: 1px solid #8a867b !important; }
.sims .btn-ghost:hover { background: var(--night-2); }
.sim-art { margin: 0; justify-self: center; width: 100%; max-width: 380px; color: var(--dot); }
.sim-art svg { width: 100%; height: auto; display: block; }
.sim-body { fill: #24231e; stroke: #4a473f; stroke-width: 2; }
.sim-chip { fill: var(--dot); }
.sim-lines { stroke: #1a1915; }
.sim-dot { fill: var(--dot); }
.sim-t1 { fill: var(--dot); font: 600 15px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.sim-t2 { fill: var(--night-text); font: 600 24px var(--display); }
.sim-t3 { fill: var(--night-muted); font: 13px var(--font); }
@media (prefers-reduced-motion: no-preference) {
  .sim-waves path { animation: sim-pulse 2.4s ease-in-out infinite; }
  .sim-waves path:nth-child(2) { animation-delay: .3s; }
  .sim-waves path:nth-child(3) { animation-delay: .6s; }
}
@keyframes sim-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.sims-benefits { margin-top: 48px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid #3a3832; }
.sims-benefits li { display: grid; gap: 6px; align-content: start; padding: 20px 18px 0 0; }
.sims-benefits li + li { padding-left: 18px; border-left: 1px solid #3a3832; }
.sims-benefits strong { font-weight: 600; color: var(--night-text); }
.sims-benefits span { color: var(--night-muted); font-size: 15px; }
.sims-note { margin-top: 28px; font-size: 14px; color: var(--night-muted); }
.sims-note a { color: #ffb48a; }
.sims-note a:hover { color: #fff; }

.integ-grid { margin: 32px 0 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.integ-grid li { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--rule-2); background: var(--card); }
.integ-grid strong { font-family: var(--display); font-size: 19px; font-weight: 540; }
.integ-grid span { color: var(--ink-2); }

.plans { margin: 32px 0 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 22px; border: 1px solid var(--rule-2); background: var(--card); }
.plan h3 { font-family: var(--display); font-size: 20px; font-weight: 540; }
.plan-price strong { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.plan-price span, .plan-sub { color: var(--muted); }
.plan-sub { flex: 1; }
.plan .btn { margin-top: 10px; }
.plan-best { border: 2px solid var(--dot); background: var(--warm); }
.plan-tag { position: absolute; top: -12px; left: 18px; font: 600 12px var(--mono); color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 3px 10px; }
.plan-ticks { margin: 0 0 16px; }

@media (max-width: 1000px) {
  .box-grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sims-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sim-art { max-width: 300px; justify-self: start; }
  .sims-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .sims-benefits li, .sims-benefits li + li { padding: 18px 0 0; border-left: 0; }
  .integ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .box-grid, .plans, .integ-grid, .sims-steps, .sims-benefits { grid-template-columns: minmax(0, 1fr); }
  .sim-art { max-width: 240px; }
}

/* Account page cards: the facts lists sit on light cards (the night-section colours above do not apply). */
.card .facts div { border-bottom-color: var(--rule); }
.card .facts dd { color: inherit; }
/* MonoPbx Cloud card (account page) */
.cloud-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 10px 0; font-size: 14px; }
.cloud-steps li { color: var(--muted); }
.cloud-steps li.done { color: inherit; }
.cloud-steps li.now { font-weight: 600; }
.cloud-steps li::before { content: "○ "; }
.cloud-steps li.done::before { content: "● "; }
.cloud-price { font-weight: 600; }
.cloud-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.cloud-actions input { max-width: 7em; }
/* Voice & numbers (account page): one card per server, one block per company, the payment result card. */
.voice-company { border-top: 1px solid var(--rule); margin-top: 14px; padding-top: 10px; }
.voice-company h5, .voice-install h5 { margin: 14px 0 6px; font-size: 15px; font-weight: 600; }
.voice-company.landed, .voice-install.landed, .voice-numbers.landed { outline: 2px solid var(--accent); outline-offset: 6px; }
.voice-interval { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.voice-interval .radio { display: inline-flex; }
.voice-bundle { display: grid; grid-template-columns: minmax(0, 1fr) auto 5em auto; gap: 8px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.voice-bundle input { width: 5em; }
.voice-price { font-weight: 600; white-space: nowrap; }
.voice-sub, .voice-number { padding: 6px 0; overflow-wrap: anywhere; }
.voice-result { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; border: 1px solid var(--rule-2); padding: 10px 14px; margin: 10px 0; background: var(--paper-2); }
.voice-result > :not(.voice-result-icon) { grid-column: 2; overflow-wrap: anywhere; }
.voice-result-icon { grid-row: 1 / span 2; margin-top: 6px; }
.voice-result .reason { font-weight: 600; }
.voice-result.cancelled, .voice-result.expired { border-color: #c98a74; background: #f8e9e3; }
.voice-result.processing { border-color: var(--rule-2); }
.voice-result.approved { border-color: #7aa97f; background: #eaf3e8; }
.voice-result.declined { border-color: #c98a74; background: #f8e9e3; }
.voice-result.pending { border-color: #d3b25c; background: #faf3dc; }
.voice-result p { margin: 4px 0; }
.voice-result-title { font-weight: 600; }
.voice-chart { width: 100%; height: 140px; display: block; margin: 8px 0; }
.voice-chart .bundled, .voice-legend .bundled { fill: var(--ink-2); background: var(--ink-2); }
.voice-chart .uncovered, .voice-legend .uncovered { fill: var(--accent); background: var(--accent); }
.voice-legend .key { display: inline-block; width: 10px; height: 10px; vertical-align: middle; }
.voice-table { display: table; width: 100%; font-size: 14px; }
.voice-table th, .voice-table td { text-align: left; padding: 4px 8px 4px 0; }
.voice-usage summary, .voice-emergency summary { cursor: pointer; font-weight: 600; margin: 12px 0 6px; }
.console-box .console-addr { margin-top: 8px; }
.console-box .console-addr input { max-width: 24em; }
@media (max-width: 560px) {
  .voice-bundle { grid-template-columns: minmax(0, 1fr) auto; }
  .voice-table { font-size: 13px; }
}
@media (prefers-color-scheme: dark) {
  .voice-result.approved { border-color: #4f7a54; background: #1b2a1d; }
  .voice-result.declined { border-color: #8a4f3d; background: #2e1b16; }
  .voice-result.pending { border-color: #8a7433; background: #2b2615; }
  .voice-result.cancelled, .voice-result.expired { border-color: #8a4f3d; background: #2e1b16; }
}

/* ---------- plan calculator (assets/calc.js; pricing page and account page) ---------- */
.pc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 28px; align-items: start; margin: 8px 0 24px; }
.pc-main { min-width: 0; display: grid; gap: 18px; }
.pc-modes { display: flex; border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden; }
.pc-modes button { flex: 1; font: 600 16px var(--font); padding: 12px 16px; min-height: 48px; background: var(--surface); color: var(--ink); border: 0; cursor: pointer; }
.pc-modes button + button { border-left: 1px solid var(--rule-2); }
.pc-modes button[aria-selected=true] { background: var(--ink); color: var(--paper); }
.pc-hint { margin-top: -8px; }
.pc-panel { display: grid; gap: 18px; }
.pc-group { border: 1px solid var(--rule); background: var(--surface); border-radius: 6px; padding: 14px 16px 16px; margin: 0; min-width: 0; display: grid; gap: 12px; }
.pc-group legend { font-weight: 600; padding: 0 6px; margin-left: -6px; }
.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-row > div:first-child { min-width: 0; flex: 1 1 auto; }
.pc-sc { font-family: var(--display); font-size: 20px; }
.pc input[type=range] { width: 100%; accent-color: var(--accent); }
.pc-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden; flex: none; }
.pc-stepper input { width: 3.6em; text-align: center; border: 0; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2); background: var(--surface); color: var(--ink); font: 600 16px var(--font); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.pc-stepper input::-webkit-inner-spin-button, .pc-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pc-step-btn { width: 44px; min-height: 44px; font: 600 20px var(--font); background: var(--paper-2); color: var(--ink); border: 0; cursor: pointer; }
.pc-step-btn:disabled { color: var(--muted); cursor: default; opacity: .55; }
.pc-cards { display: grid; gap: 8px; }
.pc-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; border: 1px solid var(--rule-2); border-radius: 6px; padding: 12px 14px; cursor: pointer; font-weight: 400; }
.pc-card input { margin: 0; accent-color: var(--accent); width: 18px; height: 18px; }
.pc-card-body { display: grid; min-width: 0; }
.pc-card.on, .pc-card:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pc-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.pc-status { color: var(--ink-2, inherit); }
.pc-chosen { margin: 8px 0 0; }
.pc-price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.pc-dids { display: grid; gap: 10px; }
.pc-did + .pc-did { border-top: 1px solid var(--rule); padding-top: 10px; }
.pc-note { margin: 0; }
.pc-seg { display: flex; border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden; }
.pc-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pc-seg label { flex: 1; text-align: center; padding: 11px 12px; min-height: 44px; cursor: pointer; font-weight: 600; background: var(--surface); }
.pc-seg label + input + label { border-left: 1px solid var(--rule-2); }
.pc-seg input:checked + label { background: var(--ink); color: var(--paper); }
.pc-seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -4px; }
.pc-sum { position: sticky; top: 84px; border: 1px solid var(--rule-2); border-radius: 6px; background: var(--card); padding: 18px; display: grid; gap: 10px; }
.pc-sum h3 { font-family: var(--display); font-size: 22px; }
.pc-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; margin: 0; font-size: 15px; }
.pc-lines dt { color: var(--ink-2); }
.pc-lines dd { text-align: right; font-variant-numeric: tabular-nums; }
.pc-total { font-family: var(--display); font-size: 26px; font-weight: 560; border-top: 1px solid var(--rule); padding-top: 10px; font-variant-numeric: tabular-nums; }
.pc-actions { margin: 4px 0; }
.pc-actions .btn { width: 100%; }
.pc-policy { font-weight: 600; color: var(--ink-2); }
.pc-bar { display: none; }
.calc-wrap, .account-plan { container-type: inline-size; }
.calc-wrap { margin: 28px 0 32px; }
.calc-wrap > h2 { margin-bottom: 6px; }
@container (max-width: 760px) {
  .pc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pc-sum { position: static; }
}
.pc-seg { position: relative; }
.buy-extra { margin: 0; }
.buy-extra .field select { width: 100%; }
@media (max-width: 860px) {
  .pc { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 72px; }
  .pc-sum { position: static; }
  .pc-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule-2); }
  .pc-bar-total { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 0; }
}
@media (max-width: 420px) { .pc-group { padding: 12px; } .pc-card { padding: 10px 12px; } .pc-card { grid-template-columns: auto minmax(0, 1fr); } .pc-price { grid-column: 2; } }
.account-plan .pc { margin-top: 12px; }
.pc-picked { border-left: 3px solid var(--accent); padding-left: 10px; }

:lang(ja) { --display: 'Literata Variable', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif; --font: 'IBM Plex Sans Variable', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, 'Noto Sans JP', sans-serif; }
:lang(zh-Hans) { --display: 'Literata Variable', 'Songti SC', 'SimSun', 'Noto Serif SC', serif; --font: 'IBM Plex Sans Variable', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
:lang(ja) body, :lang(zh-Hans) body { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
