/* Repair & Second Life: extends the existing Harbor Tech Hub visual system. */
.revival-hero .hero__content { padding-top: calc(var(--diag) + 28px); padding-bottom: 54px; }
.revival-hero .hero__title { font-size: clamp(36px, 4.1vw, 62px); line-height: 1.12; max-width: 840px; }
.revival-hero .hero__lead { max-width: 640px; margin-top: 20px; }
.revival-hero .hero__media::before { background: linear-gradient(90deg, var(--navy-hero) 0%, rgba(0,33,66,.92) 24%, rgba(0,33,66,.5) 62%, rgba(0,33,66,.16) 100%); }
.breadcrumb { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; color: #D6E2EF; font-size: 14px; }
.breadcrumb:hover { text-decoration: underline; text-underline-offset: 4px; }
.revival-hero__note { margin: 24px 0 0 5px; font-size: 15px; color: #D6E2EF; }
.page-jumps { background: var(--gray-bg); border-bottom: 1px solid var(--card-border); }
.page-jumps > div { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 12px; padding-bottom: 12px; }
.page-jumps a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--navy-text); }
.page-jumps a:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-section { padding: 72px 0; scroll-margin-top: 24px; }
.detail-section--light { background: var(--gray-bg); }
.detail-section h2 { max-width: 900px; font-size: clamp(28px, 3vw, 42px); line-height: 1.18; letter-spacing: -.025em; }
.detail-section h3 { font-size: 22px; line-height: 1.3; }
.detail-eyebrow { color: #005DA8; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-head); font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.detail-section p { line-height: 1.7; }
.detail-section .detail-lead { margin-top: 20px; font-size: 19px; line-height: 1.6; }
.detail-lead--wide { max-width: 780px; }
.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.detail-split > div > p + p { margin-top: 18px; }
.detail-panel { border: 1px solid var(--card-border); border-radius: 10px; background: var(--white); padding: 30px; }
.detail-panel > p { margin-top: 14px; }
.detail-panel .panel-note { font-size: 14px; color: var(--muted); margin-top: 22px; border-top: 1px solid var(--card-border); padding-top: 18px; }
.check-list { margin-top: 22px; }
.check-list li { position: relative; padding-left: 28px; margin-top: 14px; line-height: 1.65; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #005DA8; font-weight: 800; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 20px; font-weight: 700; color: var(--navy-text); text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: #005DA8; }
.upgrade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.topic-label { display: inline-block; color: #005DA8; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.linux-section { background: var(--navy-hero); color: #D6E2EF; }
.linux-heading { display: flex; gap: 28px; align-items: center; }
.linux-section .linux-mascot { display: grid; place-items: center; flex: 0 0 116px; width: 116px; height: 132px; padding: 14px; border-radius: 24px; background: #EAF3FB; }
.linux-heading img { display: block; width: 84px; height: auto; }
.linux-section .linux-heading__note { margin-top: 16px; color: #D6E2EF; font-size: 16px; }
.linux-section .linux-art-credit { margin-top: 8px; font-size: 12px; color: #D6E2EF; }
.linux-art-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.linux-section .detail-eyebrow { color: var(--orange); }
.linux-section h2, .linux-section h3, .linux-section h4 { color: var(--white); }
.linux-columns { margin-top: 42px; }
.linux-columns h3 { margin-bottom: 14px; }
.linux-columns p + h3 { margin-top: 32px; }
.linux-fit { background: #0D3258; border: 1px solid #35506D; border-radius: 12px; padding: 30px; }
.linux-fit .check-list li::before { color: var(--orange); }
.compatibility-note { border-top: 1px solid #35506D; padding-top: 22px; margin-top: 26px; }
.compatibility-note h4 { margin: 0 0 10px; font-size: 17px; }
.linux-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 36px; row-gap: 10px; border-top: 1px solid #35506D; margin-top: 42px; padding-top: 28px; }
.linux-bottom > p { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.linux-bottom .text-link { color: var(--orange); margin-top: 0; }
.linux-bottom__ask { grid-column: 2; grid-row: 2; justify-self: end; }
.linux-preview { display: contents; }
.linux-preview__toggle { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 14px 16px; border: 1px solid #AFC4D9; border-radius: 7px; color: var(--white); font-weight: 700; cursor: pointer; list-style: none; }
.linux-preview__toggle::-webkit-details-marker { display: none; }
.linux-preview__toggle::marker { content: ""; }
.linux-preview__toggle span { color: var(--orange); font-size: 20px; transition: transform .2s ease; }
.linux-preview[open] .linux-preview__toggle span { transform: rotate(180deg); }
.linux-preview__toggle:focus-visible, .linux-desktop button:focus-visible { outline: 3px solid #FFB56D; outline-offset: 3px; }
.linux-preview__content { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; padding: 20px; border: 1px solid #35506D; border-radius: 12px; background: #0D3258; }
.linux-desktop [hidden] { display: none !important; }
.linux-preview__heading h3 { margin: 0; font-size: 18px; }
.linux-preview__heading p { margin: 5px 0 14px; color: #D6E2EF; font-size: 14px; }
.linux-desktop { position: relative; isolation: isolate; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; border: 1px solid #61758A; border-radius: 8px; background: #242424; color: #fff; }
.linux-desktop__wallpaper { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; pointer-events: none; user-select: none; }
.linux-desktop__shortcuts { position: absolute; z-index: 1; top: 16px; left: 14px; display: grid; gap: 10px; }
.linux-desktop__shortcuts button { display: grid; justify-items: center; gap: 3px; width: 70px; min-height: 64px; padding: 5px; border: 1px solid transparent; border-radius: 4px; color: #fff; background: transparent; font: inherit; font-size: 12px; text-shadow: 0 1px 3px #000; }
.linux-desktop__shortcuts button:hover { background: #ffffff20; }
.linux-desktop__icon { color: #EAF3FB; font-size: 24px; line-height: 1; }
.linux-desktop__icon--folder { color: #A7C979; }
.linux-desktop__taskbar { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 5px 10px; background: #202020ed; font-size: 13px; }
.linux-desktop__taskbar button { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 8px; border: 1px solid transparent; border-radius: 4px; color: #fff; background: transparent; font: inherit; }
.linux-desktop__taskbar button:hover, .linux-desktop__taskbar button[aria-expanded="true"] { background: #ffffff20; }
.linux-desktop__mint { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px 10px 5px 10px; color: #fff; background: linear-gradient(145deg, #B9DB81, #76A843); font-weight: 800; }
.linux-desktop__clock { margin-left: auto; }
.linux-desktop__menu { position: absolute; z-index: 2; bottom: 44px; left: 8px; max-height: calc(100% - 52px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 3px; width: min(300px, calc(100% - 16px)); padding: 14px; border: 1px solid #656565; color: #fff; background: #292929f5; box-shadow: 0 8px 20px #0008; }
.linux-desktop__menu strong { padding: 0 6px 5px; font-size: 14px; }
.linux-desktop__menu button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px; border: 0; color: #f7f7f7; background: transparent; text-align: left; font: inherit; font-size: 14px; }
.linux-desktop__menu button:hover { background: #72934f; }
.linux-desktop__window { position: absolute; z-index: 2; top: 28px; left: 100px; width: min(340px, calc(100% - 120px)); min-height: 150px; border: 1px solid #c7c7c7; border-radius: 7px; color: #202020; background: #f5f5f5; box-shadow: 0 8px 22px #0008; }
.linux-desktop__window header { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 5px 10px; border-bottom: 1px solid #d7d7d7; background: #e8e8e8; }
.linux-desktop__window header button { width: 32px; height: 32px; border: 0; border-radius: 4px; color: #333; background: transparent; font-size: 22px; }
.linux-desktop__window p { margin: 0; padding: 14px; color: #333; font-size: 14px; }
.linux-preview__status, .linux-preview__note { margin: 10px 0 0; color: #D6E2EF; font-size: 13px; }
.linux-preview__note { color: #B9C9D9; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .linux-preview__toggle span { transition: none; } }
.reading-links { font-size: 14px; margin-top: 28px; }
.reading-links a { display: inline-block; padding: 6px 0; color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 36px 0 0; list-style: none; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--navy); font-family: var(--font-head); font-weight: 800; margin-bottom: 18px; }
.process-grid h3 { font-size: 20px; }
.process-grid p { margin-top: 12px; font-size: 15px; }
.faq-wrap { max-width: 1000px; }
.faq-wrap h2 { margin-bottom: 30px; }
.faq-wrap details { border-top: 1px solid #CED9E5; }
.faq-wrap details:last-child { border-bottom: 1px solid #CED9E5; }
.faq-wrap summary { padding: 22px 4px; cursor: pointer; color: var(--navy-text); font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.faq-wrap details p { padding: 0 24px 24px; }
.contact-band__inner > div:first-child { flex: 1 1 600px; }
.contact-band .contact-area { font-size: 14px; max-width: 760px; margin-top: 18px; }
@media (max-width: 1080px) {
  .upgrade-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .detail-section { padding: 48px 0; }
  .detail-split { grid-template-columns: 1fr; }
  .revival-hero .hero__content { padding-bottom: 40px; }
  .revival-hero .hero__media::before { background: rgba(0,33,66,.86); }
  .revival-hero .hero__actions .btn { min-width: 0; height: auto; min-height: 58px; padding: 14px; white-space: normal; text-align: center; }
  .revival-hero__note { margin-left: 0; }
  .page-jumps > div { gap: 0 20px; }
  .detail-panel, .linux-fit { padding: 24px; }
  .linux-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .linux-section .linux-mascot { flex-basis: auto; width: 88px; height: 104px; padding: 10px; border-radius: 18px; }
  .linux-heading img { width: 68px; }
  .linux-columns { margin-top: 30px; }
  .linux-bottom { grid-template-columns: 1fr; align-items: start; row-gap: 16px; }
  .linux-bottom > p { grid-column: 1; grid-row: 1; }
  .linux-preview__toggle { grid-column: 1; grid-row: 2; }
  .linux-bottom__ask { grid-column: 1; grid-row: 3; justify-self: start; }
  .linux-preview__content { grid-column: 1; grid-row: 4; padding: 16px; }
  /* Keep the applications menu and taskbar inside the phone preview. */
  .linux-desktop { aspect-ratio: auto; min-height: 300px; height: clamp(300px, 65vw, 540px); }
  .process-grid { grid-template-columns: 1fr; }
  .contact-band__actions { width: 100%; }
  .contact-band__actions .btn { min-width: 0; height: auto; min-height: 58px; padding: 14px 20px; white-space: normal; text-align: center; }
}
