/* /features — extends public_base tokens. No new palette. Mobile-first. */

.fx-page { padding-bottom: 2rem; }

.fx-hero { overflow: hidden; padding-bottom: 1.5rem; }
.fx-hero p { margin-bottom: 1.25rem; }
.fx-hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.fx-hero-cta a { min-height: 44px; display: inline-flex; align-items: center; }

.fx-shot {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.fx-media img,
.fx-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.fx-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  border-top: 1px solid var(--border);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.fx-section:first-of-type {
  border-top: none;
  margin-top: 2rem;
  padding-top: 0.5rem;
}
.fx-kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  margin-bottom: 0.65rem;
}
.fx-h3 {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  color: var(--heading-color);
}
.fx-lead {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  max-width: 38rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.fx-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .fx-split { grid-template-columns: 1.1fr 0.9fr; gap: 2.25rem; }
  .fx-split.fx-split-rev { grid-template-columns: 0.9fr 1.1fr; }
  .fx-split.fx-split-rev .fx-copy { order: 1; }
  .fx-split.fx-split-rev .fx-media { order: 2; }
}

.fx-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.fx-media img { display: block; width: 100%; height: auto; object-fit: cover; object-position: top center; }

.fx-ph {
  margin: 0;
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--bg2);
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.5;
}
.fx-ph figcaption { max-width: 22rem; }

.fx-points { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; }
.fx-points li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}

.fx-clusters { display: grid; gap: 1.75rem; }
@media (min-width: 768px) {
  .fx-clusters { gap: 2.5rem; }
}

.fx-states {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .fx-states { grid-template-columns: 1fr 1fr; }
}
.fx-state {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: var(--card);
}
.fx-state h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.fx-state p { color: var(--muted); font-size: 0.86rem; line-height: 1.5; margin: 0; }
.fx-state-ok { border-color: rgba(63, 185, 80, 0.45); }
.fx-state-warn { border-color: rgba(245, 158, 11, 0.55); }
.fx-state-err { border-color: rgba(220, 38, 38, 0.55); }

.fx-day {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  counter-reset: fxday;
}
.fx-day li {
  counter-increment: fxday;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.85rem;
  align-items: start;
}
.fx-day li::before {
  content: counter(fxday);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}
.fx-day h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.fx-day p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }

.fx-faq { max-width: 42rem; }
.fx-faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.fx-faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text);
}
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; color: var(--muted); font-weight: 500; }
.fx-faq details[open] summary::after { content: "–"; }
.fx-faq .fx-faq-a {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0.4rem 0 0.75rem;
}

.fx-compare {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}
.fx-compare table { width: 100%; border-collapse: collapse; min-width: 36rem; }
.fx-compare th, .fx-compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.fx-compare th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg2);
}
.fx-compare th.plan {
  color: var(--text);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
.fx-compare th.plan .price {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 0.25rem;
}
.fx-compare tr:last-child td { border-bottom: none; }
.fx-yes { color: var(--green); font-weight: 700; }
.fx-no { color: var(--muted); opacity: 0.45; }
.fx-lim { color: var(--gold); font-weight: 600; font-size: 0.82rem; }

.fx-cta {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 3rem) 1.25rem;
  text-align: center;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0.5rem;
  background: var(--bg2);
}
.fx-cta h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 800; margin-bottom: 0.5rem; }
.fx-cta p { color: var(--muted); margin-bottom: 1.25rem; font-size: 0.95rem; }
.fx-cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.fx-cta-row a { min-height: 44px; display: inline-flex; align-items: center; }

.fx-risk {
  margin-top: 2.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.6;
  background: var(--card);
}

.fx-proof {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 360px) {
  .wide-content { padding-left: 1rem; padding-right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-tile, .fx-shot, .fx-media { transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (min-width: 1024px) {
  .fx-split { gap: 2.75rem; }
}
