body.install-page { margin: 0; min-width: 320px; color: var(--ink); background: #f5f8f6; line-height: 1.6; }
.wizard-hero { padding: 58px 0 45px; background: radial-gradient(circle at 15% 0%, rgb(183 234 99 / 35%), transparent 19rem), #f1f8f3; }.wizard-hero h1 { max-width: 670px; margin-bottom: 10px; }.wizard-hero > .site-wrap > p:last-of-type { max-width: 690px; margin-bottom: 25px; color: var(--muted); font-size: 1.06rem; }.device-selector { display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.device-tab { min-height: 42px; padding: 8px 14px; border: 0; border-radius: 10px; background: transparent; color: #466158; font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; }.device-tab.active { background: var(--forest); color: #fff; }.device-tab:focus-visible { outline: 3px solid rgb(7 95 75 / 45%); outline-offset: 2px; }
.wizard-section { padding: 58px 0 84px; }.wizard-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .34fr); align-items: start; gap: 32px; }.wizard-main { max-width: 780px; }.wizard-main h2, .alternate-guide h2 { margin-bottom: 9px; color: var(--forest); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.16; }.wizard-lead { margin-bottom: 28px; color: var(--muted); }
.wizard-steps { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }.wizard-step { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 16px; padding: 21px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }.wizard-step.final-step { border-color: #a4ccb9; background: #f7fbf8; }.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--mint); color: var(--forest); font-weight: 900; }.step-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.step-heading h3 { margin: 0; color: var(--forest); font-size: 1.1rem; }.wizard-step p { margin: 9px 0; color: #52655e; font-size: .94rem; }.verify-status { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; background: #e5f6eb; color: #16623d; font-size: .72rem; font-weight: 900; }.verify-status::before { content: "✓ "; }.verify-status.neutral { background: #edf1ee; color: #52655e; }.verify-status.neutral::before { content: "○ "; }.verify-status.warn { background: #fff1df; color: #895917; }.verify-status.warn::before { content: "! "; }.step-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }.step-note { padding: 9px 10px; border-right: 3px solid #bdd9cc; background: #f4faf6; color: #54675f !important; font-size: .82rem !important; }.compact-instructions { display: grid; gap: 7px; margin: 13px 0; padding-right: 20px; color: #445c53; }.confirm-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; padding: 11px; border-radius: 11px; background: #f3f8f5; color: var(--forest); font-size: .9rem; font-weight: 800; }.confirm-row input { width: 19px; height: 19px; accent-color: var(--forest); }.readiness-list { display: grid; gap: 9px; padding: 0; margin: 14px 0 18px; list-style: none; }.readiness-list li { color: #586b64; font-size: .9rem; }.readiness-list li span { margin-left: 6px; color: #7a8c85; font-weight: 900; }.readiness-list li.ready { color: #16623d; font-weight: 800; }.readiness-list li.ready span { color: #16623d; }.readiness-list li.needs-action { color: #895917; }.readiness-list li.needs-action span { color: #895917; }
.wizard-sidecard { position: sticky; top: 98px; padding: 25px; border-radius: 21px; background: var(--forest); color: #fff; }.wizard-sidecard > span { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 19px; border-radius: 12px; background: var(--lime); color: var(--forest); font-size: 1.2rem; }.wizard-sidecard h2 { margin: 0 0 9px; color: #fff; font-size: 1.35rem; line-height: 1.2; }.wizard-sidecard p { margin-bottom: 17px; color: #d9ece3; font-size: .92rem; }.wizard-sidecard .text-link { color: var(--lime); }.alternate-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .36fr); align-items: start; gap: 55px; }.alternate-guide > div > p { max-width: 600px; color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .wizard-layout, .alternate-guide { grid-template-columns: 1fr; }.wizard-sidecard { position: static; }.wizard-hero { padding-top: 38px; }.wizard-section { padding-top: 40px; }.step-heading { align-items: flex-start; flex-direction: column; }.verify-status { flex: 0 0 auto; } }
@media (max-width: 500px) { .device-selector { display: grid; grid-template-columns: 1fr; width: 100%; }.device-tab { width: 100%; }.wizard-step { grid-template-columns: 31px minmax(0, 1fr); gap: 11px; padding: 16px; }.step-number { width: 30px; height: 30px; border-radius: 9px; }.step-actions .site-button { width: 100%; }.wizard-sidecard { padding: 20px; } }

/* Install wizard visual refresh — no changes to helper validation logic. */
body.install-page { background: #f4f7ef; color: #35544b; }
.wizard-hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 84px) 0 clamp(56px, 9vw, 94px); background: radial-gradient(circle at 13% 10%, rgb(191 245 113 / 32%), transparent 18rem), radial-gradient(circle at 88% 110%, rgb(215 197 255 / 28%), transparent 23rem), linear-gradient(135deg, #0c4c42, #082d29 72%); color: #fffdf8; }
.wizard-hero::after { position: absolute; inset: auto -8rem -10rem auto; width: 24rem; height: 24rem; border: 1px solid rgb(255 255 255 / 12%); border-radius: 50%; content: ""; }
.wizard-hero .site-wrap { position: relative; z-index: 1; }.wizard-hero h1 { max-width: 760px; color: #fffdf8; font-size: clamp(2.45rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.055em; }.wizard-hero > .site-wrap > p:last-of-type { max-width: 650px; color: #dcece5; font-size: 1.08rem; }.device-selector { padding: 6px; border-color: rgb(255 255 255 / 18%); border-radius: 17px; background: rgb(255 255 255 / 11%); backdrop-filter: blur(9px); }.device-tab { color: #dcece5; }.device-tab.active { background: #bff571; color: #082d29; }
.wizard-section { padding: 0 0 86px; }.wizard-layout { position: relative; width: min(1110px, calc(100% - 40px)); margin: -32px auto 0; padding: clamp(33px, 6vw, 62px) clamp(17px, 4vw, 40px); border: 1px solid #deebe1; border-radius: 29px; background: #fffef9; box-shadow: 0 22px 52px rgb(5 42 36 / 12%); }.wizard-main h2, .alternate-guide h2 { color: #082d29; font-size: clamp(1.85rem, 3.5vw, 2.7rem); letter-spacing: -.04em; }.wizard-lead, .alternate-guide > div > p { color: #577066; }
.wizard-steps { gap: 15px; }.wizard-step { padding: 23px; border-color: #d6e4da; border-radius: 20px; background: #fffef9; box-shadow: 0 9px 22px rgb(5 42 36 / 5%); }.wizard-step:nth-child(2n) { background: #f7f3ff; }.wizard-step.final-step { border-color: #b4d5c3; background: #e5f3e9; }.step-number { background: #bff571; color: #082d29; }.step-heading h3 { color: #082d29; }.wizard-step p { color: #4d675d; }.step-note { border-right-color: #bff571; background: #eef7f0; }.confirm-row { background: #eef7f0; color: #082d29; }.wizard-sidecard { border: 1px solid rgb(255 255 255 / 9%); background: linear-gradient(155deg, #0c4c42, #082d29); box-shadow: 0 20px 42px rgb(5 42 36 / 19%); }.wizard-sidecard > span { background: #bff571; color: #082d29; }.wizard-sidecard .text-link { color: #bff571; }
@media (max-width: 760px) { .wizard-layout { width: min(100% - 28px, 1110px); margin-top: -20px; padding: 32px 17px 65px; border-radius: 23px; }.wizard-hero { padding-top: 43px; } }


/* iPhone installation wizard — compact, one clear action per screen. */
.ios-wizard-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .3fr); gap: 28px; width: min(1040px, calc(100% - 32px)); margin: -36px auto 0; padding: 0 0 calc(58px + env(safe-area-inset-bottom)); }
.ios-install-wizard { min-height: 570px; padding: clamp(24px, 5vw, 46px); border: 1px solid #d9e8df; border-radius: 28px; background: #fffef9; box-shadow: 0 22px 52px rgb(5 42 36 / 12%); }
.ios-wizard-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid #e3ece6; }
.ios-wizard-header h2 { margin: 0 0 7px; color: #082d29; font-size: clamp(1.7rem, 4vw, 2.45rem); letter-spacing: -.045em; }
.ios-wizard-header p { max-width: 520px; margin: 0; color: #3c5e52; font-weight: 650; }
.ios-wizard-header .site-eyebrow { margin-bottom: 7px; }
.ios-progress-wrap { flex: 0 0 65px; text-align: left; color: #082d29; font-size: .87rem; font-weight: 900; }
.ios-progress-track { position: relative; display: block; width: 65px; height: 7px; margin-top: 7px; overflow: hidden; border-radius: 99px; background: #e1ebe4; }
.ios-progress-track::after { position: absolute; inset: 0 auto 0 0; width: var(--ios-progress, 33.333%); border-radius: inherit; background: #bff571; content: ""; transition: width .25s ease; }
.ios-wizard-screen { max-width: 635px; padding: 34px 0 8px; opacity: 1; transform: none; filter: none; visibility: visible; animation: none; }
/* Safari can preserve the starting opacity of an animation after a hidden attribute toggle. The current screen must always be fully readable. */
.ios-wizard-screen:not([hidden]) { opacity: 1 !important; transform: none !important; filter: none !important; visibility: visible !important; animation: none !important; }
.ios-wizard-screen[hidden] { display: none !important; }

.ios-step-mark { position: relative; display: grid; width: 82px; height: 82px; margin-bottom: 22px; place-items: center; overflow: hidden; border-radius: 25px; background: linear-gradient(145deg, #0c4c42, #082d29); color: #bff571; box-shadow: 0 18px 38px rgb(5 42 36 / 18%); font-size: 28px; font-weight: 900; }
.ios-phone-icon { transform: rotate(-12deg); font-size: 42px; line-height: 1; }
.ios-store-badge { position: absolute; bottom: 9px; right: 8px; padding: 3px 6px; border-radius: 7px; background: #fffef9; color: #082d29; font-size: 8px; letter-spacing: .01em; }
.ios-step-mark-settings span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: #fffef9; color: #082d29; font-size: 16px; }
.ios-step-mark-settings i, .ios-step-mark-settings b { position: absolute; display: block; width: 8px; height: 8px; border-radius: 50%; background: #bff571; animation: ios-pulse 1.6s infinite; }
.ios-step-mark-settings i { top: 15px; left: 15px; }.ios-step-mark-settings b { bottom: 15px; right: 15px; animation-delay: .4s; }
.ios-step-mark-script { background: linear-gradient(145deg, #f0e9ff, #d8f2e3); color: #082d29; }.ios-step-mark-script span { position: relative; z-index: 1; font-size: 23px; }.ios-step-mark-script i { position: absolute; width: 105px; height: 105px; border: 1px solid #84c49d; border-radius: 50%; animation: ios-orbit 4s linear infinite; }
.ios-step-mark-check { background: #e0f6e9; color: #126940; font-size: 38px; }.ios-step-mark-complete { background: #126940; color: #dff894; font-size: 39px; }
.ios-step-kicker { margin: 0 0 8px; color: #497b53; font-size: .83rem; font-weight: 900; }
.ios-wizard-screen h3 { margin: 0 0 10px; color: #082d29; font-size: clamp(1.65rem, 3.8vw, 2.3rem); letter-spacing: -.04em; }
.ios-wizard-screen > p:not(.ios-step-kicker):not(.ios-action-note):not(.ios-verify-status):not(.ios-help-copy):not(.ios-version-card) { max-width: 545px; margin: 0 0 23px; color: #4d675d; font-size: 1.04rem; line-height: 1.62; }
.ios-primary-action { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding-inline: 25px; border-radius: 15px; font-size: 1rem; }
.ios-primary-action[disabled] { cursor: wait; opacity: .68; }
.ios-action-note, .ios-verify-status { margin: 13px 0 0; color: #49685d; font-size: .86rem; font-weight: 650; }
.ios-verify-status.warn { color: #895917; font-weight: 800; }
.ios-help-link { display: block; margin-top: 18px; padding: 0; border: 0; background: transparent; color: #2d6d56; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.ios-help-copy { max-width: 535px; margin: 11px 0 0; padding: 12px 14px; border-right: 3px solid #bff571; border-radius: 9px; background: #eff8f1; color: #40594f; font-size: .88rem; line-height: 1.55; }
.ios-tip-card { display: grid; gap: 4px; max-width: 520px; margin: 0 0 23px; padding: 14px 16px; border-radius: 15px; background: #eef8ef; color: #082d29; }
.ios-tip-card strong { font-size: .93rem; }.ios-tip-card span { color: #547165; font-size: .86rem; }
.ios-version-card { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 0 0 23px; padding: 13px 15px; border-radius: 14px; background: #e8f7ed; color: #126940; font-weight: 850; }.ios-version-card span { color: #547165; font-size: .87rem; font-weight: 700; }.ios-version-card b { color: #126940; }
.ios-wizard-sidecard { align-self: start; position: sticky; top: 98px; padding: 25px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 21px; background: linear-gradient(155deg, #0c4c42, #082d29); box-shadow: 0 20px 42px rgb(5 42 36 / 19%); color: #fff; }.ios-wizard-sidecard > span { display: grid; width: 39px; height: 39px; margin-bottom: 19px; place-items: center; border-radius: 12px; background: #bff571; color: #082d29; font-size: 1.2rem; }.ios-wizard-sidecard h2 { margin: 0 0 9px; color: #fff; font-size: 1.35rem; line-height: 1.2; }.ios-wizard-sidecard p { margin-bottom: 17px; color: #d9ece3; font-size: .92rem; }.ios-wizard-sidecard .text-link { color: #bff571; }
@keyframes ios-screen-in { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes ios-pulse { 0%, 100% { transform: scale(.72); opacity: .55; } 50% { transform: scale(1.14); opacity: 1; } }
@keyframes ios-orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ios-wizard-screen, .ios-step-mark-settings i, .ios-step-mark-settings b, .ios-step-mark-script i { animation: none; } .ios-progress-track::after { transition: none; } }
@media (max-width: 760px) { .ios-wizard-shell { grid-template-columns: 1fr; width: min(100% - 24px, 660px); margin-top: -22px; }.ios-install-wizard { min-height: 555px; padding: 28px 20px calc(36px + env(safe-area-inset-bottom)); border-radius: 23px; }.ios-wizard-sidecard { position: static; }.ios-wizard-header { gap: 13px; }.ios-wizard-header p { font-size: .93rem; }.ios-wizard-screen { padding-top: 30px; }.ios-primary-action { width: 100%; }.ios-progress-wrap { flex-basis: 49px; }.ios-progress-track { width: 49px; } }
@media (max-width: 390px) { .ios-install-wizard { padding-inline: 17px; }.ios-step-mark { width: 73px; height: 73px; border-radius: 22px; }.ios-wizard-header h2 { font-size: 1.56rem; }.ios-wizard-screen h3 { font-size: 1.55rem; } }
