:root {
  --purple: #7a00ff;
  --header: #23211d;
  --category: #34322f;
  --paper: #fff;
  --paper-soft: #f7f5f2;
  --orange: #ff8a18;
  --red: #c91f28;
  --red-bright: #f12b2f;
  --ink: #171717;
  --muted: #5f5f5f;
  --border: #e5e2de;
  --focus: #ffd55e;
  --green: #155f3d;
  --content: 820px;
  --wide: 1040px;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(22, 20, 17, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
body.menu-is-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: #6c00dd; text-underline-offset: 3px; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.site-shell { width: min(calc(100% - 40px), var(--wide)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--focus);
  color: #111;
  padding: 10px 14px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.utility-bar { min-height: 30px; display: flex; align-items: center; background: var(--purple); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.brand-bar { background: var(--header); color: #fff; }
.brand-bar__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand-logo { width: auto; height: 52px; max-width: 150px; }
.wordmark:hover { transform: translateY(-1px); }
.category-bar { min-height: 50px; display: flex; align-items: center; background: var(--category); border-top: 1px solid rgba(255,255,255,.08); }
.primary-menu, .footer-menu { list-style: none; padding: 0; margin: 0; }
.primary-menu { display: flex; gap: 6px; }
.primary-menu a { min-height: 50px; display: flex; align-items: center; padding: 0 22px; color: #fff; font-size: 14px; font-weight: 850; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: var(--red-bright); color: #fff; }
.menu-toggle { display: none; min-width: 112px; min-height: 48px; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.32); border-radius: 8px; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.menu-toggle__icon { display: grid; gap: 4px; width: 19px; }
.menu-toggle__icon span { height: 2px; background: currentColor; }
.site-main { min-height: 50vh; }
.home-hero { position: relative; min-height: 500px; isolation: isolate; overflow: hidden; background: #12130f; color: #fff; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,9,8,.96) 0%, rgba(9,9,8,.86) 37%, rgba(9,9,8,.2) 72%, rgba(9,9,8,.08) 100%); }
.home-hero .editorial-image { position: absolute; inset: 0; z-index: -2; margin: 0; }
.home-hero .editorial-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-inner { width: min(calc(100% - 40px), var(--wide)); min-height: 500px; margin-inline: auto; display: flex; align-items: center; }
.hero-copy { width: min(620px, 64%); padding: 54px 0; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.home-hero h1 { max-width: 650px; margin: 0; color: #fff; font-size: clamp(42px, 5.1vw, 62px); line-height: 1.02; letter-spacing: -.045em; text-transform: uppercase; }
.hero-subtitle { margin: 20px 0 10px; color: #fff; font-size: clamp(19px, 2vw, 24px); font-weight: 750; line-height: 1.42; }
.hero-intro { max-width: 610px; margin: 0 0 26px; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.65; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border: 2px solid transparent; border-radius: 8px; font-weight: 900; line-height: 1.2; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--orange); color: #19130c; box-shadow: 0 10px 25px rgba(255,138,24,.22); }
.button--primary:hover { background: #ffac42; color: #111; }
.button--secondary { background: var(--purple); color: #fff; }
.content-section { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; padding-block: 42px; }
.wide-section { width: min(calc(100% - 40px), var(--wide)); margin-inline: auto; padding-block: 42px; }
.content-section + .content-section, .wide-section + .content-section, .content-section + .wide-section { border-top: 1px solid var(--border); }
.section-kicker { margin: 0 0 8px; color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 900; letter-spacing: -.025em; }
h2 { margin: 0 0 20px; color: var(--red); font-size: clamp(30px, 4vw, 42px); line-height: 1.14; }
h3 { margin: 30px 0 8px; color: #2c2925; font-size: 24px; line-height: 1.25; }
p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.35em; }
li + li { margin-top: .45em; }
.lede { font-size: 20px; line-height: 1.6; color: #34312d; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 850; }
.text-link::after { content: "→"; margin-left: 8px; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); align-items: center; gap: 44px; }
.section-grid--reverse .section-grid__media { order: -1; }
.editorial-image { margin: 28px 0; overflow: hidden; border-radius: var(--radius); background: #ece9e4; box-shadow: var(--shadow); }
.editorial-image img { width: 100%; }
.section-grid .editorial-image { margin: 0; }
.magazine-band { background: var(--paper-soft); border-block: 1px solid var(--border); }
.magazine-band--dark { background: var(--category); color: #fff; border: 0; }
.magazine-band--dark h2, .magazine-band--dark h3 { color: #fff; }
.magazine-band--dark p { color: rgba(255,255,255,.82); }
.category-copy { border-left: 5px solid var(--orange); padding-left: 24px; }
.category-copy + .category-copy { margin-top: 30px; }
.comparison-wrap { margin: 28px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
.comparison-table th { background: var(--header); color: #fff; text-align: left; font-size: 14px; letter-spacing: .02em; }
.comparison-table th, .comparison-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table tbody tr:nth-child(even) { background: #faf8f6; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0; }
.steps li { position: relative; padding: 2px 0 20px 64px; min-height: 54px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 900; }
.article-header { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; padding: 64px 0 36px; border-bottom: 5px solid var(--red); }
.article-header h1 { margin: 0 0 18px; color: var(--red); font-size: clamp(40px, 6vw, 58px); line-height: 1.08; }
.article-header .lede { margin-bottom: 8px; }
.revision { color: var(--muted); font-size: 14px; font-weight: 700; }
.closing-box { margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--header); color: #fff; }
.closing-box h2, .closing-box h3 { color: #fff; margin-top: 0; }
.closing-box p { color: rgba(255,255,255,.84); }
.legal-note { padding: 20px 22px; border-left: 5px solid var(--red); background: #fff5f3; }
.editorial-form { margin-top: 28px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper-soft); }
.form-field + .form-field { margin-top: 18px; }
.form-field label { display: block; margin-bottom: 7px; font-weight: 850; }
.form-field input, .form-field textarea { width: 100%; min-height: 48px; border: 1px solid #938e86; border-radius: 7px; background: #fff; color: var(--ink); padding: 11px 12px; font: inherit; }
.form-field textarea { resize: vertical; }
.form-help { color: var(--muted); font-size: 14px; }
.form-notice { margin: 22px 0; padding: 14px 18px; border-radius: 8px; font-weight: 800; }
.form-notice--success { background: #e2f5e7; color: #124623; }
.form-notice--error { background: #fee9e8; color: #7b1619; }
.site-footer { margin-top: 42px; background: var(--header); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 56px; padding-block: 52px; }
.wordmark--footer .brand-logo { height: 44px; max-width: 130px; }
.footer-brand p, .footer-notes p { color: rgba(255,255,255,.72); font-size: 14px; }
.footer-contact { color: var(--orange); font-weight: 800; }
.footer-contact:hover { color: #fff; }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; }
.footer-menu a { min-height: 44px; display: flex; align-items: center; color: #fff; font-weight: 750; text-decoration: none; }
.footer-menu a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.62); font-size: 13px; padding: 18px 0; }
.site-bottom-cta {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 9990;
  width: min(calc(100% - 32px), 520px);
  transform: translateX(-50%);
  pointer-events: none;
}
.site-bottom-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(35,33,29,.96);
  box-shadow: 0 16px 42px rgba(0,0,0,.36);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}
.site-bottom-cta__button {
  min-width: 0;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.site-bottom-cta__button:hover { transform: translateY(-2px); }
.site-bottom-cta__login { border-color: rgba(255,255,255,.5); background: #fff; color: var(--header); }
.site-bottom-cta__login:hover { background: #f3f0eb; color: var(--header); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.site-bottom-cta__register { background: var(--orange); color: #19130c; box-shadow: 0 8px 22px rgba(255,138,24,.3); }
.site-bottom-cta__register:hover { background: #ffac42; color: #111; box-shadow: 0 10px 26px rgba(255,138,24,.38); }
body { padding-bottom: calc(102px + env(safe-area-inset-bottom)); }
.archive-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.archive-item h2 { font-size: 28px; }

@media (max-width: 900px) {
  .section-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-grid--reverse .section-grid__media { order: initial; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-shell, .content-section, .wide-section, .article-header, .hero-inner { width: min(calc(100% - 32px), var(--wide)); }
  .utility-bar { min-height: 28px; font-size: 10px; }
  .brand-bar__inner { min-height: 76px; }
  .brand-logo { height: 44px; max-width: 128px; }
  .menu-toggle { display: inline-flex; }
  .category-bar { display: none; min-height: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .category-bar.is-open { display: block; }
  .category-bar .site-shell { padding-block: 12px; }
  .primary-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .primary-menu a { min-height: 48px; justify-content: center; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 8px; }
  .home-hero, .hero-inner { min-height: 440px; }
  .home-hero::after { background: linear-gradient(90deg, rgba(9,9,8,.95), rgba(9,9,8,.72)); }
  .home-hero .editorial-image img { object-position: 62% center; }
  .hero-copy { width: 100%; padding: 40px 0; }
  .home-hero h1 { max-width: 560px; font-size: clamp(36px, 10vw, 44px); }
  .hero-subtitle { font-size: 18px; }
  .hero-intro { font-size: 15px; }
  .content-section, .wide-section { padding-block: 28px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  .lede { font-size: 18px; }
  .article-header { padding: 42px 0 28px; }
  .article-header h1 { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 40px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 640px) {
  .comparison-wrap { overflow: visible; border: 0; }
  .comparison-table { min-width: 0; display: block; background: transparent; }
  .comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .comparison-table tbody, .comparison-table tr, .comparison-table td { display: block; width: 100%; }
  .comparison-table tr { margin-bottom: 14px; padding: 14px 16px; border: 1px solid var(--border); border-left: 5px solid var(--orange); border-radius: 9px; background: #fff; }
  .comparison-table td { display: grid; grid-template-columns: minmax(110px, .8fr) 1.4fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
  .comparison-table td:last-child { border: 0; }
  .comparison-table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
  .editorial-form { padding: 20px; }
}

@media (max-width: 380px) {
  .site-shell, .content-section, .wide-section, .article-header, .hero-inner { width: min(calc(100% - 24px), var(--wide)); }
  .menu-toggle { min-width: 48px; width: 48px; padding: 0; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .home-hero h1 { font-size: 34px; }
  .hero-subtitle { font-size: 17px; }
  .site-bottom-cta { bottom: calc(8px + env(safe-area-inset-bottom)); width: calc(100% - 20px); }
  .site-bottom-cta__inner { gap: 8px; padding: 8px; border-radius: 14px; }
  .site-bottom-cta__button { min-height: 50px; padding: 10px 12px; font-size: 15px; }
  body { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
