/* Route Card product pages — extends style.css, uses its variables only. */

/* ── buttons ── */
.rc-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.rc-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem; border-radius: 8px;
  font-family: inherit; font-size: 0.92rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.rc-btn-primary { background: var(--forest); color: var(--white); border: 1px solid var(--forest); }
.rc-btn-primary:hover { background: var(--forest-light); }
.rc-btn-ghost { background: transparent; color: var(--forest); border: 1px solid var(--border); }
.rc-btn-ghost:hover { border-color: var(--forest); }
.rc-btn-soon { background: var(--cream); color: var(--text-light); border: 1px dashed var(--border); cursor: default; }
.rc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.rc-note, .hero p.rc-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.9rem; }

/* ── phone frames ── */
.rc-phone {
  display: block; width: 100%; height: auto;
  border-radius: 26px; border: 7px solid #15171A;
  box-shadow: 0 18px 40px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);
  background: #15171A;
}
.rc-phone-land { border-radius: 22px; border-width: 7px; }

/* ── hero ── */
.rc-hero .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
.rc-app-id { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.rc-app-id img { width: 56px; height: 56px; border-radius: 14px; }
.rc-app-id .section-label { margin: 0; }
.rc-app-id strong { display: block; font-size: 0.95rem; color: var(--text); }
.rc-hero-visual { position: relative; display: flex; justify-content: center; gap: 1.2rem; }
.rc-hero .stat-num { white-space: nowrap; }
.rc-hero-visual .rc-phone { max-width: 250px; }
.rc-hero-visual .rc-phone:first-child { transform: translateY(26px); }

/* ── sections ── */
.rc-cream { background: var(--cream); }
.rc-dark { background: var(--forest); color: var(--white); }
.rc-dark .section-title { color: var(--white); }
.rc-dark .section-subtitle { color: rgba(255,255,255,0.68); }
.rc-center { text-align: center; }
.rc-center .section-title, .rc-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* feature cards reuse .sectors-grid / .sector-card */
.rc-feature-icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 1rem;
  display: grid; place-items: center; background: rgba(61,139,79,0.1); color: var(--sage);
}
.rc-feature-icon svg { width: 22px; height: 22px; }

/* grid systems comparison */
.rc-grids { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; margin-top: 3rem; }
.rc-grid-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.rc-grid-card .rc-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.rc-grid-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--forest); margin: 0.3rem 0 1rem; }
.rc-ref {
  font-family: 'DM Sans', monospace; font-variant-numeric: tabular-nums; font-weight: 700;
  font-size: 1.55rem; letter-spacing: 0.04em; color: var(--text);
  background: var(--cream); border-radius: 8px; padding: 0.7rem 1rem; margin-bottom: 1rem;
}
.rc-grid-card p { font-size: 0.9rem; color: var(--text-light); }
.rc-equals { display: grid; place-items: center; font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--gold); }
.rc-grid-foot { margin-top: 1.5rem; font-size: 0.88rem; color: var(--text-light); }

/* gallery of views / themes */
.rc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 3rem; }
.rc-gallery figure { margin: 0; }
.rc-gallery figcaption { margin-top: 1rem; }
.rc-gallery figcaption strong { display: block; font-size: 0.98rem; color: var(--text); }
.rc-gallery figcaption span { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; display: block; margin-top: 0.2rem; }
.rc-dark .rc-gallery figcaption strong { color: var(--white); }
.rc-dark .rc-gallery figcaption span { color: rgba(255,255,255,0.62); }
.rc-themes { grid-template-columns: 1.25fr 1fr 1fr; align-items: end; }
.rc-theme-lead { position: relative; }
.rc-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.25rem 0.7rem; border-radius: 20px;
  background: rgba(229,57,53,0.16); color: #FF8A80; margin-bottom: 0.5rem;
}
.rc-landscape { margin-top: 3.5rem; }
.rc-landscape figcaption { text-align: center; margin-top: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.65); }

/* audiences */
.rc-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.rc-audience .value-item { padding: 1.8rem; }
.rc-audience ul { list-style: none; margin-top: 0.8rem; }
.rc-audience li { font-size: 0.9rem; color: var(--text-light); padding-left: 1.4rem; position: relative; margin-bottom: 0.45rem; }
.rc-audience li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

/* worked example table (mirrors the template-page table style) */
.rc-table-wrap { overflow-x: auto; margin-top: 2.5rem; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.rc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.rc-table thead { background: var(--forest); color: var(--white); }
.rc-table th { padding: 0.8rem 1rem; text-align: left; font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.rc-table td { padding: 0.75rem 1rem; border-top: 1px solid var(--border); color: var(--text-light); white-space: nowrap; }
.rc-table td.rc-leg-note { white-space: normal; font-style: italic; background: var(--cream); font-size: 0.82rem; padding: 0.45rem 1rem; }
.rc-table tfoot td { font-weight: 600; color: var(--forest); background: var(--cream); }

/* trust strip */
.rc-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.rc-trust div { border-top: 2px solid var(--gold); padding-top: 1rem; }
.rc-trust strong { display: block; color: var(--forest); font-size: 1rem; }
.rc-trust span { font-size: 0.86rem; color: var(--text-light); }

/* CTA band */
.rc-cta { background: var(--forest); border-radius: 16px; padding: 3rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.rc-cta h2 { font-family: 'Playfair Display', serif; color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; }
.rc-cta p { color: rgba(255,255,255,0.68); margin-top: 0.6rem; }
.rc-cta .rc-btn-primary { background: var(--gold); border-color: var(--gold); color: #1d1a12; }
.rc-cta .rc-btn-primary:hover { background: var(--gold-light); }
.rc-cta .rc-btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.3); }
.rc-cta .rc-btn-ghost:hover { border-color: var(--white); }
.rc-cta .rc-btn-soon { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.25); }

/* video embed */
.rc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-top: 2.5rem; background: #0b0c0d; box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.rc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── guide page ── */
.rc-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1.5rem 0 1rem; }
.page-content .rc-toc a {
  display: flex; gap: 0.7rem; align-items: baseline; border: 1px solid var(--border); border-radius: 10px;
  padding: 0.85rem 1rem; font-size: 0.9rem; font-weight: 500; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.page-content .rc-toc a:hover { border-color: var(--sage); box-shadow: 0 6px 18px rgba(0,0,0,0.04); }
.rc-toc b { color: var(--gold); font-variant-numeric: tabular-nums; font-size: 0.8rem; }
.rc-step { display: grid; grid-template-columns: 1fr 230px; gap: 2.2rem; align-items: start; margin: 1.5rem 0 2.5rem; }
.rc-step.rc-step-wide { grid-template-columns: 1fr; }
.rc-step figure { margin: 0; }
.rc-step figcaption { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 0.6rem; line-height: 1.4; }
.page-content .rc-step ol { margin-left: 1.3rem; }
.rc-tip {
  background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.2rem; margin: 1rem 0; font-size: 0.9rem; color: var(--text-light);
}
.rc-tip strong { color: var(--forest); }
.rc-chapter-num { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: -0.6rem; }
.rc-duo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0; }
.rc-duo figcaption { font-size: 0.78rem; text-align: center; color: var(--text-light); margin-top: 0.5rem; }
.rc-duo figure { margin: 0; }
.page-content .rc-back-top { font-size: 0.8rem; }
.rc-page-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ── responsive ── */
@media (max-width: 900px) {
  .rc-hero .hero-inner { grid-template-columns: 1fr; }
  .rc-hero-visual { margin-top: 1rem; }
  .rc-hero-visual .rc-phone { max-width: 200px; }
  .rc-grids { grid-template-columns: 1fr; }
  .rc-equals { transform: rotate(90deg); font-size: 2rem; }
  .rc-gallery, .rc-themes { grid-template-columns: 1fr 1fr; }
  .rc-audience, .rc-cta { grid-template-columns: 1fr; }
  .rc-trust { grid-template-columns: 1fr 1fr; }
  .rc-toc { grid-template-columns: 1fr 1fr; }
  .rc-duo { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rc-hero .hero-stats { gap: 1.4rem; flex-wrap: wrap; }
  .rc-hero .stat-num { font-size: 1.35rem; }
  .rc-hero-visual .rc-phone { max-width: 160px; }
  .rc-cta { padding: 2rem 1.5rem; }
  .rc-step { grid-template-columns: 1fr; }
  .rc-step figure { max-width: 240px; margin: 0 auto; }
  .rc-toc { grid-template-columns: 1fr; }
  .rc-ref { font-size: 1.25rem; }
}

/* ── v2 additions ── */
.rc-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rc-crumbs { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.4rem; }
.rc-crumbs a { color: var(--sage); text-decoration: none; }
.rc-crumbs a:hover { text-decoration: underline; }
.rc-crumbs span { margin: 0 0.45rem; color: var(--border); }
.rc-hero p.rc-note a, .rc-note a { color: var(--forest); }

.rc-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
.rc-prose p { color: var(--text-light); margin-bottom: 1.1rem; font-size: 1rem; }
.rc-prose strong { color: var(--forest); }

.rc-audience h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 0.2rem; }
.rc-audience .value-item > div > p { font-size: 0.86rem; }

.rc-pro-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.rc-ticks { list-style: none; }
.rc-ticks li { position: relative; padding-left: 2rem; margin-bottom: 0.9rem; color: var(--text-light); font-size: 0.95rem; }
.rc-ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8963E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.rc-ticks strong { color: var(--text); }
.rc-pro-price { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--border); font-weight: 600; color: var(--forest); }

.rc-faq details { border-bottom: 1px solid var(--border); }
.rc-faq details:first-child { border-top: 1px solid var(--border); }
.rc-faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; position: relative;
  font-weight: 600; color: var(--text); font-size: 1rem;
}
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary::after {
  content: '+'; position: absolute; right: 0.3rem; top: 0.9rem; font-size: 1.4rem; font-weight: 400; color: var(--gold); transition: transform 0.2s;
}
.rc-faq details[open] summary::after { transform: rotate(45deg); }
.rc-faq details p { color: var(--text-light); font-size: 0.94rem; padding: 0 2rem 1.2rem 0; }
.rc-faq details strong { color: var(--text); }
.section-subtitle a { color: var(--forest); }

.page-content .rc-watch, .rc-watch { font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.page-content .rc-step-summary { font-size: 1.02rem; color: var(--text); }
.rc-guide-step { padding: 0; }
.rc-cta-section { padding-top: 1rem; }
.page-header .rc-actions { margin-top: 1.6rem; }

@media (max-width: 900px) {
  .rc-split { grid-template-columns: 1fr; gap: 1.5rem; }
}
