@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400.woff2) format('woff2'); 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 Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-500.woff2) format('woff2'); 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 Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-mono-600.woff2) format('woff2'); 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'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-italic.woff2) format('woff2'); 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'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans.woff2) format('woff2'); 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'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans.woff2) format('woff2'); 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'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans.woff2) format('woff2'); 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 Serif'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-serif-500.woff2) format('woff2'); 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 Serif'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-serif-600.woff2) format('woff2'); 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; }

:root {
  --bg: #fbfbf8;
  --paper: #ffffff;
  --ink: #1b1f1c;
  --muted: #4b5550;
  --rule: #d9dcd6;
  --field: #6f7972;
  --green: #15803d;
  --green-ink: #166534;
  --green-dark: #14532d;
  --red: #b42318;
  --code-bg: #f1f2ee;
  --term: #161a17;
  --term-ink: #eef1ed;
  --term-muted: #b4bdb6;
  --term-red: #ff8f85;
  --term-ok: #7ee2a0;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); }
a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; border-radius: 2px; }
code, pre { font-family: var(--mono); font-size: 0.9em; }
code { background: var(--code-bg); padding: 0.05em 0.3em; border-radius: 3px; overflow-wrap: anywhere; }
pre code { background: none; padding: 0; }

.skip { position: absolute; left: 1rem; top: -100px; background: #fff; color: var(--ink); padding: 0.5rem 0.9rem; z-index: 10; font-weight: 600; }
.skip:focus { top: 0.6rem; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header: dark, tight */
.site-head { background: var(--ink); color: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; }
.site-head :focus-visible { outline-color: #fff; }
.brand-line { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; }
.brand:hover { color: #fff; }
.brand svg { width: 24px; height: 24px; flex: none; }
.path { font: 400 0.82rem/1.3 var(--mono); color: var(--term-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  padding: 0.5rem 0.95rem; border-radius: 3px; border: 0; font: 600 0.95rem/1.3 var(--sans); cursor: pointer;
}
.btn:hover { background: var(--green-ink); color: #fff; text-decoration: none; }
.head-link { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 0.36rem 0.75rem; border: 1px solid #8a948d; border-radius: 3px; white-space: nowrap; }
.head-link:hover { color: #fff; border-color: #fff; }

/* Layout */
.layout { display: grid; grid-template-columns: 1fr; padding-top: 1.5rem; padding-bottom: 3rem; }
.art-head, .art-body { min-width: 0; max-width: 54rem; }
@media (min-width: 960px) {
  .layout { grid-template-columns: 240px minmax(0, 1fr); column-gap: 72px; padding-top: 2.5rem; }
  .art-head { grid-column: 2; grid-row: 1; }
  .side { grid-column: 1; grid-row: 1 / span 2; align-self: start; position: sticky; top: 1.25rem; max-height: calc(100dvh - 2.5rem); overflow-y: auto; padding: 5px; scroll-padding-block: 5px; }
  .art-body { grid-column: 2; grid-row: 2; }
}
@media (min-width: 960px) and (max-height: 900px) { .side { position: static; } }

/* Hero */
.eyebrow { font: 500 0.8rem/1.4 var(--mono); color: var(--muted); margin: 0 0 0.7rem; letter-spacing: 0.02em; }
@media (min-width: 960px) { .eb-date { display: none; } }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 1.8rem; line-height: 1.18; margin: 0 0 0.9rem; }
@media (min-width: 640px) { h1 { font-size: 2.45rem; } }
.lede { font-size: 1.04rem; margin: 0 0 0.6rem; max-width: 64ch; }
.fitline { margin: 0 0 0.8rem; font-size: 1.04rem; }

/* Error, styled as a device send log line */
.sendlog { background: var(--term); color: var(--term-ink); border-radius: 4px; padding: 0.8rem 1rem 0.85rem; margin: 0 0 1.6rem; font-family: var(--mono); }
.sendlog .status { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.45rem; }
.sendlog .fail { color: var(--term-red); font-weight: 600; }
.sendlog .fail::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--term-red); margin-right: 0.5rem; vertical-align: 0.05em; }
.sendlog .src { color: var(--term-muted); }
.sendlog pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1.22rem; line-height: 1.45; color: var(--term-ink); }
.sendlog pre b { color: var(--term-red); font-weight: 600; }
.sendlog p { max-width: none; }
.sendlog .also { margin: 0.7rem 0 0; padding-top: 0.6rem; border-top: 1px dashed #4a524c; font-size: 0.86rem; color: var(--term-muted); }
.sendlog .also code { background: none; padding: 0; color: var(--term-ink); font-size: 1em; }
@media (min-width: 640px) { .sendlog pre { font-size: 1.32rem; } }

/* Short answer: ruled, not boxed */
.short { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 0.7rem 0 0.4rem; margin: 0 0 2rem; }
.short h2 { font: 600 0.8rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin: 0 0 0.5rem; }
.short dl { margin: 0; display: grid; grid-template-columns: 1fr; }
.short dt { font-weight: 600; padding-top: 0.55rem; }
.short dd { margin: 0; padding-bottom: 0.55rem; border-bottom: 1px solid var(--rule); max-width: 66ch; }
.short dd:last-of-type { border-bottom: 0; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; margin: 0 0 1.3rem; }
.buy p { margin: 0; }
@media (min-width: 640px) {
  .short dl { grid-template-columns: 10.5rem 1fr; column-gap: 1rem; }
  .short dt, .short dd { padding-top: 0.55rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--rule); }
  .short dt:last-of-type, .short dd:last-of-type { border-bottom: 0; }
}

/* Sidebar */
.meta { display: none; }
@media (min-width: 960px) {
  .meta { display: block; border-top: 3px solid var(--ink); padding: 0.6rem 0 0; margin: 0 0 1.6rem; font-size: 0.86rem; }
  .meta dl { margin: 0; }
  .meta dt { font: 500 0.74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-top: 0.7rem; }
  .meta dt:first-child { margin-top: 0; }
  .meta dd { margin: 0.15rem 0 0; }
  .meta ul { margin: 0; padding-left: 1rem; }
}
.toc { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 0 1.8rem; font-size: 0.92rem; }
.toc summary { cursor: pointer; padding: 0.7rem 0; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0.6rem; counter-reset: toc; }
.toc li.n { counter-increment: toc; }
.toc li a { display: flex; gap: 0.6rem; padding: 0.32rem 0.6rem; color: var(--ink); text-decoration: none; border-left: 3px solid transparent; }
.toc li a::before { content: ""; flex: none; width: 1.4rem; font: 500 0.8rem/1.75 var(--mono); color: var(--muted); }
.toc li.n a::before { content: counter(toc, decimal-leading-zero); }
.toc li a:hover { color: var(--green-ink); text-decoration: underline; }
.toc li a[aria-current] { border-left-color: var(--green); color: var(--green-ink); font-weight: 500; }
.toc-cta { display: none; }
@media (min-width: 960px) {
  .toc { border: 0; margin: 0; }
  .toc summary { padding: 0 0 0.5rem; font: 500 0.74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
  .toc ol { border-left: 1px solid var(--rule); padding: 0; }
  .toc li a { margin-left: -1px; padding: 0.26rem 0 0.26rem 0.7rem; }
  .toc-cta { display: block; border-top: 1px solid var(--rule); margin-top: 1.1rem; padding-top: 0.9rem; font-size: 0.86rem; color: var(--muted); }
  .toc-cta b { color: var(--ink); }
  .toc-cta .toc-link { display: block; margin-top: 0.4rem; padding: 0.2rem 0; font-weight: 600; }
}

/* Numbered sections */
.art-body { counter-reset: sec; }
.art-body > section { counter-increment: sec; position: relative; border-top: 1px solid var(--rule); padding-top: 1.6rem; margin-top: 2.4rem; scroll-margin-top: 1rem; }
.art-body > section:first-child { margin-top: 0; }
.short { scroll-margin-top: 1rem; }
.art-body > section > h2::before {
  content: counter(sec, decimal-leading-zero);
  display: inline-block; width: 2.1rem; font: 500 0.95rem/1 var(--mono); color: var(--green-ink); letter-spacing: 0; vertical-align: 0.18em;
}
@media (min-width: 960px) {
  .art-body > section > h2::before { position: absolute; left: -3.4rem; width: auto; top: 2.15rem; vertical-align: 0; }
}
h2 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 0.8rem; }
h3 { font-size: 1.06rem; line-height: 1.35; font-weight: 600; margin: 1.6rem 0 0.5rem; }
p, li { max-width: 70ch; }
p { margin: 0 0 0.9rem; }
ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; }
li { margin: 0.3rem 0; }
.small { font-size: 0.9rem; color: var(--muted); }
.next { margin-top: 0.4rem; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin: 0 0 1rem; background: var(--paper); }
caption { text-align: left; font-size: 0.9rem; color: var(--muted); padding: 0 0 0.5rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.7rem; border: 1px solid var(--rule); }
thead th { background: var(--code-bg); font-weight: 600; font-size: 0.86rem; }
tbody th { font-weight: 600; }
@media (max-width: 699px) {
  .options, .options tbody, .options tr, .options th, .options td { display: block; }
  .options caption { display: block; }
  .options thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .options { background: none; }
  .options tr { background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; margin: 0 0 0.75rem; }
  .options th, .options td { border: 0; padding: 0.15rem 0.85rem; }
  .options tbody th { padding-top: 0.7rem; font-size: 1rem; }
  .options td { padding-bottom: 0.5rem; }
  .options td:last-child { padding-bottom: 0.8rem; }
  .options td::before { content: attr(data-label); display: block; font: 500 0.74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
}
.limits th[scope="row"] { width: 34%; }

/* Gap note: a rule, not a box */
.gap { border-left: 3px solid var(--green); padding: 0.1rem 0 0.1rem 1.1rem; margin-top: 1.6rem; }
.gap h3 { margin-top: 0; }

/* Flow */
.flow { list-style: none; padding: 0; margin: 1rem 0 1.2rem; counter-reset: hop; border-top: 1px solid var(--rule); }
.flow li { counter-increment: hop; position: relative; border-bottom: 1px solid var(--rule); padding: 0.7rem 0 0.7rem 2.4rem; margin: 0; max-width: none; }
.flow li::before { content: counter(hop); position: absolute; left: 0; top: 0.72rem; font: 500 0.85rem/1.3rem var(--mono); width: 1.4rem; height: 1.4rem; text-align: center; border: 1px solid var(--field); border-radius: 3px; color: var(--ink); }
.flow b { display: block; font-weight: 600; }

/* Fit columns */
.fit { display: grid; grid-template-columns: 1fr; gap: 0 2rem; }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit h3 { margin-top: 0.8rem; }

/* Steps */
.steps { padding-left: 0; list-style: none; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding-left: 2.6rem; margin: 0 0 1rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0.05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: #fff; font: 600 0.92rem/1.8rem var(--mono); text-align: center; }
/* Device settings screen, the counterpart of the send log at the top */
.device { margin: 0.9rem 0 0; max-width: 30rem; }
.screen { background: var(--term); color: var(--term-ink); border-radius: 4px; font-family: var(--mono); padding: 0.75rem 0 0.5rem; }
.screen .status { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--term-muted); padding: 0 1rem 0.55rem; border-bottom: 1px dashed #4a524c; }
.screen .ok { color: var(--term-ok); font-weight: 600; }
.screen .ok::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--term-ok); margin-right: 0.5rem; vertical-align: 0.05em; }
.screen dl { margin: 0; padding: 0.35rem 0; }
.screen dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.1rem 0.75rem; padding: 0.45rem 1rem 0.45rem calc(1rem - 3px); border-left: 3px solid transparent; align-items: baseline; }
.screen dt { color: var(--term-muted); font-size: 0.82rem; }
.screen dd { margin: 0; font-size: 0.95rem; overflow-wrap: anywhere; }
.screen .sel { background: #222a24; border-left-color: var(--term-ok); }
.screen .note { display: block; font-size: 0.78rem; color: var(--term-muted); }
.screen .keys { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.55rem 1rem 0; border-top: 1px dashed #4a524c; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--term-muted); }
.screen .keys span { border: 1px solid #4a524c; border-radius: 3px; padding: 0.15rem 0.55rem; }
.device figcaption { margin-top: 0.55rem; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 479px) { .screen dl > div { grid-template-columns: 1fr; } }

/* Price */
.price-box { display: grid; grid-template-columns: 1fr; gap: 0.6rem 2rem; border-top: 3px solid var(--ink); padding-top: 1rem; }
@media (min-width: 700px) { .price-box { grid-template-columns: 13rem 1fr; } }
.amount { font: 600 3rem/1 var(--serif); letter-spacing: -0.02em; margin: 0 0 0.3rem; }
.amount small { display: block; font: 400 0.95rem/1.4 var(--sans); color: var(--muted); letter-spacing: 0; margin-top: 0.45rem; }
.price-box ul { margin-top: 0; }

/* Form */
form { background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--ink); padding: 1.1rem 1.2rem 1.3rem; }
.row { margin: 0 0 1.1rem; }
.two { display: grid; grid-template-columns: 1fr; gap: 0 1.2rem; }
@media (min-width: 700px) { .two { grid-template-columns: 1fr 1fr; } }
label, legend { display: block; font-weight: 600; font-size: 0.95rem; margin: 0 0 0.3rem; padding: 0; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: 0.86rem; }
.hint { display: block; font-size: 0.86rem; color: var(--muted); margin: -0.1rem 0 0.35rem; }
input[type="email"], input[type="text"], input[type="number"], textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--field); border-radius: 3px; padding: 0.55rem 0.65rem;
}
.narrow { max-width: 10rem; }
textarea { min-height: 4.6rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 1px; border-color: var(--green-dark); }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 400; margin: 0; font-size: 1rem; }
input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--green); margin: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.2rem; margin-top: 0.4rem; }
.form-foot p { margin: 0; font-size: 0.88rem; color: var(--muted); max-width: 46ch; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 0.8rem 2rem 0.8rem 0; list-style: none; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.7rem; font: 500 1.2rem/1.2 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 0.6rem; }

/* Footer */
.site-foot { border-top: 3px solid var(--ink); background: var(--paper); font-size: 0.9rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; padding-top: 1.4rem; padding-bottom: 1.6rem; }
.site-foot p { margin: 0 0 0.3rem; }
.site-foot nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; padding: 0; margin: 0; }

@media (max-width: 560px) { .path { display: none; } }

/* Policy and notice pages */
.doc { max-width: 46rem; padding-top: 2rem; padding-bottom: 3rem; }
.doc h1 { margin-bottom: 0.4rem; }
.doc .updated { font: 500 0.8rem/1.4 var(--mono); color: var(--muted); margin: 0 0 1.8rem; }
.doc h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
