/* MykaPro — Myka TRENDS product page (products/myka-trends.php). Loaded after styles.css, which
   supplies the system: tokens, spine layout, ledger lists, stations, buttons, the offline stage.
   This file adds only what is specific to this page: the hero brand row, the supplied feature
   image, the team diagram, the owner-app strip, pricing and the FAQ accordion. */

/* Hero */
.tr-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-bottom: 1.5rem; }
.tr-brand img { width: clamp(170px, 18vw, 236px); height: auto; }
.tr-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 2.5rem; margin: 3rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--c-line); }

/* Hero: copy on the left, the real POS on the right, so the first screen shows the product. */
.tr-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; margin-top: 0.5rem; }
.tr-hero-copy .lead { margin-top: 1.25rem; }
.tr-hero-shot { margin-top: 1.5rem; }

/* A story list beside the real screen it describes. */
.tr-shot { margin: 0; }
.tr-shot figcaption { margin-top: 0.75rem; font-size: var(--t-xs); color: var(--c-muted); }
.tr-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; margin-top: 2.5rem; }
.tr-split > .ledger { margin-top: 0; }
/* Beside a screen the list has less room: number, then title over description. */
.tr-split > .ledger li { grid-template-columns: 3rem minmax(0, 1fr); row-gap: 0.25rem; }
.tr-split > .ledger li p { grid-column: 2; }
.tr-split > .tr-shot { position: sticky; top: 6.5rem; }
.tr-split-app { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
.tr-split-app .tr-app { margin-top: 0; }
.tr-app-status { display: flex; gap: 0.6rem; align-items: baseline; margin-bottom: 1.75rem; font-size: var(--t-xs); color: var(--c-muted); }
.tr-app-status::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-live); }
.tr-phone { margin: 0 auto; width: min(100%, 17rem); }
.tr-phone figcaption { margin-top: 0.9rem; text-align: center; font-size: var(--t-xs); color: var(--c-muted); }
@media (max-width: 1099px) {
  .tr-hero-grid, .tr-split, .tr-split-app { grid-template-columns: minmax(0, 1fr); }
  .tr-split > .tr-shot { position: static; }
}

/* The supplied feature-overview image (byte-for-byte; see assets/img/products/README.md) */
.tr-features { margin: 3rem 0 0; max-width: 54rem; overflow: clip; border-radius: 4px; border: 1px solid var(--c-line); }
/* The figure starts its reveal at scale 1.12 (engine.js, clipped by clip-path, so nothing shows outside it), which pushed
   the phone layout 3px wider than the screen. Clipping this section sideways hides only what is already off-screen. */
#garments { overflow-x: clip; }

/* Sales team diagram */
.tr-team { margin: 2.5rem 0 0; max-width: 46rem; }
.tr-team svg { width: 100%; height: auto; }
.tr-team-wires { color: var(--c-line-strong); }
.tr-team-node circle { fill: var(--c-bg); stroke: var(--c-ink); stroke-width: 2; }
.tr-team-node text { fill: var(--c-ink); font-size: 15px; font-weight: 500; font-family: var(--f-text); }
.tr-team-sub text { fill: var(--c-muted); font-size: 13px; font-family: var(--f-mono); }
.tr-team figcaption { margin-top: 0.75rem; }
.tr-addon { margin-top: 2rem; max-width: 42rem; padding: 1rem 1.25rem; border: 1px solid var(--c-line); border-left: 3px solid var(--c-accent); border-radius: var(--radius); font-size: var(--t-s); }
.tr-addon .mono { display: block; margin-bottom: 0.3rem; color: var(--c-accent); }

/* Owner app coverage strip */
.tr-app { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 2.5rem 0 2rem; padding: 0; max-width: 46rem; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: clip; }
.tr-app li { padding: 1rem; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.tr-app li:nth-child(-n+4) { border-top: 0; }
.tr-app li:nth-child(4n+1) { border-left: 0; }
@media (max-width: 699px) {
  .tr-app { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-app li:nth-child(-n+4) { border-top: 1px solid var(--c-line); }
  .tr-app li:nth-child(-n+2) { border-top: 0; }
  .tr-app li:nth-child(4n+1) { border-left: 1px solid var(--c-line); }
  .tr-app li:nth-child(2n+1) { border-left: 0; }
}

/* FAQ accordion (assets/js/trends-faq.js toggles aria-expanded and [hidden]) */
.faq { margin-top: 2.5rem; max-width: 50rem; }
.faq-group + .faq-group { margin-top: 2.75rem; }
.faq-group-title { display: flex; align-items: baseline; gap: 0.9rem; font-size: var(--t-m); font-weight: 500; margin-bottom: 0.5rem; }
.faq-group-title .mono { color: var(--c-accent); }
.faq-item { border-top: 1px solid var(--c-line); }
.faq-item:last-child { border-bottom: 1px solid var(--c-line); }
.faq-q { margin: 0; font-size: inherit; }
.faq-btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1rem 0; text-align: left; font-size: var(--t-body); font-weight: 500;
  transition: color 0.25s;
}
@media (hover: hover) { .faq-btn:hover { color: var(--c-accent); } .faq-btn:hover .faq-sign { rotate: 90deg; } }
.faq-sign { transition: rotate 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-sign { position: relative; flex: none; width: 14px; height: 14px; }
.faq-sign::before, .faq-sign::after { content: ''; position: absolute; inset: 50% auto auto 0; width: 14px; height: 2px; margin-top: -1px; background: currentColor; transition: rotate 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-sign::after { rotate: 90deg; }
.faq-btn[aria-expanded='true'] .faq-sign::after { rotate: 0deg; }
.faq-a { padding: 0 0 1.25rem; color: var(--c-muted); max-width: 60ch; }
.faq-more { margin-top: 2.5rem; }
