/* Setup guide (setup-guide.html). Loads after style.css, v2.css, mcp.css, dark.css.
   The mock screens copy each app's own look, so they keep light colours in dark mode. */

/* This page has no scroll script, so the fixed nav is solid from the start (as on home-mcp):
   a clear nav let the hero show through it on iPhone (owner report 2026-10-18). */
.sg-page .nav, [data-theme="dark"] .sg-page .nav { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
body.sg-page::after { z-index: 40; }
.sg-page .lang-sw { padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font: 12.5px var(--sans); color: var(--text-2); white-space: nowrap; cursor: pointer; }
.sg-page .lang-sw:hover { border-color: var(--accent); color: var(--accent); }

.sg-hero { max-width: 860px; margin: 0 auto; padding: 130px 20px 0; text-align: center; }
.sg-hero .m-eyebrow b { font-weight: 500; }
.sg-hero h1 { margin: 22px 0 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; }
html[lang^="zh"] .sg-hero h1 { letter-spacing: 0; }

.sg-wrap { max-width: 1180px; margin: 44px auto 0; padding: 0 20px; }
.sg-tabs { display: flex; justify-content: center; gap: 8px; }
.sg-tab { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font: 600 15px var(--sans); color: var(--text-2); cursor: pointer; }
.sg-tab img { width: 20px; height: 20px; }
.sg-tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.sg-tab[aria-selected="true"] img.mono { filter: invert(1); }
[data-theme="dark"] .sg-tab img.mono { filter: invert(1); }
[data-theme="dark"] .sg-tab[aria-selected="true"] img.mono, [data-theme="dark"] .sg-mini .sg-tab[aria-pressed="true"] img.mono { filter: none; }

.sg-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; margin-top: 30px; align-items: start; }
.sg-steps { position: sticky; top: 90px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.sg-steps > li { counter-increment: s; }
.sg-steps > li > button { display: flex; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; font: 14px/1.35 var(--sans); color: var(--muted); cursor: pointer; }
.sg-steps > li > button::before { content: counter(s); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font: 11px var(--pixel); }
.sg-steps > li > button small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--faint); }
.sg-steps > li > button[aria-current="step"] { background: var(--surface-2, rgba(60, 40, 20, .06)); color: var(--text); font-weight: 600; }
.sg-steps > li > button[aria-current="step"]::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.sg-steps > li > button.done::before { content: "✓"; color: var(--green, #218739); }
.sg-steps > .sg-part { margin: 14px 12px 4px; font: 11px var(--pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); counter-increment: none; }
.sg-steps > .sg-part:first-child { margin-top: 0; }

.sg-main { min-width: 0; }
.sg-card { margin-top: 18px; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.sg-card h3 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.sg-card .sg-where { margin: 4px 0 0; font-size: 13px; color: var(--faint); }
.sg-card ol { margin: 14px 0 0; padding-left: 22px; font-size: 15.5px; line-height: 1.7; }
.sg-card ol b { color: var(--text); }
.sg-card kbd { padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); font: 600 13px var(--sans); }
.sg-copy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sg-copy button { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); font: 13px var(--code, ui-monospace, monospace); color: var(--text); cursor: pointer; text-align: left; }
.sg-copy button span { font: 600 11px var(--sans); color: var(--muted); }
.sg-copy button i { font-style: normal; font: 600 11px var(--sans); color: var(--accent); }
.sg-copy button.ok i { color: var(--green, #218739); }
.sg-note { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; }
.sg-note b { flex: none; }
.sg-note.warn { background: #fff4e5; color: #6b4410; }
.sg-note.why { background: #eef3fb; color: #24456e; }
.sg-note.ok { background: #eaf6ec; color: #1f5c2c; }
[data-theme="dark"] .sg-note.warn { background: #3a2a14; color: #f3d3a4; }
[data-theme="dark"] .sg-note.why { background: #1c2a3d; color: #c3d6f2; }
[data-theme="dark"] .sg-note.ok { background: #18311e; color: #b9e4c2; }
.sg-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.sg-nav .btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Stage: a browser or Mac window that holds one mock screen ---------- */
.sg-stage { position: relative; }
.sg-win { position: relative; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px -34px rgba(40, 25, 10, .45), 0 0 0 1px rgba(0, 0, 0, .08); overflow: hidden; font-family: var(--ios); color: #0d0d0d; color-scheme: light; }
.sg-chrome { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; background: #e9eef3; border-bottom: 1px solid #d5dbe1; }
.sg-dots { display: flex; gap: 7px; }
.sg-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .sg-dots i:nth-child(2) { background: #febc2e; } .sg-dots i:nth-child(3) { background: #28c840; }
.sg-url { flex: 1; max-width: 560px; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 13px; color: #222; }
.sg-url::before { content: ""; width: 10px; height: 10px; border: 1.6px solid #666; border-radius: 3px; }
.sg-screen { position: relative; height: 540px; overflow: hidden; }
.sg-dim::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .32); z-index: 3; }
.sg-modal { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, 88%); max-height: 96%; overflow: visible; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); padding: 22px 24px; }

/* The one target: orange ring, pulse and a label. */
.hl { position: relative; z-index: 6; outline: 3px solid #ff7a1a !important; outline-offset: 3px; border-radius: inherit; animation: sg-pulse 1.6s ease-out infinite; }
@keyframes sg-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .55); } 80%, 100% { box-shadow: 0 0 0 14px rgba(255, 122, 26, 0); } }
.hl[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 7; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); padding: 5px 10px; border-radius: 8px; background: #ff7a1a; color: #fff; font: 600 12.5px/1.3 var(--sans); white-space: nowrap; pointer-events: none; box-shadow: 0 6px 16px -6px rgba(255, 122, 26, .8); }
.hl.tip-up[data-tip]::after { top: auto; bottom: calc(100% + 12px); }
.hl.tip-left[data-tip]::after { left: auto; right: calc(100% + 14px); top: 50%; transform: translateY(-50%); }
.hl.tip-right[data-tip]::after { left: calc(100% + 14px); top: 50%; transform: translateY(-50%); }
.sg-off { opacity: .38; filter: grayscale(1); }
.x-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #d14343; color: #fff; font: 600 10.5px var(--sans); vertical-align: 2px; }

/* ---------- Hey Atu pages ---------- */
.ha { height: 100%; background: #fdfbf7; padding: 18px 0; font-family: var(--sans); }
.ha-steps { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 13px; color: #8a8178; }
.ha-steps b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 5px; border-radius: 50%; border: 1px solid #cfc7bd; font-size: 11px; }
.ha-steps .on { color: #1d1a17; font-weight: 600; } .ha-steps .on b { background: #1d1a17; color: #fff; border-color: #1d1a17; }
.ha-steps .dn b { background: #2b8a3e; color: #fff; border-color: #2b8a3e; }
.ha-steps hr { width: 26px; border: 0; border-top: 1px solid #d9d2c8; margin: 0; }
.ha-card { width: min(470px, 90%); margin: 16px auto 0; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #ece6dd; text-align: center; }
.ha-card img.dog { width: 52px; height: 52px; padding: 8px; border-radius: 14px; background: #ece5dc; }
.ha-card h4 { margin: 10px 0 2px; font-size: 19px; }
.ha-card p { margin: 0; font-size: 13px; color: #7a7168; }
.ha-pc { margin: 14px 0; padding: 10px 14px; border-radius: 12px; background: #f5f1eb; text-align: left; font-size: 14px; font-weight: 600; }
.ha-pc small { display: block; font-weight: 400; color: #7a7168; }
.ha-code { display: flex; justify-content: center; gap: 6px; margin: 6px 0 4px; }
.ha-code i { display: grid; place-items: center; width: 34px; height: 42px; border-radius: 8px; background: #fbeee2; font: 600 20px var(--code, monospace); font-style: normal; }
.ha-g { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; margin-top: 14px; border-radius: 999px; border: 1px solid #7a7168; background: #fff; font: 600 15px var(--sans); }
.ha-g img { width: 18px; height: 18px; }
.ha-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; text-align: left; }
.ha-apps > div { padding: 12px; border-radius: 14px; border: 1px solid #ece6dd; font-size: 12px; color: #7a7168; }
.ha-apps h5 { margin: 0 0 4px; font-size: 14px; color: #1d1a17; }
.ha-apps .bk { display: inline-block; margin-top: 8px; padding: 7px 12px; border-radius: 999px; background: #1d1a17; color: #fff; font-size: 12.5px; font-weight: 600; }
.ha-addr { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; border: 1px solid #ece6dd; font: 13px var(--code, monospace); }
.ha-addr span { padding: 5px 10px; border-radius: 999px; border: 1px solid #ddd; font: 600 12px var(--sans); }

/* ---------- Google account chooser ---------- */
.gg { height: 100%; display: grid; place-items: center; background: #f0f4f9; font-family: Roboto, var(--sans); }
.gg-card { width: min(640px, 92%); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 28px; border-radius: 28px; background: #fff; }
.gg-card .gh { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #e3e3e3; font-size: 14px; color: #444; }
.gg-card .gh img { width: 18px; }
.gg-card h4 { margin: 0; font: 400 28px/1.15 "Google Sans", var(--sans); }
.gg-card .to { margin-top: 12px; font-size: 14px; } .gg-card .to a { color: #0b57d0; font-weight: 600; }
.gg-acc { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #e3e3e3; border-radius: 8px; }
.gg-acc .av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #b3261e; color: #fff; font-weight: 600; }
.gg-acc .av.b { background: #0b57d0; }
.gg-acc b { display: block; font-size: 14px; font-weight: 500; } .gg-acc small { font-size: 12.5px; color: #555; }

/* ---------- macOS approval dialog ---------- */
.sg-macbg { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #8aa8d8, #b9a2d8 55%, #e6b8c8); }
.mac-dlg { width: 300px; padding: 20px 18px 16px; border-radius: 18px; background: rgba(246, 246, 246, .96); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .5); text-align: center; font-family: var(--ios); }
.mac-dlg img { width: 54px; height: 54px; padding: 8px; border-radius: 14px; background: #ece5dc; }
.mac-dlg h5 { margin: 10px 0 4px; font-size: 14px; }
.mac-dlg p { margin: 0; font-size: 12px; color: #444; }
.mac-dlg .cd { display: inline-block; margin: 8px 0 12px; padding: 3px 10px; border-radius: 6px; background: #fff; font: 700 15px var(--code, monospace); letter-spacing: .14em; }
.mac-dlg .bt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mac-dlg .bt span { padding: 6px 0; border-radius: 8px; background: #e2e2e2; font-size: 13px; }
.mac-dlg .bt .al { background: #0a84ff; color: #fff; }

/* ---------- ChatGPT web ---------- */
.gpt { height: 100%; display: grid; grid-template-columns: 52px 220px 1fr; background: #fafafa; font-family: var(--ios); font-size: 13.5px; }
.gpt-rail { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; border-right: 1px solid #ececec; }
.gpt-rail i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-style: normal; color: #555; }
.gpt-rail i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.gpt-rail i.on { background: #ececec; color: #000; }
.gpt-side { padding: 14px 10px; border-right: 1px solid #ececec; background: #f9f9f9; }
.gpt-side h6 { margin: 0 6px 10px; font-size: 15px; }
.gpt-side .it { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: #222; }
.gpt-side .it.on { background: #ececec; }
.gpt-side .lb { margin: 14px 8px 4px; font-size: 12px; color: #8a8a8a; }
.gpt-side .dot { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #ff8a3d, #ff4d6d); }
.gpt-side .dot.h { background: #e5251f; border-radius: 50%; }
.gpt-main { position: relative; padding: 20px 32px; overflow: hidden; }
.gpt-head { display: flex; align-items: center; gap: 10px; }
.gpt-head h5 { margin: 0; flex: 1; font-size: 22px; font-weight: 600; }
.gpt-search { width: 170px; height: 32px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid #ddd; color: #999; font-size: 12.5px; }
.gpt-add { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: #0d0d0d; color: #fff; font-weight: 600; }
.gpt-sub { margin: 4px 0 12px; color: #666; }
.gpt-seg { display: inline-flex; gap: 4px; margin-bottom: 12px; }
.gpt-seg span { padding: 5px 12px; border-radius: 999px; } .gpt-seg span:first-child { background: #ececec; }
.gpt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; }
.gpt-grid div { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.gpt-grid em { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #eee; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.gpt-grid b { display: block; font-weight: 500; } .gpt-grid small { color: #777; }
.gpt-grid div::after { content: "+"; margin-left: auto; font-size: 18px; color: #333; }
.gpt-menu { position: absolute; z-index: 5; right: 32px; top: 58px; width: 230px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .06); }
.gpt-menu div { padding: 9px 12px; border-radius: 10px; }
.gpt-f label { display: block; margin: 10px 0 5px; font-size: 13px; font-weight: 600; }
.gpt-f .in { height: 34px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid #ddd; font-size: 13px; }
.gpt-f .in.sgp { color: #aaa; }
.gpt-f .row { display: flex; justify-content: space-between; align-items: end; }
.gpt-f .seg { display: inline-flex; padding: 2px; border-radius: 999px; background: #f1f1f1; font-size: 12px; } .gpt-f .seg span { padding: 3px 10px; border-radius: 999px; } .gpt-f .seg span:first-child { background: #fff; }
.gpt-f .risk { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #fff6ef; border: 1px solid #ffd9bd; font-size: 12.5px; }
.gpt-f .chk { display: flex; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid #eee; font-size: 12.5px; }
.gpt-f .chk i { flex: none; width: 15px; height: 15px; border: 1.5px solid #888; border-radius: 4px; }
.gpt-f .chk i.on { background: #0d0d0d; border-color: #0d0d0d; }
.gpt-f .ft { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.gpt-f .ft span { padding: 8px 14px; border-radius: 999px; border: 1px solid #ddd; font-weight: 600; }
.gpt-f .ft .pr { background: #0d0d0d; color: #fff; border-color: #0d0d0d; }
.gpt-cn { text-align: center; }
.gpt-cn .lg { display: flex; justify-content: center; align-items: center; gap: 10px; }
.gpt-cn .lg span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #0d0d0d; }
.gpt-cn .lg span img { width: 30px; filter: invert(1); }
.gpt-cn .lg span.mcp { background: #fff; border: 1px solid #e5e5e5; font-size: 24px; }
.gpt-cn h5 { margin: 12px 0 8px; font-size: 20px; }
.gpt-cn p { margin: 0 0 8px; font-size: 12px; color: #888; text-align: left; }
.gpt-cn .b { display: block; margin-top: 8px; padding: 11px; border-radius: 999px; background: #0d0d0d; color: #fff; font-weight: 600; }
.gpt-chat { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 40px; }
.gpt-chat h5 { margin: 0 0 18px; font-size: 24px; font-weight: 500; }
.gpt-box { position: relative; width: 100%; max-width: 640px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px #e5e5e5, 0 6px 18px -10px rgba(0, 0, 0, .2); font-size: 14.5px; }
.gpt-box .pl { font-size: 20px; color: #333; }
.gpt-box .ment { color: #2563c9; font-weight: 600; }
.gpt-box .snd { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: #2f7bf6; color: #fff; display: grid; place-items: center; }
.gpt-pop { width: 100%; max-width: 640px; margin-top: 8px; padding: 6px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #eee, 0 14px 30px -14px rgba(0, 0, 0, .25); }
.gpt-pop div { display: flex; gap: 12px; padding: 8px 12px; border-radius: 10px; } .gpt-pop small { color: #999; }
.gpt-thread { height: 100%; padding: 22px 60px; overflow: hidden; }
.gpt-thread .me { margin-left: auto; width: fit-content; padding: 9px 14px; border-radius: 18px; background: #e8f0fe; }
.gpt-thread .me b { color: #2563c9; }
.gpt-thread .wk { margin: 16px 0 6px; color: #888; font-size: 12.5px; }
.gpt-thread ul { margin: 6px 0; padding-left: 20px; line-height: 1.8; }
.gpt-thread code, .cl-thread code { padding: 1px 6px; border-radius: 5px; background: #f1f1f1; font-size: 12.5px; }

/* ---------- Claude web ---------- */
.cl { height: 100%; display: grid; grid-template-columns: 220px 1fr; background: #faf9f5; font-family: var(--ios); font-size: 13.5px; color: #1f1e1d; }
.cl-side { padding: 14px 12px; border-right: 1px solid #ebe8e1; background: #f5f4ee; }
.cl-side h6 { margin: 0 6px 14px; font: 600 20px Georgia, "Tiempos", serif; }
.cl-side .it { padding: 7px 8px; border-radius: 8px; } .cl-side .it.on { background: #e9e6dc; }
.cl-side .lb { margin: 14px 8px 4px; font-size: 12px; color: #8a867c; }
.cl-main { position: relative; padding: 22px 30px; overflow: hidden; }
.cl-main h5 { margin: 0 0 14px; font: 500 28px Georgia, "Tiempos", serif; }
.cl-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.cl-tabs span { padding: 6px 12px; border-radius: 9px; background: #efede6; color: #666; } .cl-tabs span.on { background: #fff; color: #1f1e1d; box-shadow: 0 0 0 1px #ddd; }
.cl-tabs .sp { margin-left: 14px; }
.cl-tbl { width: 100%; border-collapse: collapse; }
.cl-tbl td { padding: 9px 6px; border-bottom: 1px solid #ebe8e1; }
.cl-tbl td:first-child { font-weight: 500; }
.cl-tbl .cu { margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: #efede6; font-size: 11px; color: #666; }
.cl-tbl .cn { padding: 4px 10px; border-radius: 8px; border: 1px solid #ddd; background: #fff; }
.cl-dlg h5 { margin: 0 0 8px; font: 600 21px var(--ios); }
.cl-dlg p { margin: 0 0 10px; font-size: 12.5px; color: #555; }
.cl-dlg .red { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: #fbe3e3; border: 1px solid #f2b8b8; color: #a42020; font-size: 12.5px; }
.cl-dlg .in { margin: 8px 0 2px; padding: 9px 12px; border-radius: 10px; border: 1px solid #ddd; }
.cl-dlg small { color: #888; font-size: 11.5px; }
.cl-dlg .ft { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.cl-dlg .ft span { padding: 8px 14px; border-radius: 9px; border: 1px solid #ddd; font-weight: 600; }
.cl-dlg .ft .pr { background: #1f1e1d; color: #fff; border-color: #1f1e1d; }
.cl-dlg .ft .off { background: #aaa; color: #fff; border-color: #aaa; }
.cl-thread { padding: 22px 50px; }
.cl-thread .me { margin-left: auto; width: fit-content; padding: 10px 14px; border-radius: 14px; background: #efece3; }
.cl-thread .used { margin: 16px 0 8px; color: #8a867c; font-size: 13px; }
.cl-thread ul { margin: 6px 0; padding-left: 20px; line-height: 1.8; }
.cl-box { position: absolute; left: 50px; right: 50px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e5e2d9; color: #999; }
.cl-box .tl { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 1px solid #ddd; color: #444; }

/* ---------- Phone (the "use it on your phone" step) ---------- */
.ph-wrap { height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, #f6efe6, #eef0f6); }
.sgp { width: 250px; height: 480px; padding: 12px; border-radius: 44px; background: #111; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.sgp > div { height: 100%; border-radius: 34px; background: #fff; padding: 46px 14px 14px; display: flex; flex-direction: column; font-family: var(--ios); font-size: 12.5px; }
.sgp .me { margin-left: auto; padding: 8px 11px; border-radius: 16px; background: #e8f0fe; }
.sgp .ans { margin-top: 12px; line-height: 1.6; }
.sgp .inp { margin-top: auto; padding: 10px 12px; border-radius: 20px; box-shadow: 0 0 0 1px #e5e5e5; color: #999; }

@media (max-width: 920px) {
  .sg-body { grid-template-columns: 1fr; }
  /* Phones: the steps are one accordion (owner review 2026-10-18: no sideways strip). The open
     step holds its screen and card (setup-guide.js moves #sg-stage and #sg-card into it). */
  .sg-body { margin-top: 22px; }
  .sg-main { display: none; }
  .sg-steps { position: static; border-top: 1px solid var(--line); }
  .sg-steps > li:not(.sg-part) { border-bottom: 1px solid var(--line); }
  .sg-steps > .sg-part { margin: 22px 4px 8px; }
  .sg-steps > .sg-part:first-child { margin-top: 4px; }
  .sg-steps > li > button { align-items: center; padding: 14px 4px; border-radius: 0; font-size: 15px; scroll-margin-top: 84px; }
  .sg-steps > li > button > span { flex: 1; }
  .sg-steps > li > button small { font-size: 12px; }
  .sg-steps > li > button::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 6px 0 8px; border-right: 1.6px solid var(--faint); border-bottom: 1.6px solid var(--faint); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .sg-steps > li > button[aria-current="step"] { background: none; }
  .sg-steps > li > button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
  .sg-open { padding: 2px 0 18px; }
  .sg-open .sg-card { margin-top: 14px; padding: 18px; }
  .sg-open .sg-card h3 { display: none; }
  .sg-open .sg-card .sg-where { margin: 0; }
  .sg-screen { height: 440px; }
  /* Phones: drop the side panels, not the columns' content. The ChatGPT rail stays (step 2 rings
     its four-square icon). A 0-width column put the main area in it, one character per line. */
  .gpt { grid-template-columns: 44px minmax(0, 1fr); } .gpt-side { display: none; }
  .gpt-rail { gap: 10px; padding: 12px 0; } .gpt-rail i { width: 30px; height: 30px; }
  .cl { grid-template-columns: minmax(0, 1fr); } .cl-side { display: none; }
  .gpt-main, .cl-main { padding: 16px; }
  .gpt-head { flex-wrap: wrap; } .gpt-head h5 { font-size: 19px; } .gpt-search { display: none; }
  .gpt-menu { right: 12px; top: 52px; }
  .cl-tabs { flex-wrap: wrap; } .cl-tabs .sp { margin-left: 0; }
  .sg-modal { width: 92%; padding: 18px; }
  /* Side labels ran off the screen; on phones every label sits below or above its target. */
  .hl.tip-left[data-tip]::after, .hl.tip-right[data-tip]::after { left: 50%; right: auto; top: calc(100% + 12px); bottom: auto; transform: translateX(-50%); }
  .hl.tip-up[data-tip]::after { top: auto; bottom: calc(100% + 12px); }
  .gpt-rail .hl.tip-right[data-tip]::after { left: 0; transform: none; }
  .gpt-head .gpt-add.hl[data-tip]::after { left: auto; right: 0; transform: none; }
  /* The link page fits the shorter screen, with room for the label under the Google button. */
  .ha { padding: 12px 0; } .ha-card { margin-top: 10px; padding: 14px 16px; }
  .ha-card img.dog { width: 40px; height: 40px; padding: 6px; } .ha-card h4 { font-size: 17px; }
  .ha-pc { margin: 10px 0; padding: 8px 12px; } .ha-code i { width: 30px; height: 36px; font-size: 18px; } .ha-g { margin-top: 10px; }
  /* The last button's label goes below it, clear of the field label above. */
  .cl-dlg .ft .hl.tip-up[data-tip]::after { top: calc(100% + 12px); bottom: auto; left: auto; right: 0; transform: none; }
  .hl[data-tip]::after { white-space: normal; width: max-content; max-width: 220px; text-align: center; }
  .gpt-grid { grid-template-columns: 1fr; }
  .gg-card { grid-template-columns: 1fr; }
  .gpt-thread, .cl-thread { padding: 16px; }
}

/* Last step: three phones in a row (pick the app → ask → the answer). */
.ph-row { display: flex; justify-content: center; align-items: center; gap: 26px; padding: 0 16px; }
.ph-row .sgp { flex: none; width: 210px; height: 430px; padding: 10px; border-radius: 40px; }
.ph-row .sgp > div { border-radius: 31px; padding: 40px 10px 10px; font-size: 11.5px; }
.ph-row .gpt-pop { padding: 4px; } .ph-row .gpt-pop div { padding: 6px 8px; gap: 8px; }
.ph-row .ans code { font-size: 10.5px; }
@media (max-width: 920px) {
  /* Phones: swipe the three phones; each snaps to the middle and the next one peeks in. */
  .ph-row { justify-content: flex-start; gap: 16px; padding: 0 calc(50% - 105px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ph-row::-webkit-scrollbar { display: none; }
  .ph-row .sgp { scroll-snap-align: center; }
}

/* Words the person says and the AI app answers: both languages, page language first. */
.bi { display: block; margin-top: 1px; font-size: .86em; opacity: .62; font-weight: 400; }

/* ---------- Home page: three setup moments, small (#sg-mini) ---------- */
.sg-mini { margin-top: 30px; }
.sg-mini .sg-tab[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.sg-mini .sg-tab[aria-pressed="true"] img.mono { filter: invert(1); }
.sg-mini-first { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.sg-mini-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.sg-mini-row li { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.sg-mini-row li span { font-size: 12.5px; color: var(--muted); }
.sg-mini-row li.card { position: relative; gap: 6px; padding: 22px; }
.sg-mini-row li > b { font-size: 16px; color: var(--text); }
.sg-mini-row li > span:last-child { font-size: 13.5px; line-height: 1.55; }
.sm-n { position: absolute; z-index: 1; top: 30px; left: 34px; font: 13px var(--pixel); color: var(--accent); }
.sm-art { display: flex; align-items: center; justify-content: center; gap: 10px; height: 156px; margin-bottom: 10px; border-radius: 16px; background: var(--bg-alt); }
.sm-tile { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 8px 16px -10px rgba(60, 40, 20, .35); }
.sm-tile img { width: 26px; height: 26px; }
.sm-tile.sm-atu { background: var(--logo-tile); } .sm-tile.sm-atu img { width: 30px; }
[data-theme="dark"] .sm-tile img.mono { filter: invert(1); }
.sm-pill, .sm-acc { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 5px 0 12px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 12.5px; color: var(--text-2); }
.sm-pill code { font: 12px var(--code); }
.sm-pill b, .sm-ask b { padding: 5px 11px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 12px; }
.sm-acc { padding: 0 12px 0 10px; }
.sm-acc img { width: 16px; height: 16px; }
.sm-acc i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #b3261e; color: #fff; font: 600 11px var(--sans); font-style: normal; }
.sm-acc b { color: var(--green, #218739); }
.sm-ask { display: grid; gap: 6px; padding: 9px 10px 9px 12px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.sm-ask small { font-size: 11.5px; color: var(--muted); }
.sm-ask > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sm-ask code { font: 600 13px var(--code); letter-spacing: .12em; color: var(--text); }
.sm-ask b { background: #0a84ff; color: #fff; }
/* 01: every tested AI app, one address. The lit tile takes turns (setup-guide.js). */
.sm-art.sm-col { flex-direction: column; gap: 12px; }
.sm-apps { display: flex; gap: 8px; }
.sm-app { width: 38px; height: 38px; border-radius: 11px; opacity: .45; transition: box-shadow .3s, transform .3s, opacity .3s; }
.sm-app img { width: 22px; height: 22px; }
/* No accent outline here (owner review 2026-10-19): it looks too sharp. The lit app is at full strength and lifts; the others are faded. */
.sm-app.on { opacity: 1; transform: translateY(-2px); box-shadow: 0 10px 18px -10px rgba(60, 40, 20, .45); }
/* 02: Google's account chooser, small: a personal Gmail and a work Workspace account. */
.sm-gg { width: min(250px, 80%); margin-top: 14px; padding: 8px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 11.5px; color: var(--text-2); text-align: left; }
.sm-gg-h { display: flex; align-items: center; gap: 6px; padding: 0 4px 5px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--text); }
.sm-gg-h img { width: 13px; height: 13px; }
.sm-gg-h small { margin-left: auto; font-weight: 400; font-size: 10.5px; color: var(--muted); }
.sm-gg-r { display: flex; align-items: center; gap: 8px; margin-top: 3px; padding: 4px 6px; border-radius: 9px; }
.sm-gg-r.on { background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.sm-gg-r i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font: 600 10px var(--sans); font-style: normal; }
.sm-gg-r i.av0 { background: #b3261e; } .sm-gg-r i.av1 { background: #0b57d0; }
.sm-gg-r b { display: flex; align-items: center; font-size: 11.5px; color: var(--text); }
.sm-gg-r em { margin-left: 5px; padding: 0 5px; border-radius: 5px; background: var(--bg-alt); font: 500 9.5px var(--sans); font-style: normal; color: var(--muted); }
.sm-gg-r small { display: block; font-size: 10.5px; color: var(--muted); }
.sm-gg-r s { margin-left: auto; text-decoration: none; font-weight: 700; color: var(--green, #218739); }
.sg-mini-last { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 26px 0 0; font-size: 15px; color: var(--text-2); }
@media (max-width: 920px) {
  .sg-mini-row { grid-template-columns: 1fr; }
}
