/* Bacon MC — editorial site */
:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #444444;
  --faint: #777777;
  --red: #df3d27;
  --deep: #b61017;
  --peach: #ffc48a;
  --orange: #ff892b;
  --tint: #fbe9e5;
  --wrap: 1280px;
  --gutter: 48px;
  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.red { color: var(--red); }
.orange { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Faint paper grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); border-color: var(--red); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .35); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a {
  position: relative;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); background: #fff; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s var(--ease), top .2s var(--ease); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 28px; padding-bottom: 72px; }
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #555;
}
.eyebrow {
  margin-top: 44px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ''; width: 34px; height: 3px; background: var(--red); }
.hero-title {
  margin-top: 28px;
  font-weight: 900;
  font-stretch: 62%;
  font-size: clamp(64px, 13.4vw, 176px);
  line-height: .85;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .02em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { color: var(--red); }
.js .hero-title .line > span { transform: translateY(105%); transition: transform .9s var(--ease); }
.js .loaded .hero-title .line > span, .js.loaded .hero-title .line > span { transform: none; }
.hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.hero-title .line:nth-child(4) > span { transition-delay: .24s; }

.hero-foot {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: start;
}
.lede { font-size: 21px; line-height: 1.5; max-width: 40ch; text-wrap: pretty; }
.cta-row { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Wave band ---------- */
.wave {
  height: 152px;
  background: url('/assets/img/wave.svg') repeat-x 0 0 / 400px 152px;
  animation: wave 14s linear infinite;
  background-color: var(--paper);
}
@keyframes wave { to { background-position: -400px 0; } }

/* ---------- Sections ---------- */
.section { padding-top: 96px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.section-head h2 { font-weight: 800; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.section-head .num { font-size: 13px; color: var(--red); }
.section-head.on-dark { border-color: #fff; }
.section-head.on-dark .num { color: var(--orange); }
.display {
  font-weight: 900;
  font-stretch: 62%;
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* §01 */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 2px solid var(--ink); }
.who-card { padding: 36px 32px 44px; border-right: 2px solid var(--ink); display: flex; flex-direction: column; gap: 14px; position: relative; transition: background .25s var(--ease); }
.who-card:first-child { padding-left: 0; }
.who-card:last-child { border-right: 0; padding-right: 0; }
.who-card .cube { width: 44px; height: 44px; transition: transform .4s var(--ease); }
.who-card:hover .cube { transform: translateY(-6px) rotate(-6deg); }
.who-card h3 { font-weight: 900; font-stretch: 62%; font-size: 52px; line-height: .95; text-transform: uppercase; }
.who-card p { color: var(--muted); }

/* §02 */
.section-intro { margin-top: 28px; padding-bottom: 28px; font-size: 22px; line-height: 1.45; font-weight: 600; max-width: 34ch; }
.section-intro + .index-list { border-top: 1px solid var(--ink); }
.index-list { list-style: none; padding: 0; }
.index-list li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink);
  isolation: isolate;
}
.index-list li:last-child { border-bottom-width: 2px; }
.index-list li::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s var(--ease);
  z-index: -1;
}
.index-list li:hover::before { transform: scaleY(1); }
.index-list li:hover, .index-list li:hover p { color: #fff; }
.index-list li:hover .idx { color: var(--orange); }
.index-list .idx { font-size: 13px; color: var(--red); transition: color .2s; }
.index-list h3 { font-weight: 900; font-stretch: 62%; font-size: 46px; line-height: 1; text-transform: uppercase; transition: transform .35s var(--ease); }
.index-list li:hover h3 { transform: translateX(10px); }
.index-list li.hot h3 { color: var(--red); }
.index-list li.hot:hover h3 { color: var(--orange); }
.index-list p { font-size: 18px; color: var(--muted); transition: color .2s; }

/* §03 */
.dark-band { margin-top: 96px; background: var(--ink); color: #fff; padding-bottom: 96px; position: relative; overflow: hidden; }
.dark-band::before {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 520px;
  height: 520px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px);
  border-radius: 50%;
}
.dark-band .section { padding-top: 88px; position: relative; }
.discord-grid { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.discord-copy .display { font-size: clamp(56px, 8vw, 108px); }
.spec-list { margin-top: 36px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid #444; }
.spec-list div:last-child { border-bottom: 1px solid #444; }
.spec-list dt { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.spec-list dd { color: #aaa; text-align: right; }

.chat { border: 2px solid #fff; padding: 22px; display: flex; flex-direction: column; gap: 16px; font-size: 15px; background: #161616; box-shadow: 14px 14px 0 var(--red); }
.chat-top { font-size: 13px; color: #aaa; border-bottom: 1px solid #444; padding-bottom: 12px; }
.chat-top .hash { color: #666; }
.msg { display: flex; gap: 12px; }
.msg > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; }
.avatar-user { background: #5865f2; display: flex; align-items: center; justify-content: center; font-weight: 800; }
img.avatar { background: var(--red); padding: 5px; }
.who { font-weight: 700; }
.tag { font-size: 10px; border: 1px solid #fff; padding: 1px 5px; margin-left: 6px; vertical-align: 2px; }
.cmd { color: var(--peach); }
.embed { border-left: 6px solid var(--red); background: #222; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.embed-title { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.embed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 14px; }
.embed-grid > div { display: flex; flex-direction: column; gap: 2px; }
.embed-grid .span2 { grid-column: span 2; }
.embed-grid .k { font-size: 11px; color: #aaa; text-transform: uppercase; }
.online { display: inline-flex; align-items: center; gap: 7px; }
.online i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.chat-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.chat-btns span { padding: 8px 14px; border: 1px solid #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.chat-btns .red { background: var(--red); border-color: var(--red); color: #fff; }
.typing { display: none; gap: 5px; padding-left: 52px; height: 18px; align-items: center; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #888; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
/* Scripted play: command, typing, then the reply */
.js .chat .msg-1, .js .chat .msg-2 { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .chat.play .msg-1 { opacity: 1; transform: none; }
.js .chat.typing-on .typing { display: flex; }
.js .chat.replied .msg-2 { opacity: 1; transform: none; }

/* §04 */
.price-grid { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; }
.price-big { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price-num { font-weight: 900; font-stretch: 62%; font-size: clamp(150px, 22vw, 290px); line-height: .8; letter-spacing: -.03em; background: linear-gradient(180deg, var(--ink) 62%, var(--red) 62%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-unit { font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.2; }
.ruled-list { list-style: none; padding: 0; }
.ruled-list li { padding: 14px 0 14px 30px; border-top: 1px solid var(--ink); font-weight: 600; position: relative; }
.ruled-list li:first-child { border-top-width: 2px; }
.ruled-list li:last-child { border-bottom: 2px solid var(--ink); }
.ruled-list li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 12px; height: 12px; background: var(--red); transform: translateY(-50%) rotate(45deg); }

/* §05 */
.kicker { margin-top: 40px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.compare-title { margin-top: 14px; font-size: clamp(56px, 7.6vw, 98px); max-width: 1000px; }
.table-scroll { margin-top: 40px; overflow-x: auto; }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--ink); }
.compare thead th { vertical-align: bottom; border-bottom: 2px solid var(--ink); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; padding-top: 0; }
.compare thead th small { display: block; font-size: 11px; font-weight: 500; color: var(--faint); letter-spacing: .04em; }
.compare thead th:first-child { width: 17%; padding-left: 0; }
.compare thead th.us { width: 23%; }
.compare thead th:nth-child(n+3) { width: 20%; }
.compare thead th.us { background: var(--ink); color: #fff; border-top: 8px solid var(--red); font-weight: 900; font-stretch: 62%; font-size: 36px; line-height: 1; padding-top: 18px; letter-spacing: 0; }
.compare tbody th { padding-left: 0; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.compare tbody tr:last-child > * { border-bottom-width: 2px; }
.compare td { color: var(--muted); }
.compare td span { display: block; color: #555; }
.compare td.us { background: var(--tint); color: var(--ink); }
.compare td.muted { color: var(--faint); }
.compare .big { font-size: 22px; color: var(--ink); }
.compare tbody tr { transition: background .2s; }
/* Us vs. them grouping */
.compare .group-row > * { border-bottom: 0; padding: 0 16px 10px; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; vertical-align: bottom; }
.compare .grp-us { color: var(--red); }
.compare .grp-them { color: var(--faint); }
.compare thead th.them { background: #f1f1f1; color: #555; padding-top: 18px; border-top: 8px solid #c8c8c8; }
.compare thead th.us { position: relative; }
.compare .vs { position: absolute; right: -22px; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0; }
@media (min-width: 961px) {
  .compare thead th.them:nth-child(3), .compare tbody td:nth-of-type(2) { padding-left: 34px; }
}
.compare tbody tr:hover td:not(.us) { background: #f6f6f6; }
.fineprint { margin-top: 16px; font-size: 12px; color: var(--faint); }

/* §06 */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.q { padding: 28px 0; border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; gap: 10px; }
.q h3 { font-weight: 800; font-size: 20px; text-transform: uppercase; }
.q p { color: var(--muted); }
.q-last { grid-column: 1 / -1; justify-self: center; width: calc(50% - 24px); text-align: center; align-items: center; }

/* CTA */
.cta-band { display: block; margin-top: 96px; background: var(--red); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateX(-101%); transition: transform .5s var(--ease); }
.cta-band:hover::before { transform: none; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta-text { font-weight: 900; font-stretch: 62%; font-size: clamp(48px, 13.5vw, 156px); line-height: .85; text-transform: uppercase; letter-spacing: -.02em; }
.cta-arrow { width: clamp(60px, 9vw, 120px); height: auto; flex-shrink: 0; transition: transform .4s var(--ease); }
.cta-band:hover .cta-arrow { transform: translateX(16px); color: var(--orange); }

/* Footer */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 36px; }
.site-footer img { height: 34px; width: auto; }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--red); }
.site-footer nav span { color: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 2px solid var(--ink);
    padding: 8px var(--gutter) 16px;
    transform: translateY(-120%);
    transition: transform .3s var(--ease);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 22px; font-weight: 800; padding: 14px 0; border-bottom: 1px solid #ddd; }
  .nav a::after { display: none; }
  .menu-btn { display: block; }
  .discord-grid, .price-grid, .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .discord-grid { gap: 48px; }
  .cta-row { justify-content: flex-start; }
}

@media (max-width: 960px) {
  .three { grid-template-columns: minmax(0, 1fr); }
  .who-card { padding: 28px 0 32px !important; border-right: 0; border-bottom: 2px solid var(--ink); }
  .who-card:last-child { border-bottom: 0; }
  /* Comparison: one card per row, every host listed inside it */
  .table-scroll { overflow: visible; margin-top: 28px; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; min-width: 0; }
  .compare thead { display: none; }
  .compare tbody tr { border-top: 2px solid var(--ink); padding: 16px 0 20px; }
  .compare tbody tr:last-child { border-bottom: 2px solid var(--ink); }
  .compare tbody th { border: 0; padding: 0 0 10px; color: var(--red); }
  .compare td, .compare tbody tr:last-child > td { border: 0; padding: 10px 0 10px 150px; position: relative; min-height: 44px; border-top: 1px solid #e3e3e3; }
  .compare td::before { content: attr(data-label); position: absolute; left: 0; top: 12px; width: 140px; font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
  .compare td.us { padding-left: 150px; border-top: 0; background: var(--tint); box-shadow: 0 0 0 8px var(--tint); margin: 6px 0 10px; }
  .compare td.us::before { color: var(--red); }
  .compare tbody tr:hover td:not(.us) { background: transparent; }
  .compare .big { font-size: 19px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero-meta span:nth-child(3) { display: none; }
  .hero-foot { margin-top: 16px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .compare td, .compare tbody tr:last-child > td, .compare td.us { padding-left: 120px; }
  .compare td::before { width: 110px; }
  .who-card h3 { font-size: 44px; }
  .index-list li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; }
  .index-list li p { grid-column: 2; }
  .index-list h3 { font-size: 36px; }
  .q-last { width: 100%; text-align: left; align-items: flex-start; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .wave { height: 110px; background-size: 290px 110px; }
  .chat { box-shadow: 8px 8px 0 var(--red); }
  .section { padding-top: 72px; }
  .dark-band, .cta-band { margin-top: 72px; }
}
@keyframes wave-sm { to { background-position: -290px 0; } }
@media (max-width: 760px) { .wave { animation-name: wave-sm; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-title .line > span, .js .chat .msg-1, .js .chat .msg-2 { opacity: 1 !important; transform: none !important; }
}
