:root { --install-yellow: #ffd84d; --install-ink: #24322e; --install-line: #e7dfca; }
.appDownloadPage { margin: 0; min-height: 100vh; color: var(--install-ink); background: #fffdf7; }
.appDownloadPage *, .appDownloadPage *::before, .appDownloadPage *::after { box-sizing: border-box; }
.appDownloadPage section { padding: 0; border-bottom: 0; }
.installMain, .installDetailMain { padding: 72px 0 90px; }
.installHero { text-align: center; max-width: 760px; }
.installHero h1, .installDetailHero h1 { margin: 8px 0 14px; color: #172823; font-size: clamp(32px, 5vw, 54px); line-height: 1.14; overflow-wrap: anywhere; }
.installHero > p:last-child, .installDetailHero > p:last-of-type { color: #5f6d68; font-size: 18px; line-height: 1.75; }
.appChoiceGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.appChoiceCard { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 30px; border: 1px solid var(--install-line); border-radius: 26px; background: #fff; box-shadow: 0 18px 45px rgba(55, 48, 27, .08); }
.appChoiceCard > div { min-width: 0; }
.appChoiceCard .button { grid-column: 1 / -1; justify-content: center; text-align: center; }
.appChoiceCard h2 { margin: 5px 0 8px; font-size: 27px; }
.appChoiceCard p { margin: 0; color: #64716c; line-height: 1.65; }
.appChoiceCard strong { display: block; margin-top: 12px; color: #725500; font-size: 14px; }
.appChoiceIcon { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 22px; background: var(--install-yellow); color: #4f3b00; font-size: 14px; font-weight: 900; }
.parentChoice .appChoiceIcon, .parentInstallPage .appChoiceIcon { background: #f4e0cf; color: #67442d; }
.appAudience, .deviceName { margin: 0; color: #806000; font-size: 14px; font-weight: 900; letter-spacing: .04em; }
.installHelp { margin-top: 30px; padding: 26px 30px; border-radius: 22px; background: #fff4c7; }
.installHelp h2, .installTrouble h2 { margin: 0 0 12px; font-size: 20px; }
.installHelp ul { margin: 0; padding-left: 20px; line-height: 1.8; }
.installFooter { padding: 28px; border-top: 1px solid var(--install-line); text-align: center; }
.installFooter a { font-weight: 800; }
.installSimpleHeader { display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 0 max(22px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--install-line); background: #fff; }
.installSimpleHeader a { font-weight: 850; }
.installSimpleHeader img { width: min(250px, 55vw); height: auto; }
.installDetailMain { max-width: 960px; }
.installDetailHero { display: grid; justify-items: center; text-align: center; }
.installDetailHero .appChoiceIcon { margin-bottom: 18px; }
.installActions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.installActions .button { min-width: 190px; justify-content: center; }
.installActions [hidden] { display: none !important; }
.installGuidance { margin: 14px 0 0; padding: 14px 18px; border-radius: 12px; background: #fff4c7; color: #614900; font-weight: 800; }
.standaloneRecovery { width: min(620px, 100%); margin-top: 12px; text-align: left; }
.standaloneRecovery[hidden] { display: none !important; }
.standaloneRecovery label { display: block; margin-bottom: 6px; font-weight: 800; }
.standaloneRecovery > div { display: flex; gap: 8px; }
.standaloneRecovery input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid var(--install-line); border-radius: 6px; background: #fff; color: var(--install-ink); }
.standaloneRecovery .button { flex: 0 0 auto; }
.deviceGuideGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.deviceGuideGrid article { padding: 28px; border: 1px solid var(--install-line); border-radius: 24px; background: #fff; }
.deviceGuideGrid h2 { margin: 7px 0 18px; font-size: 23px; }
.deviceGuideGrid ol { margin: 0; padding-left: 22px; color: #56645f; line-height: 1.9; }
.deviceGuideGrid li + li { margin-top: 7px; }
.installTrouble { margin-top: 20px; padding: 24px 28px; border-radius: 20px; background: #f3f5f2; }
.installTrouble p { margin: 0; color: #596761; line-height: 1.75; }
@media (max-width: 760px) {
  .installMain, .installDetailMain { padding: 42px 18px 64px; }
  .installDetailMain.wrap { width: 100%; }
  .appChoiceGrid, .deviceGuideGrid { grid-template-columns: 1fr; }
  .appChoiceGrid { margin-top: 28px; padding: 0 18px; }
  .appChoiceCard { width: 100%; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 23px; border-radius: 22px; text-align: center; }
  .appChoiceIcon { width: 58px; height: 58px; border-radius: 18px; }
  .installHelp { margin: 20px 18px 0; padding: 22px; }
  .installSimpleHeader { min-height: 64px; padding: 0 18px; }
  .installSimpleHeader img { width: 190px; max-width: 55%; }
  .installActions { width: 100%; }
  .installActions .button { width: 100%; }
  .standaloneRecovery > div { display: grid; }
  .standaloneRecovery .button { width: 100%; }
}
