:root {
  --obsidian: #0F1210;
  --graphite: #272A26;
  --stone: #747871;
  --ivory: #F7F6F1;
  --green: #177A55;
  --pale-proof: #DCECE3;
  --amber: #A86B2A;
  --stone-iv: #5F635C;
  --green-ink: #126A49;
  --green-obs: #4FAE84;
  --stone-obs: #9A9E96;
  --vellum: #EFEDE6;
  --vellum-2: #E7E4DB;
  --rule: rgba(15, 18, 16, .10);
  --rule-strong: rgba(15, 18, 16, .16);
  --stage: #0B0E12;

  --sans: "Inter", "Inter Display", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 64px;
  --maxw: 1312px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--obsidian); font-family: var(--sans);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11"; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--obsidian); color: var(--ivory); font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.site-head { position: relative; z-index: 20; height: var(--nav-h); }
.site-head .wrap { display: flex; align-items: center; height: 100%; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.brand-mark { width: 20px; height: 22px; fill: currentColor; }
.nav { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav a { text-decoration: none; font-size: 14px; color: var(--head-ink-2, var(--graphite)); transition: color .15s; }
.nav a:hover { color: var(--head-ink, var(--obsidian)); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.head-link { font-size: 14px; text-decoration: none; color: var(--head-ink-2, var(--graphite)); }
.menu-btn { display: none; }

.btn {
  --dot: var(--stone);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px 0 18px;
  border-radius: 10px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--obsidian); color: var(--ivory); }
.btn-primary:hover { background: #1E221F; }
.btn-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); transition: background-color .2s var(--ease); }
.btn-dot:hover::before, .btn-dot:focus-visible::before { background: var(--green-obs); }
.btn-sm { height: 38px; padding: 0 14px 0 13px; font-size: 14px; border-radius: 9px; gap: 9px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--obsidian); }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

[data-headline="a"] .hl-b, [data-headline="b"] .hl-a { display: none; }

.hx-figure { position: relative; margin: 0; }
.hx-bar { position: relative; display: flex; align-items: center; gap: 18px; height: 44px; padding: 0 14px 0 8px; }
.hx-controls { display: flex; align-items: center; gap: 2px; flex: none; }
.hx-ctl {
  display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--bar-ink-2); cursor: pointer; transition: background-color .15s, color .15s;
}
.hx-ctl:hover { background: var(--bar-hover); color: var(--bar-ink); }
.hx-ctl:focus-visible { outline: 2px solid var(--green-obs); outline-offset: 1px; }
.hx-ctl svg { width: 15px; height: 15px; fill: currentColor; }
.hx-ctl .i-play { display: none; }
.hx-figure.is-stopped .hx-ctl .i-play { display: block; }
.hx-figure.is-stopped .hx-ctl .i-pause { display: none; }
.hx-steps { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; min-width: 0; height: 100%; }
.hx-steps li {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%; white-space: nowrap;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--bar-ink-3); transition: color .3s var(--ease);
}
.hx-steps li b { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; border: 1px solid var(--bar-rule); font-weight: 500; font-size: 10px; transition: border-color .3s, color .3s, background-color .3s; }
.hx-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--bar-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.hx-steps li.is-on { color: var(--bar-ink); }
.hx-steps li.is-on b { border-color: var(--bar-accent); color: var(--bar-ink); }
.hx-steps li.is-on::after { transform: scaleX(1); }
.hx-note { margin: 0 0 0 auto; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--bar-ink-3); white-space: nowrap; }
.hx-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; pointer-events: none; }
.hx-progress i { display: block; height: 100%; background: var(--bar-accent); opacity: .5; transform: scaleX(0); transform-origin: left; }
.hx-viewport { position: relative; overflow: hidden; background: #F2F3F5; }
.hx-figure.is-paused .ak-load-mark, .hx-figure.is-paused .ak-skel-l, .hx-figure.is-paused .hx-caret { animation-play-state: paused !important; }

.review {
  position: fixed; z-index: 50; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 12px;
  background: rgba(15, 18, 16, .92); color: #E9E7E0; font-family: var(--mono); font-size: 11.5px;
  box-shadow: 0 8px 30px rgba(15,18,16,.25); backdrop-filter: blur(8px);
}
.review-id { padding: 0 10px 0 8px; white-space: nowrap; }
.review-id b { color: #fff; font-weight: 500; }
.review button, .review a {
  height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #B9BBB4;
  font: inherit; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer;
}
.review button[aria-pressed="true"] { background: #2B2F2C; color: #fff; }
.review button:hover, .review a:hover { color: #fff; }
.review-sep { width: 1px; height: 18px; background: #34382F; margin: 0 4px; }
html.is-clean .review { display: none; }

.menu-sheet { display: none; }

@media (max-width: 1199px) {
  :root { --gutter: 40px; }
  .nav { gap: 22px; }
  .nav .nav-x { display: none; }
}
@media (max-width: 1023px) {
  .nav, .head-link { display: none; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rule-strong);
    border-radius: 10px; background: transparent; color: inherit; cursor: pointer;
  }
  .menu-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }
  .head-right { gap: 10px; }
  .menu-sheet[data-open="true"] {
    display: block; position: fixed; inset: 0; z-index: 60; background: var(--ivory); color: var(--obsidian); padding: 20px 24px;
  }
  .menu-sheet .ms-top { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-bottom: 28px; }
  .menu-sheet ul { list-style: none; margin: 0; padding: 0; }
  .menu-sheet li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
  .menu-sheet .btn { width: 100%; margin-top: 28px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --nav-h: 64px; }
  .site-head .wrap { gap: 12px; }
  .brand { font-size: 16px; }
  .head-right .btn { height: 36px; padding: 0 12px; font-size: 13.5px; }
  .head-right .btn::before { display: none; }
  .hx-bar { height: 40px; gap: 10px; padding: 0 10px 0 4px; }
  .hx-steps li:not(.is-on) { display: none; }
  .hx-note { display: none; }
  .review { bottom: 10px; font-size: 10.5px; max-width: calc(100vw - 20px); }
  .review-id span, .review .rv-long { display: none; }
}
