/* Features page additions. Uses the tokens and classes from /style.css. */
.nav a[aria-current="page"] { color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--blush-deep); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }

.f-hero { padding: 3rem 0 2.5rem; background: linear-gradient(180deg, var(--paper), var(--bg)); }
.f-hero h1 { color: var(--ink); font-size: clamp(2.1rem, 6vw, 4.1rem); max-width: 15ch; }
.f-hero .lede { color: var(--muted); max-width: 38rem; }
.f-hero .hero-meta { color: var(--muted); }
.f-hero-shot { margin: 2.25rem 0 0; }

.shot { position: relative; margin: 0; }
.shot > img, .shot-main { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 30px 60px -42px rgba(40,24,20,0.55); }
.shot figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.88rem; }
.shot-float { display: block; width: min(60%, 240px); height: auto; margin: 0.9rem 0 0 auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 24px 48px -26px rgba(40,24,20,0.5); }

.legend { padding: 1.4rem 0; border-block: 1px solid var(--line); background: var(--paper); }
.legend-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem; }
.legend p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.jump { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.jump a { display: inline-flex; min-height: 34px; align-items: center; padding: 0.25rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--charcoal); font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.jump a:hover { border-color: var(--charcoal); }

.tag { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0 0 0.9rem; padding: 0.22rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--charcoal); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b9ad9f; }
.tag-pro { border-color: #e7c9cb; background: #fbeced; color: #8f4f57; }
.tag-pro::before { background: var(--blush-deep); }
.tag-new { border-color: #c5ddcc; background: #e6f0e9; color: #2f6b45; }
.tag-new::before { background: #3d6b4f; }

.fx { display: grid; gap: 1.75rem; align-items: center; }
.fx-copy h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
.fx-copy > p { margin: 0; max-width: 34rem; color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.6; }
.num { display: block; margin-bottom: 0.5rem; color: var(--blush-deep); font-family: var(--serif); font-size: 1.15rem; }
.ticks { display: grid; gap: 0.55rem; margin: 1.3rem 0 0; padding: 0; list-style: none; max-width: 34rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: 0.97rem; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--blush-deep); border-bottom: 2px solid var(--blush-deep); transform: rotate(-45deg); }
.note { margin: 1.1rem 0 0; max-width: 34rem; color: var(--muted); font-size: 0.9rem; }
.alt { background: var(--paper); }

.mini-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 0; }
.mini-pair figure { margin: 0; }
.mini-pair img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 28%; border-radius: 12px; background: #1c1917; }
.mini-pair figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.88rem; }
.mini-pair figcaption span { color: var(--charcoal); font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.07em; margin-right: 0.35rem; }
.pair-cap { grid-column: 1 / -1; margin: 0.2rem 0 0; color: var(--muted); font-size: 0.88rem; }

.steps3 { display: grid; gap: 1.6rem; margin: 2.25rem 0 0; padding: 0; list-style: none; }
.steps3 li { margin: 0; }
.steps3 img { display: block; width: 100%; aspect-ratio: 8/5; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 30px 60px -42px rgba(40,24,20,0.55); }
.steps3 h3 { margin: 1rem 0 0.3rem; font-size: 1.3rem; }
.steps3 p { margin: 0; color: var(--muted); }

.duo { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.card { display: grid; gap: 1.25rem; align-content: start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--muted); }
.card-shot { margin: 0; padding: 1.25rem 1.25rem 0; border-radius: 12px; background: var(--bg); overflow: hidden; }
.card-shot img { display: block; width: 100%; max-width: 380px; height: 300px; margin: 0 auto; object-fit: cover; object-position: top center; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; }

.compare-short .col-ours { color: var(--ink); font-weight: 500; }

.soon { background: linear-gradient(180deg, rgba(61,107,79,0.08), rgba(243,238,230,0.5)); }
.soon-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin-bottom: 0.75rem; }
.soon-head .eyebrow { margin: 0; }
.soon-head .tag { margin: 0; }
.soon-grid { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.soon-card { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.soon-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.soon-card h3 { margin: 0.95rem 0 0.3rem; font-size: 1.25rem; }
.soon-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.coming-next { margin: 1.4rem 0 0; color: var(--muted); font-size: 0.95rem; }
.coming-next span { display: inline-block; margin-right: 0.55rem; color: var(--charcoal); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.matrix { width: 100%; margin-top: 1.75rem; border-collapse: collapse; font-size: 0.95rem; }
.matrix th, .matrix td { padding: 0.8rem 0.4rem; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.matrix tr:last-child td, .matrix tr:last-child th { border-bottom: 1px solid var(--line); }
.matrix thead th { border-top: 0; padding-bottom: 0.9rem; font-weight: 500; vertical-align: bottom; }
.matrix thead th strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; }
.matrix thead th span { color: var(--muted); font-size: 0.82rem; }
.matrix th[scope="row"] { text-align: left; font-weight: 400; padding-left: 0; }
.matrix .col-pro { background: rgba(237,187,190,0.12); }
.yes { display: inline-block; width: 0.8rem; height: 0.42rem; border-left: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal); transform: rotate(-45deg) translate(1px,-2px); }
.no { color: #b9ad9f; }

.fx-wide { display: grid; gap: 1.75rem; }
.shot-narrow { width: 100%; max-width: 900px; margin-inline: auto; }
.fx-wide .fx-copy > div > p { margin: 0; max-width: 34rem; color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.6; }
.fx-wide .shot-has-float .shot-float { width: min(60%, 300px); }

@media (max-width: 979px) {
  .float-right > img:first-child { display: none; }
  .float-right .shot-float.phone { width: min(70%, 280px); margin: 0 auto; }
}

@media (max-width: 759px) {
  .matrix { font-size: 0.86rem; }
  .matrix thead th strong { font-size: 1.05rem; }
  .matrix th, .matrix td { padding: 0.7rem 0.2rem; }
}

@media (min-width: 800px) {
  .f-hero { padding: 4.5rem 0 3.5rem; }
  .steps3 { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .duo { grid-template-columns: 1fr 1fr; }
  .soon-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .fx { grid-template-columns: 5fr 7fr; gap: 3.5rem; }
  .fx-flip .fx-copy { order: 2; }
  .fx-flip { grid-template-columns: 7fr 5fr; }
  .shot-has-float { padding-bottom: 3.5rem; }
  .shot-has-float > img:first-child { width: calc(100% - 1.5rem); }
  .fx-flip .shot-has-float > img:first-child { margin-left: 1.5rem; }
  .shot-has-float .shot-float { position: absolute; right: 0; bottom: 0; margin: 0; width: 38%; max-width: 300px; }
  .fx-flip .shot-has-float .shot-float { right: auto; left: 0; }
  .shot-float.phone { width: 30%; max-width: 230px; }
  .soon-grid { grid-template-columns: repeat(4, 1fr); }
  .fx-wide { gap: 2.25rem; }
  .fx-wide .fx-copy { display: grid; grid-template-columns: 6fr 5fr; gap: 3.5rem; align-items: end; }
  .fx-wide .ticks { margin: 0; }
  .fx-wide .shot-has-float { padding-bottom: 0; }
  .fx-wide .shot-has-float > img:first-child { width: 100%; }
  .fx-wide .shot-has-float .shot-float { right: 2rem; bottom: -2.5rem; width: 30%; max-width: 340px; }
  .fx-wide .shot-has-float { margin-bottom: 2.5rem; }
  .fx-flip .float-right > img:first-child { margin-left: 0; }
  .fx-flip .float-right .shot-float { left: auto; right: 0; }
}
