:root {
  --background: #0a0a0a;
  --foreground: #ededed;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --surface-soft: rgba(255, 255, 255, 0.02);
  --accent: #b90000;
  --accent-hover: #d41f1f;
  --accent-soft: rgba(185, 0, 0, 0.14);
  --radius: 0.25rem;
  --radius-lg: 0.25rem;
  --shell: clamp(1rem, 5vw, 2rem);
  --font-sans: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-display: "EB Garamond", Georgia, serif;
  --font-poster: "Bebas Neue", "Arial Narrow", sans-serif;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --text-soft: rgba(237, 237, 237, 0.7);
  --text-muted: rgba(237, 237, 237, 0.5);
  --card-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(185, 0, 0, 0.16), transparent 32rem),
    radial-gradient(circle at 100% 12%, rgba(255, 255, 255, 0.05), transparent 24rem),
    linear-gradient(180deg, #0a0a0a 0%, #060606 100%);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(185, 0, 0, 0.32);
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100000;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.25rem;
  background: #080808;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(calc(-100% - 1rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.shell {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--shell);
}

#main {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  padding-top: 6.25rem;
}

.outline-site-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.outline-site-glow::before,
.outline-site-glow::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.7;
}

.outline-site-glow::before {
  top: -8rem;
  left: -6rem;
  width: 24rem;
  height: 24rem;
  background: rgba(185, 0, 0, 0.18);
}

.outline-site-glow::after {
  right: -4rem;
  top: 12rem;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 255, 255, 0.05);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: #fff;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.outline-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.outline-eyebrow::before,
.eyebrow::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, #ff5959, var(--accent));
  box-shadow: 0 0 18px rgba(185, 0, 0, 0.45);
}

.outline-btn,
.outline-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.outline-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.outline-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.outline-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text-soft);
}

.outline-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: #fff;
}

.outline-btn:active,
.outline-btn-ghost:active {
  transform: translateY(1px) scale(0.99);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.35rem;
  transition: border-color 0.3s, color 0.3s;
}

.cta-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.outline-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 120;
  padding: 1rem var(--shell);
  transition: padding 0.35s ease;
}

.outline-header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  background: rgba(10, 10, 10, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.outline-header.is-scrolled .outline-header-inner {
  background: rgba(10, 10, 10, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 84px rgba(0, 0, 0, 0.34);
}

.outline-logo,
.outline-footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.outline-site-logo {
  width: auto;
  height: 2rem;
}

.outline-logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
}

.outline-nav {
  margin-left: auto;
}

.outline-nav-list {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 768px) {
  .outline-nav-list {
    display: flex;
  }
}

.outline-nav-list a {
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.outline-nav-list a:hover,
.outline-nav-list .current-menu-item > a,
.outline-nav-list .current_page_item > a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.outline-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.outline-cart-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.outline-cart-count {
  position: absolute;
  top: -0.2rem;
  right: -0.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.25rem;
  border-radius: 0.25rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
}

.outline-cart-count.is-empty {
  display: none;
}

.outline-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.65rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 768px) {
  .outline-burger {
    display: none;
  }
}

.outline-burger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.outline-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.84);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.outline-burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.outline-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.outline-burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.outline-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.outline-mobile-menu.is-open {
  pointer-events: all;
  opacity: 1;
}

.outline-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.outline-mobile-panel {
  position: absolute;
  inset-inline: 0.85rem;
  top: 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(185, 0, 0, 0.14), transparent 12rem),
    rgba(8, 8, 8, 0.96);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  transform: translateY(-1rem) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.32, 0, 0.15, 1);
}

.outline-mobile-menu.is-open .outline-mobile-panel {
  transform: translateY(0) scale(1);
}

.outline-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.25rem;
}

.outline-mobile-nav-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.outline-mobile-nav-list a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.7rem, 8vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.outline-mobile-nav-list a:hover,
.outline-mobile-nav-list .current-menu-item > a {
  color: #fff;
  transform: translateX(0.15rem);
}

.outline-mobile-actions {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.outline-mobile-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.outline-mobile-action-meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.outline-page-shell {
  padding-block: 3rem 5rem;
}

.outline-page,
.outline-empty-state {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(185, 0, 0, 0.12), transparent 20rem),
    var(--glass-bg);
  box-shadow: var(--card-shadow);
}

.outline-page::before,
.outline-empty-state::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22rem);
  pointer-events: none;
}

.outline-page-hero {
  position: relative;
  z-index: 1;
  max-width: 54rem;
  margin-bottom: 2rem;
}

.outline-page-title {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.outline-page-lead {
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.75;
}

.outline-page-body {
  position: relative;
  z-index: 1;
}

.outline-prose {
  max-width: 72ch;
}

.outline-prose > * + * {
  margin-top: 1.2rem;
}

.outline-prose p,
.outline-prose li,
.outline-prose blockquote,
.outline-prose td,
.outline-prose th {
  color: var(--text-soft);
}

.outline-prose p,
.outline-prose li {
  line-height: 1.8;
}

.outline-prose h2,
.outline-prose h3,
.outline-prose h4 {
  margin-top: 2.2rem;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.outline-prose a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.2em;
}

.outline-prose a:hover {
  text-decoration-color: var(--accent);
}

.outline-prose ul,
.outline-prose ol {
  margin-left: 1.25rem;
  padding-left: 0.4rem;
  list-style-position: outside;
}

.outline-prose ul {
  list-style: disc;
}

.outline-prose ol {
  list-style: decimal;
}

.outline-prose li + li {
  margin-top: 0.45rem;
}

.outline-prose blockquote {
  margin-inline: 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.25rem 0.25rem 0;
  background: rgba(255, 255, 255, 0.03);
}

.outline-prose hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.outline-prose table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.outline-prose th,
.outline-prose td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.outline-prose th {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.outline-prose code {
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.outline-prose pre {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.3);
}

.outline-prose pre code {
  padding: 0;
  background: none;
}

.outline-empty-state {
  max-width: 54rem;
}

.outline-footer {
  position: relative;
  z-index: 1;
  padding: 0 0 1.75rem;
}

.outline-footer-inner {
  padding: 1.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--glass-bg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 768px) {
  .outline-footer-inner {
    padding: 1.8rem 2rem 1.2rem;
  }
}

.outline-footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .outline-footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.outline-footer-brand {
  max-width: 24rem;
}

.outline-footer-description {
  margin-top: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.outline-footer-nav {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .outline-footer-nav {
    flex: 1 1 auto;
  }
}

.outline-footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.25rem;
  text-align: center;
}

.outline-footer-nav-list a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  transition: color 0.2s ease;
}

.outline-footer-nav-list a:hover {
  color: #fff;
}

.outline-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
}

.outline-footer-copy,
.outline-footer-badge {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outline-footer-copy {
  color: rgba(255, 255, 255, 0.3);
}

.outline-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.45);
}

.outline-footer-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(185, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .outline-header {
    padding-top: 0.85rem;
  }

  .outline-header-inner {
    padding: 0.75rem 0.9rem;
  }

  .outline-site-logo {
    height: 1.8rem;
  }

  .outline-page-shell {
    padding-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
