/* BitFire installation guide — page-specific components */

.install-hero h1 { max-width: 850px; }
.install-summary ul { display: grid; gap: 11px; margin: 0 0 21px; padding: 0; list-style: none; }
.install-summary li { display: flex; align-items: baseline; gap: 11px; color: #9db1be; }
.install-summary li span { min-width: 55px; color: #dcecf5; font-weight: 800; font-family: ui-monospace, monospace; }

.install-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr auto) 1fr;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(167, 210, 233, 0.18);
  border-radius: 20px;
  background: rgba(10, 28, 45, 0.8);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
}
.install-path > div { position: relative; min-height: 142px; display: grid; align-content: center; padding: 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.install-path > div:first-child { background: rgba(91, 173, 218, 0.08); }
.install-path > div > span { position: absolute; top: 14px; right: 15px; color: #577284; font-weight: 700; font-family: ui-monospace, monospace; }
.install-path .icon { width: 22px; margin-bottom: 16px; color: #5eb9e5; }
.install-path strong,
.install-path small { display: block; }
.install-path strong { color: #e5f1f7; }
.install-path small { margin-top: 3px; color: #738c9c; }
.install-path > i { padding: 0 10px; color: #456276; font-style: normal; }

.install-preflight { scroll-margin-top: var(--nav-height); }
.preflight-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: center; }
.preflight-copy h2 { margin-bottom: 20px; font-weight: 790; letter-spacing: -0.06em; line-height: 0.98; }
.multisite-note { display: grid; grid-template-columns: 34px 1fr; gap: 14px; margin-top: 29px; padding: 20px; border: 1px solid #d7e2e8; border-radius: 15px; background: #fff; }
.multisite-note .icon { width: 23px; color: #218bc9; }
.multisite-note p { margin: 3px 0 0; color: #607482; }
.preflight-card { padding: 35px; border: 1px solid #173c57; border-radius: 23px; color: #eaf5fb; background: #0c2135; box-shadow: 0 28px 60px rgba(7, 19, 34, 0.12); }
.preflight-card .card-heading small { color: #81a0b5; }
.preflight-card ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.preflight-card li { position: relative; padding: 0 0 0 28px; color: #b7cbd7; }
.preflight-card li::before { position: absolute; top: 0; left: 0; content: "✓"; color: #65d98f; font-weight: 900; }
.business-callout { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 42px; align-items: center; margin-top: 35px; padding: 26px 30px; border: 1px solid #c9dde7; border-radius: 17px; background: #edf6fa; }
.business-callout span,
.business-callout strong { display: block; }
.business-callout span { margin-bottom: 4px; color: #1474a5; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.business-callout strong { color: #203a4b; }
.business-callout p { margin: 0; color: #59707f; }

.install-body { border-top: 1px solid #e1e8ed; }
.instruction-list { overflow: hidden; border: 1px solid #dbe4ea; border-radius: 18px; }
.instruction-list > article { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 28px; border-bottom: 1px solid #e1e8ed; }
.instruction-list > article:last-child { border-bottom: 0; }
.instruction-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #cfe0e9; border-radius: 12px; color: #197bad; background: #f1f8fb; font-weight: 800; font-family: ui-monospace, monospace; }
.instruction-list h3 { margin-bottom: 9px; color: #183246; }
.instruction-list p { margin-bottom: 11px; color: #5d7180; }
.instruction-list p:last-child { margin-bottom: 0; }
.instruction-list ol { display: grid; gap: 6px; margin: 5px 0 13px; padding-left: 20px; color: #536a79; }
.instruction-list code { display: inline-block; padding: 8px 11px; border: 1px solid #d7e2e8; border-radius: 8px; color: #176f9e; background: #f6f9fb; }
.compact-instructions > article { padding-block: 23px; }

.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 19px; }
.status-grid article { padding: 22px; border: 1px solid #dbe4ea; border-radius: 15px; }
.status-grid span { display: inline-block; margin-bottom: 20px; padding: 4px 8px; border-radius: 999px; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.status-grid strong { display: block; margin-bottom: 6px; color: #233c4e; }
.status-grid p { margin: 0; color: #687b88; }
.status-critical span { color: #a33b36; background: #fde7e5; }
.status-recommended span { color: #986014; background: #fff0d9; }
.status-passed span { color: #09724b; background: #dff5e9; }
.activation-note { display: grid; grid-template-columns: 31px 1fr; gap: 14px; margin-top: 19px; padding: 23px; border-radius: 15px; color: #dcecf5; background: #0b2033; }
.activation-note .icon { width: 23px; color: #62bde8; }
.activation-note p { margin: 4px 0 0; color: #91a8b6; }

.configuration-basics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.configuration-basics article { min-height: 175px; padding: 23px; border: 1px solid #dbe4ea; border-radius: 15px; }
.configuration-basics .icon { width: 23px; margin-bottom: 27px; color: #218bc9; }
.configuration-basics h3 { margin-bottom: 7px; }
.configuration-basics p { margin: 0; color: #617583; }
.guide-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 12px; padding: 19px 22px; border: 1px solid #c8e1ed; border-radius: 14px; color: #17384d; background: #f0f8fc; }
.guide-link small,
.guide-link strong { display: block; }
.guide-link small { margin-bottom: 2px; color: #218bc9; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.guide-link .icon { width: 18px; color: #218bc9; transition: transform 160ms ease; }
.guide-link:hover .icon { transform: translateX(4px); }
.subsection-title { margin: 38px 0 15px; color: #1e394c; letter-spacing: -0.02em; }
.rollout-options { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid #dbe4ea; border-radius: 16px; }
.rollout-options article { display: grid; grid-template-columns: 85px 1fr; gap: 16px; padding: 25px; }
.rollout-options article:first-child { border-right: 1px solid #e1e8ed; }
.rollout-options .staged { background: #f8fafc; }
.traffic-value { color: #1581ba; font-weight: 800; font-family: ui-monospace, monospace; letter-spacing: -0.06em; }
.rollout-options span { display: block; margin-bottom: 6px; color: #263e50; font-weight: 800; }
.rollout-options p { margin: 0; color: #647784; }
.test-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid #dbe4ea; border-radius: 15px; }
.test-grid span { position: relative; min-height: 75px; display: flex; align-items: center; padding: 17px 15px 17px 38px; border-right: 1px solid #e1e8ed; border-bottom: 1px solid #e1e8ed; color: #4e6574; font-weight: 700; }
.test-grid span:nth-child(4n) { border-right: 0; }
.test-grid span:nth-last-child(-n + 4) { border-bottom: 0; }
.test-grid span::before { position: absolute; left: 16px; content: "✓"; color: #1591c7; font-weight: 900; }
.guidance ol { display: grid; gap: 6px; margin: 8px 0; padding-left: 20px; }

.scan-principle { display: grid; grid-template-columns: 27px 1fr; gap: 14px; margin-bottom: 20px; padding: 22px; border: 1px solid #efd4ab; border-radius: 15px; background: #fff9ef; }
.scan-principle .icon { width: 22px; color: #c7811e; }
.scan-principle strong { color: #604721; }
.scan-principle p { margin: 4px 0 0; color: #786547; }
.scan-steps { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid #dbe4ea; border-radius: 18px; }
.scan-steps article { min-height: 210px; padding: 25px; border-right: 1px solid #e1e8ed; border-bottom: 1px solid #e1e8ed; }
.scan-steps article:nth-child(2n) { border-right: 0; }
.scan-steps article:nth-last-child(-n + 2) { border-bottom: 0; }
.scan-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.scan-step-head span { color: #218bc9; font-weight: 800; font-family: ui-monospace, monospace; }
.scan-step-head h3 { margin: 0; }
.scan-steps article > p { margin: 0; color: #5e7280; }
.mini-note { display: flex; align-items: center; gap: 8px; margin-top: 15px; padding: 10px; border-radius: 9px; color: #33637d; background: #eef7fb; font-weight: 700; }
.mini-note .icon { width: 16px; flex: 0 0 auto; color: #218bc9; }
.analysis-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.analysis-results article { padding: 18px; border: 1px solid #dbe4ea; border-radius: 13px; }
.analysis-results span { display: inline-block; margin-bottom: 9px; padding: 3px 8px; border-radius: 999px; font-weight: 850; text-transform: uppercase; }
.analysis-results p { margin: 0; color: #657885; }
.analysis-results .safe span { color: #087047; background: #ddf4e8; }
.analysis-results .suspicious span { color: #946016; background: #fff0d7; }
.analysis-results .malware span { color: #a03f3a; background: #fde5e3; }
.body-copy { margin: 21px 0 0; color: #5c7180; }
.body-copy a { color: #1477aa; font-weight: 750; }

.product-frame { position: relative; overflow: hidden; margin: 27px 0 0; padding: 7px; border: 1px solid #cbdce5; border-radius: 17px; background: #0b1722; box-shadow: 0 26px 65px rgba(7, 19, 34, 0.13); }
.product-frame-bar { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 11px; color: #8095a3; font-family: ui-monospace, monospace; }
.product-frame .frame-dots { display: flex; gap: 5px; }
.product-frame .frame-dots span { width: 6px; height: 6px; border-radius: 50%; background: #344957; }
.product-frame img { width: 100%; border-radius: 10px; }
.product-frame figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 11px 7px; }
.product-frame figcaption strong { color: #dbe9f1; }
.product-frame figcaption span { color: #708795; text-align: right; }
.quarantine-panel { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 40px; margin-top: 19px; padding: 30px; border-radius: 17px; color: #e5f1f7; background: #0a1e31; }
.quarantine-panel .icon { width: 23px; margin-bottom: 19px; color: #60bce8; }
.quarantine-panel span { display: block; margin-bottom: 7px; color: #63bde7; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.quarantine-panel h3 { margin: 0; line-height: 1.2; }
.quarantine-panel p { color: #92a8b5; }
.quarantine-panel p:last-child { margin-bottom: 0; }
.quarantine-panel p strong { color: #d6e6ef; }

.learning-timeline { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid #dbe4ea; border-radius: 17px; }
.learning-timeline article { min-height: 195px; padding: 25px; border-right: 1px solid #e1e8ed; }
.learning-timeline article:last-child { border-right: 0; background: #f1f8fc; }
.learning-timeline span { display: block; margin-bottom: 45px; color: #218bc9; font-weight: 800; font-family: ui-monospace, monospace; text-transform: uppercase; }
.learning-timeline strong { display: block; margin-bottom: 7px; color: #263e50; }
.learning-timeline p { margin: 0; color: #667a87; }
.plain-language { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 17px; }
.plain-language > div { padding: 22px; border: 1px solid #dbe4ea; border-radius: 14px; }
.plain-language strong { display: block; margin-bottom: 7px; color: #244054; }
.plain-language p { margin: 0; color: #627684; }

.review-checklist { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; border: 1px solid #dbe4ea; border-radius: 17px; list-style: none; }
.review-checklist li { min-height: 150px; padding: 20px; border-right: 1px solid #e1e8ed; }
.review-checklist li:last-child { border-right: 0; }
.review-checklist li span { display: grid; width: 27px; height: 27px; place-items: center; margin-bottom: 28px; border: 1px solid #c7dce7; border-radius: 50%; color: #218bc9; font-weight: 800; font-family: ui-monospace, monospace; }
.review-checklist p { margin: 0; color: #506775; }
.verified-note { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 15px 18px; border: 1px solid #bfe2cd; border-radius: 12px; background: #edf9f2; }
.verified-note span { padding: 3px 8px; border-radius: 999px; color: #087044; background: #d6f2e1; font-weight: 900; }
.verified-note p { margin: 0; color: #4c6d5b; }

.bot-state-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid #dbe4ea; border-radius: 16px; }
.bot-state-grid article { min-height: 140px; padding: 20px; border-right: 1px solid #e1e8ed; }
.bot-state-grid article:last-child { border-right: 0; }
.bot-state-grid span { display: inline-block; margin-bottom: 24px; padding: 4px 8px; border-radius: 999px; font-weight: 850; text-transform: uppercase; }
.bot-state-grid p { margin: 0; color: #647784; }
.state-review { color: #956014; background: #fff0d7; }
.state-restricted { color: #176991; background: #e0f1fa; }
.state-allowed { color: #087047; background: #def4e8; }
.state-suspicious { color: #9d3e39; background: #fde6e4; }
.decision-list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; border: 1px solid #dbe4ea; border-radius: 15px; list-style: none; }
.decision-list li { min-height: 140px; padding: 19px; border-right: 1px solid #e1e8ed; }
.decision-list li:last-child { border-right: 0; }
.decision-list span { display: block; margin-bottom: 27px; color: #218bc9; font-weight: 800; font-family: ui-monospace, monospace; }
.decision-list p { margin: 0; color: #586e7c; }
.impersonation-warning { display: grid; grid-template-columns: 27px 1fr; gap: 14px; margin-top: 17px; padding: 22px; border: 1px solid #efd3aa; border-radius: 15px; background: #fff9ef; }
.impersonation-warning .icon { width: 22px; color: #c47e1d; }
.impersonation-warning strong { color: #624921; }
.impersonation-warning p { margin: 4px 0 0; color: #776446; }

.maintenance-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid #dbe4ea; border-radius: 18px; }
.maintenance-grid article { min-height: 210px; padding: 25px; border-right: 1px solid #e1e8ed; border-bottom: 1px solid #e1e8ed; }
.maintenance-grid article:nth-child(2n) { border-right: 0; }
.maintenance-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
.maintenance-grid span { display: block; margin-bottom: 21px; color: #187aaa; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.maintenance-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.maintenance-grid li { position: relative; padding-left: 20px; color: #607482; }
.maintenance-grid li::before { position: absolute; left: 0; content: "✓"; color: #218bc9; font-weight: 900; }

.completion-panel { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 40px; margin-top: 21px; padding: 30px; border-radius: 18px; color: #e8f3f9; background: #0a1e31; }
.completion-panel h3 { margin-bottom: 8px; }
.completion-panel p { margin: 0; color: #8ca2b0; }
.completion-panel ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 19px; margin: 0; padding: 0; list-style: none; }
.completion-panel li { position: relative; padding-left: 24px; color: #adc1cc; }
.completion-panel li::before { position: absolute; left: 0; content: "✓"; color: #63d990; font-weight: 900; }

@media (max-width: 1050px) {
  .install-path > div { padding: 17px; }
  .preflight-grid { gap: 45px; }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid span:nth-child(2n) { border-right: 0; }
  .test-grid span:nth-child(4n) { border-right: 0; }
  .test-grid span:nth-last-child(-n + 4) { border-bottom: 1px solid #e1e8ed; }
  .test-grid span:nth-last-child(-n + 2) { border-bottom: 0; }
  .review-checklist,
  .decision-list { grid-template-columns: repeat(3, 1fr); }
  .review-checklist li,
  .decision-list li { border-bottom: 1px solid #e1e8ed; }
  .review-checklist li:nth-child(3),
  .decision-list li:nth-child(3) { border-right: 0; }
  .review-checklist li:nth-last-child(-n + 2),
  .decision-list li:nth-last-child(-n + 2) { border-bottom: 0; }
  .bot-state-grid { grid-template-columns: repeat(2, 1fr); }
  .bot-state-grid article { border-bottom: 1px solid #e1e8ed; }
  .bot-state-grid article:nth-child(2n) { border-right: 0; }
  .bot-state-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 820px) {
  .install-path { grid-template-columns: 1fr; }
  .install-path > div { min-height: 105px; grid-template-columns: 38px 1fr; align-items: center; column-gap: 12px; }
  .install-path .icon { grid-row: 1 / 3; margin: 0; }
  .install-path > div > span { top: 12px; }
  .install-path > i { padding: 6px 0; text-align: center; transform: rotate(90deg); }
  .preflight-grid { grid-template-columns: 1fr; }
  .business-callout { grid-template-columns: 1fr; gap: 12px; }
  .configuration-basics { grid-template-columns: 1fr; }
  .configuration-basics article { min-height: auto; }
  .configuration-basics .icon { margin-bottom: 19px; }
  .rollout-options { grid-template-columns: 1fr; }
  .rollout-options article:first-child { border-right: 0; border-bottom: 1px solid #e1e8ed; }
  .learning-timeline { grid-template-columns: 1fr; }
  .learning-timeline article { min-height: auto; border-right: 0; border-bottom: 1px solid #e1e8ed; }
  .learning-timeline article:last-child { border-bottom: 0; }
  .learning-timeline span { margin-bottom: 21px; }
  .quarantine-panel { grid-template-columns: 1fr; gap: 25px; }
  .completion-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
.install-path > div { min-height: 90px; }
  .preflight-card { padding: 25px; }
  .business-callout { padding: 22px; }
  .instruction-list > article { grid-template-columns: 1fr; padding: 23px 20px; }
  .status-grid { grid-template-columns: 1fr; }
  .status-grid article { padding: 19px; }
  .status-grid span { margin-bottom: 11px; }
  .rollout-options article { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .test-grid span,
  .test-grid span:nth-child(2n),
  .test-grid span:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid #e1e8ed; }
  .test-grid span:last-child { border-bottom: 0; }
  .scan-steps { grid-template-columns: 1fr; }
  .scan-steps article,
  .scan-steps article:nth-child(2n),
  .scan-steps article:nth-last-child(-n + 2) { min-height: auto; border-right: 0; border-bottom: 1px solid #e1e8ed; }
  .scan-steps article:last-child { border-bottom: 0; }
  .analysis-results { grid-template-columns: 1fr; }
  .product-frame { margin-inline: -6px; padding: 5px; border-radius: 13px; }
  .product-frame figcaption { display: none; }
  .plain-language { grid-template-columns: 1fr; }
  .review-checklist,
  .decision-list { grid-template-columns: 1fr; }
  .review-checklist li,
  .review-checklist li:nth-child(3),
  .review-checklist li:nth-last-child(-n + 2),
  .decision-list li,
  .decision-list li:nth-child(3),
  .decision-list li:nth-last-child(-n + 2) { min-height: auto; border-right: 0; border-bottom: 1px solid #e1e8ed; }
  .review-checklist li:last-child,
  .decision-list li:last-child { border-bottom: 0; }
  .review-checklist li span,
  .decision-list span { margin-bottom: 12px; }
  .bot-state-grid { grid-template-columns: 1fr; }
  .bot-state-grid article,
  .bot-state-grid article:nth-child(2n),
  .bot-state-grid article:nth-last-child(-n + 2) { min-height: auto; border-right: 0; border-bottom: 1px solid #e1e8ed; }
  .bot-state-grid article:last-child { border-bottom: 0; }
  .bot-state-grid span { margin-bottom: 10px; }
  .maintenance-grid { grid-template-columns: 1fr; }
  .maintenance-grid article,
  .maintenance-grid article:nth-child(2n),
  .maintenance-grid article:nth-last-child(-n + 2) { min-height: auto; border-right: 0; border-bottom: 1px solid #e1e8ed; }
  .maintenance-grid article:last-child { border-bottom: 0; }
  .completion-panel { padding: 25px; }
  .completion-panel ul { grid-template-columns: 1fr; }
}
