/* =========================================================
   Industry package pages: /for/, /for/<slug>/ and /start/
   Generated by tools/build-industries.mjs. Loaded after styles.css,
   work.css, home.css and metro.css. Reuses .mx-hero, .mx-faq,
   .mx-close, .feat, .prices/.price, .duo and the .ui mocks.
   ========================================================= */

.in-page { overflow-x: clip; }
.in-ctas { margin-top: 30px; }
@media (max-width: 420px) { .in-ctas .btn, .in-card__ctas .btn, .mx-close .hx__ctas .btn { width: 100%; } }
.in-hero .hx__pill { flex-wrap: wrap; max-width: 100%; }

/* ---------- Package card + mock ---------- */
.in-pack-sec { padding-top: clamp(32px, 5vw, 64px); }
.in-pack { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1040px) { .in-pack { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; } }

.in-card {
  min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.in-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand-green); }
.in-card__kicker { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--accent); }
.in-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0; }
.in-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.in-price b { font-size: clamp(2.2rem, 4.6vw, 3rem); letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.in-price b.in-price__plus { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.in-price b.in-price__q { font-size: clamp(1.35rem, 2.6vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.2; }
.in-monthly { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.in-card__h { margin: 24px 0 0; font-size: 1rem; padding-top: 20px; border-top: 1px solid var(--line); }
.in-card .feat { margin-top: 14px; }
.in-works { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.in-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--bg-2); }
.in-hipaa, .in-guar { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; margin: 16px 0 0; font-size: 14.5px; color: var(--text); padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); }
.in-hipaa svg, .in-guar svg { width: 22px; height: 22px; color: var(--accent); }
.in-hipaa b, .in-guar b { color: var(--ink); font-weight: 600; }
.in-hipaa a { color: var(--accent); font-weight: 500; white-space: nowrap; }
.in-card__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.in-card__ctas .btn--glass { height: 48px; padding: 0 22px; font-size: 15px; }

.in-mock { margin: 0; min-width: 0; }
.in-mock figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (min-width: 1040px) { .in-mock { position: sticky; top: 96px; } }

/* Startup sprint visual */
.in-sprint { display: grid; gap: 22px; }
.in-weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .in-weeks { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.in-weeks li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 4px; min-width: 0; }
.in-weeks small { font-size: 12px; color: var(--muted); }
.in-weeks b { font-size: 13px; line-height: 1.3; color: var(--ink); font-weight: 600; }
.in-weeks .is-key { border-color: var(--accent); background: var(--accent-soft); }
.in-duo .phone { max-width: 250px; }

/* ---------- Steps ---------- */
.in-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .in-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.in-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px 26px; display: grid; gap: 10px; align-content: start; }
.in-steps__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; background: var(--brand-green); }
:root[data-theme="dark"] .in-steps__n { color: #06281a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .in-steps__n { color: #06281a; } }
.in-steps h3 { font-size: 1.15rem; }
.in-steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Proof ---------- */
.in-proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .in-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .in-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.in-proof > li > a, .in-proof > li > div {
  height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; min-width: 0;
}
.in-proof > li > a:hover { border-color: var(--accent); transform: translateY(-2px); }
.in-proof small { font-size: 12.5px; font-weight: 500; color: var(--accent); }
.in-proof strong { color: var(--ink); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; }
.in-proof span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.in-proof em { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 500; font-size: 14px; color: var(--accent); }
.in-proof__img { display: block; margin-bottom: 6px; }
.in-proof__img .frame { margin: 0; box-shadow: var(--shadow); }
.in-proof__img img { width: 100%; height: auto; display: block; }

/* ---------- Comparison table (startups) ---------- */
.in-cmp-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.in-cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.in-cmp th, .in-cmp td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.in-cmp thead th { font-size: 14px; color: var(--muted); font-weight: 600; background: var(--bg-2); }
.in-cmp tbody th { color: var(--ink); font-weight: 600; width: 20%; }
.in-cmp td { color: var(--muted); }
.in-cmp .is-us { background: color-mix(in srgb, var(--brand-green) 8%, var(--surface)); color: var(--text); }
.in-cmp thead .is-us { color: var(--accent); }
.in-cmp tbody tr:last-child th, .in-cmp tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .in-cmp-wrap { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .in-cmp, .in-cmp tbody, .in-cmp tr, .in-cmp th, .in-cmp td { display: block; width: 100%; }
  .in-cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .in-cmp tbody tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; margin-bottom: 12px; }
  .in-cmp tbody th { width: 100%; padding: 14px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .in-cmp td { padding: 12px 16px; display: grid; gap: 4px; }
  .in-cmp td::before { content: attr(data-label); font-size: 12.5px; font-weight: 600; color: var(--ink); }
  .in-cmp td.is-us::before { color: var(--accent); }
  .in-cmp tbody tr td:last-child { border-bottom: 0; }
}

/* ---------- Insights ---------- */
.in-reads { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .in-reads { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.in-reads a { height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s; }
.in-reads a:hover { border-color: var(--accent); }
.in-reads strong { color: var(--ink); font-weight: 600; font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.01em; }
.in-reads em { margin-top: auto; font-style: normal; font-weight: 500; font-size: 14px; color: var(--accent); }

/* ---------- Hub ---------- */
.in-hub { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .in-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .in-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.in-hub a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.in-hub a:hover { border-color: var(--accent); transform: translateY(-2px); }
.in-hub small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.in-hub strong { color: var(--ink); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.in-hub span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.in-hub__price { margin-top: 8px; color: var(--ink); font-size: 1.25rem; letter-spacing: -0.02em; }
.in-hub i { font-style: normal; font-size: 13.5px; color: var(--muted); }
.in-hub em { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 500; font-size: 14px; color: var(--accent); }
.in-hub__qf a { border-color: var(--accent); background: color-mix(in srgb, var(--brand-green) 8%, var(--surface)); }
.in-hub__guar, .in-start__guar { margin-top: 22px; max-width: 760px; }

/* ---------- /start/ ---------- */
.in-tiers { margin-top: 4px; }
@media (min-width: 640px) { .in-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 639px) { .in-tiers { grid-template-columns: 1fr !important; } .in-tiers .price { padding: 22px 20px 24px; } .in-tiers .price b { font-size: 1.9rem; } }
.in-tier { gap: 10px; }
.in-tier b small { font-size: .85rem; }
.in-tier p.in-tier__mo { color: var(--ink); font-weight: 500; }
.in-tier .btn { justify-self: start; margin-top: 6px; height: 42px; padding: 0 18px; font-size: 14.5px; }
.in-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .in-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.in-trust li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.in-trust svg { width: 28px; height: 28px; color: var(--accent); }
.in-trust b { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.in-trust span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }

/* Close panel: the glass button sits on a dark panel in both themes */
.mx-close .in-close__sms { color: #fff; border-color: rgba(255,255,255,.3); }
.mx-close .in-close__sms:hover { border-color: #fff; }

@media (prefers-reduced-motion: reduce) { .in-proof > li > a, .in-hub a { transition: none; } .in-proof > li > a:hover, .in-hub a:hover { transform: none; } }
