/* AgentSmiles additions. Layered on top of the DrSmiles stylesheets
   (brand.css, premium.css, premium-pages.css, local.css), which are copied unchanged.
   Everything here is small: the wordmark, the longer headline, a four-field step two,
   a three-card pricing row and the vertical page lists. */

/* -- wordmark: the official "Smiles" logo file, untouched, with "Agent" set beside it -- */
.brand .brand-agent { font: 700 1.5rem/1 var(--px-font, var(--sans)); letter-spacing: -.035em; color: #1d1d1f; margin-right: -2px; }
@media (max-width: 560px) { .brand .brand-agent { font-size: 1.25rem; } }
footer .brand .brand-agent { font-size: 1.4rem; }
.nav-back .brand-agent { font-size: 1rem; }

/* -- the one-line definition inside the headline -- */
.px-hero h1 .am-sub { display: block; max-width: 30em; margin: 22px auto 0; font: 400 clamp(1.125rem, 2vw, 1.4rem)/1.4 var(--px-font, var(--sans)); letter-spacing: -.01em; color: #424245; text-wrap: balance; }

/* -- step two has four fields (name, company, city, industry) -- */
.px .px-capture .px-step2-fields select {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #d2d2d7; border-radius: 14px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 16px center;
  font: 400 1rem/1.2 var(--px-font, var(--sans)); color: #1d1d1f; appearance: none; -webkit-appearance: none;
}
.px .px-capture .px-step2-fields select:focus { outline: none; border-color: rgba(0, 113, 227, .6); box-shadow: 0 0 0 4px rgba(0, 113, 227, .14); }
.px .px-capture .px-step2-fields .field-wide { grid-column: 1 / -1; }
.px .px-capture .px-step2-fields .field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* -- demo: verdict and sample score under the answer -- */
.px-chat .am-verdict { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-top: 14px; border-top: 1px solid #f0f0f3; font-size: .9375rem; color: #6e6e73; }
.px-chat .am-verdict b { color: #b3261e; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.px-chat .am-verdict span { font-variant-numeric: tabular-nums; }
.px-chat-chips button { font-size: .8125rem; padding: 9px 14px; }

/* -- three pricing cards, not four -- */
@media (min-width: 72rem) { .px-plans.am-three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; } }
@media (min-width: 40rem) and (max-width: 71.99rem) { .px-plans.am-three { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }

/* -- visible placeholders: they are meant to be found before launch -- */
.ph { background: #fff4c2; color: #5c4700; border-radius: 6px; padding: 1px 6px; font-weight: 600; white-space: nowrap; }

/* -- the placeholder rows in the "who wins instead of you" tile -- */
.px-meter.am-names > div { grid-template-columns: minmax(0, 1fr) auto; }
.px-meter.am-names span { color: #424245; }

/* -- vertical pages -- */
.am-v-sec { padding-block: clamp(36px, 5vw, 64px); }
.am-ticket { max-width: 34em; margin: 0 auto; text-align: center; font: 600 clamp(1.25rem, 2.6vw, 1.75rem)/1.25 var(--px-font, var(--sans)); letter-spacing: -.02em; color: #1d1d1f; }
.am-qs { list-style: none; margin: 26px auto 0; padding: 0; display: grid; gap: 10px; counter-reset: aq; max-width: 760px; }
.am-qs li { counter-increment: aq; padding: 16px 20px; border-radius: 18px; background: #f5f5f7; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; color: #1d1d1f; display: grid; grid-template-columns: 2rem 1fr; gap: 6px; }
.am-qs li::before { content: counter(aq) "."; color: #86868b; font-weight: 500; }
.am-more { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.am-more a { padding: 9px 16px; border-radius: 980px; background: #f5f5f7; color: #1d1d1f; text-decoration: none; font-size: .9375rem; }
.am-more a:hover { background: #e8f1fc; color: #0071e3; }

/* -- footer postal line -- */
.f-bottom .am-addr { display: block; }
.am-dental { display: inline-block; margin-top: 6px; }

/* -- very narrow phones: keep wordmark and button from colliding -- */
@media (max-width: 430px) {
  .nav .brand-logo { height: 28px; }
  .nav .brand .brand-agent { font-size: 1.05rem; }
  .nav .nav-cta { padding-left: 12px; padding-right: 12px; font-size: .78rem; }
}

/* =====================================================================
   Polish pass: big industry tabs, trust row, tighter rhythm
   ===================================================================== */

/* -- hero -- */
.px-hero .am-hero-lead { max-width: 34em; margin: 18px auto 0; font-size: clamp(1.0625rem, 1.8vw, 1.25rem); color: #1d1d1f; }
.px-hero { padding-bottom: clamp(28px, 4vw, 56px); }
.px-hero h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
.am-trust { list-style: none; margin: 16px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: .9375rem; color: #6e6e73; }
.am-trust li { display: inline-flex; align-items: center; gap: 8px; }
.am-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #30d158; flex: none; }
.px .px-capture .px-row .px-btn { white-space: nowrap; }

/* -- the industry tabs -- */
.am-pick { margin-top: clamp(40px, 5.5vw, 72px); max-width: 1080px; }
.am-pick-kicker { margin: 0 0 10px; text-align: center; font-size: .9375rem; font-weight: 600; color: #6e6e73; letter-spacing: -.005em; }
.am-pick-h { margin: 0 auto 26px; max-width: 20ch; text-align: center; font-size: clamp(1.75rem, 3.8vw, 2.75rem); letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.am-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto; }
.am-tab {
  flex: 0 1 calc(25% - 10px); min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px;
  padding: 16px 18px; min-height: 76px; text-align: left; text-decoration: none; cursor: pointer;
  background: #fff; color: #1d1d1f; border: 1.5px solid #d2d2d7; border-radius: 18px;
  font-family: var(--px-font, var(--sans)); transition: background .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.am-tab b { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
.am-tab small { font-size: .8125rem; font-weight: 400; color: #6e6e73; line-height: 1.25; }
.am-tab:hover { border-color: #0071e3; box-shadow: 0 6px 20px rgba(0, 113, 227, .12); transform: translateY(-1px); }
.am-tab:focus-visible { outline: 3px solid rgba(0, 113, 227, .4); outline-offset: 2px; }
.am-tab.is-on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.am-tab.is-on small { color: #c7c7cc; }
@media (max-width: 62rem) { .am-tab { flex-basis: calc(33.333% - 10px); } }
@media (max-width: 40rem) {
  .am-tabs { gap: 8px; }
  .am-tab { flex-basis: calc(50% - 4px); padding: 13px 14px; min-height: 68px; }
  .am-tab b { font-size: 1rem; }
  .am-tab small { font-size: .75rem; }
}

/* -- the sample answer under the tabs -- */
.am-panel { margin-top: 22px; }
.am-panel .px-chat { margin-inline: auto; max-width: 760px; }
.am-panel .px-chat-note { text-align: center; }
.am-ticket-sm { margin: 18px 0 0; text-align: center; font: 600 1.125rem/1.3 var(--px-font, var(--sans)); letter-spacing: -.015em; color: #1d1d1f; }
.am-ticket-sm[hidden] { display: none; }
.am-panel-cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: center; }

/* -- the score card section sits closer to the sections around it -- */
.am-card-sec { padding-block: clamp(40px, 6vw, 88px); }
.am-card-sec .px-stage { margin-top: 0; padding-bottom: 0; }
.am-card-sec .px-head { margin-bottom: clamp(24px, 3vw, 40px); }

/* -- section rhythm: a little less air between sections -- */
:root { --px-sec: clamp(56px, 8vw, 104px); }
.px-trio { margin-top: clamp(40px, 5vw, 72px); }

/* -- vertical pages -- */
.am-v-hero { padding-bottom: 8px; }
.am-v-hero .lede { max-width: 34em; margin-inline: auto; }
.am-v-hero .am-trust { margin-top: 18px; }
.am-v-tabs { padding: clamp(20px, 3vw, 36px) 0 0; }
.am-v-tabs .px-wrap { max-width: 1080px; }
.am-v-h { margin: 0 auto 22px; text-align: center; font-size: clamp(1.5rem, 3.2vw, 2.25rem); letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.am-v-sec { padding-block: clamp(36px, 5vw, 64px); }
.am-v-sec .px-chat { max-width: 760px; margin-inline: auto; }
.am-v-sec .px-chat-note { text-align: center; }
.am-v-sec .am-ticket { margin-top: 28px; }
.am-v-sec .px-capture { margin-top: 28px; }
.am-v-sec.band { background: #f5f5f7; }

/* -- faq: a little more room -- */
.px-faq summary { font-size: 1.125rem; }

/* -- the two-field form row never wraps its button text -- */
@media (min-width: 40.01rem) { .px .px-capture .px-row { align-items: center; } }

/* -- specificity fixes from the first visual pass -- */
.px .am-pick-h, .px .am-v-h { margin-left: auto; margin-right: auto; text-align: center; max-width: 22ch; }
.px .am-v-h { max-width: 26ch; }
.px a.am-tab { color: #1d1d1f; }
.px a.am-tab b { color: inherit; }
.px a.am-tab small { color: #6e6e73; }
.px a.am-tab.is-on { color: #fff; }
.px a.am-tab.is-on small { color: #c7c7cc; }
.am-v-hero { padding-bottom: 0; }
.px .am-v-hero.lp-hero { padding-top: clamp(32px, 5vw, 64px); }
.px .am-v-tabs { padding: clamp(16px, 2.4vw, 28px) 0 0; }
.px .am-v-sec { padding-block: clamp(28px, 4vw, 52px); }
.px .am-v-sec .px-capture { margin-top: 22px; }
@media (max-width: 40rem) { .am-trust { font-size: .875rem; gap: 4px 16px; } }
.px a.am-tab b { color: #1d1d1f !important; }
.px a.am-tab.is-on b { color: #fff !important; }

/* =====================================================================
   Pricing with three retainers, and the ICP-first hero
   ===================================================================== */
.am-eyebrow { margin: 0 auto 18px; max-width: 32em; font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; color: #6e6e73; }
.px-hero h1 .am-sub b { font-weight: 650; color: #1d1d1f; }
.px-hero h1 .am-sub { margin-top: 24px; font-size: clamp(1.0625rem, 1.9vw, 1.3rem); }
.px-hero .am-hero-lead { margin-top: 16px; font-size: clamp(1rem, 1.6vw, 1.125rem); color: #424245; max-width: 36em; }

/* two "start" cards, then three retainers */
.px-plans.am-two { grid-template-columns: minmax(0, 1fr); max-width: 780px; margin-inline: auto; }
@media (min-width: 40rem) { .px-plans.am-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.px-plans.am-three { max-width: 1080px; margin-inline: auto; }
@media (min-width: 40rem) and (max-width: 71.99rem) { .px-plans.am-three { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
@media (min-width: 72rem) { .px-plans.am-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.px .am-ret-title { margin: clamp(44px, 5.5vw, 72px) 0 8px; text-align: center; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.03em; line-height: 1.1; }
.px .am-ret-lead { margin: 0 auto clamp(24px, 3vw, 36px); max-width: 36em; text-align: center; color: #424245; }
.px-credit { margin-top: 14px; font-weight: 600; }

/* =====================================================================
   Spacing pass: less air between the score card, figures and statement
   ===================================================================== */
.am-card-sec { padding-bottom: clamp(8px, 2vw, 24px); }
.px .am-card-sec .px-close-actions { margin-top: 24px; }
.px-wrap > .px-figures { margin-block: 0; }
.px-home .px-figures > div { padding-block: clamp(20px, 2.6vw, 32px); }
.px-sec.am-insight { padding-top: clamp(40px, 5vw, 72px); }
.px-statement { font-size: clamp(1.9rem, 4.4vw, 3.5rem); max-width: 26ch; }
.px-trio { margin-top: clamp(32px, 4vw, 56px); }
.px-head .am-wide-lead { max-width: 46ch; }
.px-head .px-lead { text-wrap: balance; }
.px-sec.px-band { padding-block: clamp(52px, 7vw, 92px); }
.px-sec.px-close { padding-block: clamp(64px, 9vw, 120px); }
.px .am-pick-h { margin-bottom: 24px; }
.px .am-v-h { margin-bottom: 22px; }
.am-pick { margin-top: clamp(36px, 5vw, 64px); }

/* -- agent readiness -- */
.px-trio.am-ready { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .px-trio.am-ready { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .px-trio.am-ready { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.px-trio.am-ready > div { padding: clamp(22px, 2.6vw, 30px); }
.px-trio.am-ready h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.px-trio.am-ready p { margin-top: 10px; font-size: 1rem; }
.am-file { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: #fff; border: 1px solid #d2d2d7; border-radius: 8px; padding: 1px 8px; letter-spacing: 0; }
.am-flow { list-style: none; margin: 28px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; }
.am-flow li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 980px; background: #1d1d1f; color: #fff; font-size: .9375rem; font-weight: 500; }
.am-flow li b { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #1d1d1f; display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; }
.am-flow li + li::before { content: none; }

/* -- menu: industries are plain titles with the scope in small muted type, no parentheses -- */
.px .nav-sheet-links a.am-ind { display: block; padding: 9px 0; font-size: clamp(1.25rem, 4.6vw, 1.5rem); line-height: 1.15; }
.px .nav-sheet-links a.am-ind small { display: block; margin-top: 3px; font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: #6e6e73; }
.px .nav-sheet-links a.am-ind:hover small { color: inherit; }

/* =====================================================================
   Imagery: trade icons, figures, article pages
   ===================================================================== */
.am-tab { flex-direction: row; align-items: center; gap: 12px; }
.am-tab .am-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.am-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f5f5f7; color: #0071e3; transition: background .18s, color .18s; }
.am-tab.is-on .am-ico { background: rgba(255, 255, 255, .14); color: #fff; }
.px a.am-tab .am-ico { color: #0071e3; }
.px a.am-tab.is-on .am-ico { color: #fff; }
@media (max-width: 40rem) { .am-tab { gap: 9px; } .am-ico { width: 32px; height: 32px; border-radius: 10px; } .am-ico svg { width: 18px; height: 18px; } }
.am-hero-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #1d1d1f; color: #2997ff; margin-bottom: 18px; }

.am-fig { margin: clamp(32px, 4.5vw, 56px) auto 0; max-width: 1040px; }
.am-fig img { display: block; width: 100%; height: auto; border-radius: clamp(18px, 2.4vw, 28px); box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 18px 48px -22px rgba(0, 0, 0, .28); }
.am-fig figcaption { margin-top: 14px; text-align: center; font-size: .8125rem; color: #6e6e73; }
.am-fig-wide { margin: 0 auto clamp(24px, 3vw, 40px); max-width: 1040px; }
@media (max-width: 40rem) { .am-fig img { border-radius: 16px; } }

/* article pages reuse the DrSmiles article classes (brand.css); a few tweaks for the px body */
.px .article-hero { background: #f5f5f7; border-bottom: 0; padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.px .article-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.035em; line-height: 1.08; }
.px .article-hero .lede { max-width: 62ch; color: #424245; }
.px .article-body { font-size: 1.0625rem; line-height: 1.65; color: #1d1d1f; }
.px .article-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -.025em; margin: 2em 0 .5em; }
.px .article-body p, .px .article-body ul, .px .article-body ol { margin: 0 0 1.1em; }
.px .article-body li { margin-bottom: .45em; }
.px .article-body a { color: #0066cc; }
.px .post-grid { max-width: 1040px; margin-inline: auto; }
.px .post-card { border-radius: 22px; }
.px .sample-badge { background: #fff4c2; color: #5c4700; border: 0; border-radius: 980px; font-weight: 700; letter-spacing: .02em; }
.px .article-meta { margin-top: 18px; }
.px .stat-row + .article-meta { margin-top: 22px; }

/* -- optional "pay now" links (hidden until a live Stripe link exists) -- */
.px .am-pay { display: block; margin-top: 12px; text-align: center; font-size: .9375rem; }
.px .am-pay[hidden] { display: none; }
.am-pay-box { margin: 22px auto 0; max-width: 560px; text-align: center; padding: 22px; border-radius: 22px; background: #f5f5f7; }
.am-pay-box[hidden] { display: none; }
.am-pay-box p { margin: 12px 0 0; color: #6e6e73; }
