/* What reflexatechnologies.com has that the product sites do not: 270 pages
   written by hand before this look, whose older class names wear the same
   clothes here; the way a page closes; and the company pages' own blocks.
   The system itself — tokens, type, the bar, the components — is styles.css
   and parts.css, kept word for word with the product sites. */

/* ── older names, same clothes ─────────────────────────────────────────── */
.h-giant { font-size: clamp(30px, 4.3vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.lede-c { max-width: 60ch; margin: 18px auto 0; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.55; text-wrap: pretty; }
.mono { font-family: var(--mono); overflow-wrap: anywhere; }
.card-grid .card[href^="/for/"] > h3:first-child { margin-top: 0; padding-right: 1.5em; }
.page-head .byline { display: block; }
.eyebrow-c, .eyebrow-l { display: block; margin-bottom: 16px; color: var(--ember-ink); font: 500 14.5px/1 var(--sans); }

/* the name is longer than the product's, so it is set smaller to span the same window */
.foot-word { font-size: clamp(34px, 9.9vw, 163px); }
.foot-social { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13.5px; }
.foot-social a { color: var(--ink-2); transition: color .18s; }
.foot-social a:hover { color: var(--ink); }

/* ── running text ────────────────────────────────────────────────────────
   An article's tables stand in the text without a frame of their own: a
   header row that is one soft bar, hairlines under the rest, and a table
   wider than a phone scrolls inside itself instead of widening the page. */
.prose > h2:first-child { margin-top: 0; }
.prose table { display: block; max-width: 100%; margin-top: 24px; overflow-x: auto; font-size: 14.5px; line-height: 1.5; }
.prose :is(th, td) { min-width: 104px; padding: 12px 14px; }
.prose th { white-space: nowrap; }
.prose th:first-child { border-radius: 10px 0 0 10px; }
.prose th:last-child { border-radius: 0 10px 10px 0; }
.prose thead th { border-bottom: 0; }
.prose .sources { color: var(--mute); font-size: 14px; }
.prose blockquote { margin: 24px 0 0; padding: 2px 0 2px 20px; box-shadow: inset 3px 0 0 var(--wash-2); color: var(--ink); font-size: 19px; line-height: 1.5; }
.prose :is(img, video) { max-width: 100%; height: auto; border-radius: var(--radius-s); }
.prose figure { margin: 24px 0 0; }
.prose figcaption { margin-top: 8px; color: var(--mute); font-size: 13.5px; }
.prose pre { margin-top: 16px; }
.prose .takeaway strong:first-child { color: var(--ink); }

/* ── how a page closes ───────────────────────────────────────────────────
   Every page ends in the agent's room, the way the product sites close: one
   dark card on the white page, him on the left, the words and the button on
   the right. The pages carry it as a plain centred section — an h2, a line, a
   button, written by hand into 270 files — so the room is drawn here from that
   markup instead of being rewritten into every one of them. */
main > section.sect.center:has(> :is(.h-big, .h-giant)):has(.btn) {
  --paper: #0e0d11; --wash: rgba(255, 255, 255, .07); --ink: #fff; --ink-2: rgba(255, 255, 255, .78); --ink-3: rgba(255, 255, 255, .5); --mute: rgba(255, 255, 255, .62); --line-2: rgba(255, 255, 255, .22);
  position: relative; display: grid; align-content: center; justify-items: start; max-width: none; min-height: clamp(400px, 40vw, 600px);
  margin: clamp(48px, 7vw, 104px) clamp(12px, 2.4vw, 32px) 0; padding: clamp(40px, 5vw, 76px) clamp(24px, 6vw, 96px) clamp(40px, 5vw, 76px) 54%;
  overflow: hidden; border-radius: var(--radius-l); color: var(--ink); text-align: left;
  background: linear-gradient(264deg, rgba(26, 23, 31, .93) 0, rgba(26, 23, 31, .76) 30%, transparent 64%), url("/assets/agent-welcome.webp") 50% 62% / cover no-repeat, var(--stage);
}
main > section.sect.center:has(> :is(.h-big, .h-giant)):has(.btn) > * { max-width: 500px; margin-inline: 0; }
main > section.sect.center:has(> :is(.h-big, .h-giant)):has(.btn) > :is(.h-big, .h-giant) { font-size: clamp(28px, 3.4vw, 44px); }
main > section.sect.center:has(> :is(.h-big, .h-giant)):has(.btn) > .lede-c { margin-top: 16px; font-size: 16.5px; }
main > section.sect.center:has(> :is(.h-big, .h-giant)):has(.btn) > div { margin-top: 28px !important; }
/* a phone crops the room away, so there the still is a band above the words */
@media (max-width: 899px) {
  main > section.sect.center:has(> :is(.h-big, .h-giant)):has(.btn) { min-height: 0; padding: clamp(230px, 34vh, 330px) 22px 34px; background: linear-gradient(to bottom, transparent 0, transparent 150px, var(--stage) clamp(230px, 34vh, 330px)), url("/assets/agent-welcome.webp") 50% 0 / auto clamp(250px, 36vh, 350px) no-repeat, var(--stage); }
  main > section.sect.center:has(> :is(.h-big, .h-giant)):has(.btn) > * { max-width: none; }
}
/* the line of links into the product sites stands before the room, never after it */
.takeaway.network { font-size: 15.5px; }

/* ── the company pages' own blocks ───────────────────────────────────────
   About stands its words beside the room; the pages that walk through
   something number their steps; a price is a card; a reference table scrolls
   inside its own frame. */
.about-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-head h1 { max-width: none; }
.about-hero { margin: 0; overflow: hidden; border-radius: var(--radius-l); background: var(--stage); box-shadow: var(--float); }
.about-hero img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .about-head { grid-template-columns: 1fr; } }

.layers-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.layers-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.layers-list .ln { color: var(--faint); font: 500 14px/2 var(--mono); }
.layers-list h3 { font-size: clamp(21px, 2.3vw, 27px); line-height: 1.15; letter-spacing: -.032em; }
.layers-list h3 .g { display: block; margin-top: 6px; color: var(--ember-ink); font: 500 14.5px/1.3 var(--sans); letter-spacing: 0; }
.layers-list p { max-width: 70ch; margin-top: 10px; color: var(--ink-2); }
.tip { padding: 13px 16px; border-radius: var(--radius-s); background: var(--wash); color: var(--ink-2); font-size: 15px; }
.layers-list .tip { margin-top: 14px; }
@media (max-width: 560px) { .layers-list li { grid-template-columns: 1fr; } .layers-list .ln { line-height: 1.4; } }
.h-left { text-align: left; }

/* the plans: the one we would pick ourselves is the page turned over */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--paper); text-align: left; }
.price-card h2 { color: var(--mute); font: 500 15px/1 var(--sans); letter-spacing: -.01em; }
.price-for { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }
.price-amount { margin-top: 18px; color: var(--ink); font: 600 clamp(44px, 4.6vw, 58px)/1 var(--sans); letter-spacing: -.05em; }
.price-amount span { margin-left: 4px; color: var(--mute); font: 400 15px/1 var(--sans); letter-spacing: 0; }
.price-feat { flex: 1; list-style: none; display: grid; align-content: start; gap: 10px; margin: 22px 0 24px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 15px; }
/* a line here is running text with a bold start, so the tick hangs in the margin instead of taking a column */
.price-feat li { position: relative; padding-left: 25px; color: var(--ink-2); }
.price-feat li::before { content: "\2713"; position: absolute; left: 0; color: var(--ink); font-weight: 600; }
.price-feat li.na { color: var(--faint); }
.price-feat li.na::before { content: "\2013"; color: var(--faint); }
.price-feat b { color: var(--ink); }
.price-card--hot { --paper: #0e0d11; --wash: rgba(255, 255, 255, .07); --ink: #fff; --ink-2: rgba(255, 255, 255, .78); --mute: rgba(255, 255, 255, .62); --faint: rgba(255, 255, 255, .4); --line: rgba(255, 255, 255, .12); border-color: transparent; box-shadow: var(--float); color: var(--ink); }
.price-flag { position: absolute; top: 24px; right: 22px; padding: 5px 9px; border-radius: 999px; background: var(--ember); color: #fff; font: 500 11.5px/1 var(--mono); }
.price-card--talk { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; margin-top: 0; background: var(--wash); border-color: transparent; }
.price-card--talk .price-feat { margin: 0; padding: 0; border: 0; }
@media (max-width: 700px) { .price-card--talk { grid-template-columns: 1fr; } }
.annual-note { margin-top: 22px; text-align: center; color: var(--ink-2); font-size: 15px; }

/* a reference table in its own frame */
.crawl-wrap { margin-top: clamp(24px, 3.4vw, 40px); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.crawl { min-width: 680px; }
.crawl td:first-child { font-weight: 500; white-space: nowrap; }
.crawl td.mono { font-size: 13.5px; }

/* the product in its window: a still, or the film of it */
.dash-demo, .shot { margin: 28px 0 0; }
.browser, .shot { overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); box-shadow: var(--float); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--wash); }
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.browser-url { margin-left: 8px; color: var(--mute); font: 400 12px/1 var(--mono); }
:is(.browser, .shot) :is(img, video) { display: block; width: 100%; height: auto; border-radius: 0; }
.phero-demo-cap { max-width: 72ch; margin-top: 12px; color: var(--mute); font-size: 13.5px; }

/* figures with their sources */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0 8px; }
.stat-card { padding: 22px 22px 18px; border-radius: var(--radius); background: var(--wash); }
.stat-n { display: block; color: var(--ink); font: 600 clamp(30px, 3.4vw, 42px)/1 var(--sans); letter-spacing: -.045em; }
.stat-c { display: block; margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.stat-src { display: block; margin-top: 10px; color: var(--mute); font: 400 12px/1.4 var(--mono); }

/* the glossary: every term a section, and the way round them */
.toc { padding: 16px 20px; border-radius: var(--radius-s); background: var(--wash); font-size: 15px; line-height: 1.9; }
.term { margin-top: 52px; padding-top: 4px; scroll-margin-top: calc(var(--nav) + 16px); }
.term > h2 { margin-top: 0; }
.related-inline { color: var(--mute); font-size: 14.5px; }

/* the products page: the ways on, under what the agent does */
.product-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 30px; }
.product-links > a:not(.btn) { color: var(--ink-2); font-size: 14.5px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.product-more { margin-top: 14px; color: var(--mute); font-size: 14.5px; }

/* ── a phone ─────────────────────────────────────────────────────────────
   The company's name is longer than the product's, so on a phone the bar
   keeps the name and the menu, and the way to the product waits in the sheet.
   A user-agent string or an address has no place to break, so it may break
   anywhere rather than widen the page. */
@media (max-width: 520px) { .nav-cta { display: none; } }
:is(.prose, .page-head, .layers-list, .faq-a, .tile, .card) :is(code, a) { overflow-wrap: anywhere; }

/* the product's own screen, and the line that says whose site it shows */
.shot-wrap { max-width: 1040px; margin: 0 auto; }
.shot-wrap figcaption { margin-top: 12px; text-align: center; color: var(--mute); font-size: 13.5px; }
