/* panelr.app — one stylesheet for every page.
   Broadcast look: flat colour fields, condensed type, hard edges. No gradients, no glows. */
:root {
  --ink: #0b0d10;
  --ink-2: #14171b;
  --ink-3: #1d2126;
  --line: #2a2f36;
  --white: #f3f1ec;
  --grey: #b6bcc3;
  --cyan: #4fe3e6;
  --orange: #f7952e;
  --cream: #f1ebdf;
  --brown: #2a2118;
  --wrap: 1240px;
  --gutter: 32px;
  --cond: "Archivo", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: "Archivo", system-ui, sans-serif; font-size: 18px; line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type: heavy and condensed, like a sports graphic */
h1, h2, h3 {
  font-family: var(--cond); margin: 0; line-height: .95; letter-spacing: -0.01em;
  font-weight: 800; font-variation-settings: "wdth" 68;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: .98; }
h2 { font-size: clamp(2rem, 3vw, 2.8rem); }

.hero-copy h1 { font-size:35pt; }

/* Buttons: square, flat, condensed caps */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 2px; border: 2px solid transparent;
  font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80;
  text-transform: uppercase; letter-spacing: .03em; font-size: 16px;
  text-decoration: none; white-space: nowrap; transition: transform .12s, background .12s, color .12s;
  background: transparent; color: inherit; cursor: pointer;
}
.btn-lg { height: 58px; padding: 0 28px; font-size: 19px; }
.btn:active { transform: translateY(1px); }
.btn > i { margin-right: 10px; font-size: 1.15em; line-height: 1; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--white); }
.btn-line { border-color: var(--white); color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--white); color: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: var(--ink); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 40px; height: 74px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 30px; flex: 1; }
.nav a, .top-actions .link {
  text-decoration: none; font-family: var(--cond); font-weight: 700; font-variation-settings: "wdth" 80;
  text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: var(--grey);
}
.nav a:hover, .top-actions .link:hover { color: var(--white); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.top-actions .link { margin-right: 12px; }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--orange); padding-bottom: 4px; }
.btn-price { font-variation-settings: "wdth" 80; }
.menu-btn { display: none; height: 46px; padding: 0 16px; border: 2px solid var(--white); border-radius: 2px; background: none; color: var(--white); font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 15px; cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
.mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 20px; }
.mobile-nav a[aria-current="page"] { color: var(--orange); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Hero */
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; margin-bottom: 28px; }
.hero .actions { flex-wrap: nowrap; }
.hero h1 { margin-bottom: 22px; }
.lede { font-size: 19px; color: var(--grey); margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* The TV: video screen plus a news crawl bolted underneath */
.tv { border: 2px solid var(--white); }
.screen {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: 0; border-radius: 0; cursor: pointer; overflow: hidden; background: var(--ink-2);
}
.poster { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .25s; }
.screen:hover .poster { opacity: .75; }
.tv-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.bug { position: absolute; top: 24px; right: 24px; width: 44px; opacity: .85; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 18px;
  background: var(--orange); color: var(--ink); padding: 16px 26px 16px 22px;
  font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 70;
  text-transform: uppercase; font-size: 24px; letter-spacing: .01em; white-space: nowrap;
  transition: background .15s;
}
.screen:hover .play { background: var(--white); }
.play svg { width: 26px; height: 26px; fill: var(--ink); }

.ticker { border: 2px solid var(--white); display: flex; align-items: stretch; height: 52px; background: var(--white); color: var(--ink); overflow: hidden; }
.ticker-tag {
  flex: none; display: flex; align-items: center; padding: 0 20px; background: var(--cyan);
  font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 70; text-transform: uppercase; font-size: 20px;
}
.ticker-track { flex: 1; display: flex; overflow: hidden; }
.ticker-run { flex: none; display: flex; align-items: center; animation: crawl 38s linear infinite; }
.ticker-run span { padding: 0 28px; white-space: nowrap; font-size: 17px; border-right: 2px solid var(--ink); line-height: 1; }
.ticker-run b { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; margin-right: 6px; }
@keyframes crawl { to { transform: translateX(-100%); } }

/* Line-up */
.lineup { background: var(--ink-2); padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lineup-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.lineup-head h2 { max-width: 12em; font-size:30pt; }
.more { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .03em; color: var(--cyan); text-decoration: none; white-space: nowrap; font-size: 18px; }
.more:hover { color: var(--white); }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.logos li { background: var(--ink-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px 12px; transition: background .15s; }
.logos li:hover { background: var(--ink-3); }
.logos img { height: 38px; width: auto; max-width: 150px; object-fit: contain; }
.logos span { font-family: var(--cond); font-weight: 700; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: var(--grey); }
.lineup-note { margin: 28px 0 0; color: var(--grey); font-size: 19px; }

/* Section heads */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 32px; }
.sec-head p { font-size: 18px; color: var(--grey); margin: 0; }
.sec-head h2 { font-size:30pt; }

/* Overnight guide: a TV guide grid */
.guide-sec { padding: 72px 0; }
.guide-scroll { overflow-x: auto; border: 2px solid var(--white); }
.guide {
  position: relative; min-width: 1020px;
  display: grid; grid-template-columns: 190px repeat(12, 1fr); grid-auto-rows: minmax(60px, auto);
  background: var(--ink-2);
}
.guide > div { background: var(--ink-2); box-shadow: inset -2px -2px 0 var(--ink); }
.g-corner { background: var(--white) !important; }
.g-time {
  grid-row: 1; background: var(--white) !important; color: var(--ink);
  font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 70; font-size: 22px;
  display: flex; align-items: center; padding: 0 14px; min-height: 48px; font-variant-numeric: tabular-nums;
}
.g-ch {
  grid-column: 1; color: var(--white); display: flex; flex-direction: column; justify-content: center; padding: 8px 16px;
  font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 17px; letter-spacing: .02em;
  background: var(--ink) !important;
}
.g-p { display: flex; flex-direction: column; justify-content: center; padding: 10px 14px; min-width: 0; }
.g-p b { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 17px; }
.g-p span { font-size: 14.5px; color: var(--grey); line-height: 1.3; }
.g-p { background: var(--ink-3) !important; }
.g-p.now { background: var(--cyan) !important; color: var(--ink); }
.g-p.now span { color: var(--ink); }
.g-now {
  position: absolute; top: 0; bottom: 0; width: 3px; background: var(--orange) !important;
  /* 03:02 sits just past the start of the 03:00 column */
  left: calc(190px + (100% - 190px) * (8 / 12) + 6px); pointer-events: none;
}
.g-now span {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--ink); padding: 3px 8px;
  font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 70; font-size: 16px;
}

.g-ch b { font-weight: 800; }
.g-ch span { font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 100; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13.5px; color: var(--grey); }

/* Customers: a flat colour field */
.customers { background: var(--cyan); color: var(--ink); padding: 72px 0; }
.cust-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.cust-copy h2 { margin-bottom: 20px; font-size:30pt;}
.big { font-size: 18px; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.ticks li { padding: 9px 0 9px 34px; border-bottom: 2px solid var(--ink); position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 8px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: translateY(-70%) rotate(-45deg); }
.cust-shots { position: relative; padding-bottom: 110px; }
.framed { position: relative; margin: 0; border: 2px solid var(--ink); background: var(--ink); }
.framed img { width: 100%; height: auto; }
.third {
  position: absolute; left: -2px; bottom: -2px; transform: translateY(100%);
  background: var(--ink); color: var(--white); padding: 8px 14px;
  font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .03em; font-size: 15px;
}
.portal { width: 84%; }
.placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; background: #d8f7f8; color: var(--ink); font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 20px; }
.tg { position: absolute; right: 0; bottom: 0; width: 50%; box-shadow: 14px 14px 0 var(--ink); }
.tg .third { left: auto; right: -2px; background: var(--orange); color: var(--ink); }

/* Admin */
.admin { padding: 72px 0 96px; }
.framed.wide img { display: block; width: 100%; height: auto; }
.framed.wide { border-color: var(--white); box-shadow: 18px 18px 0 var(--orange); }
.framed.wide .third { background: var(--white); color: var(--ink); }


/* Your way: cream field with a switchboard */
.yourway { background: var(--cream); color: var(--brown); padding: 72px 0; }
.way-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: center; }
.yourway h2 { color: var(--ink); margin-bottom: 20px; font-size:30pt; }
.way-copy p { font-size: 18px; }
.way-hint { font-weight: 600; color: var(--ink); }
.board { border: 2px solid var(--ink); background: #fff; }
.board-row { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 2px solid var(--ink); }
.board-row:last-child { border-bottom: 0; }
.board-label { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts button {
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 7px 12px; border: 2px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink);
  transition: background .12s, color .12s;
}
.opts button:hover { background: var(--cream); }
.opts button.on { background: var(--ink); color: var(--white); }
.opts button.on:hover { background: #2b2f35; }

/* Price slab: solid orange */
.slab { background: var(--orange); color: var(--ink); padding: 64px 0; }
.slab-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.slab-price { display: flex; align-items: flex-end; gap: 22px; }
.amt { font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(5rem, 10vw, 9rem); line-height: .8; letter-spacing: -0.02em; }
.once { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: .95; padding-bottom: 6px; }
.slab-copy p { font-size: 18px; margin-bottom: 28px; }

/* Demo: big remote-control buttons */
.demo { padding: 72px 0; }
.remote { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.remote a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 150px;
  padding: 26px 26px 22px; border: 2px solid var(--white); text-decoration: none; transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.remote a:hover { background: var(--white); color: var(--ink); transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--cyan); }
.remote .what { font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 68; text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: .95; }
.remote .where { font-size: 17px; color: var(--grey); }
.remote a:hover .where { color: var(--ink); }

/* Close */
.close { background: var(--ink-2); border-top: 1px solid var(--line); padding: 64px 0; }
.close-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.close-row h2 { font-size:30pt; }

/* Footer */
.foot { padding: 72px 0 40px; font-size: 16px; border-top: 1px solid var(--line); }
.foot-grid nav { display: block; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.foot-brand img { height: 40px; width: auto; }
.foot h2 { font-size: 16px; font-variation-settings: "wdth" 80; letter-spacing: .04em; margin-bottom: 14px; color: var(--white); }
.foot a { display: block; text-decoration: none; color: var(--grey); padding: 4px 0; }
.foot a:hover { color: var(--white); }
.disclaimer p { margin: 0 0 6px; }
.disclaimer { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--grey); font-size: 15px; }

/* Narrower screens */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .top-actions .link, .btn-sm-hide { display: none; }
  .lineup-head { flex-direction: column; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .actions { flex-wrap: wrap; }
  .sec-head, .cust-grid, .way-grid, .slab-grid { grid-template-columns: 1fr; gap: 32px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .remote { grid-template-columns: 1fr; }
  .remote a { min-height: 0; gap: 12px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .top-row { gap: 16px; }
  .btn-price { display: none; }
  .hero { padding: 32px 0 56px; }
  .guide-sec, .customers, .admin, .demo, .lineup, .yourway, .slab, .close { padding: 56px 0; }
  .board-row { grid-template-columns: 1fr; gap: 8px; }
  .play { padding: 14px 20px; font-size: 20px; gap: 10px; }
  .play svg { width: 22px; height: 22px; }
  .bug { width: 30px; top: 12px; right: 12px; }
  .ticker { height: 44px; }
  .ticker-tag { font-size: 16px; padding: 0 12px; }
  .ticker-run span { font-size: 15px; }
  .portal { width: 100%; }
  .tg { width: 66%; }
  .cust-shots { padding-bottom: 150px; }
  .close-row { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .slab-price { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-run { animation: none; }
  * { transition: none !important; }
}


/* ══ Inner pages ════════════════════════════════════════════════════════ */

/* Page head: compact, never a full-screen hero */
.page-head { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-head-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: end; }
.page-head h1 { font-size: 36pt; }
.page-head p { font-size: 19px; color: var(--grey); margin: 0; }
.page-head .actions { margin-top: 24px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-family: var(--cond); font-weight: 700; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-current] { color: var(--white); }

/* Channel bar: sticky jump list under the header */
.chanbar { position: sticky; top: 74px; z-index: 20; background: var(--white); color: var(--ink); border-bottom: 2px solid var(--ink); }
.chanbar ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: flex; overflow-x: auto; scrollbar-width: none; }
.chanbar li { flex: none; }
.chanbar a { display: block; padding: 14px 18px; text-decoration: none; white-space: nowrap; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; border-right: 2px solid var(--ink); }
.chanbar li:first-child a { border-left: 2px solid var(--ink); }
.chanbar a:hover, .chanbar a.on { background: var(--cyan); }

/* Feature blocks: text one side, screenshot the other, alternating */
.feat { padding: 72px 0; scroll-margin-top: 130px; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feat.flip .feat-grid { grid-template-columns: 7fr 5fr; }
.feat.flip .feat-copy { order: 2; }
.feat h2 { margin-bottom: 18px; }
.feat-copy > p { font-size: 18px; color: var(--grey); }
.feat .ticks { border-top-color: var(--line); }
.feat .ticks li { border-bottom-color: var(--line); }
.feat .ticks li::before { border-color: var(--cyan); }
.feat .framed { border-color: var(--white); }
.feat .framed img { display: block; width: 100%; height: auto; }
.feat .framed .third { background: var(--white); color: var(--ink); }
.feat.cyan { background: var(--cyan); color: var(--ink); border-top: 0; }
.feat.cyan .feat-copy > p { color: var(--ink); }
.feat.cyan .ticks { border-top-color: var(--ink); }
.feat.cyan .ticks li { border-bottom-color: var(--ink); }
.feat.cyan .ticks li::before { border-color: var(--ink); }
.feat.cyan .framed { border-color: var(--ink); box-shadow: 14px 14px 0 var(--ink); }
.feat.cyan .framed .third { background: var(--ink); color: var(--white); }
.feat.cream { background: var(--cream); color: var(--brown); border-top: 0; }
.feat.cream h2 { color: var(--ink); }
.feat.cream .feat-copy > p { color: var(--brown); }
.feat.cream .ticks { border-top-color: var(--ink); }
.feat.cream .ticks li { border-bottom-color: rgba(11,13,16,.25); }
.feat.cream .ticks li::before { border-color: var(--ink); }
.feat.cream .framed { border-color: var(--ink); box-shadow: 14px 14px 0 var(--orange); }
.feat.cream .framed .third { background: var(--ink); color: var(--white); }
.feat .placeholder { aspect-ratio: 16 / 10; }
.feat:not(.cyan) .placeholder { background: var(--ink-3); color: var(--grey); }
.feat-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Optional tag — square, not a pill (it is not a button) */
.opt-tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 7px; border: 2px solid currentColor; border-radius: 2px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }

/* Integrations: category rows of logo tiles */
.cat { padding: 56px 0; scroll-margin-top: 130px; }
.cat + .cat { border-top: 1px solid var(--line); }
.cat-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.cat h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 14px; }
.cat p { color: var(--grey); font-size: 17px; }
.tiles { list-style: none; margin: 0; padding: 1px 0 0 1px; display: grid; grid-template-columns: repeat(4, 1fr); }
.tiles li { margin: -1px 0 0 -1px; border: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px 10px; min-height: 120px; text-align: center; }
.tiles img { height: 34px; width: auto; max-width: 120px; object-fit: contain; }
.tiles .icon { font-size: 34px; line-height: 1; color: var(--grey); }
.tiles li.sm img { height: 22px; }
.tiles li.brand img { height: 40px; }
.tiles .mark { font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 70; text-transform: uppercase; font-size: 22px; line-height: 1; color: var(--cyan); }
.tiles span { font-family: var(--cond); font-weight: 700; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; color: var(--grey); }
.tiles small { display: block; font-size: 13px; color: var(--grey); text-transform: none; letter-spacing: 0; font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 100; font-weight: 400; }

/* Steps: a plain ordered list set like a running order */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; border-top: 2px solid var(--white); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.steps li::before { content: counter(s); font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 70; font-size: 30px; line-height: 1; color: var(--orange); }

/* Side by side: two equal panels (bots, developers) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel-box { border: 2px solid var(--white); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.panel-box h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.panel-box p { color: var(--grey); margin: 0; }
.panel-box .framed { margin-top: auto; }
.panel-box .framed img { display: block; width: 100%; height: auto; }

/* Price block on the pricing page */
.price-block { background: var(--orange); color: var(--ink); padding: 56px 0; }
.price-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 56px; align-items: center; }
.price-grid .actions { margin-top: 24px; }
.price-grid ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.price-grid li { padding: 10px 0; border-bottom: 2px solid var(--ink); font-weight: 600; }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }
.btn-ink-line:hover { background: var(--ink); color: var(--white); }

/* Tier table */
.tiers { width: 100%; border-collapse: collapse; border: 2px solid var(--white); }
.tiers th, .tiers td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tiers th { background: var(--white); color: var(--ink); font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 15px; letter-spacing: .03em; }
.tiers td:last-child { font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 70; font-size: 26px; }

/* FAQ: native details/summary */
.faq { border-top: 2px solid var(--white); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 20px; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 28px; line-height: .8; }
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--cyan); }
.faq details p { color: var(--grey); margin: 0 0 18px; max-width: 46em; }

.band { padding: 64px 0; }
.band.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col h2 { margin-bottom: 18px; }
.two-col p { color: var(--grey); }
.code-note { font-family: ui-monospace, Menlo, monospace; font-size: 15px; color: var(--cyan); }

@media (max-width: 1080px) {
  .page-head-grid, .feat-grid, .feat.flip .feat-grid, .cat-grid, .duo, .price-grid, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .feat.flip .feat-copy { order: 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .chanbar { top: 74px; }
}
@media (max-width: 640px) {
  .page-head { padding: 36px 0 32px; }
  .feat, .cat, .band, .price-block { padding: 48px 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps li { grid-template-columns: 40px 1fr; font-size: 17px; }
  .panel-box { padding: 20px; }
  .tiers th, .tiers td { padding: 10px 12px; }
}

/* Tick lists on dark bands */
.band .ticks, .feat:not(.cyan):not(.cream) .ticks { border-top-color: var(--line); }
.band .ticks li, .feat:not(.cyan):not(.cream) .ticks li { border-bottom-color: var(--line); }
.band .ticks li::before, .feat:not(.cyan):not(.cream) .ticks li::before { border-color: var(--cyan); }
.customers .ticks strong { font-weight: 800; }

/* ══ Learn ══════════════════════════════════════════════════════════════ */

.learn-home { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.learn-col h2 { margin-bottom: 12px; }
.learn-lede { color: var(--grey); margin-bottom: 20px; }

/* Search */
.lsearch { position: relative; margin-top: 20px; }
.lsearch input { width: 100%; height: 48px; padding: 0 16px; border: 2px solid var(--white); border-radius: 2px; background: var(--ink); color: var(--white); font: inherit; font-size: 17px; }
.lsearch-lg input { height: 58px; font-size: 19px; }
.lsearch input::placeholder { color: var(--grey); }
.lsearch input:focus { outline: none; border-color: var(--cyan); }
.lsearch-results { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 25; background: var(--white); color: var(--ink); border: 2px solid var(--ink); max-height: 60vh; overflow-y: auto; }
.lsearch-results a { display: block; padding: 12px 16px; border-bottom: 1px solid #d9d4c8; text-decoration: none; }
.lsearch-results a:hover, .lsearch-results a:focus { background: var(--cyan); outline: none; }
.lsearch-results b { display: block; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 17px; }
.lsearch-results span, .lsearch-empty { font-size: 14px; color: #4a4f57; }
.lsearch-empty { padding: 14px 16px; }

/* Rows of links (guide sections) */
.lrows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--white); }
.lrows a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.lrows b { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 20px; }
.lrows span { color: var(--grey); font-size: 15px; white-space: nowrap; }
.lrows a:hover b { color: var(--cyan); }

/* Steps that are links */
.steps-links li { padding: 0; }
.steps-links li::before { padding-top: 16px; }
.steps-links a { display: block; padding: 16px 0; text-decoration: none; }
.steps-links b { display: block; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 20px; }
.steps-links span { display: block; color: var(--grey); font-size: 16px; margin-top: 4px; }
.steps-links a:hover b { color: var(--cyan); }
.steps-wide { max-width: 860px; }

/* Article */
.article-wrap { padding-top: 32px; padding-bottom: 72px; }
.article-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 8px; }
.article-side { position: sticky; top: 98px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
.article-side .lsearch { margin: 0 0 20px; }
.side-toggle summary { display: none; }
.side-group { margin-bottom: 22px; }
.side-label { display: block; margin-bottom: 8px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; color: var(--white); }
.article-side ul { list-style: none; margin: 0; padding: 0; }
.article-side ul ul { padding-left: 12px; margin: 4px 0 8px; border-left: 2px solid var(--line); }
.article-side a { display: block; padding: 5px 0 5px 10px; font-size: 15px; color: var(--grey); text-decoration: none; border-left: 0; }
.article-side a:hover { color: var(--white); }
.article-side a.on { color: var(--ink); background: var(--cyan); font-weight: 600; }
.article-head { border-bottom: 2px solid var(--white); padding-bottom: 18px; margin-bottom: 28px; }
.article-head h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.article-meta { color: var(--grey); font-size: 15px; margin: 10px 0 0; }

/* Article text (also FAQ answers) */
.prose { font-size: 18px; line-height: 1.65; max-width: 46em; }
.prose h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 40px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 30px 0 10px; }
.prose h4 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--cyan); }
.prose a:hover { color: var(--white); }
.prose strong { color: var(--white); }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--ink-3); color: #a9f0dd; padding: 2px 6px; border-radius: 2px; }
.prose pre, .prose .article-code-block { display: block; background: #08090b; border: 1px solid var(--line); padding: 16px 18px; overflow-x: auto; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14.5px; line-height: 1.6; margin: 16px 0 24px; white-space: pre; color: #e8eaed; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose pre code.hljs { background: transparent; padding: 0; }
.prose blockquote { margin: 20px 0; padding: 14px 18px; background: var(--ink-2); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 16px; display: block; overflow-x: auto; }
.prose th { background: var(--white); color: var(--ink); text-align: left; padding: 10px 12px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose img { max-width: 100%; border: 1px solid var(--line); }
.prose .help-figure { margin: 20px 0; }
.prose .help-figure figcaption { color: var(--grey); font-size: 14px; margin-top: 8px; }
.prose .help-broken-link { color: var(--grey); }
.prose > :first-child { margin-top: 0; }

/* API reference markup from the help articles */
.prose-api { max-width: none; }
.prose .api-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.prose .api-method { font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 75; font-size: 16px; letter-spacing: .06em; padding: 6px 12px; border-radius: 2px; line-height: 1; }
.prose .api-method.get { background: var(--cyan); color: var(--ink); }
.prose .api-method.post { background: var(--orange); color: var(--ink); }
.prose .api-title code, .prose code.api-endpoint { background: none; padding: 0; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; color: var(--white); }
.prose .api-badge-type { font-family: ui-monospace, Menlo, monospace; font-size: 13px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 2px; white-space: nowrap; color: var(--grey); }
.prose .api-required { color: var(--orange); font-size: 13px; font-weight: 700; white-space: nowrap; }
.prose .api-optional { color: var(--grey); font-size: 13px; white-space: nowrap; }
.prose .api-tabs { margin: 14px 0 26px; }
.prose .api-tab-nav { display: flex; gap: 0; border: 1px solid var(--line); border-bottom: 0; width: max-content; max-width: 100%; overflow-x: auto; }
.prose .api-tab { background: var(--ink-2); border: 0; border-right: 1px solid var(--line); color: var(--grey); padding: 9px 16px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; cursor: pointer; }
.prose .api-tab:hover { color: var(--white); }
.prose .api-tab.active { background: var(--white); color: var(--ink); }
.prose .api-tab-panel { display: none; }
.prose .api-tab-panel.active { display: block; }
.prose .api-tab-panel pre { margin-top: 0; }

/* Previous / next */
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.pn { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 2px solid var(--white); text-decoration: none; transition: background .15s, color .15s; }
.pn.next { text-align: right; grid-column: 2; }
.pn span { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; color: var(--orange); }
.pn b { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 20px; }
.pn:hover { background: var(--white); color: var(--ink); }

.faq-answer { font-size: 17px; color: var(--grey); margin-bottom: 18px; }
.faq-answer p { color: var(--grey); }

@media (max-width: 1080px) {
  .learn-home { grid-template-columns: 1fr; gap: 48px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .article-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .side-toggle { border: 2px solid var(--white); }
  .side-toggle summary { display: flex; justify-content: space-between; cursor: pointer; padding: 12px 16px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 17px; list-style: none; }
  .side-toggle summary::-webkit-details-marker { display: none; }
  .side-toggle summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: .8; }
  .side-toggle[open] summary::after { content: "\2013"; }
  .side-toggle nav { padding: 4px 16px 12px; }
}
@media (max-width: 640px) {
  .prose { font-size: 17px; }
  .prevnext { grid-template-columns: 1fr; }
  .pn.next { grid-column: 1; }
}

/* ══ Buy, checkout, trial ══════════════════════════════════════════════ */

.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.choice { display: flex; flex-direction: column; gap: 6px; padding: 32px; border: 2px solid var(--white); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.choice:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--cyan); }
.choice-main { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.choice-main:hover { box-shadow: 8px 8px 0 var(--white); }
.choice-tag { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .04em; font-size: 18px; }
.choice-price { font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(4rem, 8vw, 6rem); line-height: .85; margin-top: 10px; }
.choice-sub { font-size: 16px; opacity: .85; }
.choice ul { list-style: none; margin: 18px 0 24px; padding: 0; border-top: 2px solid currentColor; }
.choice li { padding: 10px 0; border-bottom: 1px solid currentColor; font-weight: 500; }
.choice:not(.choice-main) li { border-bottom-color: var(--line); }
.choice .btn { margin-top: auto; align-self: flex-start; }
.choice-main .btn-orange { background: var(--ink); color: var(--white); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.form-box { border: 2px solid var(--white); padding: 28px; }
.form-box + .form-box { margin-top: 20px; }
.form-box h2 { font-size: 1.6rem; margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; margin-bottom: 6px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field .stripe-card-element {
  width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--line); border-radius: 2px; background: var(--ink); color: var(--white); font: inherit; font-size: 17px;
}
.field .stripe-card-element { padding: 15px 14px; }
.field input:focus { outline: none; border-color: var(--cyan); }
.field input.mono { font-family: ui-monospace, Menlo, monospace; }
.field .note { margin-top: 6px; font-size: 15px; color: var(--grey); }
.field .feedback { margin-top: 6px; font-size: 15px; min-height: 0; }
.feedback.ok, .ok-text { color: var(--cyan); }
.feedback.bad, .bad-text { color: #ff8a7a; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; margin: 12px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form-error { display: none; margin: 16px 0 0; padding: 12px 14px; border: 2px solid #ff8a7a; color: #ffd2cc; font-size: 16px; }
.form-error.show { display: block; }
.big-btn { width: 100%; height: 60px; font-size: 20px; margin-top: 18px; }
.big-btn:disabled { opacity: .6; cursor: wait; }
.small-print { margin-top: 10px; font-size: 14px; color: var(--grey); }
.linkish { background: none; border: 0; padding: 0; color: var(--cyan); font: inherit; text-decoration: underline; cursor: pointer; }

/* Order summary */
.summary { position: sticky; top: 98px; border: 2px solid var(--white); }
.summary-head { background: var(--white); color: var(--ink); padding: 14px 20px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 18px; }
.summary-body { padding: 20px; }
.sum-line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-line .v { white-space: nowrap; font-weight: 600; }
.sum-line.discount .v { color: var(--cyan); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; }
.sum-total .k { font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 18px; }
.sum-total .v { font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 65; font-size: 46px; line-height: 1; }
.sum-after { color: var(--grey); font-size: 15px; margin: 0 0 8px; }
.addon { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px; margin: 14px 0; border: 2px dashed var(--line); cursor: pointer; }
.addon:has(input:checked) { border-style: solid; border-color: var(--orange); }
.addon input { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 2px; }
.addon b { display: block; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 17px; }
.addon span { font-size: 15px; color: var(--grey); }
.coupon-row { display: flex; gap: 8px; margin-top: 10px; }
.coupon-row input { flex: 1; height: 46px; padding: 0 12px; border: 2px solid var(--line); border-radius: 2px; background: var(--ink); color: var(--white); font: inherit; text-transform: uppercase; font-family: ui-monospace, Menlo, monospace; }
.coupon-row input:focus { outline: none; border-color: var(--cyan); }

/* Payment tabs */
.paytabs { display: flex; margin-bottom: 20px; border: 2px solid var(--white); width: max-content; }
.paytabs button { background: none; border: 0; color: var(--white); padding: 10px 22px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 16px; cursor: pointer; }
.paytabs button + button { border-left: 2px solid var(--white); }
.paytabs button[aria-selected="true"] { background: var(--white); color: var(--ink); }
.paypane[hidden] { display: none; }
.how { margin-top: 8px; padding: 16px 18px; background: var(--ink-2); border: 1px solid var(--line); }
.how b { display: block; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; margin-bottom: 8px; }
.how ol { margin: 0; padding-left: 20px; color: var(--grey); }
.how li { margin-bottom: 4px; }

/* Dialog (user agreement) */
dialog.sheet { max-width: 720px; width: calc(100% - 32px); max-height: 80vh; padding: 0; border: 2px solid var(--white); background: var(--ink); color: var(--white); }
dialog.sheet::backdrop { background: rgba(0,0,0,.7); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--white); color: var(--ink); position: sticky; top: 0; }
.sheet-head h2 { font-size: 1.4rem; }
.sheet-body { padding: 20px; font-size: 16px; color: var(--grey); }

/* Result pages (sent, paid, verified) */
.result { max-width: 720px; }
.result h1, .result .as-h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin-bottom: 18px; }
.result p { font-size: 19px; color: var(--grey); }
.result .actions { margin-top: 28px; }

@media (max-width: 1080px) {
  .choose, .form-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 640px) {
  .choice, .form-box { padding: 20px; }
  .sum-total .v { font-size: 38px; }
}

/* Links inside running text */
.steps:not(.steps-links) a:not(.btn), .small-print a, .note a, .feedback a, .result p a:not(.btn), .page-head p a:not(.btn):not(.more) { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose pre, .prose table { max-width: 100%; }
.prose .api-title code, .prose code.api-endpoint { overflow-wrap: anywhere; }
.prose td code { overflow-wrap: anywhere; }

/* Three lists side by side */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trio h3 { font-family: var(--cond); font-weight: 900; font-variation-settings: "wdth" 70; text-transform: uppercase; font-size: 26px; margin: 0 0 12px; color: var(--cyan); }
.trio .ticks { border-top-color: var(--line); }
.trio .ticks li { border-bottom-color: var(--line); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; gap: 28px; } }

/* WooCommerce section */
.cream .panel-box { border-color: var(--ink); }
.cream .panel-box p { color: var(--ink); }
.cream .sec-head p { color: var(--ink); }
.woo-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; margin-top: 40px; }
.woo-req { margin: 28px 0 20px; font-size: 18px; }
@media (max-width: 900px) { .woo-grid { grid-template-columns: 1fr; gap: 12px; } }

/* Legal pages */
.prose-legal h2 { scroll-margin-top: 98px; }

/* API reference: parameters in the middle, examples beside them */
.article-wrap.api-wide { max-width: 1560px; }
.api-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 44px; }
.api-layout.has-code { grid-template-columns: 240px minmax(0, 1fr) minmax(0, 480px); }
.api-layout .prose { max-width: none; }
.api-code { position: sticky; top: 98px; max-height: calc(100vh - 120px); overflow: auto; background: #08090b; border: 1px solid var(--line); padding: 18px; font-size: 15px; }
.api-code-label { display: block; margin-bottom: 12px; font-family: var(--cond); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; color: var(--grey); }
.api-code .api-tabs { margin: 0; }
.api-code pre { margin: 0; border: 0; background: none; padding: 14px 0 0; font-size: 13.5px; white-space: pre; }
.prose-api .api-table { font-size: 15.5px; }
.prose-api .api-table td:first-child code { white-space: nowrap; }
.prose-api .api-table td:last-child { min-width: 260px; }
@media (max-width: 1240px) {
  .api-layout.has-code { grid-template-columns: 240px minmax(0, 1fr); }
  .api-code { grid-column: 2; position: static; max-height: none; }
}
@media (max-width: 900px) {
  .api-layout, .api-layout.has-code { grid-template-columns: minmax(0, 1fr); }
  .api-code { grid-column: auto; }
}

/* Contact and changelog */

#changelog_new { color: #50e6a0;}
#changelog_fix { color: #e6c54f;}
ul.changelog_list li { margin-bottom:12pt;}
.field select, .field textarea { width: 100%; border: 2px solid var(--line); border-radius: 2px; background: var(--ink); color: var(--white); font: inherit; font-size: 17px; }
.field select {
  height: 50px; padding: 0 44px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f3f1ec' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { background: var(--ink); color: var(--white); }
.field textarea { display: block; min-height: 220px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.form-error.top { margin: 0 0 18px; }
.form-box .cf-turnstile { margin-top: 4px; }
.release { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; padding: 40px 0; border-top: 1px solid var(--line); }
.release:first-child { padding-top: 0; border-top: 0; }
.release:last-child { padding-bottom: 0; }
.release-head h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.release-date { display: block; margin-top: 10px; font-size: 17px; color: var(--grey); }
.release-latest { margin: 14px 0 0; color: var(--cyan); }
.release .prose { max-width: none; }
.release .prose > p:first-child { color: var(--grey); }
@media (max-width: 900px) {
  .release { grid-template-columns: 1fr; gap: 18px; }
}

/* Plugin docs */
.plugin-section, .plugin-method, .prose-api h3[id] { scroll-margin-top: 98px; }
.prose .plugin-lead { font-size: 20px; color: var(--white); margin-bottom: 8px; }
.prose .plugin-section > h2 { padding-top: 8px; }
.prose .doc-note { margin: 20px 0; padding: 14px 18px; background: var(--ink-2); border: 1px solid var(--line); }
.prose .doc-note p { margin: 0; }
.prose .plugin-method { margin: 26px 0 34px; }
.prose .plugin-method .api-title { margin-bottom: 14px; padding-bottom: 12px; font-size: inherit; }
.prose .plugin-method .api-title code { font-size: clamp(16px, 1.6vw, 19px); }
.prose .plugin-cap { display: inline-flex; align-items: center; gap: 8px; }
.prose .plugin-method .api-table { margin-bottom: 0; }
.plugin-side .side-methods a { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; }

/* A phone-shaped screenshot: whole image, never cropped */
.framed.phone-shot { background: #14171b; }
.framed.phone-shot img { display: block; width: auto; max-width: 100%; height: auto; max-height: 560px; margin: 0 auto; }

/* A word or two picked out in a heading */
.hl { color: var(--orange); }
