/* Dog Thunder 2.0: the two choices (iPhone app and Dog Thunder Alerts).
   Used by index.html and app.html. Loaded with a ?v= cache key because
   nginx caches CSS for a year; change the key when this file changes. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.choices-intro {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.choices-intro p {
  color: var(--muted);
  margin-bottom: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.choice-card {
  background: var(--card);
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.choice-card p,
.choices-intro p,
.choices-notes p {
  margin-top: 0;
}

.choice-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.choice-eyebrow svg,
.choice-eyebrow img {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Card titles are h2 on app.html (under the h1) and h3 on the homepage (under its h2) */
.choice-card h2,
.choice-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.choice-tagline {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.choice-price {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.choice-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.choice-terms {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.choice-card .button {
  align-self: flex-start;
  margin-bottom: 1.5rem;
}

.choice-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.25rem;
}

.choice-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.choice-features li:last-child {
  margin-bottom: 0;
}

.choice-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

.choices-more {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 1rem;
}

.choices-more a {
  font-weight: 600;
}

/* Comparison table (app.html) */
.compare-wrap {
  max-width: 820px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  table-layout: fixed;
  margin: 0;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  vertical-align: top;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.compare-table thead th {
  font-size: 0.95rem;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 52%;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--text);
  background: transparent;
}

.compare-yes {
  color: var(--green);
  font-weight: 700;
}

.compare-no {
  color: #94A3B8;
}

.compare-note {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

/* Plain text blocks under the comparison */
.choices-notes {
  max-width: 720px;
  margin: 0 auto;
}

.choices-notes h2 {
  font-size: clamp(22px, 3vw, 28px);
}

.choices-notes p {
  font-size: 1.05rem;
}

.choices-fineprint {
  font-size: 0.9rem;
  color: var(--muted);
}

.choices-fineprint p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Footer call to action: right-aligned beside the heading, left-aligned under it on phones */
.footer-cta-buttons {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .footer-cta-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    padding: 24px 20px;
  }

  .choice-card .button {
    align-self: stretch;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .compare-table thead th {
    font-size: 0.85rem;
  }
}
