.lam-section p,
.lam-feature-copy p {
  max-width: 72ch;
}

.lam-grid {
  display: grid;
  gap: 1.25rem;
}

.lam-price-grid,
.lam-calculator-grid,
.lam-calculator-inputs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lam-price-grid > div {
  min-width: 0;
}

.lam-table-wrap {
  overflow-x: auto;
}

.lam-table-wrap,
.lam-video-card,
.lam-calculator {
  min-width: 0;
  border: 1px solid #dbe7ee;
  border-radius: 1.1rem;
  background: #fff;
  color: #10283a;
}

.lam-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: clamp(.83rem, 2.7vw, 1rem);
}

.lam-table caption {
  padding: .85rem clamp(.55rem, 2vw, 1.2rem);
  text-align: left;
  font-size: 1.07rem;
  font-weight: 800;
}

.lam-table th,
.lam-table td {
  padding: .6rem clamp(.4rem, 1.3vw, 1.05rem);
  border-top: 1px solid #e4edf1;
  text-align: left;
  line-height: 1.35;
}

.lam-table thead {
  background: #edf6fa;
}

.lam-table td:last-child,
.lam-table th:last-child {
  text-align: right;
  font-weight: 800;
  white-space: nowrap;
}

.lam-table-note {
  margin-block: .9rem;
}

.lam-video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lam-video-card {
  padding: clamp(.9rem, 2vw, 1.35rem);
}

.lam-video-card h4 {
  margin: 0 0 .75rem;
  font-size: 1.03rem;
}

.lam-video-card video {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border-radius: .7rem;
  background: #0e2433;
}

.lam-video-card p {
  margin: .85rem 0 0;
}

.lam-note {
  margin-block: 1.25rem;
  padding: .9rem 1.15rem;
  border-inline-start: 3px solid #138abb;
  border-radius: .75rem;
  background: #edf6fa;
  color: #173346;
}

.lam-note h3,
.lam-note p,
.lam-note ul {
  margin: 0 0 .5rem;
}

.lam-note :last-child {
  margin-bottom: 0;
}

.lam-note ul,
.lam-feature-copy :is(ol, ul) {
  padding-inline-start: 1.25rem;
}

.lam-feature-copy li + li {
  margin-top: .55rem;
}

.lam-subtitle {
  margin-top: 2.2rem;
}

.lam-horse {
  margin-block: .5rem 1.5rem;
}

.lam-calculator-section {
  background: #edf6fa;
}

.lam-calculator-grid {
  align-items: center;
}

.lam-calculator {
  padding: clamp(1rem, 3vw, 1.75rem);
}

.lam-calculator label {
  display: grid;
  gap: .4rem;
  font-weight: 800;
}

.lam-calculator input {
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  padding: .55rem .75rem;
  border: 1px solid #9cb4c4;
  border-radius: .5rem;
  color: #10283a;
  font: inherit;
}

.lam-calculator input:focus-visible {
  outline: 2px solid #087bad;
  outline-offset: 2px;
}

.lam-calculator-help {
  margin-block: .8rem;
  font-size: .9rem;
}

.lam-result {
  min-block-size: 3rem;
  padding: .8rem;
  border-radius: .65rem;
  background: #092235;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 760px) {
  .lam-price-grid,
  .lam-video-grid,
  .lam-calculator-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
