/* Public page sections: headings, price tables, FAQ, lists, call-to-action band, map. */
.section { padding: 48px 0; }
@media (max-width: 640px) {
  .section { padding: 32px 0; }
}
.section-tint { background: linear-gradient(180deg, var(--brand-tint) 0%, #f2faf7 100%); }
.section-eyebrow { margin: 0 0 6px; color: var(--brand); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.section h2 { margin-bottom: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.lead { max-width: 62ch; font-size: 1.125rem; color: var(--ink-soft); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform 0.2s; }
.text-link .icon { width: 18px; height: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Price tables: real table on desktop, one card per row on phones */
.updated-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-size: 0.85rem; font-weight: 600; }
.draft-banner { padding: 10px 14px; border: 1px solid var(--warn-line); border-radius: var(--radius-sm); background: var(--warn-bg); color: #5c4400; font-size: 0.9rem; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table thead th { background: linear-gradient(135deg, #0b1324 0%, #15304a 100%); color: #fff; font-size: 0.92rem; font-weight: 600; }
.price-table tbody th { font-weight: 600; }
@media (min-width: 701px) {
  .price-table tbody tr:not(.group-row):hover > * { background: #f7fbfa; }
}
.price-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.group-row th { background: var(--brand-tint); color: var(--brand-strong); font-weight: 700; }
.price-strong { font-weight: 700; color: var(--brand); white-space: nowrap; }
/* Phones: one compact card per machine. Name and spec chip on top, the two prices side by side underneath. */
@media (max-width: 700px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody { display: block; width: 100%; }
  .price-table { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .price-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
  .price-table th, .price-table td { display: block; padding: 0; border: 0; text-align: left; }
  .price-table tbody th[scope='row'] { flex: 1 1 auto; font-size: 1rem; }
  .price-table .spec-cell { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-soft); font-size: 0.82rem; font-weight: 600; }
  .price-table .price-cell { flex: 1 1 calc(50% - 4px); padding: 8px 10px; border-radius: 10px; background: var(--bg); font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 600; }
  .price-table .price-cell.price-strong { background: var(--brand-tint); }
  .price-table .price-cell.price-strong::before { color: var(--brand-strong); }
  .price-table .price-range { flex-basis: 100%; }
  .price-table .price-cell::before { content: attr(data-label); display: block; color: var(--muted); font-family: var(--font); font-size: 0.76rem; font-weight: 500; }
  .price-table .group-row { margin: 0; padding: 14px 2px 6px; background: transparent; border: 0; }
  .price-table .group-row th { padding: 0; background: transparent; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
}

/* FAQ accordion with a chevron */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { padding: 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.15s, box-shadow 0.15s; }
.faq-item[open] { border-color: rgba(13, 122, 95, 0.35); box-shadow: var(--shadow); }
.faq-item summary { position: relative; padding: 18px 34px 18px 0; font-weight: 600; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { color: var(--ink-soft); }

/* Lists */
.check-list { display: grid; gap: 10px; margin: 0 0 1em; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
}
.icon-list { display: grid; gap: 14px; margin: 0 0 20px; padding: 0; list-style: none; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--brand); }

/* Call-to-action band */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 24px;
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(94, 234, 212, 0.35), transparent 70%),
    linear-gradient(135deg, var(--brand) 0%, #0c5d57 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { margin-bottom: 0.3em; color: #fff; }
.cta-band p { max-width: 56ch; margin: 0; color: #d4efe8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .cta-band { padding: 26px 20px; }
  .cta-actions .btn, .hero-actions .btn { flex: 1 1 100%; }
}

/* Map */
.location-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.map-frame { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .location-grid { grid-template-columns: 1fr; }
}

/* Prices and ranges in the display face with even-width digits, so columns of numbers line up */
.price-strong, .range-list strong, .range-chip, .updated-badge { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
