:root {
  --ink: #112337;
  --muted: #647386;
  --paper: #f6f5ef;
  --paper-deep: #ecece4;
  --white: #fffefa;
  --navy: #12263b;
  --cyan: #38d9cb;
  --cyan-deep: #0d8e88;
  --coral: #ff806f;
  --lilac: #d9d5ff;
  --line: #d9ddd8;
  --shadow: 0 24px 60px rgba(17, 35, 55, .10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 12px 16px; border-radius: 999px; background: var(--navy); color: white; text-decoration: none; }
.skip-link:focus { top: 16px; }

.site-header { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 18px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 850; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.brand em { color: var(--cyan-deep); font-style: normal; }
.brand-mark { display: inline-flex; gap: 3px; align-items: end; height: 18px; }
.brand-mark i { display: block; width: 4px; border-radius: 99px; background: var(--navy); }
.brand-mark i:nth-child(1) { height: 9px; opacity: .52; }
.brand-mark i:nth-child(2) { height: 14px; background: var(--cyan-deep); }
.brand-mark i:nth-child(3) { height: 18px; background: var(--coral); }
.top-nav { display: flex; gap: 24px; margin-left: auto; }
.top-nav a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.top-nav a:hover, .top-nav a:focus-visible { color: var(--ink); }
.header-tag { padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; }

.hero { width: min(1180px, calc(100% - 48px)); margin: 24px auto 100px; padding: clamp(40px, 7vw, 90px) clamp(28px, 7vw, 94px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: clamp(40px, 8vw, 120px); overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(115deg, #d8d4ff 0%, #d9d7ff 42%, #d3edf0 100%); position: relative; }
.hero::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(17,35,55,.08); right: 25%; top: -230px; }
.hero::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.22); right: -60px; bottom: -80px; }
.hero-copy, .hero-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--cyan-deep); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.eyebrow span { color: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 24px; color: var(--navy); font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -.075em; }
h1 span { color: #187e83; }
.hero-lede { max-width: 530px; margin-bottom: 30px; color: #405567; font-size: 16px; line-height: 1.75; word-break: keep-all; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; box-shadow: 0 10px 20px rgba(18,38,59,.16); }
.button-primary:hover, .button-primary:focus-visible { box-shadow: 0 14px 26px rgba(18,38,59,.24); }
.button-quiet { color: var(--navy); border: 1px solid rgba(17,35,55,.24); }
.button-dark { background: var(--navy); color: var(--white); }
.origin-line { margin: 0; color: #536a79; font-size: 11px; }
.origin-line span { margin: 0 7px; color: var(--coral); }
.hero-card { padding: 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; background: rgba(255,255,255,.56); box-shadow: 0 18px 50px rgba(56,89,110,.10); backdrop-filter: blur(10px); }
.hero-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,128,111,.16); }
.terminal-window { border-radius: 14px; background: var(--navy); overflow: hidden; box-shadow: 0 12px 26px rgba(17,35,55,.19); }
.terminal-top { min-height: 34px; padding: 0 13px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid rgba(255,255,255,.12); color: #98acbb; }
.terminal-top span { width: 6px; height: 6px; border-radius: 50%; background: #647789; }
.terminal-top span:nth-child(2) { background: var(--lilac); }
.terminal-top span:nth-child(3) { background: var(--cyan); }
.terminal-top b { margin-left: 8px; font-size: 9px; font-weight: 600; }
.terminal-body { padding: 24px 20px 27px; color: #f4f7ef; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.9; }
.terminal-body p { margin: 0; }
.prompt { margin-right: 9px; color: var(--cyan); }
.muted { color: #9baebe; }
.success { color: var(--cyan); }
.hero-card-footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 18px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.hero-card-footer strong { display: block; color: var(--navy); font-size: 18px; line-height: 1.1; }

.section { width: min(1050px, calc(100% - 48px)); margin: 0 auto 120px; }
.section-heading { max-width: 690px; margin-bottom: 36px; }
.section-heading h2, .warning-heading h2 { margin-bottom: 16px; color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.06em; }
.section-heading > p:last-child, .warning-heading > div > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.7; word-break: keep-all; }
.split-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.split-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
code { padding: 2px 6px; border-radius: 5px; background: rgba(17,35,55,.07); color: var(--navy); font-family: "SFMono-Regular", Consolas, monospace; font-size: .9em; }

.install-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: stretch; }
.command-card, .release-card { border-radius: var(--radius-md); }
.command-card { padding: 24px; background: var(--navy); box-shadow: var(--shadow); }
.command-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.os-switcher { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.11); }
.os-tab { padding: 9px 12px; border: 0; border-radius: 99px; background: transparent; color: #8da3b0; cursor: pointer; font-size: 11px; font-weight: 800; }
.os-tab.is-active { background: var(--cyan); color: var(--navy); }
.command-label { color: #b8c8ce; font-size: 11px; }
.command-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 17px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(0,0,0,.17); }
.command-line code { padding: 0; overflow-wrap: anywhere; background: none; color: #f4f7ef; font-size: 12px; line-height: 1.6; }
.copy-button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--white); color: var(--navy); cursor: pointer; font-size: 11px; font-weight: 850; }
.copy-button:hover, .copy-button:focus-visible { background: var(--cyan); }
.copy-status { min-height: 18px; margin: 12px 2px 0; color: #a4b9c0; font-size: 11px; }
.release-card { padding: 24px; background: var(--coral); }
.release-card .eyebrow { color: var(--navy); }
.release-card h3 { margin-bottom: 20px; color: var(--navy); font-size: 25px; line-height: 1.1; letter-spacing: -.06em; }
.mini-checklist { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; color: #273f4e; font-size: 12px; line-height: 1.4; }
.mini-checklist li { display: flex; gap: 9px; }
.mini-checklist span { color: #8c4038; font-family: monospace; font-size: 10px; font-weight: 800; }
.text-link { color: var(--navy); font-size: 12px; font-weight: 850; text-underline-offset: 4px; }
.guard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.guard-card { min-height: 156px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.35); }
.card-number { display: inline-grid; width: 25px; height: 25px; margin-bottom: 26px; place-items: center; border-radius: 50%; background: var(--lilac); color: var(--navy); font-size: 10px; font-weight: 900; }
.guard-card h3 { margin-bottom: 8px; font-size: 16px; letter-spacing: -.04em; }
.guard-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; word-break: keep-all; }

.steps-section { padding-top: 4px; }
.steps-source { padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.steps-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.step-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); counter-increment: steps; }
.step-item::before { content: counter(steps, decimal-leading-zero); display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--lilac); color: var(--navy); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 900; }
.step-item h3 { margin: 2px 0 7px; font-size: 15px; letter-spacing: -.03em; }
.step-item p { margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.step-item .step-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.step-meta span { padding: 5px 7px; border-radius: 5px; background: var(--paper-deep); color: var(--muted); font-size: 10px; }
.step-meta .pass { background: #d8f3e9; color: #26745e; }
.noscript-note { padding: 16px; border-radius: 10px; background: #fff3cf; color: #735a23; font-size: 13px; }

.unsigned-section { padding: clamp(30px, 5vw, 58px); border-radius: var(--radius-lg); background: #e7e2ff; }
.warning-heading { display: grid; grid-template-columns: 48px 1fr; gap: 20px; max-width: 760px; margin-bottom: 36px; }
.warning-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--coral); color: var(--navy); font-size: 22px; font-weight: 900; }
.warning-heading h2 { font-size: clamp(28px, 4vw, 43px); }
.warning-heading > div > p:last-child { margin-bottom: 0; color: #59627a; }
.unsigned-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.procedure-card { padding: 24px; border: 1px solid rgba(17,35,55,.12); border-radius: var(--radius-md); background: rgba(255,255,255,.57); }
.procedure-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); font-size: 11px; font-weight: 800; }
.platform-badge { padding: 7px 9px; border-radius: 6px; color: var(--navy); font-size: 10px; font-weight: 900; }
.mac-badge { background: var(--cyan); }
.win-badge { background: var(--coral); }
.procedure-card ol { margin: 0; padding-left: 20px; color: #4f5d72; font-size: 12px; line-height: 1.7; }
.procedure-card li { padding: 4px 0 4px 5px; }
.procedure-card strong { color: var(--navy); }
.procedure-stop { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(17,35,55,.12); color: #88483d; font-size: 11px; line-height: 1.55; }

.downloads-section { position: relative; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.download-step { padding: 22px; border-radius: var(--radius-md); background: var(--white); box-shadow: 0 8px 25px rgba(17,35,55,.05); }
.download-step > span { color: var(--coral); font-family: monospace; font-size: 11px; font-weight: 900; }
.download-step h3 { margin: 28px 0 8px; font-size: 17px; }
.download-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; word-break: keep-all; }
.download-step a { color: var(--cyan-deep); font-weight: 800; text-underline-offset: 3px; }
.release-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 16px; border: 1px dashed #bcc7bf; border-radius: var(--radius-sm); }
.release-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.note-mark { display: grid; flex: 0 0 auto; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--navy); font-size: 11px; font-weight: 900; }

.help-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: 18px; }
.troubleshooting-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; gap: 12px; padding: 18px 4px; cursor: pointer; color: var(--navy); font-size: 13px; font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; color: var(--cyan-deep); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details > p { margin: -4px 28px 18px 4px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.error-id { padding: 6px 7px; border-radius: 5px; background: var(--paper-deep); color: var(--cyan-deep); font-family: monospace; font-size: 9px; font-weight: 900; white-space: nowrap; }
.reset-card { padding: 24px; border-radius: var(--radius-md); background: var(--navy); color: white; }
.reset-card .eyebrow { color: var(--cyan); }
.reset-card h3 { margin-bottom: 10px; font-size: 23px; letter-spacing: -.06em; }
.reset-card > p:not(.eyebrow) { margin-bottom: 20px; color: #adbdc8; font-size: 12px; line-height: 1.6; }
.recovery-line { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.15); color: #adbdc8; font-size: 10px; }
.recovery-line code { background: rgba(255,255,255,.1); color: var(--cyan); }

.attribution-section { margin-bottom: 80px; }
.attribution-box { padding: clamp(28px, 5vw, 50px); border-radius: var(--radius-lg); background: var(--navy); color: white; }
.attribution-box .eyebrow { color: var(--cyan); }
.attribution-box h2 { max-width: 680px; margin-bottom: 18px; color: white; font-size: clamp(28px, 4vw, 46px); line-height: 1.04; letter-spacing: -.06em; }
.attribution-box p:not(.eyebrow) { max-width: 740px; margin-bottom: 26px; color: #b7c7cd; font-size: 13px; line-height: 1.8; word-break: keep-all; }
.attribution-box p a { color: var(--cyan); text-underline-offset: 3px; }
.attribution-box p strong { color: white; }
.site-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0 38px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.site-footer > div { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.site-footer strong { color: var(--navy); letter-spacing: .12em; }
.site-footer a { color: var(--cyan-deep); font-weight: 700; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
@media (max-width: 860px) {
  .site-header { gap: 16px; }
  .top-nav { gap: 14px; }
  .header-tag { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; }
  .hero-card { max-width: 470px; }
  .install-layout, .help-layout { grid-template-columns: 1fr; }
  .release-card { min-height: 0; }
}
@media (max-width: 620px) {
  .site-header, .hero, .section, .site-footer { width: min(100% - 32px, 1050px); }
  .site-header { padding-top: 18px; }
  .top-nav { display: none; }
  .hero { margin-top: 12px; margin-bottom: 72px; padding: 36px 24px; border-radius: 22px; }
  h1 { font-size: clamp(39px, 13vw, 62px); }
  .hero-lede { font-size: 14px; }
  .hero-card-footer { gap: 7px; }
  .section { margin-bottom: 84px; }
  .section-heading h2, .warning-heading h2 { font-size: 34px; }
  .command-card { padding: 18px; }
  .command-card-head { align-items: flex-start; flex-direction: column; }
  .command-label { align-self: flex-start; }
  .command-line { grid-template-columns: 1fr; }
  .copy-button { justify-self: start; padding-inline: 18px; }
  .guard-grid, .unsigned-grid, .download-grid { grid-template-columns: 1fr; }
  .guard-card { min-height: auto; }
  .split-heading { display: block; }
  .steps-source { display: inline-block; margin-top: 4px; white-space: normal; }
  .steps-list { grid-template-columns: 1fr; }
  .unsigned-section { padding: 26px 20px; border-radius: 22px; }
  .warning-heading { grid-template-columns: 1fr; gap: 16px; }
  .procedure-card { padding: 20px; }
  .site-footer { display: block; }
  .site-footer > div + div { margin-top: 12px; }
}
