/* Pricing presentation, shared by the home-page overview and pricing page. */
.desktop-nav a[aria-current="page"]::after { right: 0; }

.plans-section { padding-block: 40px 20px; }
.plans-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.plans-toolbar h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 8px; }
.plans-toolbar p { color: var(--muted); font-size: 13px; margin: 0; }
.billing-control { text-align: center; flex-shrink: 0; }
.billing-switch { display: inline-flex; padding: 4px; background: #e7ece5; border: 1px solid #d9e0d7; border-radius: 8px; }
.billing-switch button { padding: 10px 20px; background: transparent; border-radius: 5px; font-size: 13px; font-weight: 600; }
.billing-switch button[aria-pressed="true"] { background: #fff; color: var(--brand); box-shadow: 0 2px 5px #142d3312; }
.billing-control > span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px 23px; border: 1px solid #d8e0d8; border-radius: 12px; background: #fff; scroll-margin-top: 110px; }
.price-card-top { display: flex; flex-direction: column; gap: 24px; margin-bottom: 12px; }
.price-card-top > .icon { height: 27px; width: 27px; color: #b44c12; }
.price-card-top > span { min-height: 30px; font-size: 9px; line-height: 1.5; font-weight: 650; letter-spacing: .07em; }
.price-card h3 { font-size: 29px; margin-bottom: 14px; }
.plan-description { font-size: 13px; line-height: 1.75; color: var(--muted); min-height: 92px; margin-bottom: 16px; }
.plan-price { display: flex; gap: 2px; align-items: baseline; min-height: 66px; font: 650 58px/1.1 var(--display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.price-currency { align-self: flex-start; margin-top: 7px; font-size: 25px; }
.price-custom { font-size: 38px; line-height: 1.7; letter-spacing: -.045em; }
.price-unit { margin: 6px 0 8px; font-size: 12px; font-weight: 500; }
.price-billing { min-height: 36px; color: var(--muted); font-size: 11px; margin: 0 0 18px; }
.price-card .button { width: 100%; padding: 13px 10px; gap: 8px; white-space: normal; text-align: center; min-height: 48px; }
.button-plan { border: 1px solid #ced9d0; background: #fff; }
.button-plan:hover { background: #edf1eb; }
.plan-features { list-style: none; padding: 23px 0 0; border-top: 1px solid var(--line); margin: 25px 0 0; }
.plan-features li { display: flex; gap: 9px; font-size: 12px; line-height: 1.6; margin-bottom: 13px; }
.plan-features li:last-child { margin-bottom: 0; }
.plan-features .icon { width: 15px; height: 18px; margin-top: 1px; color: var(--brand); stroke-width: 2; }
.price-card-featured { background: var(--dark); border-color: var(--dark); color: #fff; box-shadow: 0 12px 32px #102f3715; }
.price-card-featured::before { content: ''; height: 3px; position: absolute; left: 23px; right: 23px; top: 0; background: var(--orange); }
.price-card-featured :is(.plan-description, .price-billing) { color: #cbdcda; }
.price-card-featured .price-card-top > .icon, .price-card-featured .plan-features .icon { color: #ffaf7f; }
.price-card-featured .plan-features { border-color: #ffffff28; }
.pricing-disclosure, .comparison-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 22px; }
.pricing-inclusions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 0 15px; flex-wrap: wrap; }
.pricing-inclusions > span { font-size: 9px; letter-spacing: .1em; font-weight: 650; color: var(--muted); }
.pricing-inclusions p { font-size: 12px; margin: 0; }
.pricing-inclusions p::before { content: '✓'; color: var(--brand); margin-right: 8px; }
.comparison-heading { display: flex; justify-content: space-between; gap: 48px; align-items: flex-end; margin-bottom: 35px; }
.comparison-heading h2 { margin: 0; font-size: 46px; }
.comparison-heading > p { max-width: 340px; color: var(--muted); font-size: 14px; margin: 0; }
.comparison-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.plan-comparison { border-collapse: collapse; width: 100%; min-width: 760px; text-align: center; font-size: 13px; }
.plan-comparison th, .plan-comparison td { padding: 18px 20px; border-bottom: 1px solid #e9ede7; }
.plan-comparison thead { background: var(--brand-soft); }
.plan-comparison th:first-child { text-align: left; width: 36%; }
.plan-comparison tbody th { font-weight: 500; }
.plan-comparison tbody tr:last-child > * { border-bottom: 0; }
.plan-comparison .icon { margin: auto; width: 18px; height: 18px; color: var(--brand); stroke-width: 2; }
.plan-comparison tbody tr:hover { background: #f7f9f5; }
.builder-section { background: radial-gradient(48% 75% at 6% 100%, #1d4e8970, #1d4e8900), var(--dark); color: #fff; padding: 80px 0; scroll-margin-top: 88px; }
.builder-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.builder-copy > p:not(.eyebrow) { max-width: 400px; font-size: 15px; line-height: 1.85; color: #c8d9d6; }
.builder-hardware { display: flex; align-items: flex-start; gap: 16px; max-width: 410px; border-top: 1px solid #ffffff26; padding-top: 25px; margin-top: 30px; }
.builder-hardware .icon { color: #ffaf7f; }
.builder-hardware p { font-size: 12px; color: #c8d9d6; margin: 0; }
.builder-hardware strong { display: block; color: #fff; margin-bottom: 5px; }
.plan-builder { background: #fff; border-radius: 12px; color: var(--ink); padding: 30px; }
.builder-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.builder-field-wide { grid-column: 1 / -1; }
.builder-fields label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 8px; }
.builder-fields :is(input, select) { display: block; width: 100%; min-width: 0; height: 44px; padding: 9px 10px; border: 1px solid #becbc1; border-radius: 5px; background: #fff; color: var(--ink); font-size: 13px; }
.builder-hint { font-size: 11px; color: var(--muted); margin: 12px 0 20px; }
.estimate-summary { padding: 22px 0; border-block: 1px solid var(--line); margin-bottom: 24px; }
.estimate-summary > span { color: var(--muted); font-size: 12px; }
.estimate-summary > div { margin: 6px 0 9px; }
.estimate-summary strong { font: 650 43px/1.2 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.estimate-summary > div > span { font-size: 13px; color: var(--muted); }
.estimate-summary p { font-size: 12px; margin: 5px 0 0; color: var(--muted); }
.estimate-summary #estimate-saving { color: #28644d; font-weight: 600; }
.plan-builder > .button { width: 100%; }
.builder-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.builder-actions .button { width: 100%; }
@media (max-width: 560px) { .builder-actions { grid-template-columns: 1fr; } }
.builder-fine { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 14px 0 0; }
.pricing-costs { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.cost-items article { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cost-items article:first-child { padding-top: 0; }
.cost-items article:last-child { border-bottom: 0; }
.cost-items article > span { font-size: 12px; color: var(--brand); padding-top: 5px; }
.cost-items h3 { font-size: 22px; margin-bottom: 12px; }
.cost-items p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.pricing-page .faq-section { padding-top: 30px; }
.pricing-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; border-top: 1px solid var(--line); padding-block: 50px 70px; }
.pricing-bottom h2 { font-size: 32px; margin-bottom: 12px; }
.pricing-bottom p { color: var(--muted); margin: 0; font-size: 14px; }
@media (max-width: 1150px) {
  .desktop-nav { gap: 18px; }
  .plan-description { min-height: 70px; }
  .price-card-top > span { min-height: 15px; }
  .builder-layout { gap: 45px; }
}
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan-description { min-height: 0; }
  .comparison-heading { gap: 30px; }
  .builder-layout { gap: 35px; }
  .plan-builder { padding: 22px; }
  .pricing-costs { gap: 40px; }
}
@media (max-width: 700px) {
  .plans-toolbar { align-items: flex-start; flex-direction: column; }
  .plans-toolbar h2 { font-size: 26px; }
  .billing-control { display: flex; gap: 14px; align-items: center; }
  .billing-control > span { text-align: left; max-width: 100px; margin: 0; }
  .billing-switch button { padding: 9px 14px; }
  .price-grid { gap: 14px; }
  .price-card { padding: 24px 18px; }
  .price-card h3 { font-size: 27px; }
  .price-card-top { gap: 18px; }
  .plan-description { min-height: 94px; }
  .plan-price { font-size: 48px; }
  .price-custom { font-size: 31px; }
  .pricing-inclusions { justify-content: flex-start; column-gap: 24px; }
  .pricing-inclusions > span { width: 100%; }
  .comparison-heading { display: block; }
  .comparison-heading h2 { font-size: 36px; margin-bottom: 20px; }
  .builder-layout, .pricing-costs { grid-template-columns: 1fr; gap: 35px; }
  .builder-section { padding-block: 55px; }
  .builder-copy h2 { font-size: 43px; }
  .pricing-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 440px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 26px; }
  .plan-description { min-height: 0; }
  .price-billing { min-height: 0; }
  .price-card-top > span { min-height: 0; }
  .plan-price { font-size: 54px; }
  .price-custom { font-size: 36px; }
  .builder-fields { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-page * { scroll-behavior: auto; transition: none; }
}

/* the volume line under a card's price */
.price-volume { margin: -4px 0 18px; padding: 6px 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600; line-height: 1.4; }
.price-card-featured .price-volume { background: #ffffff1a; color: #cfe0f7; }

/* bring your own tracker: the steps beside a short lead */
.byot-lead { max-width: 380px; margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* installers & resellers */
.partners { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 56px 56px 44px; margin-block: 30px 60px; border-radius: 20px; background: var(--brand-soft); border: 1px solid var(--brand-line); }
.partners-copy h2 { font-size: 40px; margin-bottom: 18px; }
.partners-copy p:not(.eyebrow) { max-width: 430px; margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.partner-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.partner-tier { display: flex; flex-direction: column; gap: 8px; padding: 20px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--brand-line); }
.partner-tier > span { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--brand); }
.partner-tier strong { font: 650 26px/1.15 var(--display); letter-spacing: -.04em; }
.partner-tier strong small { display: block; margin-top: 4px; font: 500 11px var(--body); letter-spacing: 0; color: var(--muted); }
.partner-tier p { margin: auto 0 0; padding-top: 10px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.partners-note { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--brand-line); color: var(--muted); font-size: 12px; line-height: 1.8; }
@media (max-width: 1000px) {
  .partners { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px 32px; }
}
@media (max-width: 700px) {
  .partners { padding: 32px 22px 26px; margin-block: 10px 40px; }
  .partners-copy h2 { font-size: 33px; }
  .partner-tiers { grid-template-columns: 1fr; }
  .partner-tier { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
  .partner-tier p { margin: 0; padding: 0; width: 100%; }
}

/* what would you like to track: the two big choices that open the page, and the compact switch above the plans */
.audience-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 640px; margin: 0 auto 44px; padding: 6px; border-radius: 18px; background: #e7ece5; border: 1px solid #d9e0d7; }
.audience-switch button { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 13px; background: transparent; text-align: left; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.audience-switch button .icon { width: 24px; height: 24px; flex: none; }
.audience-switch button strong { display: block; font: 650 15px/1.3 var(--display); letter-spacing: -.02em; }
.audience-switch button small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; }
.audience-switch button:hover { color: var(--ink); }
.audience-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px #142d331a; }
.audience-switch button[aria-pressed="true"] .icon { color: var(--brand); }

/* business: find your fleet size */

/* individuals: the Free card has no billing line to align with, so give the early-access buttons the full card width */
.price-card > button.button { width: 100%; padding: 13px 10px; gap: 8px; min-height: 48px; white-space: normal; text-align: center; }
@media (max-width: 900px) {
  .audience-switch { max-width: 560px; }
}
@media (max-width: 700px) {
  .audience-switch { grid-template-columns: 1fr; margin-bottom: 32px; }
}
.pricing-chooser { padding-block: 64px 56px; text-align: center; }
.pricing-chooser .eyebrow { justify-content: center; }
.pricing-chooser h1 { max-width: 760px; margin: 0 auto 40px; font-size: clamp(40px, 5vw, 64px); line-height: 1.08; }
.chooser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1040px; margin-inline: auto; text-align: left; }
.chooser-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 340px; padding: 34px 34px 30px; border-radius: 24px; border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--ink); overflow: hidden; isolation: isolate; transition: transform .2s, box-shadow .2s, border-color .2s, opacity .2s; }
.chooser-card::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid currentColor; opacity: .08; box-shadow: 0 0 0 40px color-mix(in srgb, currentColor 3%, transparent), 0 0 0 80px color-mix(in srgb, currentColor 2%, transparent); z-index: -1; }
.chooser-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px #142d331f; }
.chooser-fleet { background: var(--dark); border-color: var(--dark); color: #fff; }
.chooser-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 16px; background: #fff; color: var(--brand); box-shadow: 0 6px 16px #1d4e8914; }
.chooser-icon .icon { width: 27px; height: 27px; }
.chooser-fleet .chooser-icon { background: var(--orange); color: var(--dark); box-shadow: none; }
.chooser-kicker { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--brand); }
.chooser-fleet .chooser-kicker { color: #ffb489; }
.chooser-title { font: 650 clamp(30px, 3.2vw, 40px)/1.1 var(--display); letter-spacing: -.05em; }
.chooser-text { max-width: 400px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.chooser-fleet .chooser-text { color: #c8d9d6; }
.chooser-price { margin-top: auto; padding-top: 18px; font: 650 24px/1.2 var(--display); letter-spacing: -.03em; }
.chooser-price small { display: block; margin-top: 2px; font: 500 12px var(--body); letter-spacing: 0; color: var(--muted); }
.chooser-fleet .chooser-price small { color: #c8d9d6; }
.chooser-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 650; color: var(--brand); }
.chooser-fleet .chooser-cta { color: #fff; }
.chooser-cta .icon { width: 17px; height: 17px; transition: transform .2s; }
.chooser-card:hover .chooser-cta .icon { transform: translateX(4px); }
/* once a category is chosen, it stays marked and the other steps back */
.chooser-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; }

/* fleet size: a labelled choice above the plans */
.price-card { transition: opacity .2s, box-shadow .2s; }
.price-card.is-muted { opacity: .5; }
.price-card.is-recommended { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange), 0 18px 40px #142d331a; }
@media (max-width: 900px) {
  .chooser-grid { grid-template-columns: 1fr; max-width: 560px; }
  .chooser-card { min-height: 0; }
}
@media (max-width: 700px) {
  .pricing-chooser { padding-block: 40px 36px; }
  .pricing-chooser h1 { margin-bottom: 26px; }
  .chooser-card { padding: 26px 24px 24px; gap: 9px; }
  .chooser-icon { width: 48px; height: 48px; }
}

/* a use case from the solution pages: why this plan */
.usecase-banner { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 22px; scroll-margin-top: 104px; padding: 16px 18px; border-radius: 14px; background: #fff7f0; border: 1px solid #f2c9ab; }
.usecase-banner > .icon { width: 30px; height: 30px; padding: 6px; flex: none; border-radius: 9px; background: var(--orange); color: var(--dark); stroke-width: 2.4; }
.usecase-banner strong { display: block; font: 650 15px/1.35 var(--display); letter-spacing: -.02em; }
.usecase-banner p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.usecase-banner button { margin-left: auto; width: 30px; height: 30px; flex: none; border-radius: 8px; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; }
.usecase-banner button:hover { background: #fbe9dc; color: var(--ink); }

/* personal add-ons: trackers from us */
.addons { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 28px; align-items: center; margin-top: 22px; padding: 26px 28px; border-radius: 16px; background: #fff; border: 1px dashed #cbd6cb; scroll-margin-top: 110px; }
.addons-kicker { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--brand); }
.addons h3 { margin: 6px 0 8px; font-size: 20px; letter-spacing: -.03em; }
.addons-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.addons-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.addons-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: #f6f7f4; }
.addons-list .icon { width: 30px; height: 30px; padding: 6px; flex: none; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.addons-list strong { display: block; font-size: 13px; }
.addons-list span { display: block; margin-top: 2px; font-size: 11px; line-height: 1.4; color: var(--muted); }
.addons-button { white-space: nowrap; }
.chooser-note a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .addons { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .addons-list { grid-template-columns: 1fr; } .addons { padding: 22px 20px; } }


/* fleet: "How many devices?" (the counter the portal's Membership page has); the per-device cards show what that many cost */
.device-count { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px 22px; margin-bottom: 20px; padding: 18px 22px; border: 1px solid #d8e0d8; border-radius: 14px; background: #fff; }
.device-count > div:first-child { display: grid; gap: 3px; }
.device-count-label { font: 650 16px var(--display); letter-spacing: -.02em; }
.device-count small { color: var(--muted); font-size: 12px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #c9d3cb; border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { width: 42px; height: 44px; background: #f2f5f1; font-size: 20px; line-height: 1; color: var(--ink); }
.stepper button:hover { background: var(--brand-soft); color: var(--brand); }
.stepper input { width: 78px; height: 44px; border: 0; border-inline: 1px solid #e1e7e1; text-align: center; font: 650 17px var(--display); color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.device-presets { display: flex; gap: 6px; }
.device-presets button { height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #d8e0d8; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.device-presets button:hover { border-color: var(--brand); color: var(--brand); }
.device-presets button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.device-count-note { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid #edf0ec; color: var(--brand); font-size: 12.5px; font-weight: 600; }
.price-total { margin: -6px 0 6px; font-size: 13px; color: var(--ink); }
.price-total strong { font-weight: 700; }
.price-trial { margin: 0 0 14px; color: #1b7f4b; font-size: 12px; font-weight: 600; }
.price-card-featured .price-total { color: #fff; }
.price-card-featured .price-trial { color: #9fe0bc; }
.button.is-disabled { opacity: .55; }
@media (max-width: 900px) {
  .device-count { grid-template-columns: 1fr auto; }
  .device-presets { grid-column: 1 / -1; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .device-count { grid-template-columns: 1fr; padding: 16px; }
  .stepper { justify-self: start; }
}

/* three audiences */
.chooser-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1240px; }
.chooser-card { min-height: 300px; }
.chooser-field { background: #1d4e89; border-color: #1d4e89; color: #fff; }
.chooser-field .chooser-icon { background: #fff; color: #1d4e89; box-shadow: none; }
.chooser-field .chooser-text, .chooser-field .chooser-price small { color: #cfe0f7; }
.chooser-field .chooser-cta { color: #fff; }
.audience-switch { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
.price-card-note { background: #f3f6fb; border-style: dashed; }
.price-card-note .plan-price { opacity: .85; }
@media (max-width: 900px) { .chooser-grid { grid-template-columns: 1fr; max-width: 560px; } .audience-switch { grid-template-columns: 1fr; } .audience-switch button { padding: 11px 14px; } }
