:root {
  color-scheme: dark;
  --base: #11111b;
  --surface: #181825;
  --surface-2: #1e1e2e;
  --border: #313244;
  --text: #cdd6f4;
  --muted: #9399b2;
  --blue: #89b4fa;
  --sky: #74c7ec;
  --green: #a6e3a1;
  --yellow: #f9e2af;
  --red: #f38ba8;
  --radius: 22px;
}

html[data-theme="light"] {
  color-scheme: light;
  --base: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --border: #d7deea;
  --text: #1c2434;
  --muted: #5e6a7e;
  --blue: #2563d7;
  --sky: #1684c7;
  --green: #237b4b;
  --yellow: #946200;
  --red: #bd3153;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--base);
  color: var(--text);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(137,180,250,.72);
  outline-offset: 4px;
}
.section-shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.ambient-one { width: 620px; height: 620px; top: -280px; right: -210px; background: radial-gradient(circle, rgba(137,180,250,.12), transparent 68%); }
.ambient-two { width: 540px; height: 540px; top: 480px; left: -360px; background: radial-gradient(circle, rgba(116,199,236,.08), transparent 70%); }

.site-header {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 12px auto 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; }
.brand-wordmark { width: auto; height: 34px; display: block; object-fit: contain; }
.site-footer .brand-wordmark { height: 28px; }
.site-header nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover { color: var(--text); }
.github-link { padding: 9px 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--text) !important; }
.theme-toggle { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.theme-toggle:hover { border-color: var(--blue); color: var(--text); background: rgba(137,180,250,.08); }
.theme-toggle > span:first-child { width: 14px; font-size: 17px; line-height: 1; }

.hero { min-height: 690px; padding: 88px 0 100px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(166,227,161,.2); border-radius: 999px; background: rgba(166,227,161,.06); color: var(--green); font-size: 13px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(166,227,161,.1); }
h1 { margin: 26px 0 24px; font-size: clamp(50px, 6vw, 76px); line-height: 1.03; letter-spacing: -.065em; }
h1 span { color: var(--blue); }
.hero-description { max-width: 570px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; word-break: keep-all; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 13px; font-size: 14px; font-weight: 700; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--blue), var(--sky)); color: #11111b; box-shadow: 0 16px 36px rgba(116,199,236,.18); }
.button-secondary { border: 1px solid var(--border); background: rgba(30,30,46,.55); }
.button-os { font-size: 21px; }
.button strong, .button small { display: block; text-align: left; }
.button small { margin-top: 2px; opacity: .68; font-size: 10px; font-weight: 650; }
.microcopy { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

.product-stage { min-height: 470px; position: relative; display: grid; place-items: center; }
.stage-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(137,180,250,.22), rgba(137,180,250,.03) 52%, transparent 70%); }
.widget-preview { width: min(356px, 100%); position: relative; z-index: 2; padding: 13px; border: 1px solid #3c3f5a; border-radius: 13px; background: rgba(30,30,46,.96); box-shadow: 0 38px 90px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.03); }
.widget-header, .widget-brand { display: flex; align-items: center; }
.widget-header { justify-content: space-between; margin-bottom: 10px; }
.widget-brand { gap: 5px; font-size: 13px; }
.widget-brand > img { border-radius: 5px; }
.preview-version { color: #7f849c; font-size: 8px; font-weight: 750; }
.widget-tools { display: flex; gap: 10px; color: #8d93aa; font-size: 13px; }
.provider-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.preview-tab { min-width: 0; padding: 7px 6px; display: flex; align-items: center; gap: 5px; border: 1px solid #3c3f5a; border-radius: 8px; background: #252538; }
.preview-tab.is-selected { border-color: #89b4fa; background: rgba(137,180,250,.10); }
.preview-tab > span:last-child { min-width: 0; display: grid; gap: 1px; }
.preview-tab small { overflow: hidden; color: #a6adc8; font-size: 8px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.preview-tab b { color: #cdd6f4; font-size: 10px; line-height: 1.1; white-space: nowrap; }
.preview-provider-badge { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border-radius: 5px; font-size: 9px; font-style: normal; font-weight: 850; }
.preview-provider-badge img { width: 10px; height: 10px; display: block; }
.codex-badge { background: #252b3f; color: var(--blue); }
.gemini-badge { background: #26372f; color: var(--green); }
.claude-badge { background: #3a2b2b; color: #fab387; }
.focus-rings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.focus-ring-card { min-height: 164px; padding: 12px 8px 10px; display: grid; justify-items: center; align-content: space-between; border: 1px solid #3c3f5a; border-radius: 9px; background: #252538; }
.focus-ring-card > strong { color: #89b4fa; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.focus-ring-card > small { color: #cdd6f4; font-size: 11px; font-weight: 700; }
.preview-ring { width: 82px; height: 82px; position: relative; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: conic-gradient(var(--ring-color) var(--progress), #45475a 0); }
.preview-ring::before { content: ""; position: absolute; inset: 8px; border-radius: inherit; background: #252538; }
.preview-ring b, .preview-ring span { position: relative; z-index: 1; }
.preview-ring b { color: #cdd6f4; font-size: 23px; line-height: 1; }
.preview-ring span { align-self: center; margin: 10px 0 0 2px; color: #a6adc8; font-size: 10px; font-weight: 700; }
.session-ring { --ring-color: #cba6f7; --progress: 59%; }
.weekly-ring { --ring-color: #89b4fa; --progress: 72%; }
.stage-caption { position: absolute; z-index: 3; right: -10px; bottom: -22px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(17,17,27,.94); color: var(--muted); font-size: 11px; backdrop-filter: blur(10px); }
.stage-caption::before { content: ""; position: absolute; right: 20px; top: -5px; width: 8px; height: 8px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); background: #11111b; transform: rotate(45deg); }
.stage-caption span { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--blue); }

html[data-theme="light"] .button-secondary { background: rgba(255,255,255,.72); }
html[data-theme="light"] .brand-wordmark { filter: brightness(0) saturate(100%) invert(13%) sepia(19%) saturate(1251%) hue-rotate(183deg) brightness(94%) contrast(93%); }
html[data-theme="light"] .widget-preview { border-color: #c6d0df; background: rgba(255,255,255,.96); box-shadow: 0 28px 60px rgba(38,57,82,.16), inset 0 1px rgba(255,255,255,.8); }
html[data-theme="light"] .preview-version, html[data-theme="light"] .widget-tools { color: #64748b; }
html[data-theme="light"] .preview-tab, html[data-theme="light"] .focus-ring-card { border-color: #d2dae7; background: #f2f5f9; }
html[data-theme="light"] .preview-tab.is-selected { border-color: var(--blue); background: #e9f0ff; }
html[data-theme="light"] .preview-tab small, html[data-theme="light"] .preview-ring span { color: #65748a; }
html[data-theme="light"] .preview-tab b, html[data-theme="light"] .focus-ring-card > small, html[data-theme="light"] .preview-ring b { color: #1c2940; }
html[data-theme="light"] .codex-badge { background: #e8effd; }
html[data-theme="light"] .gemini-badge { background: #e8f5ed; }
html[data-theme="light"] .claude-badge { background: #fbece6; }
html[data-theme="light"] .preview-ring { background: conic-gradient(var(--ring-color) var(--progress), #d5dce7 0); }
html[data-theme="light"] .preview-ring::before { background: #f2f5f9; }
html[data-theme="light"] .stage-caption { background: rgba(255,255,255,.94); box-shadow: 0 10px 28px rgba(38,57,82,.12); }
html[data-theme="light"] .stage-caption::before { background: #fff; }
html[data-theme="light"] .feature-grid article, html[data-theme="light"] .error-grid article, html[data-theme="light"] .update-flow article, html[data-theme="light"] .mac-first-run { background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,244,249,.82)); }
html[data-theme="light"] .download-section, html[data-theme="light"] .troubleshooting, html[data-theme="light"] .updates { border-color: rgba(203,212,226,.85); }
html[data-theme="light"] .mac-first-run-steps li { border-color: #d8e0eb; background: rgba(255,255,255,.76); }
html[data-theme="light"] .requirement-list, html[data-theme="light"] .privacy-points, html[data-theme="light"] .mac-setup { background: rgba(255,255,255,.76); }
html[data-theme="light"] .command-list { background: #1f2937; }
html[data-theme="light"] .command-list code { background: #111827; }
html[data-theme="light"] .final-cta { background: radial-gradient(circle at 50% 0, rgba(37,99,215,.12), transparent 44%), #fff; }
html[data-theme="light"] .site-footer { color: #6b7789; }

.features, .download-section, .requirements, .troubleshooting, .updates, .privacy { padding: 110px 0; }
.section-heading { margin-bottom: 42px; }
.section-heading.centered { text-align: center; }
.section-kicker { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.section-heading h2, .requirement-copy h2, .final-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.16; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 14px auto 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-grid article { min-height: 220px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(30,30,46,.85), rgba(24,24,37,.62)); }
.feature-icon { width: 38px; height: 28px; display: grid; place-items: center; margin-bottom: 40px; border-radius: 8px; background: rgba(137,180,250,.1); color: var(--blue); font-size: 11px; font-weight: 800; }
.feature-grid h3 { margin: 0 0 12px; font-size: 18px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; word-break: keep-all; }

.download-section { border-top: 1px solid rgba(49,50,68,.55); }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.download-card { min-height: 270px; padding: 27px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform .2s ease, border-color .2s ease; }
.download-card:hover, .download-card.recommended { transform: translateY(-4px); border-color: rgba(137,180,250,.65); }
.download-card.recommended::before { content: "이 기기에 추천"; align-self: flex-end; margin: -10px -8px -13px 0; padding: 5px 8px; border-radius: 7px; background: rgba(137,180,250,.12); color: var(--blue); font-size: 10px; font-weight: 800; }
.os-mark { width: 48px; height: 48px; margin-bottom: 29px; color: var(--blue); }
.windows-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: perspective(50px) rotateY(-6deg); }
.windows-mark span { background: var(--blue); }
.apple-mark { display: grid; place-items: center; border: 3px solid var(--blue); border-radius: 50% 50% 48% 52%; font-size: 0; }
.apple-mark::before { content: ""; width: 16px; height: 20px; border-radius: 55% 45% 50% 50%; background: var(--blue); }
.intel-mark { display: grid; place-items: center; border: 2px solid var(--blue); border-radius: 13px; font-size: 12px; font-weight: 900; }
.download-card h3 { margin: 0 0 6px; font-size: 22px; }
.download-card p { margin: 0; color: var(--muted); font-size: 13px; }
.download-link { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--border); color: var(--blue); font-size: 13px; font-weight: 750; }
.download-link span { font-size: 17px; }
.download-support { margin: 24px 0 0; display: flex; align-items: center; justify-content: center; gap: 22px; color: var(--muted); font-size: 12px; }
.download-support a { border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.download-support a:hover { color: var(--blue); border-color: rgba(137,180,250,.48); }
.signing-note { max-width: 760px; margin: 24px auto 0; color: #6c7086; text-align: center; font-size: 11px; line-height: 1.6; }
.mac-first-run { max-width: 980px; margin: 34px auto 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(30,30,46,.9), rgba(24,24,37,.72)); }
.mac-first-run-heading { display: grid; grid-template-columns: .55fr .9fr 1.55fr; align-items: center; gap: 22px; }
.mac-first-run-heading .section-kicker { margin: 0; }
.mac-first-run-heading h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.mac-first-run-heading > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; word-break: keep-all; }
.mac-first-run-steps { margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; }
.mac-first-run-steps li { min-height: 150px; padding: 16px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid rgba(69,71,90,.72); border-radius: 13px; background: rgba(17,17,27,.72); }
.mac-first-run-steps li > span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(137,180,250,.13); color: var(--blue); font-size: 10px; font-weight: 850; }
.mac-first-run-steps strong { display: block; margin: 3px 0 8px; font-size: 12px; }
.mac-first-run-steps p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; word-break: keep-all; }
.mac-first-run-steps b { color: var(--text); }
.mac-first-run-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }
.mac-first-run-note b { color: var(--text); }
.mac-first-run-note a { color: var(--blue); font-weight: 750; white-space: nowrap; }

.requirements { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.requirement-copy > p:last-child { margin: 22px 0 0; color: var(--muted); line-height: 1.75; word-break: keep-all; }
.requirement-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: rgba(24,24,37,.7); }
.requirement-list > div { min-height: 86px; padding: 0 22px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--border); }
.requirement-list > div:last-child { border-bottom: 0; }
.service-letter { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: rgba(137,180,250,.12); color: var(--blue); font-size: 11px; font-weight: 850; }
.service-letter img { width: 18px; height: 18px; display: block; }
.gemini-letter { color: var(--green); background: rgba(166,227,161,.1); }
.claude-letter { color: #fab387; background: rgba(250,179,135,.1); }
.claude-letter { color: #fab387; background: rgba(250,179,135,.1); }
.requirement-list p { margin: 0; flex: 1; }
.requirement-list strong, .requirement-list small { display: block; }
.requirement-list small { margin-top: 4px; color: var(--muted); }
.requirement-list b { padding: 5px 8px; border-radius: 7px; background: rgba(166,227,161,.1); color: var(--green); font-size: 10px; white-space: nowrap; }

.troubleshooting { border-top: 1px solid rgba(49,50,68,.55); }
.error-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.error-grid article { min-height: 210px; padding: 23px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, rgba(30,30,46,.85), rgba(24,24,37,.62)); }
.error-badge { display: inline-flex; padding: 6px 9px; border-radius: 8px; background: rgba(243,139,168,.14); color: var(--red); font-size: 10px; font-weight: 800; }
.error-badge.warning { background: rgba(249,226,175,.12); color: var(--yellow); }
.error-badge.muted { background: rgba(147,153,178,.12); color: var(--muted); }
.error-grid h3 { margin: 28px 0 10px; font-size: 17px; }
.error-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; word-break: keep-all; }
.error-grid code, .restart-note code { color: var(--blue); font-family: "SFMono-Regular", Consolas, monospace; font-size: .92em; }
.permission-note { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 24px; align-items: center; margin-top: 18px; padding: 20px 24px; border: 1px solid rgba(249,226,175,.22); border-radius: 15px; background: rgba(249,226,175,.055); }
.permission-note strong { color: var(--yellow); font-size: 14px; }
.permission-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.permission-note b { color: var(--text); }
.mac-setup { margin-top: 18px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(24,24,37,.72); }
.mac-setup-copy { display: grid; grid-template-columns: .65fr 1fr 1.35fr; align-items: end; gap: 24px; margin-bottom: 24px; }
.mac-setup-copy .section-kicker { align-self: center; }
.mac-setup-copy h3 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.mac-setup-copy > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.command-list { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #11111b; }
.command-list > div { min-height: 58px; padding: 10px 14px; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); }
.command-list > div:last-child { border-bottom: 0; }
.command-list span { color: var(--text); font-size: 12px; font-weight: 750; }
.command-list code { overflow-x: auto; padding: 7px 9px; border-radius: 7px; background: #181825; color: var(--green); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; white-space: nowrap; }
.command-list a { color: var(--blue); font-size: 10px; font-weight: 750; white-space: nowrap; }
.restart-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.restart-note strong { color: var(--text); }

.updates { border-top: 1px solid rgba(49,50,68,.55); }
.update-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.update-flow article { min-height: 220px; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(30,30,46,.86), rgba(24,24,37,.62)); }
.update-flow article > span { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 50%; background: rgba(137,180,250,.12); color: var(--blue); font-size: 12px; font-weight: 850; }
.update-flow h3 { margin: 0 0 11px; font-size: 18px; }
.update-flow p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; word-break: keep-all; }
.document-links { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.document-links a { padding: 9px 13px; border: 1px solid var(--border); border-radius: 9px; color: var(--muted); font-size: 12px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.document-links a:hover { border-color: rgba(137,180,250,.55); background: rgba(137,180,250,.06); color: var(--text); }

.privacy { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.privacy h2 { margin: 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.16; letter-spacing: -.045em; }
.privacy-points { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(24,24,37,.7); }
.privacy-points p { min-height: 94px; margin: 0; padding: 21px 24px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--border); }
.privacy-points p:last-child { border-bottom: 0; }
.privacy-points strong { margin-bottom: 7px; font-size: 15px; }
.privacy-points span { color: var(--muted); font-size: 13px; line-height: 1.65; word-break: keep-all; }

.final-cta { margin-top: 70px; padding: 90px 30px; text-align: center; border: 1px solid var(--border); border-radius: 28px; background: radial-gradient(circle at 50% 0, rgba(137,180,250,.12), transparent 44%), var(--surface); }
.final-cta h2 { margin: 22px 0 30px; }
.site-footer { min-height: 130px; display: flex; align-items: center; justify-content: space-between; color: #6c7086; font-size: 12px; }
.site-footer a { color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .site-header nav a:not(.github-link) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; text-align: center; gap: 26px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-description { max-width: 650px; }
  .product-stage { min-height: 430px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr 1fr; }
  .compact-card { grid-column: 1 / -1; min-height: 210px; }
  .mac-first-run-heading { grid-template-columns: 1fr; gap: 9px; }
  .mac-first-run-steps { grid-template-columns: 1fr 1fr; }
  .requirements { grid-template-columns: 1fr; gap: 42px; }
  .error-grid { grid-template-columns: 1fr 1fr; }
  .permission-note { grid-template-columns: 1fr; gap: 8px; }
  .mac-setup-copy { grid-template-columns: 1fr; gap: 10px; }
  .update-flow { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; gap: 42px; }
  .site-footer { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 28px, 1120px); }
  .site-header { height: 60px; padding: 0 4px; }
  .github-link { padding: 8px 10px; }
  .theme-toggle { min-width: 34px; padding: 0 8px; justify-content: center; }
  .theme-toggle-label { display: none; }
  .hero { min-height: auto; padding: 60px 0 70px; }
  h1 { font-size: 48px; }
  .hero-description { font-size: 16px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .product-stage { min-height: 390px; }
  .stage-caption { right: 8px; bottom: -22px; }
  .features, .download-section, .requirements, .troubleshooting, .updates, .privacy { padding: 78px 0; }
  .feature-grid, .download-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 190px; }
  .compact-card { grid-column: auto; min-height: 240px; }
  .download-support { flex-direction: column; gap: 10px; }
  .mac-first-run { padding: 20px; }
  .mac-first-run-steps { grid-template-columns: 1fr; }
  .mac-first-run-steps li { min-height: auto; }
  .error-grid { grid-template-columns: 1fr; }
  .error-grid article { min-height: 175px; }
  .mac-setup { padding: 20px; }
  .command-list > div { grid-template-columns: 1fr; gap: 7px; padding: 14px; }
  .command-list code { width: 100%; }
  .update-flow article { min-height: 190px; }
  .final-cta { margin-top: 40px; padding: 65px 18px; }
  .site-footer { padding: 35px 0; flex-direction: column; justify-content: center; gap: 12px; }
  .footer-links { gap: 14px; flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
