/* ==========================================================================
   industries.css — /industries hub and every /ai-for-<industry> page
   (2026-09-30). The "workflow stage" style: dark stages that show a
   workflow running, light sections for detail. Builds on
   palmerston-north.css (pn-head, pn-reasons, pn-flow) and services-paths.css
   (sp-faq). Prefix .ind-*. Motion is driven by js/industries.js; without JS
   or with reduced motion every block shows its finished state.
   The recurring signature (shared with the videos): the scan line, the
   "✎ <name>'s style" badge, the pulsing approval button, the green logged tick.
   ========================================================================== */

.ind {
  --st-bg: #0F1020;
  --st-panel: #171830;
  --st-panel2: #1F2140;
  --st-line: rgba(255, 255, 255, .1);
  --st-dim: rgba(255, 255, 255, .66);
  --st-ok: #22C55E;
}
.ind [id] { scroll-margin-top: 96px; }
.ind em { font-style: normal; color: var(--nx-orange); }

/* ---- Dark stage (hero, workflows, final call) --------------------------- */
.ind-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(247, 148, 29, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(88, 101, 242, .12), transparent 60%),
    var(--st-bg);
  color: #fff;
}
.ind-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(#000, transparent 85%);
  mask-image: linear-gradient(#000, transparent 85%);
  pointer-events: none;
}
.ind-stage > .nx-container { position: relative; }
.ind-stage h1,
.ind-stage h2,
.ind-stage h3,
.ind-stage h4 { color: #fff; }
/* The site-wide paragraph colour is for light backgrounds. */
.ind-stage p,
.ind-stage li { color: var(--st-dim); }
.ind-stage .ind-scene p,
.ind-stage .ind-poster__quote { color: #fff; }
.ind-stage .ind-eyebrow {
  margin: 0 0 14px;
  color: var(--nx-orange);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ind-stage .ind-kicker {
  margin: 0 0 clamp(28px, 4vw, 48px);
  padding-bottom: clamp(18px, 2.5vw, 28px);
  border-bottom: 1px solid rgba(247, 148, 29, .35);
  color: var(--nx-orange);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
/* js/industries.js sizes the title to fill one line exactly. */
.ind-stage .ind-kicker.is-fit { white-space: nowrap; }
.ind-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ind-hero h1 { margin: 0 0 18px; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.08; }
.ind-hero__sub { margin: 0 0 28px; color: var(--st-dim); font-size: 1.08rem; line-height: 1.65; }
.ind-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ind-stage .nx-btn--secondary { border-color: rgba(255, 255, 255, .35); background: transparent; color: #fff; }
.ind-stage .nx-btn--secondary:hover { border-color: var(--nx-orange); color: var(--nx-orange); }
.ind-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--st-dim); font-size: .88rem; }
.ind-proof b { display: block; color: #fff; font-size: 1.2rem; }

/* ---- The live demo window ------------------------------------------------ */
.ind-demo {
  position: relative;
  border: 1px solid var(--st-line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--st-panel), #12132a);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(247, 148, 29, .08);
}
.ind-demo__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--st-line); color: var(--st-dim); font-size: .8rem; }
.ind-demo__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ind-demo__live { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: #fff; font-weight: 800; }
.ind-demo__live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: indBlink 1.2s infinite; }
.ind-replay { margin-left: auto; padding: 6px 12px; border: 1px solid var(--st-line); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ind-replay:hover, .ind-replay:focus-visible { border-color: var(--nx-orange); color: var(--nx-orange); }
.ind-scene { position: relative; height: 430px; padding: 18px; }
.ind-scene__card {
  position: absolute;
  left: 18px;
  right: 18px;
  padding: 14px 16px;
  border: 1px solid var(--st-line);
  border-radius: 14px;
  background: var(--st-panel2);
  color: #fff;
  transition: opacity .5s var(--nx-ease-out), transform .6s var(--nx-ease-out), box-shadow .4s;
}
.ind-scene__card small { display: block; margin-bottom: 4px; color: var(--st-dim); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ind-mail { top: 18px; }
.ind-mail p { margin: 0; font-size: .92rem; line-height: 1.5; }
.ind-mail mark { padding: 0 2px; border-radius: 4px; background: rgba(247, 148, 29, .25); color: inherit; transition: background .4s; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ind-tag { padding: 3px 9px; border-radius: 999px; background: rgba(247, 148, 29, .16); color: var(--nx-orange); font-size: .72rem; font-weight: 800; transition: opacity .35s var(--nx-ease-out), transform .35s var(--nx-ease-out); }
.ind-file { top: 150px; left: auto; width: 58%; }
.ind-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--st-line); color: var(--st-dim); font-size: .84rem; }
.ind-row:last-child { border: 0; }
.ind-row b { color: #fff; font-weight: 700; transition: color .3s; }
.ind-draft { top: 150px; right: auto; width: 62%; border-color: rgba(247, 148, 29, .5); }
.ind-draft p { min-height: 66px; margin: 6px 0 0; font-size: .86rem; line-height: 1.5; }
.ind-style-badge {
  position: absolute;
  top: -12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--nx-orange);
  color: #1a1a2e;
  font-size: .72rem;
  font-weight: 800;
  transform: rotate(-4deg);
  transition: opacity .45s cubic-bezier(.34, 1.56, .64, 1), transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.ind-gate { top: auto; bottom: 18px; display: flex; align-items: center; gap: 12px; background: #fff; color: #1a1a2e; }
.ind-gate small { color: #64748b; }
.ind-gate strong { font-size: .9rem; }
.ind-approve { margin-left: auto; padding: 9px 16px; border-radius: 10px; background: var(--nx-navy); color: #fff; font-size: .85rem; font-weight: 800; }
.ind-done { top: auto; bottom: 18px; display: flex; align-items: center; gap: 12px; border-color: rgba(34, 197, 94, .5); background: #15301f; }
.ind-tick { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--st-ok); color: #fff; font-weight: 900; }
.ind-done strong { display: block; font-size: .9rem; }
.ind-done span { color: var(--st-dim); font-size: .8rem; }
.ind-count { margin-left: auto; color: var(--st-dim); font-size: .72rem; text-align: right; }
.ind-count b { display: block; color: #fff; font-size: 1.3rem; }
.ind-scan { position: absolute; top: 18px; right: 18px; left: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--nx-orange), transparent); opacity: 0; }
.ind-progress, .ind-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 0 18px; }
.ind-progress { padding-bottom: 10px; }
.ind-progress span { position: relative; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.ind-progress span::after { content: ''; position: absolute; inset: 0; width: 100%; background: var(--nx-orange); }
.ind-labels { padding-bottom: 18px; color: var(--st-dim); font-size: .68rem; font-weight: 700; }

/* Playing: js/industries.js sets .is-playing and data-p (1–6). Without it the
   finished state above stays: mail, draft with badge and the logged card. */
.ind-scene:not(.is-playing) .ind-file,
.ind-scene:not(.is-playing) .ind-gate { opacity: 0; }
.ind-scene.is-playing .ind-scene__card { opacity: 0; transform: translateY(16px) scale(.98); }
.ind-scene.is-playing .ind-mail { opacity: 1; transform: none; }
.ind-scene.is-playing[data-p="1"] .ind-mail mark { background: transparent; }
.ind-scene.is-playing[data-p="1"] .ind-tag { opacity: 0; transform: scale(.8); }
.ind-scene.is-playing .ind-tag:nth-child(2) { transition-delay: .25s; }
.ind-scene.is-playing .ind-tag:nth-child(3) { transition-delay: .5s; }
.ind-scene.is-playing[data-p="2"] .ind-mail { box-shadow: 0 0 0 2px rgba(247, 148, 29, .5); }
.ind-scene.is-playing[data-p="2"] .ind-scan { animation: indScan 1.2s var(--nx-ease-out) 2; }
.ind-scene.is-playing[data-p="3"] .ind-file { opacity: 1; transform: none; box-shadow: 0 0 0 2px rgba(247, 148, 29, .5); }
.ind-scene.is-playing[data-p="3"] .ind-row.is-hit b { color: var(--nx-orange); }
.ind-scene.is-playing[data-p="4"] .ind-file,
.ind-scene.is-playing[data-p="5"] .ind-file,
.ind-scene.is-playing[data-p="6"] .ind-file { opacity: .35; transform: translate(8px, -6px) scale(.96); }
.ind-scene.is-playing[data-p="4"] .ind-draft,
.ind-scene.is-playing[data-p="5"] .ind-draft { opacity: 1; transform: none; }
.ind-scene.is-playing[data-p="6"] .ind-draft { opacity: .45; transform: none; }
.ind-scene.is-playing .ind-style-badge { opacity: 0; transform: translateY(-6px) rotate(-4deg) scale(.7); }
.ind-scene.is-playing[data-p="4"] .ind-style-badge,
.ind-scene.is-playing[data-p="5"] .ind-style-badge,
.ind-scene.is-playing[data-p="6"] .ind-style-badge { opacity: 1; transform: rotate(-4deg); }
.ind-scene.is-playing[data-p="4"] .ind-draft p::after { content: '|'; margin-left: 1px; color: var(--nx-orange); animation: indBlink .8s infinite; }
.ind-scene.is-playing[data-p="5"] .ind-gate { opacity: 1; transform: none; }
.ind-scene.is-playing[data-p="5"] .ind-approve { animation: indPulse 1.2s infinite; }
.ind-scene.is-playing[data-p="6"] .ind-done { opacity: 1; transform: none; }
.ind-scene.is-playing ~ .ind-progress span::after { width: 0; transition: width .3s; }
.ind-scene.is-playing ~ .ind-progress span.is-on::after { width: 100%; transition: width 1.9s linear; }
.ind-scene.is-playing ~ .ind-labels span.is-on { color: #fff; }

/* ---- Workflow stage: tabs, then one focal window + a timeline ---------- */
.ind-stage__head { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.ind-stage__head h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.ind-stage__head p { margin: 0; line-height: 1.65; }
.ind-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 40px; }
.ind-tabs a { padding: 10px 16px; border: 1px solid var(--st-line); border-radius: 999px; color: var(--st-dim); font-weight: 700; text-decoration: none; }
.ind-tabs a:hover { color: #fff; }
.ind-tabs a[aria-current="true"] { border-color: var(--nx-orange); background: var(--nx-orange); color: #1a1a2e; }
.ind-panel + .ind-panel { margin-top: 72px; }
.ind-tabs-ready .ind-panel + .ind-panel { margin-top: 0; }
.ind-tabs-ready .ind-panel[hidden] { display: none; }

.ind-flow__head { max-width: 720px; margin: 0 auto 24px; text-align: center; }
.ind-flow__head h3 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.ind-flow__head p { margin: 0; line-height: 1.6; }

/* The focal window: one step's artefact at a time. */
.ind-view {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 26px 28px;
  border: 1px solid var(--st-line);
  border-radius: 22px;
  background: radial-gradient(600px 260px at 80% 0%, rgba(247, 148, 29, .14), transparent 60%), var(--st-panel);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
}
.ind-view__bar { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--st-line); font-size: .82rem; }
.ind-view__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ind-view__bar b { margin-left: 6px; color: var(--nx-orange); font-weight: 800; }
.ind-view__bar span { color: #fff; font-weight: 700; }
.ind-frame { min-height: 250px; }
.ind-frame + .ind-frame { margin-top: 28px; padding-top: 28px; border-top: 1px dashed var(--st-line); }
.ind-flow-ready .ind-frame + .ind-frame { margin-top: 0; padding-top: 0; border-top: 0; }
.ind-flow-ready .ind-frame { display: none; }
.ind-flow-ready .ind-frame.is-active { display: block; animation: indIn .5s var(--nx-ease-out); }
.ind-frame__cap { margin: 0 0 14px; color: #fff; font-size: 1.05rem; font-weight: 800; }
.ind-flow-ready .ind-frame__cap { display: none; }

/* Artefacts: documents are white paper, so they are what the eye lands on. */
.ind-paper {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 12px;
  background: #fff;
  color: var(--nx-ink);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  font-size: .92rem;
  line-height: 1.55;
}
.ind-stage .ind-paper p,
.ind-stage .ind-paper li { color: var(--nx-ink-soft); }
.ind-paper__title { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: var(--nx-ink); font-size: 1rem; font-weight: 800; }
.ind-paper__title small { color: var(--nx-orange-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ind-paper table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.ind-paper th, .ind-paper td { padding: 7px 8px; border-bottom: 1px solid #eee; text-align: left; }
.ind-paper th { color: var(--nx-ink); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.ind-paper td { color: var(--nx-ink-soft); }
.ind-ticks { margin: 0; padding: 0; list-style: none; }
.ind-stage .ind-ticks li { position: relative; margin: 0 0 8px; padding-left: 28px; color: var(--nx-ink); font-weight: 600; }
.ind-ticks li::before { content: '\2713'; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--st-ok); color: #fff; font-size: .72rem; font-weight: 900; }
.ind-ticks li.is-warn::before { content: '!'; background: var(--nx-orange); }
.ind-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--nx-orange); color: #1a1a2e; font-size: .74rem; font-weight: 800; transform: rotate(-3deg); }
.ind-paper .ind-badge { position: absolute; top: -12px; right: 16px; }
.ind-price { margin: 14px 0 0; padding: 14px 16px; border: 2px dashed var(--nx-orange); border-radius: 10px; color: var(--nx-ink); font-weight: 800; text-align: center; }
.ind-price small { display: block; margin-top: 2px; color: var(--nx-ink-soft); font-weight: 500; }
.ind-okbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 620px; margin: 16px auto 0; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--nx-ink); font-weight: 700; }
.ind-okbar span:last-child { padding: 9px 16px; border-radius: 10px; background: var(--nx-navy); color: #fff; font-size: .85rem; font-weight: 800; animation: indPulse 1.4s infinite; }
.ind-filed { display: flex; align-items: center; gap: 16px; max-width: 620px; margin: 0 auto; padding: 18px 20px; border: 1px solid rgba(34, 197, 94, .5); border-radius: 14px; background: #15301f; }
.ind-filed .ind-tick { width: 40px; height: 40px; font-size: 1.1rem; }
.ind-filed strong { display: block; color: #fff; font-size: 1rem; }
.ind-stage .ind-filed p { margin: 2px 0 0; font-size: .88rem; }
.ind-after { max-width: 620px; margin: 14px auto 0; padding: 0; list-style: none; }
.ind-stage .ind-after li { position: relative; margin: 0 0 6px; padding-left: 22px; color: var(--st-dim); font-size: .9rem; }
.ind-after li::before { content: '\2713'; position: absolute; left: 0; color: var(--st-ok); font-weight: 900; }
.ind-note-card { max-width: 620px; margin: 0 auto 12px; padding: 14px 16px; border-left: 3px solid var(--nx-orange); border-radius: 10px; background: var(--st-panel2); color: #fff; }
.ind-note-card--gap { margin-top: 12px; }
.ind-note-card small { display: block; margin-bottom: 4px; color: var(--st-dim); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ind-stage .ind-note-card p { margin: 0; color: #fff; }
.ind-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 620px; margin: 0 auto; }
.ind-photos span { display: flex; align-items: flex-end; min-height: 70px; padding: 8px; border-radius: 10px; background: linear-gradient(135deg, #3a3f63, #23264a); color: #fff; font-size: .78rem; font-weight: 700; }
.ind-photos span:nth-child(2n) { background: linear-gradient(135deg, #4a3b2e, #2a2436); }
.ind-pile { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 620px; margin: 0 auto; }
.ind-pile span { padding: 10px 14px; border: 1px solid var(--st-line); border-radius: 10px; background: var(--st-panel2); color: #fff; font-size: .88rem; font-weight: 700; }
.ind-pile span:nth-child(odd) { transform: rotate(-2deg); }
.ind-pile span:nth-child(even) { transform: rotate(2deg); }

.ind-always { max-width: 880px; margin: 26px auto 0; text-align: center; font-size: .9rem; }
.ind-stage .ind-always { color: var(--st-dim); }
.ind-always b { color: #fff; }

/* ---- Light sections ------------------------------------------------------ */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  background: var(--nx-surface);
  box-shadow: var(--nx-shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform var(--nx-t-base) var(--nx-ease-out), box-shadow var(--nx-t-base) var(--nx-ease-out);
}
a.ind-card:hover { transform: translateY(-4px); box-shadow: var(--nx-shadow-lift); }
.ind-card > svg { width: 44px; height: 44px; margin-bottom: 14px; padding: 10px; border-radius: 12px; background: var(--nx-orange-tint); fill: none; stroke: var(--nx-orange-dark); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ind-card__tag { align-self: flex-start; margin-bottom: 10px; color: var(--nx-orange-dark); font-size: var(--nx-text-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ind-card h3 { margin: 0 0 8px; color: var(--nx-ink); font-size: 1.1rem; font-weight: 800; }
.ind-card p { margin: 0; color: var(--nx-ink-soft); font-size: .95rem; line-height: 1.6; }
.ind-card__more { margin-top: auto; padding-top: 16px; color: var(--nx-orange-dark); font-size: .92rem; font-weight: 800; }

/* Before / after */
.ind-toggle { display: inline-flex; margin: 0 0 26px; padding: 5px; border: 1px solid var(--nx-line); border-radius: 999px; background: #fff; }
.ind-toggle button { padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--nx-ink-soft); font: inherit; font-weight: 800; cursor: pointer; }
.ind-toggle button[aria-pressed="true"] { background: var(--nx-navy); color: #fff; }
.ind-ba__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind-ba__card { padding: 22px; border: 1px solid var(--nx-line); border-radius: 18px; background: #fff; }
.ind-ba__card h3 { margin: 0 0 10px; color: var(--nx-ink); font-size: 1.02rem; }
.ind-ba__big { color: var(--nx-ink); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; line-height: 1.2; transition: color .3s; }
.ind-ba__card p { margin: 8px 0 0; color: var(--nx-ink-soft); font-size: .9rem; line-height: 1.5; }
.ind-ba[data-mode="after"] .ind-ba__big { color: var(--nx-orange-dark); }
.ind-ba__after { display: none; }
.ind-ba[data-mode="after"] .ind-ba__before { display: none; }
.ind-ba[data-mode="after"] .ind-ba__after { display: inline; }
.ind-ba[data-mode="after"] p.ind-ba__after { display: block; }

/* Connected AI vs a chatbot */
.ind-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(32px, 5vw, 48px); }
.ind-vs__col { padding: 26px 26px 24px; border: 1px solid var(--nx-line); border-radius: 20px; background: var(--nx-surface); }
.ind-vs__col--good { border-color: var(--st-bg); background: var(--st-bg); color: #fff; }
.ind-vs__col h3 { margin: 0 0 14px; color: var(--nx-ink); font-size: 1.15rem; font-weight: 800; }
.ind-vs__col--good h3 { color: #fff; }
.ind-vs__col ul { margin: 0; padding: 0; list-style: none; }
.ind-vs__col li { position: relative; margin: 0 0 10px; padding-left: 28px; color: var(--nx-ink-soft); font-size: .95rem; line-height: 1.5; }
.ind-vs__col--good li { color: rgba(255, 255, 255, .88); }
.ind-vs__col li::before { content: '\2715'; position: absolute; top: 0; left: 0; color: var(--nx-ink-soft); font-weight: 800; }
.ind-vs__col--good li::before { content: '\2713'; color: var(--nx-orange); }

/* NZ deadlines table */
.ind-table { width: 100%; overflow: hidden; border: 1px solid var(--nx-line); border-radius: 16px; border-collapse: separate; border-spacing: 0; background: var(--nx-surface); font-size: .95rem; }
.ind-table th, .ind-table td { padding: 14px 18px; border-bottom: 1px solid var(--nx-line); line-height: 1.5; text-align: left; vertical-align: top; }
.ind-table th { background: var(--st-bg); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ind-table tr:last-child td { border-bottom: 0; }
.ind-table td { color: var(--nx-ink-soft); }
.ind-table td:first-child { color: var(--nx-ink); font-weight: 800; }
.ind-note { margin: 14px 0 0; color: var(--nx-ink-soft); font-size: .86rem; line-height: 1.55; }
.ind-note a { color: var(--nx-orange-dark); }

/* Local band */
.ind-local { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.ind-local__links { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-local__links a { padding: 10px 16px; border: 1px solid var(--nx-line); border-radius: 999px; background: var(--nx-surface); color: var(--nx-ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.ind-local__links a:hover { border-color: var(--nx-orange); color: var(--nx-orange-dark); }

/* Hub: the pattern every workflow follows */
.ind-pattern { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: ind; }
.ind-pattern li { padding: 18px 16px; border: 1px solid var(--nx-line); border-radius: 16px; background: var(--nx-surface); counter-increment: ind; }
.ind-pattern li::before { content: counter(ind); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--nx-orange-tint); color: var(--nx-orange-dark); font-weight: 800; }
.ind-pattern li.is-style::before { background: var(--nx-orange); color: #fff; }
.ind-pattern li.is-gate::before { background: var(--st-bg); color: #fff; }
.ind-pattern li.is-done::before { background: var(--st-ok); color: #fff; }
.ind-pattern h3 { margin: 0 0 4px; color: var(--nx-ink); font-size: .98rem; font-weight: 800; }
.ind-pattern p { margin: 0; color: var(--nx-ink-soft); font-size: .88rem; line-height: 1.5; }
.ind-more { margin: 20px 0 0; color: var(--nx-ink-soft); }
.ind-more a { color: var(--nx-orange-dark); font-weight: 700; }

/* ---- Final call to action ------------------------------------------------- */
.ind-cta__panel { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ind-cta h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.ind-cta p { margin: 0 0 10px; color: var(--st-dim); font-size: 1.05rem; line-height: 1.65; }
.ind-cta p a { color: var(--nx-orange); font-weight: 700; }
.ind-cta__box { padding: 28px; border: 1px solid var(--st-line); border-radius: 22px; background: var(--st-panel); }
.ind-cta__box .nx-btn { width: 100%; justify-content: center; }
.ind-cta__phone { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; padding: 14px; border: 1px solid var(--st-line); border-radius: 999px; color: #fff; font-size: 1.1rem; font-weight: 800; text-decoration: none; }
.ind-cta__phone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.ind-cta__phone:hover { border-color: var(--nx-orange); color: var(--nx-orange); }
.ind-cta__list { margin: 18px 0 0; padding: 0; list-style: none; }
.ind-cta__list li { display: flex; gap: 10px; margin-bottom: 8px; color: var(--st-dim); font-size: .9rem; }
.ind-cta__list li::before { content: '\2713'; color: var(--st-ok); font-weight: 900; }

/* ---- Video (replaces the animated demo once a workflow's video exists) ---- */
.ind-video { position: relative; overflow: hidden; border: 1px solid var(--st-line); border-radius: 22px; background: #fffbf5;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(247, 148, 29, .08); }
.ind-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ind-panel .ind-video { max-width: 880px; margin: 0 auto; }
.ind-sound { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0;
  border-radius: 999px; background: rgba(0, 0, 0, .78); color: #fff; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; }
.ind-sound:hover, .ind-sound:focus-visible { background: var(--nx-orange); color: #1a1a2e; }

@keyframes indPulse { 0% { box-shadow: 0 0 0 0 rgba(247, 148, 29, .55); } 70% { box-shadow: 0 0 0 12px rgba(247, 148, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(247, 148, 29, 0); } }
@keyframes indIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes indBlink { 50% { opacity: 0; } }
@keyframes indScan { 0% { top: 18px; opacity: 1; } 100% { top: 120px; opacity: 0; } }

@media (max-width: 1023px) {
  .ind-hero, .ind-local, .ind-cta__panel { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-pattern { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ind-grid, .ind-vs, .ind-ba__grid { grid-template-columns: 1fr; }
  .ind-pattern { grid-template-columns: 1fr 1fr; }
  .ind-scene { height: 540px; }
  .ind-file, .ind-draft { top: 215px; right: 18px; left: 18px; width: auto; }
  .ind-labels { display: none; }
  .ind-view { padding: 14px 14px 20px; }
  .ind-flow-ready .ind-frame__cap { display: block; font-size: .95rem; }
  .ind-view__bar span { display: none; }
  .ind-photos { grid-template-columns: repeat(2, 1fr); }
  .ind-count { display: none; }
  .ind-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ind-table, .ind-table tbody, .ind-table tr, .ind-table td { display: block; width: 100%; }
  .ind-table tr { border-bottom: 1px solid var(--nx-line); }
  .ind-table tr:last-child { border-bottom: 0; }
  .ind-table td { padding: 6px 16px; border-bottom: 0; }
  .ind-table td:first-child { padding-top: 14px; }
  .ind-table td:last-child { padding-bottom: 14px; }
  .ind-table td[data-label]:not(:first-child)::before { content: attr(data-label) ': '; color: var(--nx-ink); font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  .ind *, .ind *::before, .ind *::after { animation: none !important; transition: none !important; }
}
