/* AgentMob components, layered on numberRank's site.css (same Geist tokens, light and dark). */
.hero.center { text-align: center; padding: 64px 0 32px; }
.hero.center:before { -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%); }
.hero.center h1 { font-size: clamp(32px, 5.4vw, 48px); margin: 0 auto 12px; max-width: 20ch; }
.hero.center .lede { max-width: 560px; margin: 0 auto; }
.hero.center .kicker { margin-bottom: 20px; }
/* the agent headline: "Give <agent> your phone number", names swap inside one fixed slot */
.hero h1 .who { display: inline-grid; vertical-align: bottom; }
.hero h1 .who > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .28em; white-space: nowrap; visibility: hidden; opacity: 0; transform: translateY(.35em); transition: opacity .22s, transform .22s; }
.hero h1 .who > span.on { visibility: visible; opacity: 1; transform: none; }
.hero h1 .who > span.off { visibility: visible; opacity: 0; transform: translateY(-.35em); }
.hero h1 .who img { width: .82em; height: .82em; border-radius: .18em; display: block; }
.hero.center h1 { max-width: none; }
.hero.center.tight { padding-top: 28px; }
.hero .stepline { font-size: 20px; line-height: 26px; margin: 4px 0 6px; color: var(--gray-1000); text-wrap: balance; max-width: 28ch; }
.hero.center .stepline { margin: 4px auto 6px; }
/* centred pages: forms, cards and code keep left-aligned text inside a centred block */
.block.center .panel, .block.center .numcard, .block.center .promptbox, .block.center .rulesbox, .block.center .check, .block.center .wlform, .block.center .linecard, .block.center .code { text-align: left; }
.block.center .panel { margin-left: auto; margin-right: auto; }
.block.center .actions.left { justify-content: center; }
.block.center .signout { text-align: center; }
.prose.center { text-align: center; margin-left: auto; margin-right: auto; }
.prose.center h1, .prose.center h2, .prose.center h3, .prose.center p { margin-left: auto; margin-right: auto; }
.prose.center ul, .prose.center ol { padding: 0; list-style-position: inside; }
.prose.center li { text-align: center; }
.hero .crumbs { margin: 8px 0 20px; }
.kicker.top { margin-top: 0; }
.hint { color: var(--gray-900); font-size: 13px; line-height: 18px; margin: 14px 0 0; }

/* buttons */
.actions { display: flex; justify-content: center; gap: 8px; margin: 28px 0 0; }
.actions.left { justify-content: flex-start; margin-top: 20px; }
.actions.wrapbtns { flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: var(--radius); border: 0; cursor: pointer; background: var(--gray-1000); color: var(--bg-100); font: inherit; font-weight: 500; font-size: 14px; text-decoration: none; transition: background .12s, box-shadow .12s, transform .12s; white-space: nowrap; }
.btn:hover { background: var(--gray-900); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .linkbtn:focus-visible { outline: 2px solid var(--blue-900); outline-offset: 2px; }
.btn.secondary { background: var(--bg-100); color: var(--gray-1000); box-shadow: var(--shadow-border); height: 40px; padding: 0 14px; font-size: 13px; }
.btn.secondary:hover { background: var(--gray-100); }
.btn.google { background: var(--bg-100); color: var(--gray-1000); box-shadow: 0 0 0 1px var(--alpha-600); }
.btn.google:hover { background: var(--gray-100); }
.btn.google svg { width: 18px; height: 18px; flex: none; }
.actions.wrapbtns .btn { height: 40px; font-size: 13px; padding: 0 14px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--gray-900); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gray-500); }
.linkbtn:hover { color: var(--gray-1000); }
.signout { margin: 24px 0 0; }

/* scarcity counter */
.counter { margin: 32px auto 0; max-width: 520px; background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 18px 20px; text-align: left; }
.counter .count { display: flex; align-items: baseline; gap: 12px; }
.counter .n { font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.counter .of { color: var(--gray-900); font-size: 14px; }
.counter .of b { color: var(--gray-1000); font-weight: 500; }
.cells { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 0; }
.cells i { width: 12px; height: 12px; border-radius: 3px; background: var(--gray-200); transition: background .3s; }
.cells i.on { background: var(--gray-1000); }
.counter.low .cells i.on, .counter.low .n { color: var(--amber-900); }
.counter.low .cells i.on { background: var(--amber-900); }

/* sections */
.block { margin: 56px 0 0; }
.block.first { margin-top: 8px; }
.block h2 { font-size: 20px; line-height: 28px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.block .sub { color: var(--gray-900); font-size: 14px; line-height: 20px; margin: 0 0 16px; max-width: 68ch; }
.block .sub b { color: var(--gray-1000); font-weight: 500; }
.step { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: var(--radius); background: var(--gray-100); box-shadow: var(--shadow-border); font-size: 15px; line-height: 1; color: var(--gray-1000); }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 16px 18px; }
.steps h3 { font-size: 15px; line-height: 20px; font-weight: 500; margin: 3px 0 4px; }
.steps p { margin: 0; color: var(--gray-900); font-size: 14px; line-height: 20px; }

/* compatibility matrix */
table.dir.agents { min-width: 640px; }
table.dir.agents td.company { font-size: 15px; }
table.dir.agents td.tested { font-size: 12px; white-space: nowrap; }
table.dir.agents td .none { color: var(--gray-700); }
table.dir.agents td.notes { color: var(--gray-900); font-size: 13px; line-height: 18px; min-width: 180px; }

/* rules */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rules li { position: relative; padding: 0 0 0 20px; color: var(--gray-900); font-size: 14px; line-height: 20px; }
.rules li:before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 2px; background: var(--gray-1000); }
.rules b { color: var(--gray-1000); font-weight: 500; }
.rulesbox { background: var(--bg-200); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 14px 16px; margin: 18px 0 0; }
.rulesbox h3 { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--gray-900); margin: 0 0 10px; }

/* notices */
.notice { margin: 20px auto 0; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; line-height: 20px; max-width: 560px; text-align: left; background: var(--bg-200); box-shadow: var(--shadow-border); color: var(--gray-1000); }
.hero.tight .notice, .block .notice { margin-left: 0; }
.notice.ok { background: var(--green-100); color: var(--green-900); box-shadow: 0 0 0 1px var(--green-400); }
.notice.warn { background: var(--amber-100); color: var(--amber-900); box-shadow: 0 0 0 1px var(--alpha-400); }
.notice a { color: inherit; }

/* forms */
.widget { margin-top: 0; }
.widget input[type=email], .widget input[type=tel], .widget input[type=text], .field input, .report select, .report input[type=text] { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: var(--radius); border: 0; box-shadow: var(--shadow-border); background: var(--bg-100); color: var(--gray-1000); font: inherit; font-size: 16px; outline: none; transition: box-shadow .12s; }
.widget input[type=tel], .field input[type=tel] { font-family: 'Geist Mono', ui-monospace, monospace; }
.widget input::placeholder, .field input::placeholder, .report input::placeholder { color: var(--gray-700); }
.widget input:hover, .field input:hover { box-shadow: 0 0 0 1px var(--alpha-600); }
.widget input:focus, .field input:focus, .report select:focus, .report input[type=text]:focus { box-shadow: 0 0 0 1px var(--gray-1000), 0 0 0 4px var(--alpha-200); }
.widget button { white-space: nowrap; transition: background .12s; }
.panel { background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 20px; max-width: 620px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 500; }
.field small { color: var(--gray-900); font-size: 13px; line-height: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 14px; line-height: 20px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--gray-1000); flex: none; }
.report { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.report select, .report input[type=text] { flex: 1 1 180px; height: 40px; font-size: 14px; }

/* the claimed number */
.numcard { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: center; background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 20px; }
.numcard .who { font-size: 12px; line-height: 16px; color: var(--gray-900); font-weight: 500; }
.numcard .num { font-size: clamp(24px, 5vw, 34px); line-height: 1.15; margin-top: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.numcard .chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.numcard .usage { grid-column: 1 / -1; flex-wrap: wrap; padding-top: 12px; box-shadow: inset 0 1px 0 var(--alpha-400); }

/* the prompt */
.promptbox { margin: 16px 0 0; background: var(--bg-200); box-shadow: var(--shadow-border); border-radius: var(--radius); overflow: hidden; }
.promptbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; font-size: 13px; line-height: 18px; color: var(--gray-900); box-shadow: inset 0 -1px 0 var(--alpha-400); background: var(--bg-100); }
.promptbar .linkbtn { white-space: nowrap; }
.promptbox pre { margin: 0; padding: 14px; font-size: 12.5px; line-height: 19px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow-y: auto; color: var(--gray-1000); outline: none; }
.promptbox pre:focus-visible { box-shadow: inset 0 0 0 2px var(--blue-900); }
.fullprompt summary { padding: 12px 14px; font-size: 13px; cursor: pointer; color: var(--gray-900); }
.fullprompt summary:focus-visible { outline: 2px solid var(--blue-900); outline-offset: -2px; }
.fullprompt .hint { margin: 0; padding: 0 14px 10px; }
.fullprompt pre { border-top: 1px solid var(--gray-alpha-400, rgba(0,0,0,.08)); }

/* questions (same pattern as numberRank's home page) */
.explain { margin: 56px 0 0; }
.explain details { background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); }
.explain summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 16px; line-height: 24px; }
.explain summary::-webkit-details-marker { display: none; }
.explain summary .chev { color: var(--gray-700); font-size: 18px; transition: transform .15s; }
.explain details[open] summary .chev { transform: rotate(45deg); }
.explain-body { padding: 0 20px 20px; box-shadow: inset 0 1px 0 var(--alpha-400); }
.explain-body h3 { font-size: 14px; line-height: 20px; font-weight: 500; margin: 18px 0 4px; }
.explain-body p { color: var(--gray-900); font-size: 14px; line-height: 20px; margin: 0 0 8px; }
.explain-body a { color: var(--gray-1000); }

.cta { margin: 12px 0 0; background: var(--blue-100); box-shadow: 0 0 0 1px var(--blue-400); border-radius: var(--radius); padding: 12px 16px; font-size: 14px; color: var(--blue-1000); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cta a { color: var(--blue-900); font-weight: 500; text-decoration: none; white-space: nowrap; }
.cta a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 600px) {
  .hero.center { padding-top: 40px; }
  .block { margin-top: 44px; }
  .numcard { grid-template-columns: 1fr; }
  .numcard .chips { justify-content: flex-start; }
  .promptbar { flex-direction: column; align-items: flex-start; }
  .actions.wrapbtns .btn { flex: 1 1 100%; }
  .report .btn { flex: 1 1 100%; }
  .widget input[type=email], .widget input[type=tel], .widget input[type=text] { flex: none; width: 100%; }
}

/* usage page */
.stats.usage .more { margin-left: auto; color: var(--gray-1000); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gray-500); white-space: nowrap; }
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meter { background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 16px 18px; }
.meter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.meter-label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--gray-900); }
.meter-val { font-size: 14px; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.meter-val b { font-size: 28px; line-height: 1; font-weight: 400; color: var(--gray-1000); margin-right: 4px; }
.meter-track { height: 8px; border-radius: 4px; background: var(--gray-200); margin: 14px 0 10px; overflow: hidden; }
.meter-track i { display: block; height: 100%; min-width: 0; border-radius: 4px; background: var(--gray-1000); }
.meter-state { font-size: 12px; line-height: 16px; color: var(--gray-900); display: flex; align-items: center; gap: 6px; }
.meter-state:before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--green-900); }
.meter.near .meter-track i, .meter.near .meter-state:before { background: var(--amber-900); }
.meter.over .meter-track i, .meter.over .meter-state:before { background: var(--red-900); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 16px 18px; min-width: 0; }
.tile-label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--gray-900); }
.tile-n { font-size: 32px; line-height: 1; margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
.tile-sub { font-size: 12px; line-height: 16px; color: var(--gray-700); }
table.dir.days { min-width: 520px; }
table.dir.days th.num, table.dir.days td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.dir.days td.num { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px; }
@media (max-width: 720px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .meters { grid-template-columns: 1fr; } }
table.dir.days td.company { font-size: 15px; }
table.dir.days td .none { color: var(--gray-700); font-size: 13px; }
table.dir.days td.when { font-size: 12px; white-space: nowrap; color: var(--gray-900); }

/* account tabs (Number, Usage, Activity) */
.seg.tabs { margin: 0 0 20px; }
.tabrow { margin: 8px 0 0; }
.tabrow .seg.tabs { margin-bottom: 0; }
.seg.tabs a { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 9999px; color: var(--gray-900); font-size: 13px; font-weight: 500; text-decoration: none; }
.seg.tabs a:hover { color: var(--gray-1000); }
.seg.tabs a.on { background: var(--bg-100); color: var(--gray-1000); box-shadow: var(--shadow-border); }
.seg.tabs a:focus-visible { outline: 2px solid var(--blue-900); outline-offset: 1px; }
.tabrow + .block.first { margin-top: 24px; }
.block.first .notice { margin: 0 0 12px; max-width: none; }

/* activity log */
.activity { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.act { background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 12px 16px; display: grid; gap: 6px; }
.act.in { background: var(--bg-200); }
.act-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.act-meta .party { font-size: 13px; margin: 0 4px; }
.act-when { margin-left: auto; font-size: 12px; color: var(--gray-700); white-space: nowrap; }
.dirchip.in { background: var(--blue-100); color: var(--blue-900); box-shadow: 0 0 0 1px var(--blue-400); }
.act .body { font-size: 15px; line-height: 22px; color: var(--gray-1000); overflow-wrap: anywhere; white-space: pre-wrap; }
.act .body.gone, .act .body.call { color: var(--gray-900); font-size: 14px; }
.act-status { font-size: 12px; line-height: 16px; color: var(--gray-700); }
.act-status.fail { color: var(--red-900); }

/* admin */
.tiles.six { grid-template-columns: repeat(6, 1fr); }
table.dir.admin { min-width: 1040px; }
table.dir.admin td { font-size: 13px; }
table.dir.admin td.mono { white-space: nowrap; }
table.dir.admin td .none { color: var(--gray-700); font-size: 12px; }
form.inline { display: inline; }
.linkbtn.danger { color: var(--red-900); }
@media (max-width: 960px) { .tiles.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .tiles.six { grid-template-columns: 1fr 1fr; } .act-when { margin-left: 0; flex-basis: 100%; } }

/* agent picker: two featured cards, then a logo + CTA table */
.alogo { border-radius: 22%; background: #fff; box-shadow: var(--shadow-border); flex: none; display: block; object-fit: cover; }
.alogo.blank { background: var(--gray-100); background-image: radial-gradient(var(--gray-500) 1.5px, transparent 1.6px); background-size: 8px 8px; background-position: center; }
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.fcard { background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.fbrand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fname { font-size: 24px; line-height: 1.1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ftag { color: var(--gray-900); font-size: 13px; line-height: 18px; margin-top: 6px; }
.fcard .btn { width: 100%; }
table.dir.pick { min-width: 0; }
table.dir.pick td { padding: 10px 14px; }
table.dir.pick .brandin { display: flex; align-items: center; gap: 12px; }
table.dir.pick .aname { font-size: 15px; line-height: 20px; display: inline-flex; align-items: center; gap: 8px; }
table.dir.pick td.ctacell { text-align: right; width: 1%; white-space: nowrap; }
table.dir.pick .btn.secondary { height: 36px; }

/* centered section (waitlist) */
.block.center { text-align: center; }
.block.center h2 { justify-content: center; }
.block.center .sub { margin-left: auto; margin-right: auto; }
/* centred sections keep lists and code left-aligned inside a centred block */
.block.center .rules { max-width: 68ch; margin-left: auto; margin-right: auto; text-align: left; }
.block.center .foot-note { margin-left: auto; margin-right: auto; }
.block.center .promptbox, .block.center .tablewrap { text-align: left; }
.block.center .widget { margin-left: auto; margin-right: auto; }
.block.center .notice { margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .featured { grid-template-columns: 1fr; } table.dir.pick .aname { font-size: 14px; } }
.act .body.note { display: block; margin-top: 6px; padding: 8px 10px; border-radius: var(--radius); background: var(--gray-100); color: var(--gray-1000); font-size: 14px; line-height: 20px; }
.taken { margin: 0 0 28px; }
.report input.grow { flex: 3 1 320px; }
.testtable { margin-top: 16px; }
table.dir.admin td.notes { min-width: 280px; white-space: normal; line-height: 18px; }
.panel > .rulesbox:first-child { margin-top: 0; }

/* handover */
.hint.alt { margin-top: 6px; }
.hint.alt a { color: var(--gray-1000); text-underline-offset: 3px; text-decoration-color: var(--gray-500); }
.ho-form { margin: 28px auto 0; }
.ho-status { min-height: 28px; margin: 14px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--gray-900); }
.ho-status .ho-num { font-size: 13px; color: var(--gray-1000); margin-left: 4px; }
.ho-status.bad { color: var(--red-900); }
.ho-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--gray-1000); animation: ho-pulse 0.9s ease-in-out infinite; }
@keyframes ho-pulse { 50% { opacity: .25; transform: scale(.7); } }
.ho-msg[aria-disabled=true] { opacity: .5; pointer-events: none; }
.btn[disabled] { opacity: .5; cursor: default; }
#ho-agents[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .ho-dot { animation: none; } }

/* watch for a number */
.watchbox { margin-top: 12px; }
.watchbox pre { max-height: none; font-size: 13px; line-height: 20px; }
.tiles.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .tiles.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .tiles.five { grid-template-columns: 1fr 1fr; } }

/* waitlist form */
.wlform { display: grid; gap: 16px; max-width: 440px; margin-top: 24px; text-align: left; }
.block.center .wlform { margin-left: auto; margin-right: auto; }
.wlform .field input { width: 100%; }
.wlform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wlform legend { padding: 0; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
/* the size options, scoped to the form: the agent table is also class "pick" and must not pick these up */
.wlform .pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wlform .pick label { position: relative; display: block; cursor: pointer; }
.wlform .pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; opacity: 0; cursor: pointer; appearance: none; }
.wlform .pick span { display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 6px; border-radius: var(--radius); box-shadow: var(--shadow-border); background: var(--bg-100); font-size: 14px; font-weight: 500; white-space: nowrap; transition: box-shadow .12s, background .12s, color .12s; }
.wlform .pick label:hover span { box-shadow: 0 0 0 1px var(--alpha-600); }
.wlform .pick input:checked + span { background: var(--gray-1000); color: var(--bg-100); box-shadow: none; }
.wlform .pick input:focus-visible + span { box-shadow: 0 0 0 1px var(--gray-1000), 0 0 0 4px var(--alpha-200); }
.wlform .btn { width: 100%; justify-content: center; }
@media (max-width: 480px) { .wlform .pick { grid-template-columns: 1fr 1fr; } }

/* not open yet: one quiet line, not a headline number */
.counter.soon { padding: 12px 16px; }
.counter.soon .count { justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.counter.soon .n { font-size: 16px; line-height: 20px; }

/* invite code entry */
.widget input.mono { font-family: 'Geist Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }

/* directory */
table.dir.directory .brandin, #agentchecks .brandin, #benchmark .brandin { display: flex; align-items: center; gap: 12px; }
table.dir.directory .aname, #agentchecks .aname, #benchmark .aname { font-size: 15px; line-height: 20px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
table.dir.directory .aname a, #agentchecks .aname a, #benchmark .aname a { color: inherit; text-decoration: none; }
table.dir.directory .aname a:hover, #agentchecks .aname a:hover, #benchmark .aname a:hover { text-decoration: underline; }
table.dir.directory td.num b { font-weight: 600; color: var(--gray-1000); }
table.dir.directory td .none { color: var(--gray-700); font-size: 13px; }
.tabrow.dirbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.tabrow.dirbar .hint { margin: 0; }

/* docs */
.prose.docs { max-width: 720px; }
.prose.docs .toc { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 8px; font-size: 14px; }
.prose.docs .toc a { color: var(--gray-900); }
.prose.docs .toc a:hover { color: var(--gray-1000); }
.prose.docs .promptbox { margin: 12px 0 16px; }
.prose.docs .promptbox pre { max-height: 360px; overflow: auto; font-size: 12.5px; line-height: 19px; }
.prose.docs h3 { margin-top: 20px; font-size: 15px; }
.prose.docs .mono { font-size: 13px; }
.counter.soon .of { font-size: 14px; line-height: 20px; color: var(--gray-1000); }

/* the demo film where the steps used to be */
.demo { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 16px; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-border); }
/* phones get the vertical cut of the same film */
.demo.tall { display: none; aspect-ratio: 9 / 16; max-width: 360px; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .demo.wide { display: none; } .demo.tall { display: block; } }

/* inventory upload */
.invform { display: grid; gap: 10px; margin-bottom: 14px; }
.invform textarea { width: 100%; min-height: 120px; padding: 12px 14px; border-radius: var(--radius); border: 0; box-shadow: var(--shadow-border); background: var(--bg-100); color: var(--gray-1000); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px; line-height: 18px; resize: vertical; outline: none; }
.invform textarea:focus { box-shadow: 0 0 0 1px var(--gray-1000), 0 0 0 4px var(--alpha-200); }
.invform .actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.invlast { margin-bottom: 14px; }
.invsteps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; line-height: 18px; }
.invsteps .none { color: var(--gray-900); }

/* on your calls */
.cat.whisper { background: rgba(191,90,242,.16); color: #d9a3ff; box-shadow: inset 0 0 0 1px rgba(191,90,242,.4); }
/* The install checklist on the number page (in your ear, step 3). */
.checklist { list-style: none; margin: 18px auto 0; padding: 0; max-width: 560px; text-align: left; }
.checklist li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--gray-400); font-size: 14px; line-height: 20px; color: var(--gray-1000); }
.checklist li:first-child { border-top: 0; }
.checklist li.todo { color: var(--gray-800); }
.checklist .tick { flex: 0 0 18px; font-family: var(--mono, monospace); }
.checklist li.done .tick { color: var(--green-900); }
.checklist .when { margin-left: auto; color: var(--gray-800); font-size: 12px; white-space: nowrap; }

/* ---------- Keys and connect view ---------- */
.viewswitch { margin: 20px 0 0; }
/* The key card: a SIM card's clipped corner, drawn as an inset border and a hairline across the cut. */
.keycard { position: relative; text-align: left; background: var(--bg-100); box-shadow: inset 0 0 0 1px var(--alpha-400); border-radius: var(--radius); padding: 18px 20px 14px; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.keycard:after { content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px; pointer-events: none; background: linear-gradient(to bottom left, transparent calc(50% - 1px), var(--alpha-400) calc(50% - 1px), var(--alpha-400) calc(50% + 1px), transparent calc(50% + 1px)); }
.keyhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.keyhead .who { font-size: 12px; line-height: 16px; color: var(--gray-900); font-weight: 500; }
.keyline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 10px 0 0; }
.keyval { flex: 1 1 260px; min-width: 0; font-size: 17px; line-height: 24px; overflow-wrap: anywhere; color: var(--gray-1000); }
.keyacts { display: flex; gap: 8px; }
.keyrows { margin: 16px 0 0; padding: 14px 0 0; box-shadow: inset 0 1px 0 var(--alpha-400); display: grid; gap: 8px; }
.keyrows > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: center; }
.keyrows dt { font-size: 13px; color: var(--gray-900); }
.keyrows dd { margin: 0; min-width: 0; }
.keyrows .code { padding: 7px 12px; }
.keyfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 14px 0 0; padding: 12px 0 0; box-shadow: inset 0 1px 0 var(--alpha-400); }
.keyfoot p { margin: 0; flex: 1 1 300px; color: var(--gray-900); font-size: 13px; line-height: 18px; }

/* agents as tabs: logo tiles, one set of steps below */
.atabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.atab { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; border: 0; border-radius: var(--radius); background: var(--bg-100); box-shadow: var(--shadow-border); color: var(--gray-900); font: inherit; font-size: 12px; line-height: 16px; font-weight: 500; cursor: pointer; transition: box-shadow .12s, color .12s; }
.atab img, .atab .mono-tile { width: 36px; height: 36px; border-radius: 8px; }
.atab .mono-tile { display: grid; place-items: center; background: var(--gray-100); box-shadow: var(--shadow-border); color: var(--gray-1000); font-size: 15px; }
.atab:hover { color: var(--gray-1000); }
.atab[aria-selected="true"] { color: var(--gray-1000); box-shadow: 0 0 0 1px var(--gray-1000); }
.atab:focus-visible { outline: 2px solid var(--blue-900); outline-offset: 2px; }
.apanel { margin: 16px 0 0; text-align: left; }
.js .apanel[data-hide] { display: none; }
.apanel .steps { counter-reset: s; margin-top: 0; grid-template-columns: minmax(0, 1fr); }
.apanel .steps li { min-width: 0; }
.apanel .steps li:before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: var(--radius); background: var(--gray-100); box-shadow: var(--shadow-border); font-family: 'Geist Pixel', 'Geist Mono', monospace; font-size: 13px; color: var(--gray-1000); }
.apanel .steps li > div { flex: 1; min-width: 0; }
.apanel .steps p + p { margin-top: 8px; }
.apanel .code, .apanel .saybox, .apanel .codebox { margin: 10px 0 0; }
.saybox { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; background: var(--bg-200); box-shadow: var(--shadow-border); border-radius: var(--radius); }
.saybox p { margin: 0; flex: 1; color: var(--gray-1000); font-size: 13px; line-height: 20px; }
.codebox .promptbar { padding: 6px 14px; }
.codebox pre { max-height: none; }
.apanel .hint { margin-top: 12px; }
.trouble { margin: 16px 0 0; }
.trouble summary { list-style: none; cursor: pointer; }
.trouble summary::-webkit-details-marker { display: none; }
.trouble .rules { padding: 14px 16px 16px; }

/* the eSIM: a QR on a white tile in both themes, because a scanner needs the contrast */
.esimcard { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 20px; padding: 20px; text-align: left; background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); }
.qrtile { width: 176px; height: 176px; padding: 12px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-border); }
.qrtile svg { display: block; width: 100%; height: 100%; }
.esimhow h3 { font-size: 14px; line-height: 20px; font-weight: 500; margin: 0 0 4px; }
.esimhow p { margin: 0 0 12px; color: var(--gray-900); font-size: 14px; line-height: 20px; }
.esimhow .promptbox { margin-top: 14px; }

@media (max-width: 600px) {
  .keyrows > div { grid-template-columns: 1fr; gap: 4px; }
  .atabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .esimcard { grid-template-columns: 1fr; }
  .qrtile { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .atab { transition: none; } }

/* ---------- spacing, transitions, desktop layout ---------- */
.seg.tabs.viewswitch { margin: 32px 0 0; }
.lineview > .block.first + .block, .lineview > .block.first + .block.half + .block.half { margin-top: 36px; }

/* Page changes cross-fade; the header, the account tabs and the number card stay put. */
@view-transition { navigation: auto; }
header { view-transition-name: site-header; }
.accttabs { view-transition-name: account-tabs; }
.numcard { view-transition-name: number-card; }
.viewswitch { view-transition-name: view-switch; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* The number page on desktop: two columns. Sections marked .half share a row; a .tall half spans two rows so the
   setup steps still read 1, 2, 3 (1 and 3 on the left, 2 beside them). Phones keep one column. */
@media (min-width: 960px) {
  .lineview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-items: start; align-content: start; }
  .lineview > * { grid-column: 1 / -1; }
  .lineview > .half { grid-column: auto; }
  /* step 1 is short: its words on the left, the phone field on the right, in one row */
  .lineview > #ear { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-items: center; text-align: left; }
  .lineview > #ear > h2 { grid-column: 1; justify-content: flex-start; }
  .lineview > #ear > .sub { grid-column: 1; margin: 0; }
  .lineview > #ear > form { grid-column: 2; grid-row: 1 / span 2; }
  .lineview > #ear > form + form { grid-row: auto; margin-top: 8px; }
  .lineview > #connect { text-align: left; }
  .lineview > .block.center.half { text-align: left; }
  .lineview > .block.center.half h2 { justify-content: flex-start; }
  .lineview > .block.center.half .sub { margin-left: 0; margin-right: 0; }
  .lineview > .block.center.half .actions { justify-content: flex-start; }
  .lineview > .block.center.half .panel { margin-left: 0; }
  /* Paired sections with a heading, words and one card share row lines, so the cards start and end together. */
  .lineview > .half.trio { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .lineview > .half.trio > .sub { align-self: start; }
  .lineview > .half.trio > .keywrap, .lineview > .half.trio > .esimcard { align-self: stretch; }
  /* agents: heading, words and the list on the left; the chosen agent's steps start level with the heading */
  .lineview .connectside h2 { justify-content: flex-start; }
  .connectside .sub { margin: 0 0 16px; }

  .connectgrid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; text-align: left; }
  .connectgrid .atabs { grid-template-columns: 1fr; gap: 6px; }
  .connectside { position: sticky; top: 20px; }
  .connectgrid .atab { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 8px 12px; font-size: 13px; line-height: 18px; }
  .connectgrid .atab img, .connectgrid .atab .mono-tile { width: 28px; height: 28px; border-radius: 7px; }
  .connectgrid .apanel { margin-top: 0; }
}

/* Link capsules (Number / Usage / Activity, Setup prompt / Keys and connect): one pill slides to the chosen tab
   before the page changes, so the switch reads as a single motion. Without the script, .on styles the tab. */
nav.seg.tabs { position: relative; }
nav.seg.tabs a { position: relative; z-index: 1; }
.seg-ind { position: absolute; top: 2px; bottom: 2px; left: 0; width: 0; border-radius: 9999px; background: var(--bg-100); box-shadow: var(--shadow-border); pointer-events: none; transition: transform .17s cubic-bezier(.2, .7, .3, 1), width .17s cubic-bezier(.2, .7, .3, 1); }
nav.seg.tabs.has-ind a.on { background: transparent; box-shadow: none; }
nav.seg.tabs.has-ind a { transition: color .17s; }
@media (prefers-reduced-motion: reduce) { .seg-ind, nav.seg.tabs.has-ind a { transition: none; } }

/* the key's own message sits right above the key card */
.keywrap { display: flex; flex-direction: column; gap: 10px; }
.keywrap .keycard { flex: 1; }
.keywrap > .keynote { margin: 0; max-width: none; width: 100%; box-sizing: border-box; align-self: stretch; }

/* Closed disclosures say they open: the home page's + that turns to x when open. */
summary.promptbar { cursor: pointer; list-style: none; }
summary.promptbar::-webkit-details-marker { display: none; }
summary.promptbar::after { content: "+"; color: var(--gray-700); font-size: 16px; line-height: 1; transition: transform .15s; }
details[open] > summary.promptbar::after { transform: rotate(45deg); }
/* agent logos get the same tile edge they have on the Setup prompt view */
.atab img { background: #fff; box-shadow: var(--shadow-border); }
/* a new agent's steps ease in instead of swapping */
.js .apanel:not([data-hide]) { animation: panel-in .18s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .js .apanel:not([data-hide]) { animation: none; } summary.promptbar::after { transition: none; } }
@media (max-width: 600px) {
  .keyrows { gap: 12px; }
  .keyrows dt { font-size: 12px; line-height: 16px; font-weight: 500; }
}

/* the agent's inbox */
.block.center .inboxpanel, .block.center .inboxalt { text-align: left; }
.inboxpanel { max-width: none; }
.inboxto { margin: 0 0 4px; font-size: 14px; }
.inboxpanel .actions.left { justify-content: flex-start; margin-top: 16px; }
.inboxpanel form + form { margin-top: 12px; }
.inboxalt { padding: 12px 14px; }
.lineview > #inbox { text-align: left; }
.lineview > #inbox h2 { justify-content: flex-start; }
.lineview > #inbox .sub { margin-left: 0; margin-right: 0; }
.lineview > #inbox .notice { margin-left: 0; }
.inboxh { font-size: 14px; line-height: 20px; font-weight: 500; margin: 20px 0 0; }
#inbox .saybox { margin-top: 10px; text-align: left; }
.lineview > #callme { text-align: left; }
.lineview > #callme h2 { justify-content: flex-start; }
.lineview > #callme .sub { margin-left: 0; margin-right: 0; }
/* /agents and /benchmark */
.agentpages .legend { color: var(--gray-900); font-size: 13px; line-height: 18px; margin: 0 0 12px; }
.agentpages .foot-note { margin-left: 0; }
.agentpages h2 { margin-top: 32px; }
.benchpage .hero { padding-bottom: 8px; }
.benchpage .hero .lede { margin-bottom: 0; }
.benchpage .hero h1 { max-width: none; }
.benchpage .crumbs { margin-top: 12px; }
.benchpage .hero .sub { margin: 6px 0 0; }
.agentpages .nextstep { align-items: center; gap: 16px; flex-wrap: wrap; }
.agentpages small.cellnote { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--gray-900); white-space: normal; }
.alogo.initial { display: grid; place-items: center; background: var(--gray-100); color: var(--gray-900); font-weight: 600; line-height: 1; }
.alogo.ourmark { display: grid; place-items: center; width: 32px; height: 32px; background: var(--gray-1000); color: var(--bg-100); box-shadow: none; }
.alogo.ourmark svg { width: 18px; height: 18px; }
#agentchecks { min-width: 760px; table-layout: fixed; }
#agentchecks th:first-child { width: 190px; }
#agentchecks th.muted { width: 96px; }
#agentchecks th.muted, #agentchecks td.muted { color: var(--gray-700); }
#agentchecks td.muted .none { color: var(--gray-700); font-size: 13px; }
#benchmark { min-width: 1040px; table-layout: fixed; }
#benchmark th { white-space: normal; vertical-align: bottom; }
#benchmark th:first-child { width: 132px; }
#benchmark .brandin { gap: 10px; }
#benchmark th.textcol { width: 128px; }
#benchmark th, #benchmark td { padding: 6px 8px; }
#benchmark td { font-size: 13px; line-height: 17px; vertical-align: top; }
#benchmark small.cellnote { font-size: 11px; line-height: 14px; margin-top: 3px; }
#benchmark td.brandcell { vertical-align: middle; }
#benchmark .aname { white-space: normal; }
/* the first column stays put while the table scrolls sideways */
#agentchecks th:first-child, #agentchecks td:first-child, #benchmark th:first-child, #benchmark td:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg-100); }
#agentchecks th:first-child, #benchmark th:first-child { background: var(--bg-200); }
#benchmark tr.ourrow td { background: var(--gray-100); }
#benchmark tr.ourrow td:first-child { background: var(--gray-100); box-shadow: inset 3px 0 0 var(--gray-1000); }
@media (max-width: 600px) {
  #agentchecks th:first-child, #agentchecks td:first-child, #benchmark th:first-child, #benchmark td:first-child { width: 120px; min-width: 120px; max-width: 120px; }
  #agentchecks .alogo, #benchmark .alogo { width: 24px !important; height: 24px !important; }
  #agentchecks .aname, #benchmark .aname { font-size: 14px; white-space: normal; }
}
