:root { color-scheme: light; --green: #11712b; --ink: #153f23; --muted: #606e63; --orange: #66ac13; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; font-family: "Segoe UI", Arial, sans-serif; color: var(--ink); background: radial-gradient(ellipse at 50% 100%, #edf6e9 0, #fafcf8 40%, #fff 72%); }
main { width: 100%; max-width: 920px; margin: auto; padding: 40px 22px 25px; text-align: center; }
.brand { margin: 0 auto 26px; width: 245px; }
.brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid #dbe8d7; background: #f3f8ef; color: #45683b; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .4px; }
.status span { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
h1 { margin: 14px 0 32px; font-size: clamp(36px, 6.5vw, 64px); line-height: 1.12; font-weight: 750; letter-spacing: -2.4px; color: var(--green); }
.dot { color: var(--orange); }
.install { max-width: 490px; margin: 0 auto; padding: 25px 32px 19px; border: 1px solid #e2eadd; background: #ffffffed; border-radius: 22px; box-shadow: 0 12px 40px #284d2010; }
.install-heading { display: flex; justify-content: center; align-items: center; gap: 9px; }
.phone-icon { width: 21px; height: 25px; color: var(--green); flex-shrink: 0; }
.phone-icon svg { width: 100%; height: 100%; }
h2 { font-size: 19px; font-weight: 650; letter-spacing: -.35px; margin: 0; }
.install p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 11px 0 20px; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid #ef9f3d; outline-offset: 4px; }
.primary { display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; background: var(--green); color: #fff; min-height: 49px; width: 100%; padding: 12px 18px; font-size: 14px; font-weight: 600; transition: background .18s, transform .18s; }
.primary svg { width: 20px; height: 20px; }
.primary:hover { background: #0c5b22; }
.primary:active { transform: translateY(1px); }
.primary:disabled { cursor: default; background: #577b60; transform: none; }
.help { background: none; border: 0; padding: 13px 12px 4px; min-height: 44px; color: #53694e; font-size: 12px; text-underline-offset: 3px; }
.help:hover { text-decoration: underline; }
.help span { padding-left: 4px; font-size: 15px; }
.install .feedback, .install .no-script { font-size: 12px; margin: 10px 0 0; }
.offline { font-size: 12px; line-height: 1.6; color: #785b2e; max-width: 490px; margin: 18px auto 0; }
footer { padding: 10px 22px 24px; text-align: center; font-size: 11px; letter-spacing: 1.5px; color: #7b8b77; }
[hidden] { display: none !important; }
dialog { width: min(530px, calc(100% - 28px)); max-height: calc(100svh - 36px); margin: auto; border: 1px solid #e1e8dd; border-radius: 24px; padding: 26px; color: var(--ink); background: #fff; box-shadow: 0 24px 90px #0a271944; }
dialog::backdrop { background: #0a251b70; backdrop-filter: blur(5px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.dialog-eyebrow { font-size: 10px; letter-spacing: 1.2px; color: var(--green); font-weight: 700; }
.close { display: grid; place-items: center; background: #f0f5ed; border: 0; color: #506149; border-radius: 50%; width: 44px; height: 44px; font-size: 25px; }
dialog h2 { font-size: 28px; letter-spacing: -.8px; line-height: 1.2; }
.guide-intro { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 10px 0 20px; }
.devices { display: flex; gap: 4px; padding: 4px; background: #f2f5ef; border-radius: 11px; }
.devices button { flex: 1; border: 0; background: transparent; color: #65705f; min-height: 44px; padding: 8px 4px; border-radius: 8px; font-size: 12px; }
.devices button[aria-pressed="true"] { background: #fff; color: var(--green); box-shadow: 0 2px 6px #284d2014; font-weight: 700; }
ol { list-style: none; counter-reset: steps; padding: 0; margin: 24px 0 18px; }
li { counter-increment: steps; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; font-size: 14px; line-height: 1.6; color: #4e5e4c; }
li::before { content: counter(steps); flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #edf5e7; color: var(--green); font-size: 12px; font-weight: 700; }
li strong { color: var(--ink); font-weight: 650; }
.guide-note { font-size: 12px; line-height: 1.7; color: #667460; background: #f6f8f3; border-radius: 10px; padding: 12px 14px; }
.guide-bottom { border-top: 1px solid #e7ece2; padding-top: 16px; margin: 18px 0 0; font-size: 11px; line-height: 1.6; color: #74806d; }
@media (max-width: 560px) {
  main { padding: 32px 20px 20px; }
  .brand { width: 205px; margin-bottom: 23px; }
  h1 { font-size: clamp(30px, 8.7vw, 44px); letter-spacing: -1.3px; margin: 17px 0 28px; }
  .install { padding: 22px 21px 16px; border-radius: 18px; }
  h2 { font-size: 17px; }
  .install p { font-size: 13px; margin-top: 10px; }
  footer { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  dialog { padding: 21px; border-radius: 20px; }
  dialog h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Launch copy stays compact with the home-screen install panel. */
h1 { margin-bottom: 12px; }
.launch-copy { margin: 0 0 29px; font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (max-width: 560px) { h1 { font-size: clamp(29px, 8vw, 42px); margin-bottom: 12px; } .launch-copy { font-size: 14px; max-width: 280px; margin-left: auto; margin-right: auto; } }
