.freephone-page .footer { margin-top: 0; }
.freephone-main .smart-hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.freephone-main .smart-intro > p { margin-bottom: 14px; }
.fp-rates { display: flex; gap: 16px; }
.fp-payer, .fp-payer dl > div { display: flex; flex-direction: column; }
.fp-payer + .fp-payer { border-left: 1px solid #aa8a35; padding-left: 16px; }
.fp-payer > strong { display: block; font-size: 16px; margin-bottom: 3px; }
.fp-payer dl { display: flex; gap: 16px; flex-grow: 1; }
.fp-rates dt { font-size: 15px; line-height: 1.25; }
.fp-rates dd { margin-top: auto; font-size: 28px; line-height: 1.2; font-weight: 700; white-space: nowrap; }
.fp-rates small { font-size: 15px; }
.freephone-main .attachment-actions { margin-top: 18px; }

.fp-route {
  overflow: hidden; border: 1px solid #b29855; border-radius: 10px;
  background: #fff; box-shadow: 0 4px 18px #76580720;
}
.fp-route figcaption { padding: 12px 18px; color: #fff; background: var(--ink); font-weight: 700; }
.fp-route-body { display: grid; justify-items: center; gap: 6px; padding: 18px; text-align: center; line-height: 1.28; }
.fp-dial { display: flex; gap: 4px; }
.fp-dial i {
  width: 18px; height: 22px; display: grid; place-items: center;
  border: 1px solid #bd9e42; border-radius: 3px; background: #fff5cb;
}
.fp-dial i::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.fp-menu, .fp-branches { position: relative; margin-top: 10px; }
.fp-menu { padding: 7px 14px; border: 1px dashed #758ba2; border-radius: 4px; font-weight: 700; }
.fp-route small { display: block; font-size: 14px; font-weight: 400; margin-top: 2px; }
.fp-menu::before, .fp-branches::before, .fp-branches > div::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; height: 16px; border-left: 1px solid #748aa0;
}
.fp-branches { align-self: stretch; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 8px; }
.fp-branches::after {
  content: ''; position: absolute; top: 0; left: calc(25% - 2.5px); right: calc(25% - 2.5px);
  border-top: 1px solid #748aa0;
}
.fp-branches > div {
  position: relative; padding: 7px; border-radius: 4px; border: 1px solid #c1d0dc;
  background: #f1f5f9; font-size: 16px; font-weight: 700;
}
.fp-branches > div::before { height: 9px; }

.fp-table {
  width: 100%; margin: 20px 0 12px; border-collapse: collapse; table-layout: fixed;
  color: var(--ink); line-height: 1.35; font-variant-numeric: tabular-nums;
}
.fp-table th, .fp-table td { padding: 12px 14px; border: 0; text-align: right; vertical-align: middle; }
.fp-table thead th { background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; }
.fp-table th:first-child { text-align: left; width: 18%; }
.fp-table tbody :is(th,td) { border-bottom: 1px solid var(--rule); }
.fp-table tbody tr:nth-child(even) { background: #f3f6f9; }
.fp-label { display: none; }
.fp-pricing .smart-lead a { color: var(--blue); text-underline-offset: 3px; }
.fp-minute-pricing { padding-top: 0; }
.fp-pricing .fp-disclosure {
  margin-top: 16px; border: 1px solid var(--rule); border-radius: 6px; background: #f5f8fa;
  scroll-margin-top: 70px;
}
.fp-disclosure > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; color: var(--ink); list-style: none;
}
.fp-disclosure > summary::-webkit-details-marker { display: none; }
.fp-disclosure > summary::after {
  content: ''; flex: 0 0 10px; height: 10px; margin-right: 3px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg);
}
.fp-disclosure[open] > summary::after { transform: translateY(3px) rotate(225deg); }
.fp-category-body { padding: 14px 16px 16px; background: #fff; border-top: 1px solid var(--rule); border-radius: 0 0 6px 6px; }
.fp-category-body > p { max-width: 84ch; }
.fp-category-table, .fp-bill {
  width: 100%; border-collapse: collapse; line-height: 1.4; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fp-category-table { margin-top: 14px; table-layout: fixed; }
.fp-category-table :is(th,td), .fp-bill :is(th,td) {
  padding: 10px 14px; border: 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top;
}
.fp-category-table thead, .fp-bill thead { background: #eef3f7; }
.fp-category-table th:first-child { width: 18%; }
.fp-digits { display: block; margin-top: 4px; }
.fp-network { display: none; }
.fp-surcharge { margin-top: 28px; }
.fp-surcharge h3 { font-size: clamp(22px, 2.6vw, 28px); scroll-margin-top: 70px; }
.fp-surcharge > p { max-width: 84ch; margin-top: 8px; }
.fp-bill { background: white; border-top: 1px solid var(--rule); }
.fp-bill th:last-child, .fp-bill td { width: 1%; text-align: right; white-space: nowrap; }
.fp-bill tbody th { font-weight: 400; }
.fp-bill small { display: block; margin-top: 3px; color: #495d70; font-size: 15px; font-weight: 400; }
.fp-bill tfoot { background: #fff4cb; }
.fp-bill tfoot :is(th,td) { border-bottom: 2px solid var(--gold); font-weight: 700; }
.fp-bill tfoot td { font-size: 21px; vertical-align: middle; }
.fp-example {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px 30px;
  margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--gold); background: #fff7d8;
}
.fp-example p, .fp-methods p { margin-top: 6px; }
.fp-example dl { align-self: center; }
.fp-example dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fp-example dl > div + div { margin-top: 5px; }
.fp-example dd { font-weight: 700; font-size: 20px; }
.fp-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.fp-methods article { padding: 16px 18px; background: #f2f6f9; border-top: 3px solid #8ba9c4; }
.freephone-main .fp-ivr { margin-top: 16px; max-width: 85ch; }
.freephone-main .fp-service-terms { margin-top: 8px; }
.fp-service-terms a { color: var(--blue); text-underline-offset: 3px; }
.freephone-main .smart-contact h2 { font-size: clamp(24px, 2.8vw, 32px); }
.freephone-main .smart-contact p { max-width: 60ch; }

.fp-calc[hidden], .freephone-main [data-fp-link][hidden] { display: none; }
.fp-calc .calc-card { margin: 18px 0 0; }
.fp-setup { display: grid; grid-template-columns: minmax(120px, .6fr) minmax(0, 2fr); gap: 18px; }
.fp-field-label { display: block; margin-bottom: 10px; font-weight: 700; font-size: 18px; }
.fp-calc input:is([type=text],[type=number]) {
  width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; background: white;
  border: 1px solid #9eb3c5; border-radius: 4px; color: var(--ink); font: inherit;
  font-weight: 700; font-variant-numeric: tabular-nums;
}
.fp-calc #fp-code { max-width: 150px; letter-spacing: .12em; font-size: 22px; }
.fp-calc .fp-availability { margin-top: 6px; font-size: 13px; line-height: 1.5; color: #475e73; }
.fp-availability a { color: var(--blue); text-underline-offset: 2px; }
.fp-calc #fp-volume { flex: none; width: 132px; max-width: 52%; text-align: right; font-size: 20px; }
.fp-calc input[aria-invalid=true] { border-color: #a72d22; }
.fp-calc .fp-classification {
  margin-top: 14px; padding: 8px 12px; border-left: 3px solid var(--gold); background: #fff7d8;
}
.fp-calc .calc-ticks {
  display: grid; grid-template-columns: .5fr repeat(4, 1fr) .5fr; align-items: start; text-align: center;
}
.fp-calc .calc-ticks > :first-child { text-align: left; }
.fp-calc .calc-ticks > :last-child { text-align: right; }
.fp-calc .fp-distribution { margin-top: 20px; }
.fp-distribution legend { margin-bottom: 4px; }
.fp-distribution .calc-source { margin-top: 10px; }
.fp-operator-breakdown > p { font-size: 15px; color: #475e73; }
.fp-shares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.fp-shares label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.fp-shares input[data-share] { max-width: 75px; }
.fp-budget .fp-grand { grid-template-columns: 1fr 1fr; }
.fp-grand dt { font-weight: 700; }
.fp-grand dd { line-height: 1.2; }
.fp-grand > :last-child dd { color: #ffda54; }
.fp-budget .fp-components {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #7990a6;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fp-budget .fp-components dd { font-size: 19px; }
.fp-operator-breakdown { padding: 18px 22px; }
.fp-operator-table { margin: 12px 0; table-layout: auto; }
.fp-operator-table :is(td,th) { padding: 9px 8px; }
.fp-operator-table small { display: block; font-size: 14px; font-weight: 400; }
.fp-operator-table [data-amount=month] { font-weight: 700; }
.fp-operator-breakdown p + p { margin-top: 5px; }
@media (min-width: 641px) and (max-width: 820px) {
  .fp-operator-table :is(th,td) { font-size: 14px; padding-inline: 4px; }
  .fp-operator-table th:first-child { width: auto; }
}
@media (max-width: 767px) {
  .fp-setup { grid-template-columns: 1fr; gap: 12px; }
  .fp-shares label { display: block; font-size: 15px; }
  .fp-shares input[data-share] { display: block; max-width: none; }
  .fp-operator-breakdown { padding: 14px; }
}
@media (max-width: 640px) {
  .fp-operator-table { display: block; }
  .fp-operator-table tbody th:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
  .fp-budget .fp-components { grid-template-columns: 1fr; gap: 6px; }
  .fp-calc .fp-budget .fp-components > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .fp-budget .fp-components dd { margin: 0; }
}
@media (max-width: 479px) {
  .fp-calc .calc-modes { grid-template-columns: 1fr; gap: 6px; }
  .fp-calc .calc-modes label { padding: 8px 10px; }
  .fp-calc .calc-modes label span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
  .fp-calc .calc-modes label small { margin: 0; }
  .fp-calc .calc-ticks { font-size: 11px; }
  .fp-budget .fp-grand { grid-template-columns: 1fr; gap: 10px; }
  .fp-budget .fp-grand > div { display: block; }
  .fp-shares { gap: 6px; }
}

@media (min-width: 768px) and (max-width: 900px) {
  .freephone-main .smart-hero-grid { gap: 20px; grid-template-columns: 1.25fr 1fr; }
}
@media (max-width: 767px) {
  .freephone-main .smart-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .fp-route-body { padding: 12px 16px; }
  .fp-route figcaption { padding: 8px 16px; }
  .fp-example, .fp-methods { grid-template-columns: 1fr; gap: 12px; }
  .fp-methods article { padding: 12px 14px; }
}
@media (max-width: 640px) {
  .fp-category-body { padding: 12px; }
  .fp-category-table, .fp-category-table tbody { display: block; }
  .fp-category-table tbody tr { display: block; margin-top: 12px; }
  .fp-category-table tbody th:first-child {
    display: block; width: 100%; padding: 7px 10px; background: #eef3f7;
  }
  .fp-category-table tbody td { display: block; padding: 9px 10px; }
  .fp-network { display: block; margin-bottom: 3px; color: var(--blue); font-size: 15px; font-weight: 700; }
  .fp-bill :is(th,td) { padding: 9px 10px; }
  .fp-bill th:last-child, .fp-bill td { font-size: 16px; }
  .fp-bill tfoot td { font-size: 19px; }
  .fp-table, .fp-table tbody { display: block; }
  /* Keep the column headings available to screen readers when rows become cards. */
  .fp-table thead, .fp-category-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .fp-table tbody { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); gap: 12px; }
  .fp-table tbody tr { display: block; min-width: 0; border: 1px solid var(--rule); background: #fff; }
  .fp-table tbody tr:nth-child(even) { background: #fff; }
  .fp-table tbody th:first-child { display: block; width: 100%; padding: 8px 12px; background: var(--blue); color: #fff; }
  .fp-table tbody td {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px;
    padding: 8px 10px; font-size: 16px;
  }
  .fp-table tbody td:last-child { border: 0; }
  .fp-label { display: inline; color: #475e74; font-size: 15px; text-align: left; }
}
@media (max-width: 479px) {
  .fp-rates, .fp-payer dl { gap: 12px; }
  .fp-payer + .fp-payer { padding-left: 12px; }
  .fp-payer > strong { font-size: 15px; }
  .fp-rates dt { font-size: 14px; }
  .fp-rates dd { font-size: 24px; }
  .fp-rates small { font-size: 13px; }
  .freephone-main .attachment-actions { margin-top: 12px; }
  .freephone-main .attachment-text-link { font-size: 15px; }
  .fp-example { padding: 14px; }
}
@media (max-width: 479px) and (max-height: 700px) {
  .freephone-main .smart-intro { display: flex; flex-direction: column; }
  .freephone-main .smart-intro > p { margin-bottom: 8px; }
  .freephone-main .attachment-actions { margin-top: 0; }
  .fp-rates { order: 1; margin-top: 12px; }
}
@media (max-width: 359px) {
  .fp-rates, .fp-payer dl { gap: 9px; }
  .fp-payer + .fp-payer { padding-left: 9px; }
  .fp-payer > strong { font-size: 14px; }
}
