:root { color-scheme: light dark; --bg: #fafaf7; --text: #252d29; --muted: #59675e; --line: #d9e0d9; --surface: #fff; --accent: #275e48; --control: #eef3ed; --control-hover: #dcebdd; }
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
header, main, footer { width: min(1080px, calc(100% - 48px)); margin: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; color: var(--text); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: .9rem; }
.skip { position: absolute; left: 12px; top: -100px; padding: 8px 16px; background: var(--surface); }
.skip:focus { top: 8px; }
section { padding: 58px 0; }
.hero { padding: 76px 0 68px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-size: .78rem; font-weight: 750; }
h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 750; margin: 22px 0 26px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.025em; line-height: 1.2; margin: 0 0 24px; }
h3 { font-size: 1.15rem; margin: 0 0 12px; }
p { margin: 0 0 20px; }
.intro { font-size: 1.2rem; max-width: 690px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 30px 0 20px; }
.button { display: inline-block; background: var(--accent); color: var(--bg); border-radius: 999px; padding: 11px 23px; text-decoration: none; font-weight: 650; }
.status, .muted, figcaption { color: var(--muted); font-size: .9rem; }
.flow { color: var(--accent); font-weight: 650; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
article { border-top: 2px solid var(--line); padding-top: 22px; }
article p { color: var(--muted); margin-bottom: 0; }
figure { margin: 30px 0; }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 35px #18251c12; }
figcaption { margin-top: 12px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; margin-top: 30px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery-wide { grid-column: 1 / -1; }
.gallery a { display: block; border-radius: 16px; }
.gallery-frame { aspect-ratio: 4 / 3; padding: 12px; background: var(--surface); border: 1px solid var(--line); }
.gallery-frame.gallery-portrait { aspect-ratio: 1 / 1; }
.gallery-frame img { width: 100%; height: 100%; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
#install { border-top: 1px solid var(--line); }
#install h3 { margin-top: 32px; }
.install-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.install-tabs button, .copy-command { border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px; background: var(--surface); color: var(--text); }
.install-tabs [aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.command-block { margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.command-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 0 20px; color: var(--muted); font-size: .8rem; }
.command-block pre { margin: 0; border: 0; background: transparent; padding-top: 14px; }
.copy-command { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 116px; min-height: 44px; font-size: .9rem; font-weight: 650; border-color: var(--accent); background: var(--control); color: var(--accent); transition: background-color .15s, box-shadow .15s, transform .1s; }
.copy-command svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.copied-icon { display: none; }
.copy-command[data-state="copied"] { background: var(--accent); color: var(--bg); }
.copy-command[data-state="copied"] .copy-icon { display: none; }
.copy-command[data-state="copied"] .copied-icon { display: initial; }
@media (hover: hover) {
  .copy-command:hover:not(:disabled):not([data-state="copied"]), .install-tabs button:hover:not([aria-selected="true"]) { background: var(--control-hover); border-color: var(--accent); }
  .copy-command:hover:not(:disabled) { box-shadow: 0 2px 5px #18251c26; }
}
.copy-command:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 1px 3px #18251c33; }
.copy-command:disabled { cursor: progress; opacity: .7; }
.copy-feedback { color: var(--accent); font-size: .95rem; font-weight: 600; }
.copy-feedback:empty { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.activation-note { margin: 28px 0; padding: 0 24px 4px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--surface); }
ol { padding-left: 24px; }
li { padding: 4px 0; }
pre { overflow-x: auto; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: .86rem; }
.closing { border-top: 1px solid var(--line); }
.closing p { max-width: 790px; }
footer { border-top: 1px solid var(--line); padding: 26px 0 42px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .85rem; }
@media (max-width: 640px) {
  header, main, footer { width: calc(100% - 32px); }
  header { align-items: flex-start; flex-direction: column; gap: 16px; }
  nav { gap: 20px; }
  .hero { padding: 40px 0; }
  section { padding: 38px 0; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 28px; }
  footer { flex-direction: column; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #18201c; --text: #edf0ec; --muted: #b1bdb4; --line: #3a4940; --surface: #202b24; --accent: #a7d6b7; --control: #293e32; --control-hover: #354f3f; }
}
@media (prefers-reduced-motion: reduce) {
  .copy-command { transition: none; }
}
