/* Wardline site: content. Tokens and primitives live in base.css. */

/* ---------- cleaner spotlight ---------- */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.split .frame {
  box-shadow: var(--shadow-lg);
  border-color: var(--line);
  background: var(--surface);
}

.split .frame-bar {
  border-color: var(--line);
}

.split .frame-bar i {
  background: var(--line-strong);
}

.checks {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-2);
}

.checks .icon {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 5vw, 72px);
  }

  .split-copy {
    order: 1;
  }

  .split-visual {
    order: 2;
  }
}

/* ---------- comparison ---------- */
.compare {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface);
}

thead th:nth-child(2) {
  color: var(--accent);
}

tbody th {
  font-weight: 600;
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

td .yes,
td .no,
td .part {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

td .yes .icon {
  color: var(--accent);
}

td .no .icon {
  color: var(--danger);
}

td .part .icon {
  color: var(--text-3);
}

.compare-note {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text-3);
  max-width: 70ch;
}

/* ---------- reviews ---------- */

.quotes {
  display: grid;
  gap: 14px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}

.quote:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.quote blockquote {
  margin: 0;
  flex: 1 1 auto;
}

.quote blockquote p {
  color: var(--text-2);
  max-width: 48ch;
}

.quote-featured {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg-2);
  color: var(--hero-text);
  border-color: var(--hero-line);
}

.quote-featured blockquote p {
  color: inherit;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 40ch;
}

.quote-featured .quote-mark {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 64px;
  height: 64px;
  opacity: 0.12;
  fill: currentColor;
  stroke: none;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
}

.quote-featured .stars {
  color: var(--hero-accent);
}

.stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.stars .icon[data-off] {
  fill: none;
  opacity: 0.45;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}

.quote figcaption b {
  display: block;
  font-weight: 600;
}

.quote figcaption span span {
  color: var(--text-3);
}

.quote-featured figcaption span span {
  color: var(--hero-text-2);
}

.avatar .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.quote-featured .avatar {
  background: #16332f;
  color: var(--hero-accent);
}

.rv-sample {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--text-3);
  max-width: 70ch;
}

.rv-sample .icon {
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

@media (min-width: 700px) {
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-featured {
    grid-column: span 2;
  }
}

@media (min-width: 1000px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur);
}

.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--text-3);
  transition: transform var(--dur) var(--ease-out);
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--text-2);
  max-width: 66ch;
}

/* ---------- download band ---------- */
.download {
  color: var(--hero-text);
  background: radial-gradient(800px 400px at 20% 120%, rgba(46, 230, 197, 0.18), transparent 60%), linear-gradient(180deg, var(--hero-bg), var(--hero-bg-2));
}

.download .wrap {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.download .eyebrow {
  color: var(--hero-accent);
}

.download .h2 {
  max-width: 18ch;
}

.download .lead {
  color: var(--hero-text-2);
}

.download .btn-primary {
  background: var(--hero-accent);
  color: var(--hero-accent-ink);
}

.download .btn-primary:hover {
  background: #5cf0d6;
}

.download .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--hero-line);
  color: var(--hero-text);
}

.download .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.download-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-note {
  font-size: 0.875rem;
  color: var(--hero-text-2);
  max-width: 60ch;
}

.download-note code {
  font-family: var(--mono);
  color: var(--hero-text);
}
