/* Public pages: product home (/), course making (/create) and download (/download).
   Base controls, top bar and theme tokens come from parent.css. */
.site { background: var(--paper); }
.site .topbar { background: #fffdf8ed; border-bottom-color: transparent; }
.site > main { max-width: 960px; padding: 0 24px 72px; }
.site section[id] { scroll-margin-top: 80px; }

/* Shared pieces */
.hero { padding: 88px 0 72px; text-align: center; }
.hero h1 { font-size: 60px; line-height: 1.15; letter-spacing: -.01em; }
.hero h1 span, .home-hero h1 span { background: linear-gradient(transparent 62%, var(--sun) 62% 92%, transparent 92%); }
.lead { max-width: 520px; margin: 24px auto 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero .sun-button { min-height: 60px; margin-top: 36px; padding: 14px 36px; font-size: 18px; box-shadow: 0 10px 28px #f5b82e59; }
.hero .sun-button .icon { width: 20px; height: 20px; }
.hero-status { min-height: 24px; margin: 20px 0 0; font-size: 15px; font-weight: 700; }
.hero-status a { color: inherit; }
.hero-note { margin: 4px 0 0; color: var(--subtle); font-size: 13px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; color: var(--forest); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps article { padding: 28px 24px; border-radius: var(--card-radius); background: #fff; border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); font-size: 17px; font-weight: 800; }
.steps :is(h2, h3) { margin: 20px 0 8px; font-size: 20px; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.site .faq { max-width: 640px; margin: 64px auto 0; }

.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 14px 32px; border: 1px solid transparent; border-radius: 999px; font-size: 17px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background .15s, border-color .15s; }
.cta .icon { width: 20px; height: 20px; }
.cta-sun { background: var(--sun); color: #13231c; box-shadow: 0 10px 28px #f5b82e59; }
.cta-sun:hover { background: #f5b82e; }
.cta-line { background: #fff; border-color: var(--primary-soft); }
.cta-line:hover { background: var(--primary-light); }
.cta-dark { background: var(--primary); color: #fff; }
.cta-dark:hover { background: var(--night); }
.cta-small { min-height: 44px; padding: 10px 22px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; }
.text-link .icon { width: 16px; height: 16px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: 12px; font-weight: 700; }
.tag-sun { background: var(--sun-light); color: var(--sun-ink); }
.tag-quiet { background: var(--canvas); color: var(--muted); }

.site-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; padding: 0 24px 40px; color: var(--subtle); font-size: 13px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Product home */
.wide > main { max-width: 1120px; padding-bottom: 96px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; padding: 64px 0 88px; }
.home-hero h1 { font-size: 56px; line-height: 1.18; letter-spacing: -.01em; }
.home-hero h1 span { display: block; width: fit-content; }
.home-hero .lead { max-width: 480px; margin-inline: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.home-hero .hero-note { margin-top: 20px; }

.phone-stage { position: relative; display: grid; justify-items: center; margin: 0; padding: 24px 0 0; }
.phone-stage::before { content: ""; position: absolute; top: 0; left: 50%; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--mint-light); transform: translateX(-50%); }
.phone { position: relative; width: 304px; padding: 8px; border-radius: 46px; background: #173d30; box-shadow: 0 30px 60px #173d3033; }
.phone-screen { padding: 22px 14px 16px; border-radius: 38px; background: #f7f6f1; font-size: 12px; line-height: 1.4; }
/* Keep the mockup typography at its intended size on mobile browsers. */
.phone-screen { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.phone-screen :is(p, ul) { margin: 0; padding: 0; list-style: none; }
.phone-screen small { color: var(--subtle); font-size: 10px; font-weight: 400; }
.ph-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.ph-title .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #fff; }
.ph-score { margin-top: 14px; padding: 14px; border-radius: 20px; background: linear-gradient(135deg, #1e6b4e, #174f3b); color: #fff; }
.ph-score small { color: #ffffffb3; }
.ph-score p { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 10px; }
.ph-score p .icon { align-self: center; width: 26px; height: 26px; color: var(--sun); fill: var(--sun); }
.ph-score strong { font-size: 40px; font-weight: 800; line-height: 1; }
.ph-score ul { display: flex; gap: 6px; }
.ph-score li { padding: 3px 9px; border-radius: 999px; background: #ffffff1f; font-size: 10px; }
.ph-score li.on { background: var(--sun); color: #13231c; font-weight: 700; }
.ph-label { margin: 16px 0 8px !important; font-size: 13px; font-weight: 800; }
.ph-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-tiles li { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; font-weight: 700; }
.ph-tiles .icon { width: 30px; height: 30px; padding: 6px; border-radius: 10px; color: #fff; }
.ph-sky { background: var(--sky-light); } .ph-sky .icon { background: var(--sky); }
.ph-mint { background: var(--mint); } .ph-mint .icon { background: var(--forest); }
.ph-coral { background: var(--coral-light); } .ph-coral .icon { background: var(--coral); }
.ph-rows { display: grid; gap: 8px; }
.ph-rows li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.ph-rows strong { display: block; font-size: 12px; }
.ph-rows em { margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: 9px; font-style: normal; }
.ph-rows .icon { width: 32px; height: 32px; padding: 8px; border-radius: 10px; background: var(--canvas); color: var(--subtle); }
.ph-rows .ph-done .icon { background: var(--forest); color: var(--sun); fill: var(--sun); }
.ph-rows .ph-next { background: var(--sun); }
.ph-rows .ph-next .icon { background: #13231c; color: var(--sun); }
.ph-rows .ph-next small { color: #13231cb3; }
/* Two screens side by side: the reward page in front, the course page behind it. */
.phone-pair { position: relative; display: flex; align-items: flex-start; justify-content: center; }
.phone-back { margin: 0 -52px 0 -49px; transform: scale(.84); transform-origin: top right; }
.phone-front { z-index: 1; width: 292px; margin-top: 44px; }
.ph-totals { gap: 0 !important; padding: 8px 0; border-radius: 12px; background: #ffffff1a; }
.ph-totals li { flex: 1; padding: 0 10px !important; border-radius: 0 !important; background: none !important; color: #ffffffb3; font-size: 9.5px !important; line-height: 1.5; }
.ph-totals li + li { border-left: 1px solid #ffffff26; }
.ph-totals b { display: block; color: #fff; font-size: 15px; }
.ph-offers { display: grid; gap: 7px; }
.ph-offers li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.ph-offers .icon { flex-shrink: 0; width: 34px; height: 34px; padding: 8px; border-radius: 12px; background: var(--mint); color: var(--forest); }
.ph-offers div { flex: 1; min-width: 0; }
.ph-offers strong { display: block; font-size: 12.5px; }
.ph-offers small { display: block; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.ph-offers small + small { color: var(--subtle); font-size: 9.5px; }
.ph-offers span { flex-shrink: 0; padding: 5px 11px; border-radius: 999px; background: var(--sun); color: #13231c; font-size: 11px; font-weight: 700; }
.phone-stage figcaption { position: relative; margin-top: 16px; color: var(--subtle); font-size: 12px; }

.band { padding: 72px 0 0; }
.band-head { max-width: 640px; margin: 0 0 36px; }
.band-head h2 { margin: 0; font-size: 36px; line-height: 1.25; letter-spacing: -.01em; }
.band-head p { margin: 12px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scene { display: flex; flex-direction: column; margin: 0; border-radius: 28px; overflow: hidden; }
.scene img { display: block; width: 100%; height: auto; padding: 24px 24px 8px; }
.scene figcaption { padding: 8px 28px 28px; color: #3d3f46; font-size: 15px; line-height: 1.7; }
.scene strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 20px; font-weight: 800; }
.scene-sky { background: var(--sky-light); }
.scene-sun { background: var(--sun-light); }
.scene-coral { background: var(--coral-light); }
.swap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 16px; padding: 28px 32px; border-radius: 28px; background: var(--mint-light); }
.swap p { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.5; }
.swap p span { display: block; color: var(--forest); }
.swap-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.swap-row > span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 700; box-shadow: var(--shadow); }
.swap-row > span .icon { width: 20px; height: 20px; color: var(--forest); }
.swap-row > span:last-child { background: var(--sun); }
.swap-row > span:last-child .icon { color: var(--ink); }
.swap-row > .icon { color: var(--forest); }

.router-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 24px 48px; margin-top: 72px; padding: 40px 48px; border: 1px solid var(--line); border-radius: 32px; background: #fff; }
.router-band img, .router-art { display: block; width: 100%; height: auto; }
.router-band h2 { margin: 16px 0 0; font-size: 34px; line-height: 1.25; }
.router-band p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.router-band ul { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.6; }
.router-band li { display: flex; gap: 10px; }
.router-band li .icon { margin-top: 3px; color: var(--forest); }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; color: var(--subtle); font-size: 13px; }
.price { color: var(--ink); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.price small { margin-right: 2px; font-size: 22px; }
.router-band .cta-row { margin-top: 20px; }
.why-grid .text-link { margin-top: auto; padding-top: 16px; }

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--card-radius); background: #fff; }
.why-grid article > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--sun-light); color: var(--sun-ink); }
.why-grid h3 { margin: 20px 0 8px; font-size: 20px; font-weight: 800; line-height: 1.4; }
.why-grid article > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.band-foot { margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.band-foot a { font-weight: 700; }

.kit-card { padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.kit-card ul { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.6; }
.kit-card li { display: flex; gap: 10px; }
.kit-card li .icon { margin-top: 3px; color: var(--forest); }
.kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.kit-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kit-sides > div { padding: 24px; border-radius: 20px; background: var(--mint-light); }
.kit-sides > div + div { background: var(--canvas); }
.kit-sides h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 800; }
.kit-sides h3 small { color: var(--subtle); font-size: 12px; font-weight: 600; }
.home .next-make { margin-top: 16px; }

.get { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; margin-top: 72px; padding: 48px; border-radius: 32px; background: var(--forest); color: #fff; }
.get h2 { margin: 0; font-size: 32px; line-height: 1.3; }
.get p { margin: 12px 0 0; color: #ffffffcc; font-size: 16px; line-height: 1.7; }
.home .faq summary { font-size: 17px; }

/* Router */
.router .home-hero .price-row { margin-top: 28px; }
.router .home-hero .cta-row { margin-top: 20px; }
.router .band-head, .router .flow-back { margin-inline: auto; text-align: center; }
.router .flow-back { justify-content: center; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin-inline: auto; }
.compare article { padding: 28px; border-radius: var(--card-radius); background: var(--canvas); }
.compare h3 { margin: 0 0 16px; font-size: 20px; font-weight: 800; }
.compare ul, .buy ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.6; }
.compare li, .buy li { display: flex; gap: 10px; }
.compare li .icon { margin-top: 3px; color: var(--subtle); }
.compare .is-better { background: var(--mint-light); }
.compare .is-better li .icon, .buy li .icon { margin-top: 3px; color: var(--forest); }
.buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; margin-top: 72px; padding: 48px; border-radius: 32px; background: var(--sun-light); }
.buy .tag { background: #fff; }
.buy h2 { margin: 16px 0 0; font-size: 34px; }
.buy .price-row { margin: 16px 0 24px; color: #5b4a1c; }
.buy-action { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; }
.buy-action p { margin: 0 0 8px; color: #5b4a1c; font-size: 16px; line-height: 1.7; }
.wechat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 !important; padding: 16px 20px; border-radius: 16px; background: #fff; }
.wechat span { color: var(--muted); font-size: 14px; }
.wechat strong { color: var(--ink); font-size: 26px; font-weight: 800; letter-spacing: .04em; user-select: all; }
.buy-action button { min-height: 52px; font-size: 16px; }
.buy-status { min-height: 22px; margin: 0 !important; font-size: 14px !important; font-weight: 700; }
.buy-action small { color: #7a6a3d; font-size: 13px; line-height: 1.6; }
.cta[aria-disabled=true] { background: #fff; color: var(--subtle); cursor: default; }

/* Connect your own devices */
.connect .band-head { margin-inline: auto; text-align: center; }
.connect .manual-copy { max-width: 640px; margin: 20px auto 0; text-align: left; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 12px; }
.flow-node { padding: 24px 18px; border: 1px solid var(--line); border-radius: var(--card-radius); background: #fff; text-align: center; }
.flow-node .icon { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--canvas); color: var(--ink); }
.flow-node strong { display: block; margin-top: 14px; font-size: 17px; }
.flow-node small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.flow-node.is-yours { border-color: var(--sun); background: var(--sun-light); }
.flow-node.is-yours .icon { background: var(--sun); }
.flow-arrow { align-self: center; width: 22px; height: 22px; color: var(--subtle); }
.flow-back { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 14px 20px; border-radius: 16px; background: var(--mint-light); color: var(--forest); font-size: 15px; font-weight: 600; line-height: 1.6; }
.flow-legend { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: var(--subtle); font-size: 13px; }
.flow-legend span { width: 14px; height: 14px; border: 1px solid var(--sun); border-radius: 4px; background: var(--sun-light); }
.why-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.connect .band-foot { max-width: 720px; margin-inline: auto; text-align: center; line-height: 1.8; }

/* Download */
.download .hero { padding-bottom: 56px; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.platforms article { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--card-radius); background: #fff; }
.platforms h2 { margin: 16px 0 0; font-size: 26px; }
.platforms .device { margin: 2px 0 0; color: var(--subtle); font-size: 13px; font-weight: 600; }
.platforms article > p:not(.device, .fine) { margin: 16px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.platforms .cta { align-self: stretch; margin-top: auto; }
.platforms .cta[aria-disabled=true] { background: var(--canvas); }
.platforms .fine { margin: 12px 0 0; color: var(--subtle); font-size: 13px; line-height: 1.6; }
.platforms .fine a { color: var(--muted); }
.fineprint { max-width: 640px; margin: 24px auto 0; color: var(--subtle); font-size: 13px; line-height: 1.7; text-align: center; }
.download .band-head { margin-inline: auto; text-align: center; }
.next-make { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 64px; padding: 28px 32px; border-radius: 28px; background: var(--sun-light); }
.next-make :is(h2, h3) { margin: 0; font-size: 22px; font-weight: 800; }
.next-make p { margin: 4px 0 0; color: #5b4a1c; font-size: 15px; }

/* Course pack: an unlisted sales page that reuses the router page's hero and buy panel. */
.pack .home-hero .price-row { margin-top: 28px; }
.pack .price-row { flex-wrap: wrap; row-gap: 6px; }
.pack .price-row span, .pack .topbar .button-link { white-space: nowrap; }
.pack .home-hero .cta-row { margin-top: 20px; }
.pack .band-head, .pack .band-foot { margin-inline: auto; text-align: center; }
.pack .band-foot { max-width: 720px; line-height: 1.8; }
.ticket { padding: 32px; border-radius: 32px; background: var(--sun-light); }
.ticket .tag { background: #fff; }
.ticket dl { display: grid; margin: 12px 0 0; }
.ticket dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #dcc078; }
.ticket dt { color: #5b4a1c; font-size: 15px; }
.ticket dd { margin: 0; font-size: 17px; font-weight: 800; text-align: right; }
.ticket dd.now { font-size: 28px; letter-spacing: -.01em; }
.ticket p { margin: 16px 0 0; color: #7a6a3d; font-size: 13px; line-height: 1.6; }
.terms { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.terms article { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: baseline; gap: 8px 24px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--card-radius); background: #fff; }
.terms h3 { margin: 0; font-size: 17px; font-weight: 800; }
.terms p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.terms p strong { color: var(--ink); }
.refund-table { width: 100%; max-width: 880px; margin: 16px auto 0; border-collapse: collapse; border-radius: var(--card-radius); background: var(--canvas); font-size: 15px; overflow: hidden; }
.refund-table caption { padding: 0 0 10px; color: var(--subtle); font-size: 13px; text-align: left; }
.refund-table :is(th, td) { padding: 14px 28px; font-weight: 400; text-align: left; }
.refund-table thead th { color: var(--subtle); font-size: 13px; }
.refund-table tbody tr { border-top: 1px solid var(--line); }
.refund-table tbody th, .refund-table td:last-child { font-weight: 700; }
.pack-contact { display: flex; flex-direction: column; gap: 12px; }
.pack-contact[hidden] { display: none; }

@media (max-width: 959px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px 0 56px; }
  .home .home-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; }
  .home .home-hero > div, .home .phone-stage { min-width: 0; }
  .home .home-hero h1 { font-size: clamp(26px, 4.3vw, 42px); }
  .home .phone-pair { width: min(304px, 100%); }
  .home .phone-back { display: none; }
  .home .phone-front { width: 100%; margin-top: 0; }
  .steps-4, .why-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .router-band { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .router-band img { max-width: 360px; margin-inline: auto; }
  .get { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; }
}
@media (max-width: 767px) {
  .site > main { padding: 0 20px 56px; }
  .site .topbar-links .wide-only, .topbar-links a.wide-only { display: none; }
  .hero { padding: 48px 0 40px; text-align: left; }
  .hero h1, .home-hero h1 { font-size: 40px; }
  .router .home-hero h1 { font-size: 34px; }
  .hero h1 span { display: block; width: fit-content; }
  .lead { margin-left: 0; font-size: 17px; }
  .hero .sun-button { width: 100%; margin-top: 28px; }
  .cta-row .cta { flex: 1 1 100%; }
  .home .home-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 0 24px; }
  .home .home-hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .home .home-hero .eyebrow { margin-bottom: 12px; }
  .home .home-hero .lead { margin-top: 16px; font-size: 16px; }
  .home .home-hero .cta-row { max-width: 480px; gap: 8px; margin-top: 20px; }
  .home .home-hero .cta { flex: 1 1 auto; min-height: 44px; padding: 10px 16px; font-size: 14px; }
  .home .home-hero .hero-note { margin-top: 12px; line-height: 1.5; }
  .home .phone-stage { padding-top: 16px; }
  .home .phone-stage::before { width: min(360px, 100%); }
  .site .faq { margin-top: 40px; }
  .band { padding-top: 48px; }
  .band-head { margin-bottom: 20px; }
  .band-head h2 { font-size: 26px; }
  .band-head p { font-size: 15px; }
  .download .band-head, .connect .band-head, .connect .band-foot, .router .band-head, .fineprint { text-align: left; }

  /* Phones keep rows as rows instead of stacking them into one long column:
     small pieces shrink and stay side by side, text-heavy cards scroll sideways. */
  .scene-grid { gap: 8px; }
  .scene { border-radius: 16px; }
  .scene img { padding: 10px 8px 0; }
  .scene figcaption { padding: 6px 4px 12px; text-align: center; }
  .scene figcaption span { display: none; }
  .scene strong { margin: 0; font-size: 13px; line-height: 1.35; }
  .swap { padding: 18px 16px; gap: 14px; }
  .swap p { font-size: 18px; }
  .swap-row { flex-wrap: nowrap; gap: 5px; }
  .swap-row > span { gap: 5px; padding: 6px 9px; font-size: 12px; white-space: nowrap; }
  .swap-row > span .icon { width: 14px; height: 14px; }
  .swap-row > .icon { width: 12px; height: 12px; }

  .steps { gap: 8px; }
  .steps article { padding: 14px 12px; border-radius: 16px; }
  .steps span { width: 28px; height: 28px; font-size: 14px; }
  .steps :is(h2, h3) { margin: 10px 0 4px; font-size: 15px; line-height: 1.35; }
  .steps p { font-size: 12.5px; line-height: 1.6; }
  .steps-brief { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .steps-brief article { padding: 12px 6px; text-align: center; }
  .steps-brief span { margin-inline: auto; }
  .steps-brief :is(h2, h3) { font-size: 12px; white-space: nowrap; }
  .steps-brief p { display: none; }

  .why-grid { display: flex; gap: 10px; margin-inline: -20px; padding: 0 20px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .why-grid::-webkit-scrollbar { display: none; }
  .why-grid article { flex: 0 0 72%; padding: 18px 16px; border-radius: 18px; scroll-snap-align: start; }
  .why-grid article > .icon { width: 36px; height: 36px; padding: 9px; border-radius: 12px; }
  .why-grid h3 { margin: 12px 0 6px; font-size: 16px; }
  .why-grid article > p { font-size: 13.5px; line-height: 1.65; }
  /* Cards whose text is one short line stay three across. */
  .why-grid-brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-inline: 0; padding: 0; overflow: visible; }
  .why-grid-brief article { padding: 14px 10px; border-radius: 16px; }
  .why-grid-brief article > .icon { width: 32px; height: 32px; padding: 8px; border-radius: 10px; }
  .why-grid-brief h3 { margin: 10px 0 4px; font-size: 14px; line-height: 1.4; }
  .why-grid-brief article > p { font-size: 12px; line-height: 1.6; }
  .why-grid-brief .tag { padding: 3px 8px; font-size: 10.5px; }
  .why-grid-brief .text-link { padding-top: 8px; font-size: 12px; }
  .why-grid-brief .text-link .icon { width: 12px; height: 12px; }
  .why-grid-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-inline: 0; padding: 0; overflow: visible; }
  .why-grid-even article { padding: 14px 12px; border-radius: 16px; }
  .why-grid-even h3 { margin: 10px 0 4px; font-size: 14.5px; line-height: 1.35; }
  .why-grid-even article > p { font-size: 12.5px; line-height: 1.6; }

  .flow { gap: 4px; }
  .flow-node { padding: 12px 4px; border-radius: 14px; }
  .flow-node .icon { width: 32px; height: 32px; padding: 8px; border-radius: 10px; }
  .flow-node strong { margin-top: 8px; font-size: 12px; line-height: 1.35; }
  .flow-node small { display: none; }
  .flow-arrow { width: 12px; height: 12px; }
  .flow-back { padding: 12px 14px; font-size: 13.5px; }
  .flow-legend { justify-content: flex-start; }

  .compare { gap: 8px; }
  .compare article { padding: 16px 12px; border-radius: 16px; }
  .compare h3 { margin-bottom: 10px; font-size: 15px; }
  .compare ul { gap: 8px; font-size: 12.5px; }
  .compare li { gap: 6px; }
  .compare li .icon { width: 14px; height: 14px; }

  .kit-card { padding: 12px; border-radius: 20px; }
  .kit-sides { gap: 8px; }
  .kit-sides > div { padding: 14px 12px; border-radius: 14px; }
  .kit-sides h3 { flex-wrap: wrap; gap: 4px 6px; font-size: 15px; }
  .kit-sides h3 small { flex-basis: 100%; font-size: 11px; }
  .kit-card ul { gap: 8px; margin-top: 12px; font-size: 12.5px; }
  .kit-card li .icon { display: none; }
  .kit-actions { margin-top: 16px; padding: 0 4px 4px; }

  .router-band { margin-top: 48px; padding: 20px; }
  .router-band img { max-width: 220px; }
  .router-band h2 { font-size: 24px; }
  .get { margin-top: 48px; }
  .get h2 { font-size: 24px; }
  .get .cta { width: 100%; }
  .platforms, .buy { grid-template-columns: minmax(0, 1fr); }
  .buy { margin-top: 48px; padding: 24px 20px; }
  .buy h2 { font-size: 24px; }
  .next-make { padding: 20px; }
  .next-make .cta { width: 100%; }
  .pack .home-hero h1 { font-size: 34px; }
  .pack .band-head, .pack .band-foot { text-align: left; }
  .ticket { padding: 24px 20px; border-radius: 24px; }
  .ticket dd.now { font-size: 24px; }
  .terms article { grid-template-columns: minmax(0, 1fr); padding: 16px; border-radius: 16px; }
  .terms p { font-size: 14px; }
  .refund-table { font-size: 13.5px; }
  .refund-table :is(th, td) { padding: 12px 10px; }
  .refund-table :is(th, td):first-child { padding-left: 16px; }
}

@media (max-width: 479px) {
  .pack .topbar-links { display: none; }
  .pack .topbar .button-link { margin-left: auto; }
}
