:root {
  --bg: #10040a;
  --card: rgba(28, 10, 18, 0.92);
  --chip: #160810;
  --line: rgba(196, 69, 105, 0.32);
  --accent: #c44569;
  --accent-hot: #e45480;
  --accent-deep: #8e1b3d;
  --blush: #f2c4d0;
  --text: #fff0f4;
  --muted: rgba(255, 240, 244, 0.7);
  --faint: rgba(255, 240, 244, 0.48);
  --radius: 22px;
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 70% 42% at 50% -8%, rgba(226, 84, 128, 0.28), transparent 58%),
    radial-gradient(ellipse 40% 32% at 100% 0%, rgba(142, 27, 61, 0.45), transparent 52%),
    radial-gradient(ellipse 36% 28% at 0% 10%, rgba(142, 27, 61, 0.28), transparent 50%),
    var(--bg);
  background-attachment: fixed;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 3px;
}

.container { width: min(820px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 4, 10, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 69, 105, 0.2);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(142, 27, 61, 0.45);
}
.brand-name {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
  font-style: italic;
}
.brand-name em {
  font-style: italic;
  color: var(--accent-hot);
}
.brand-host {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent));
  border-radius: 999px;
  padding: 9px 14px;
  box-shadow: 0 8px 20px rgba(196, 69, 105, 0.35);
}
.header-link:hover { filter: brightness(1.06); }

.os-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
  scrollbar-width: none;
}
.os-nav::-webkit-scrollbar { display: none; }
.os-nav a {
  flex: 0 0 auto;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--text);
}
.os-nav a:hover { border-color: var(--accent-hot); }
.os-nav a[aria-current="page"] {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(196, 69, 105, 0.32);
}

main { padding: 28px 0 64px; }

.hint {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(196, 69, 105, 0.14);
  border: 1px solid var(--line);
  color: var(--blush);
  font-size: 15px;
}
.hint a { color: #fff; font-weight: 700; }

.sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 12px;
}
.eyebrow {
  color: var(--blush);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sheet h1 {
  margin: 8px 0 8px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 750;
}
.lede { color: var(--muted); max-width: 62ch; }

.hero-keys {
  margin: 22px 0 8px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(228, 84, 128, 0.16), rgba(16, 4, 10, 0.2));
  border: 1px solid rgba(228, 84, 128, 0.28);
}
.hero-keys .eyebrow { margin-bottom: 12px; }
.hero-keys .note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.combo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
}
.verb {
  color: var(--faint);
  font-size: 14px;
  font-weight: 600;
}
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  min-height: 42px;
  padding: 6px 12px;
  border-radius: 11px;
  border: 1px solid #fff;
  background: linear-gradient(#fff, #f6d5df);
  color: #2a1018;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  box-shadow: 0 2px 0 #c9a0ac, 0 10px 18px rgba(0, 0, 0, 0.22);
}
kbd svg { width: 16px; height: 16px; }
.equals {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  margin: 0 0 6px;
}
.equals > span:first-child {
  color: var(--accent-hot);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
}
.equals > span:last-child {
  color: rgba(255, 240, 244, 0.9);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
}

.qa {
  padding: 22px 0;
  border-top: 1px solid rgba(196, 69, 105, 0.2);
}
.qa h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.25;
}
.qa p { color: rgba(255, 240, 244, 0.88); margin-top: 8px; }
.qa p.tight { margin-top: 0; }

.steps {
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.steps li > span { min-width: 0; }
.steps li::before {
  content: counter(step);
  counter-increment: step;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.steps { counter-reset: step; }

.keys-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 4px;
  font-size: 15px;
}
.keys-table th,
.keys-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(196, 69, 105, 0.18);
  vertical-align: top;
}
.keys-table th {
  color: var(--blush);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.keys-table td:first-child { font-weight: 700; white-space: nowrap; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: #0c0308;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 6px;
  color: var(--blush);
}
.terminal {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0c0308;
  border: 1px solid var(--line);
  overflow-x: auto;
  color: var(--blush);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.static { max-width: 68ch; }
.static h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.04em; margin: 8px 0 12px; }
.static h2 { font-size: 22px; margin: 26px 0 8px; }
.static p, .static li { color: rgba(255, 240, 244, 0.88); }
.static ul { padding-left: 18px; }
.static li { margin: 6px 0; }
.static a { color: var(--blush); }

.site-footer {
  border-top: 1px solid rgba(196, 69, 105, 0.2);
  padding: 22px 0 36px;
  color: var(--faint);
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}
.footer-links a { color: var(--blush); text-decoration: none; font-weight: 650; }
.footer-links a:hover { color: #fff; }

@media (max-width: 640px) {
  .container { width: min(820px, calc(100% - 24px)); }
  .bar { min-height: 68px; }
  .brand-name { font-size: 22px; }
  .header-link { display: none; }
  .sheet { padding: 20px 16px 8px; }
  .keys-table td:first-child { white-space: normal; }
}
