/* Kit Check product pages — extends style.css, uses its variables only. */

/* ── buttons ── */
.kc-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.kc-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;
}
.kc-btn-primary { background: var(--forest); color: var(--white); border: 1px solid var(--forest); }
.kc-btn-primary:hover { background: var(--forest-light); }
.kc-btn-ghost { background: transparent; color: var(--forest); border: 1px solid var(--border); }
.kc-btn-ghost:hover { border-color: var(--forest); }
.kc-btn-soon { background: var(--cream); color: var(--text-light); border: 1px dashed var(--border); cursor: default; }
.kc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.kc-note, .hero p.kc-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.9rem; }

/* ── phone frames ── */
.kc-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;
}
.kc-phone-land { border-radius: 22px; border-width: 7px; }

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

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

/* feature cards reuse .sectors-grid / .sector-card */
.kc-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);
}
.kc-feature-icon svg { width: 22px; height: 22px; }

/* grid systems comparison */
.kc-grids { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; margin-top: 3rem; }
.kc-grid-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.kc-grid-card .kc-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.kc-grid-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--forest); margin: 0.3rem 0 1rem; }
.kc-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;
}
.kc-grid-card p { font-size: 0.9rem; color: var(--text-light); }
.kc-equals { display: grid; place-items: center; font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--gold); }
.kc-grid-foot { margin-top: 1.5rem; font-size: 0.88rem; color: var(--text-light); }

/* gallery of views / themes */
.kc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 3rem; }
.kc-gallery figure { margin: 0; }
.kc-gallery figcaption { margin-top: 1rem; }
.kc-gallery figcaption strong { display: block; font-size: 0.98rem; color: var(--text); }
.kc-gallery figcaption span { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; display: block; margin-top: 0.2rem; }
.kc-dark .kc-gallery figcaption strong { color: var(--white); }
.kc-dark .kc-gallery figcaption span { color: rgba(255,255,255,0.62); }
.kc-themes { grid-template-columns: 1.25fr 1fr 1fr; align-items: end; }
.kc-theme-lead { position: relative; }
.kc-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(242,169,0,0.18); color: var(--kc-amber-d); margin-bottom: 0.5rem;
}
.kc-landscape { margin-top: 3.5rem; }
.kc-landscape figcaption { text-align: center; margin-top: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.65); }

/* audiences */
.kc-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.kc-audience .value-item { padding: 1.8rem; }
.kc-audience ul { list-style: none; margin-top: 0.8rem; }
.kc-audience li { font-size: 0.9rem; color: var(--text-light); padding-left: 1.4rem; position: relative; margin-bottom: 0.45rem; }
.kc-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) */
.kc-table-wrap { overflow-x: auto; margin-top: 2.5rem; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.kc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.kc-table thead { background: var(--forest); color: var(--white); }
.kc-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; }
.kc-table td { padding: 0.75rem 1rem; border-top: 1px solid var(--border); color: var(--text-light); white-space: nowrap; }
.kc-table td.kc-leg-note { white-space: normal; font-style: italic; background: var(--cream); font-size: 0.82rem; padding: 0.45rem 1rem; }
.kc-table tfoot td { font-weight: 600; color: var(--forest); background: var(--cream); }

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

/* CTA band */
.kc-cta { background: var(--forest); border-radius: 16px; padding: 3rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.kc-cta h2 { font-family: 'Playfair Display', serif; color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; }
.kc-cta p { color: rgba(255,255,255,0.68); margin-top: 0.6rem; }
.kc-cta .kc-btn-primary { background: var(--gold); border-color: var(--gold); color: #1d1a12; }
.kc-cta .kc-btn-primary:hover { background: var(--gold-light); }
.kc-cta .kc-btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.3); }
.kc-cta .kc-btn-ghost:hover { border-color: var(--white); }
.kc-cta .kc-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 */
.kc-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); }
.kc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── guide page ── */
.kc-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1.5rem 0 1rem; }
.page-content .kc-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 .kc-toc a:hover { border-color: var(--sage); box-shadow: 0 6px 18px rgba(0,0,0,0.04); }
.kc-toc b { color: var(--gold); font-variant-numeric: tabular-nums; font-size: 0.8rem; }
.kc-step { display: grid; grid-template-columns: 1fr 230px; gap: 2.2rem; align-items: start; margin: 1.5rem 0 2.5rem; }
.kc-step.kc-step-wide { grid-template-columns: 1fr; }
.kc-step figure { margin: 0; }
.kc-step figcaption { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 0.6rem; line-height: 1.4; }
.page-content .kc-step ol { margin-left: 1.3rem; }
.kc-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);
}
.kc-tip strong { color: var(--forest); }
.kc-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; }
.kc-duo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0; }
.kc-duo figcaption { font-size: 0.78rem; text-align: center; color: var(--text-light); margin-top: 0.5rem; }
.kc-duo figure { margin: 0; }
.page-content .kc-back-top { font-size: 0.8rem; }
.kc-page-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

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

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

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

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

.kc-pro-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.kc-ticks { list-style: none; }
.kc-ticks li { position: relative; padding-left: 2rem; margin-bottom: 0.9rem; color: var(--text-light); font-size: 0.95rem; }
.kc-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;
}
.kc-ticks strong { color: var(--text); }
.kc-pro-price { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--border); font-weight: 600; color: var(--forest); }

.kc-faq details { border-bottom: 1px solid var(--border); }
.kc-faq details:first-child { border-top: 1px solid var(--border); }
.kc-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;
}
.kc-faq summary::-webkit-details-marker { display: none; }
.kc-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;
}
.kc-faq details[open] summary::after { transform: rotate(45deg); }
.kc-faq details p { color: var(--text-light); font-size: 0.94rem; padding: 0 2rem 1.2rem 0; }
.kc-faq details strong { color: var(--text); }
.section-subtitle a { color: var(--forest); }

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

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

/* ── Kit Check brand: blue and amber, matching the app ── */
:root { --kc-blue: #1F5FAE; --kc-blue-d: #133F7A; --kc-navy: #0A2A55; --kc-blue-l: #A6C8FF; --kc-amber: #F2A900; --kc-amber-d: #B47E00; }
.kc-btn-primary { background: var(--kc-blue); border-color: var(--kc-blue); }
.kc-btn-primary:hover { background: var(--kc-blue-d); }
.kc-btn-ghost { color: var(--kc-blue); }
.kc-btn-ghost:hover { border-color: var(--kc-blue); }
.kc-dark { background: var(--kc-navy); }
.kc-cta { background: var(--kc-navy); }
.kc-cta .kc-btn-primary { background: var(--kc-amber); border-color: var(--kc-amber); color: #2A1C00; }
.kc-cta .kc-btn-primary:hover { background: #FFCB5C; }
.kc-feature-icon { background: rgba(31,95,174,0.1); color: var(--kc-blue); }
.kc-hero h1 span { color: var(--kc-blue); }
.kc-ticks li::before { background-color: var(--kc-blue); }
.kc-trust div { border-top-color: var(--kc-amber); }
.kc-trust strong, .kc-pro-price, .kc-prose strong, .kc-tip strong { color: var(--kc-blue-d); }
.kc-tip { border-left-color: var(--kc-amber); }
.kc-toc b, .kc-chapter-num, .kc-faq summary::after { color: var(--kc-amber-d); }
.kc-crumbs a, .kc-hero p.kc-note a, .kc-note a, .section-subtitle a { color: var(--kc-blue); }

/* how it works */
.kc-steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; counter-reset: kcstep; }
.kc-steps3 div { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; position: relative; }
.kc-steps3 div::before { counter-increment: kcstep; content: counter(kcstep); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--kc-amber); color: #2A1C00; font-weight: 700; margin-bottom: 1rem; }
.kc-steps3 h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.kc-steps3 p { color: var(--text-light); font-size: 0.92rem; }

/* alternating "moment" rows */
.kc-moment { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 4rem; }
.kc-moment:first-of-type { margin-top: 3rem; }
.kc-moment.kc-flip > :first-child { order: 2; }
.kc-moment .kc-shots { display: flex; gap: 1rem; justify-content: center; }
.kc-moment .kc-shots .kc-phone { max-width: 250px; }
.kc-moment .kc-shots .kc-phone:nth-child(2) { transform: translateY(28px); }
.kc-moment h3 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--text); line-height: 1.2; margin: 0.4rem 0 0.9rem; }
.kc-moment h3 span { color: var(--kc-blue); }
.kc-moment p { color: var(--text-light); font-size: 1rem; }
.kc-moment .kc-kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kc-amber-d); }

/* free vs pro */
.kc-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.kc-plan { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.kc-plan.kc-plan-pro { border: 2px solid var(--kc-amber); }
.kc-plan h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.kc-plan .kc-plan-sub { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.2rem; }

@media (max-width: 900px) {
  .kc-steps3, .kc-plans { grid-template-columns: 1fr; }
  .kc-moment { grid-template-columns: 1fr; gap: 2rem; }
  .kc-moment.kc-flip > :first-child { order: 0; }
  .kc-moment .kc-shots .kc-phone { max-width: 190px; }
}

/* let paired phone screenshots shrink to fit narrow screens (flex items default to min-width: auto) */
.kc-shots .kc-phone, .kc-hero-visual .kc-phone { min-width: 0; flex: 1 1 0; }
.kc-moment > * , .kc-hero .hero-inner > * { min-width: 0; }
/* Headings in Kit Check navy rather than the site's green */
.kc-hero h1, .section-title, .kc-moment h3, .kc-steps3 h3, .kc-plan h3, .kc-prose h2, .kc-prose h3 { color: var(--kc-navy); }
.kc-dark .section-title { color: var(--white); }
.section-label { color: var(--kc-amber-d); }
.kc-dark .section-label { color: var(--kc-amber); }
