/* =========================================================
   Homepage-only styles. Shared tokens and components are in site.css.
   Sections: hero, industry explorer, progress chip, ROI, timeline, proof, plan form,
   animations, responsive
   ========================================================= */

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0 96px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-wrap {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 75%);
}
.grid-bg {
  position: absolute; inset: -48px 0 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridMove 24s linear infinite;
  will-change: transform;
}
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob-1 { width: 560px; height: 560px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(var(--accent-rgb), .36), transparent 65%); animation: blobA 18s ease-in-out infinite alternate; }
.blob-2 { width: 620px; height: 620px; right: -200px; top: 10%; background: radial-gradient(circle, rgba(110, 190, 255, .30), transparent 65%); animation: blobB 22s ease-in-out infinite alternate; }
.blob-3 { width: 520px; height: 520px; left: 30%; bottom: -260px; background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 65%); animation: blobC 20s ease-in-out infinite alternate; }
.hero-inner { position: relative; text-align: center; max-width: 1040px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.grad { color: var(--accent-soft); background: linear-gradient(90deg, #8fe0a9, #d3f5de); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(1.02rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 700px; margin: 0 auto 48px; font-weight: 300; }
.hero-q { font-size: 1.25rem; font-weight: 600; margin-bottom: 22px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.ind-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  padding: 24px 22px 20px; border-radius: var(--radius); cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); font: inherit;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, box-shadow .3s;
}
.ind-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .16); border-color: var(--accent-soft); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.ind-card.is-chosen { border-color: var(--accent-soft); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .55); }
.ind-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 10px;
  background: rgba(var(--accent-rgb), .2); color: var(--accent-soft);
}
.ind-card:hover .ind-icon { animation: iconWiggle .7s var(--ease); background: var(--accent-strong); color: var(--navy-dark); }
.ind-name { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.ind-hint { font-size: .88rem; color: rgba(255, 255, 255, .78); }
.ind-go { margin-top: 10px; font-size: .82rem; font-weight: 500; color: var(--accent-soft); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.ind-card:hover .ind-go, .ind-card:focus-visible .ind-go { opacity: 1; transform: none; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; }
.link-soft { color: rgba(255, 255, 255, .85); font-size: .95rem; text-underline-offset: 4px; }
.link-soft:hover { color: #fff; }
.hero-anim { animation: heroIn .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 110ms); }

/* ---- Industry explorer: tabs ---- */
.tabs-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.tabs {
  position: relative; display: flex; gap: 4px; padding: 6px; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-indicator {
  position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: var(--radius-pill);
  background: var(--navy); box-shadow: 0 6px 16px rgba(44, 72, 94, .35); z-index: 0;
}
.tabs.ready .tab-indicator { transition: transform .45s var(--ease), width .45s var(--ease), height .3s; }
.tab {
  position: relative; z-index: 1; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px;
  border: 0; background: transparent; color: var(--navy); font-weight: 500; font-size: .95rem;
  padding: 12px 20px; border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap; transition: color .3s;
}
.tab[aria-selected="true"] { color: #fff; font-weight: 600; }
.tab:not([aria-selected="true"]):hover { color: var(--accent-ink); }

/* ---- Industry explorer: problem cards ---- */
.problem-list { max-width: 960px; margin: 0 auto; }
.industry-panel { display: flex; flex-direction: column; gap: 16px; }
.js .industry-panel:not(.is-current) { display: none; }
.industry-heading { font-size: 1.4rem; font-weight: 700; color: var(--navy-dark); margin: 4px 0; }
.js .industry-heading { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.problem-list.swap-out { opacity: 0; transform: translateX(calc(var(--dir, 1) * -24px)); transition: opacity .18s ease, transform .18s ease; }
.problem-list.swap-in .problem { animation: swapIn .55s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.problem {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); scroll-margin-top: 8px;
  transition: box-shadow .3s, border-color .3s;
}
.problem::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent);
  transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.problem.is-added::before { transform: scaleY(1); }
.problem:hover { box-shadow: var(--shadow); }
.problem.is-open { border-color: rgba(44, 72, 94, .35); box-shadow: var(--shadow); }
.problem-heading { font-size: 1rem; font-weight: 400; margin: 0; }
.problem-toggle {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font: inherit;
}
.problem-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #e9eff3; color: var(--navy); font-weight: 600; transition: background-color .3s, color .3s;
}
.problem.is-open .problem-num { background: var(--navy); color: #fff; }
.problem-quote { display: block; font-weight: 500; font-size: 1.05rem; color: var(--navy-dark); line-height: 1.45; }
.problem-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 8px; }
.tag { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.added-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--accent-ink);
  background: var(--accent-tint); padding: 2px 10px; border-radius: var(--radius-pill);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); visibility: hidden;
}
.problem.is-added .added-badge { opacity: 1; transform: none; visibility: visible; }
.chevron { color: var(--navy); transition: transform .4s var(--ease); }
.problem.is-open .chevron { transform: rotate(180deg); }

.problem-panel {
  display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .45s var(--ease), opacity .35s ease, visibility 0s linear .45s;
}
.problem.is-open .problem-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.panel-clip { overflow: hidden; min-height: 0; }
.panel-body { padding: 4px 22px 24px; }

.ba { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; background: var(--light); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 16px; }
.ba-controls { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.ba-label { transition: color .3s; }
.ba:not(.is-after) .ba-label-before, .ba.is-after .ba-label-after { color: var(--navy-dark); font-weight: 600; }
.ba-switch { width: 56px; height: 30px; border-radius: var(--radius-pill); border: 0; background: #7b8d9a; position: relative; cursor: pointer; flex: none; transition: background-color .3s; }
.ba-switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .35s var(--ease); }
.ba-switch[aria-checked="true"] { background: var(--accent-ink); }
.ba-switch[aria-checked="true"] .knob { transform: translateX(26px); }
.ba-view { flex: 1; min-width: 200px; display: grid; }
.ba-state { grid-area: 1 / 1; transition: opacity .35s, transform .4s var(--ease), visibility .35s; }
.ba-state small { display: block; color: var(--muted); font-size: .85rem; }
.ba-num { display: block; font-size: 2rem; font-weight: 700; line-height: 1.2; }
.ba-s-before .ba-num { color: var(--bad); }
.ba-s-after .ba-num { color: var(--good); }
.ba-s-after { opacity: 0; transform: translateY(12px); visibility: hidden; }
.ba.is-after .ba-s-after { opacity: 1; transform: none; visibility: visible; }
.ba.is-after .ba-s-before { opacity: 0; transform: translateY(-12px); visibility: hidden; }

.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sol { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-size: .93rem; }
.sol-title { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 8px; }
.sol ul { list-style: none; display: grid; gap: 8px; }
.sol li { position: relative; padding-left: 18px; }
.sol li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sol-change { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border-color: transparent; color: #fff; }
.sol-change .sol-title { color: var(--accent-soft); }
.sol-change p { font-size: 1.05rem; line-height: 1.5; }
.sol-change mark { display: inline-block; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; padding: 0 .4em; border-radius: 8px; font-size: 1.15em; }
.problem.is-open .ba, .problem.is-open .sol { animation: fadeUp .5s var(--ease) backwards; }
.problem.is-open .sol:nth-child(1) { animation-delay: .12s; }
.problem.is-open .sol:nth-child(2) { animation-delay: .2s; }
.problem.is-open .sol:nth-child(3) { animation-delay: .28s; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.add-btn .i-check { display: none; }
.add-btn[aria-pressed="true"] { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--navy-dark); }
.add-btn[aria-pressed="true"] .i-plus { display: none; }
.add-btn[aria-pressed="true"] .i-check { display: inline-block; animation: checkIn .45s var(--ease); }
.add-btn.pop { animation: pop .5s var(--ease); }

/* ---- Progress chip ---- */
.chip-dock { position: fixed; left: 0; right: 0; bottom: 24px; z-index: 70; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.progress-chip {
  pointer-events: none; display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  background: var(--navy-dark); color: #fff; border: 0; cursor: pointer; font-size: .95rem; font-weight: 500;
  padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(30px);
  transition: opacity .4s, transform .4s var(--ease), visibility .4s;
}
.progress-chip.show { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.progress-chip.bump { animation: bump .6s var(--ease); }
.chip-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--accent-strong); color: var(--navy-dark); font-weight: 700; flex: none; }
.chip-count.tick { animation: tick .45s var(--ease); }
.progress-chip:hover { background: #162735; }
.progress-chip span.txt strong { color: var(--accent-soft); font-weight: 600; }

/* ---- ROI calculator ---- */
.roi-card { display: grid; grid-template-columns: 1.1fr .9fr; max-width: 1000px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.roi-inputs { padding: 36px; display: grid; gap: 30px; align-content: center; }
.roi-inputs label { display: block; font-weight: 600; color: var(--navy-dark); margin-bottom: 12px; }
.slider-row { display: flex; align-items: center; gap: 16px; }
.slider-row output { min-width: 3.5em; text-align: right; font-weight: 700; font-size: 1.15rem; color: var(--navy); white-space: nowrap; }
input[type="range"] {
  --pct: 21%; -webkit-appearance: none; appearance: none; flex: 1; height: 8px; border-radius: 8px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent-ink) var(--pct), #d5dde3 var(--pct));
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: transparent; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: var(--shadow-sm); }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
.input-prefix { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .25s, box-shadow .25s; }
.input-prefix:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .3); }
.input-prefix span { padding: 0 4px 0 16px; font-weight: 600; color: var(--navy); }
.input-prefix input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 16px 13px 4px; font-size: 1.05rem; font-weight: 500; color: var(--text); }
.roi-results { background: linear-gradient(160deg, var(--navy-dark), var(--navy)); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.roi-results p.k { font-size: .85rem; color: rgba(255, 255, 255, .78); }
.roi-big { display: block; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; line-height: 1.15; }
.roi-big.money { color: var(--accent-soft); }
.roi-note { font-size: .82rem; color: rgba(255, 255, 255, .72); border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 14px; }

/* ---- How we work: timeline ---- */
.timeline-wrap { position: relative; max-width: 1040px; margin: 0 auto; --p: 0; }
.tl-line { position: absolute; top: 26px; left: 12.5%; right: 12.5%; height: 4px; background: #d5dde3; border-radius: 4px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), var(--accent)); transform-origin: left; transform: scaleX(var(--p)); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.tl-step { text-align: center; padding: 0 14px; }
.tl-marker {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 1.2rem;
  background: #fff; color: var(--navy); border: 3px solid #d5dde3; position: relative; z-index: 1;
  transition: background-color .45s, color .45s, border-color .45s, transform .45s var(--ease), box-shadow .45s;
}
.tl-step.is-active .tl-marker { background: var(--accent-strong); color: var(--navy-dark); border-color: var(--accent-strong); transform: scale(1.1); box-shadow: 0 8px 22px rgba(var(--accent-rgb), .45); }
.tl-step small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tl-step h3 { font-size: 1.3rem; color: var(--navy-dark); margin-bottom: 8px; }
.tl-step p { color: var(--muted); font-size: .95rem; }

/* ---- Proof ---- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case .ci { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #e9eff3; color: var(--navy); font-size: 1.1rem; }
.case h3 { font-size: 1.1rem; color: var(--navy-dark); }
.case .muted { color: var(--muted); font-size: .9rem; }
.case .metric { font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.case .metric small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }
.case > p:not(.muted):not(.metric) { font-size: .95rem; }

/* FAQ and .case-link styles are in site.css (shared with the service pages). */

/* ---- Plan form ---- */
.plan { background: linear-gradient(160deg, var(--navy-dark), var(--navy)); color: #fff; overflow: hidden; }
.plan::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .24), transparent 65%); pointer-events: none; }
.plan-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.plan h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.2; font-weight: 700; margin-bottom: 16px; }
.plan .promise { font-size: 1.1rem; color: rgba(255, 255, 255, .88); font-weight: 300; }
.plan-points { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.plan-points li { display: flex; gap: 12px; align-items: flex-start; }
.plan-points i { width: 28px; height: 28px; border-radius: 50%; background: rgba(var(--accent-rgb), .22); color: var(--accent-soft); display: grid; place-items: center; font-size: .75rem; flex: none; margin-top: 2px; }
.plan-chips-box { margin-bottom: 18px; }
.plan-chips-box .lbl { font-weight: 600; font-size: .92rem; color: var(--navy-dark); display: block; margin-bottom: 8px; }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: var(--radius-pill); background: #e9eff3; color: var(--navy-dark); font-size: .85rem; font-weight: 500; }
.chip-ind { background: var(--navy); color: #fff; }
.chip-new { animation: chipIn .4s var(--ease); }
.chip button { width: 22px; height: 22px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(0, 0, 0, .1); color: inherit; font-size: .7rem; display: grid; place-items: center; transition: background-color .2s; }
.chip button:hover { background: var(--accent-strong); color: var(--navy-dark); }
.chips-empty { font-size: .88rem; color: var(--muted); }
.chips-empty a { color: var(--accent-ink); }

/* =========================================================
   Animations (homepage only)
   ========================================================= */
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes swapIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 32px)); } to { opacity: 1; transform: none; } }
@keyframes blobA { to { transform: translate3d(120px, 90px, 0) scale(1.15); } }
@keyframes blobB { to { transform: translate3d(-140px, 70px, 0) scale(1.1); } }
@keyframes blobC { to { transform: translate3d(100px, -80px, 0) scale(1.2); } }
@keyframes gridMove { to { transform: translate3d(0, 48px, 0); } }
@keyframes iconWiggle { 0% { transform: rotate(0) scale(1); } 30% { transform: rotate(-12deg) scale(1.15); } 60% { transform: rotate(8deg) scale(1.1); } 100% { transform: rotate(0) scale(1); } }
@keyframes checkIn { from { transform: scale(0) rotate(-90deg); } to { transform: scale(1) rotate(0); } }
@keyframes bump { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-12px) scale(1.06); } 100% { transform: none; } }
@keyframes tick { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(1); } }
@keyframes chipIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive (homepage only)
   ========================================================= */
@media (max-width: 960px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-card, .plan-grid { grid-template-columns: 1fr; }
  .plan-grid { gap: 36px; }
  .sol-grid { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .tl-line { left: 26px; right: auto; top: 28px; width: 4px; height: var(--tl-len, 240px); }
  .tl-fill { transform-origin: top; transform: scaleY(var(--p)); background: linear-gradient(180deg, var(--navy), var(--accent)); }
  .tl-step { position: relative; text-align: left; padding: 0 0 0 76px; min-height: 56px; }
  .tl-marker { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (max-width: 720px) {
  .hero { padding: 56px 0 72px; }
  .chip-dock { bottom: 86px; }
  .progress-chip { font-size: .88rem; padding: 10px 16px; }
  .roi-inputs, .roi-results { padding: 26px 22px; }
}
@media (max-width: 520px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .ind-icon { grid-row: span 2; margin: 0; }
  .ind-go { display: none; }
  .problem-toggle { padding: 16px; gap: 12px; }
  .panel-body { padding: 4px 16px 20px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .grid-bg { animation: none !important; }
}

/* =========================================================
   Without JavaScript: show every industry fully open and hide controls that need JS
   ========================================================= */
html:not(.js) .tabs-wrap,
html:not(.js) .add-btn,
html:not(.js) .next-btn,
html:not(.js) .ba-controls,
html:not(.js) .chevron,
html:not(.js) .chip-dock,
html:not(.js) #planForm { display: none; }
html:not(.js) .problem-toggle { cursor: default; pointer-events: none; }
html:not(.js) .problem-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
html:not(.js) .ba-state { grid-area: auto; }
html:not(.js) .ba-s-after { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .industry-panel + .industry-panel { margin-top: 40px; }
.noscript-note p + p { margin-top: 8px; }
.noscript-note a { color: var(--accent-ink); font-weight: 600; }
