/* Forever Raid site. Night navy, teal, bronze and cream, from the v7 mockup and the campfire icon. */

/* Fonts are served from this site (assets/fonts, SIL OFL 1.1, see LICENSES.txt). Latin subset. */
@font-face {
  font-family: "Forever Display";
  src: url("assets/fonts/marcellus-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Marcellus (and Cinzel) draw 1 like a capital I, so heading digits come from Alegreya Sans,
   whose lining 1 has a flag. Only 0-9 use this face; headings turn on lining-nums below. */
@font-face {
  font-family: "Forever Display";
  src: url("assets/fonts/alegreya-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  unicode-range: U+0030-0039;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url("assets/fonts/alegreya-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url("assets/fonts/alegreya-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #0d1726;
  --panel: #14233a;
  --panel-2: #1a2c47;
  --line: #2a3b55;
  --tile: #1b3456;

  --cream: #f3eee2;
  --ink-2: #b9b4a6;
  --bronze: #a17d57;
  --bronze-lt: #d9b88a;
  --frame: #cbb696;
  --teal: #0f6064;
  --teal-hi: #13777c;
  --glow: #5fd7c9;
  --ember: #e07a2a;
  --ember-ink: #f2a65a;
  --gold: #ffd100;

  --dc-bg: #313338;
  --dc-card: #2b2d31;
  --dc-text: #dbdee1;
  --dc-muted: #b5bac1;
  --dc-green: #248046;
  --dc-red: #da373c;
  --dc-grey: #4e5058;

  /* Class colors (RAID_CLASS_COLORS), used only inside the small class emoji */
  --c-druid: #ff7c0a;
  --c-hunter: #aad372;
  --c-mage: #3fc7eb;
  --c-paladin: #f48cba;
  --c-priest: #ffffff;
  --c-rogue: #fff468;
  --c-shaman: #0070dd;
  --c-warlock: #8788ee;
  --c-warrior: #c69b6d;

  --display: "Forever Display", Georgia, "Times New Roman", serif;
  --body: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --dfont: "gg sans", "Noto Sans", "Segoe UI", system-ui, sans-serif;

  /* Corner ornaments from the v7 mockup (thin bronze, no baroque scrolls) */
  --cTL: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23CBB696' stroke-width='1.3'%3E%3Cpath d='M1.5 29V11Q1.5 1.5 11 1.5H29'/%3E%3Cpath d='M6 29V14Q6 6 14 6H29' opacity='.5'/%3E%3Cpath d='M11 13.5a2.5 2.5 0 1 1 2.5-2.5'/%3E%3C/svg%3E");
  --cTR: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23CBB696' stroke-width='1.3'%3E%3Cg transform='translate(30 0) scale(-1 1)'%3E%3Cpath d='M1.5 29V11Q1.5 1.5 11 1.5H29'/%3E%3Cpath d='M6 29V14Q6 6 14 6H29' opacity='.5'/%3E%3Cpath d='M11 13.5a2.5 2.5 0 1 1 2.5-2.5'/%3E%3C/g%3E%3C/svg%3E");
  --cBL: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23CBB696' stroke-width='1.3'%3E%3Cg transform='translate(0 30) scale(1 -1)'%3E%3Cpath d='M1.5 29V11Q1.5 1.5 11 1.5H29'/%3E%3Cpath d='M6 29V14Q6 6 14 6H29' opacity='.5'/%3E%3Cpath d='M11 13.5a2.5 2.5 0 1 1 2.5-2.5'/%3E%3C/g%3E%3C/svg%3E");
  --cBR: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23CBB696' stroke-width='1.3'%3E%3Cg transform='translate(30 30) scale(-1 -1)'%3E%3Cpath d='M1.5 29V11Q1.5 1.5 11 1.5H29'/%3E%3Cpath d='M6 29V14Q6 6 14 6H29' opacity='.5'/%3E%3Cpath d='M11 13.5a2.5 2.5 0 1 1 2.5-2.5'/%3E%3C/g%3E%3C/svg%3E");

  --wrap: 72rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
  font-size-adjust: from-font;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bronze-lt);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-variant-numeric: lining-nums;
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.75rem);
}

h3 {
  font-size: 1.65rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

code {
  color: var(--cream);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
}

/* Every full-width band carries the same side gutter, so content lines up on one edge */
.site-head,
.site-foot,
.legal,
.hero,
.section,
.forever {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 48rem) {
  .site-head,
  .site-foot,
  .legal,
  .hero,
  .section,
  .forever {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cream);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

.skip:hover {
  color: var(--bg);
}

/* Header */

.site-head {
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: 4rem;
}

.brand {
  font-variant-numeric: lining-nums;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.25rem;
}

.brand img {
  border-radius: 8px;
  image-rendering: pixelated;
}

.site-nav ul {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cream);
}

@media (min-width: 46rem) {
  .site-nav ul {
    display: flex;
  }
}

/* Hero: a flat surface. A bronze hairline closes it off, the Forever site motif. */

.hero {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgb(161 125 87 / 0.5);
}

@media (min-width: 48rem) {
  .hero {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }
}

/* Phone order follows the DOM: copy, raid post, raid sizes, so the post's top shows on the first screen.
   Desktop: copy and raid sizes sit centered beside the post, which spans every row. */
.hero .wrap {
  display: grid;
  gap: 2rem;
}

@media (min-width: 60rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 31rem);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      ".     post"
      "copy  post"
      "strip post"
      ".     post";
    column-gap: 4rem;
    row-gap: 0;
  }

  .hero-copy {
    grid-area: copy;
  }

  .hero .frame {
    grid-area: post;
  }

  .hero .raid-strip {
    grid-area: strip;
  }
}

.hero h1 {
  font-size: clamp(2.65rem, 1.7rem + 3.4vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: 0.45em;
}

.lead {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  max-width: 36ch;
  color: var(--cream);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-block-size: 3rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--cream);
  border: 1px solid var(--glow);
}

.btn-primary:hover {
  background: var(--teal-hi);
  color: var(--cream);
}

/* Not live yet: shown, labeled, and inert */
.btn-soon {
  cursor: not-allowed;
  background: transparent;
  color: var(--ink-2);
  border: 1px dashed rgb(217 184 138 / 0.6);
  flex-wrap: wrap;
}

.btn-soon small {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ember-ink);
}

.cta-note {
  margin: 0.9rem 0 0;
  color: var(--ink-2);
}

.raid-strip {
  padding-top: 1.25rem;
  border-top: 1px solid rgb(161 125 87 / 0.45);
}

@media (min-width: 60rem) {
  .raid-strip {
    margin-top: 2rem;
  }
}

.raid-strip p {
  margin: 0 0 0.6rem;
  color: var(--ink-2);
  font-size: 1rem;
}

.raid-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.raid-strip li {
  font-variant-numeric: lining-nums;
  font-family: var(--display);
  font-size: 1.1rem;
  border: 1px solid rgb(161 125 87 / 0.6);
  border-radius: 4px;
  padding: 0.25rem 0.7rem;
  background: rgb(8 6 4 / 0.25);
}

.raid-strip b {
  font-weight: 400;
  color: var(--bronze-lt);
  margin-left: 0.3rem;
}

/* Framed product pictures (thin bronze line) */

figure {
  margin: 0;
}

.frame {
  padding: 0.75rem;
  border: 1px solid rgb(161 125 87 / 0.6);
  border-radius: 12px;
  background: var(--panel);
}

.frame figcaption {
  font-size: 0.95rem;
  color: var(--ink-2);
  padding: 0.75rem 0.25rem 0.1rem;
}

/* Discord mock */

.dc {
  background: var(--dc-bg);
  color: var(--dc-text);
  font-family: var(--dfont);
  font-size: 0.9375rem;
  line-height: 1.4;
  border-radius: 8px;
  padding: 0.9rem 0.9rem 1rem;
  text-align: start;
}

.dc-chan {
  font-weight: 700;
  color: var(--dc-muted);
  font-size: 0.875rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #3f4147;
}

.dc-msg {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 0.75rem;
}

.dc-av {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  image-rendering: pixelated;
}

.dc-name {
  font-weight: 700;
  color: #f2f3f5;
}

.dc-app {
  display: inline-block;
  background: #5865f2;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3px;
  padding: 0 0.3rem;
  margin-inline: 0.3rem;
  vertical-align: 0.1em;
}

.dc-time {
  color: var(--dc-muted);
  font-size: 0.75rem;
}

.dc-line {
  margin: 0.15rem 0 0.5rem;
}

.dc-cmd {
  color: var(--dc-muted);
  font-size: 0.875rem;
  margin: 0 0 0.4rem;
}

.dc-cmd b {
  color: #c9cdfb;
  font-weight: 400;
}

/* Components V2 container: Discord draws the accent color as a left stripe on a gray box */
.dc-ctr {
  --acc: #2aa7b0;
  background: var(--dc-card);
  border: 1px solid #3f4147;
  /* impeccable-disable-next-line side-tab -- this mock copies Discord's own left accent stripe */
  border-inline-start: 4px solid var(--acc);
  border-radius: 6px;
  padding: 0.75rem 0.9rem 0.85rem;
}

.dc-ctr.bronze {
  --acc: var(--bronze);
}

.dc-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #f2f3f5;
  margin: 0 0 0.2rem;
}

/* Discord timestamp: a gray chip that renders in each reader's own time zone */
.ts {
  background: rgb(255 255 255 / 0.08);
  border-radius: 3px;
  padding: 0 0.25rem;
  color: var(--dc-text);
}

.mention {
  background: rgb(88 101 242 / 0.3);
  color: #c9cdfb;
  border-radius: 3px;
  padding: 0 0.2rem;
}

.dc-sub {
  color: var(--dc-muted);
  font-size: 0.875rem;
  margin: 0 0 0.6rem;
}

.dc-need {
  font-weight: 700;
  color: #f2f3f5;
  margin: 0 0 0.4rem;
}

.dc-hint {
  color: var(--dc-muted);
  font-size: 0.8125rem;
  margin: 0.4rem 0 0;
}

.dc-dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.75rem;
  margin: 0 0 0.75rem;
}

.dc-dl dt {
  color: var(--dc-muted);
}

.dc-dl dd {
  margin: 0;
}

.dc-dl small {
  display: block;
  color: var(--dc-muted);
  font-size: 0.8125rem;
}

.meters {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.meters li {
  display: grid;
  grid-template-columns: 4.25rem 2.6rem minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
}

/* At most 10 cells, like the bot; fixed width so they never squash into slivers */
.cells {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.cells i {
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
  background: #3ba55c;
}

.cells i.off {
  background: var(--dc-grey);
}

.dc-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.dc-btn {
  display: inline-block;
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  background: var(--dc-grey);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.dc-btn.go {
  background: var(--dc-green);
}

.dc-btn.red {
  background: var(--dc-red);
}

/* Role sections: names with a class emoji, the role button to the right */
.dc-sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.6rem;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid #3f4147;
  font-size: 0.875rem;
}

.dc-sec p {
  grid-column: 1 / -1;
  margin: 0;
  line-height: 1.6;
}

.dc-sec b {
  color: #f2f3f5;
}

.nm {
  white-space: nowrap;
  margin-right: 0.45rem;
}

/* App emoji, drawn in the Forever style: a bronze-rimmed gem in the class color */
.ce {
  display: inline-grid;
  width: 1.05em;
  height: 1.22em;
  vertical-align: -0.24em;
  margin-right: 0.3em;
  background: linear-gradient(#e6c48f, #7a5a2c);
  clip-path: polygon(50% 0, 100% 19%, 100% 60%, 50% 100%, 0 60%, 0 19%);
}

.ce::after {
  content: "";
  margin: 2px;
  clip-path: inherit;
  background: linear-gradient(165deg, var(--c), color-mix(in oklab, var(--c) 52%, #000));
}

.dr { --c: var(--c-druid); }
.hu { --c: var(--c-hunter); }
.ma { --c: var(--c-mage); }
.pa { --c: var(--c-paladin); }
.pr { --c: var(--c-priest); }
.ro { --c: var(--c-rogue); }
.sh { --c: var(--c-shaman); }
.wl { --c: var(--c-warlock); }
.wa { --c: var(--c-warrior); }

.dc-eph {
  color: var(--dc-muted);
  font-size: 0.75rem;
  margin: 0.5rem 0 0;
}

/* Phones: tighter Discord frames so meters and names fit */
@media (max-width: 30rem) {
  .frame {
    padding: 0.4rem;
  }

  .dc {
    padding: 0.75rem 0.6rem 0.8rem;
  }

  .dc-msg {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0 0.5rem;
  }

  .dc-av {
    width: 2rem;
    height: 2rem;
  }

  .dc-ctr {
    padding: 0.65rem 0.7rem 0.75rem;
  }

  .meters li {
    grid-template-columns: 3.9rem 2.4rem minmax(0, 1fr);
  }

  .cells i {
    width: 0.625rem;
    height: 0.625rem;
  }
}

/* Sections */

.section {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 48rem) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.section-alt {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--ink-2);
}

/* How it works: numbered rows that alternate at desktop */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.step {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 56rem) {
  .step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: center;
  }

  .step:nth-child(even) .step-text {
    order: 2;
  }
}

.step-num {
  font-variant-numeric: lining-nums;
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--bronze);
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--bronze-lt);
  margin-bottom: 0.9rem;
}

.step-text p {
  color: var(--ink-2);
  max-width: 40ch;
}

.step-aside {
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  background: rgb(8 6 4 / 0.25);
  outline: 1px solid rgb(203 182 150 / 0.35);
  border-radius: 4px;
}

.zones {
  max-width: 26rem;
  margin-top: 1.25rem;
}

.zones-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.zones ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.zones li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 1rem;
}

.zones li span:last-child {
  color: var(--bronze-lt);
}

/* Made for Forever: an ornate band with the campfire */

.forever {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

#features {
  padding-top: 1.5rem;
}

/* Plain panel for Made for Forever; the corner frame is kept once, on the closing section */
.band,
.ornate {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: #101c2e;
}

.ornate {
  background:
    var(--cTL) top 8px left 8px / 28px 28px no-repeat,
    var(--cTR) top 8px right 8px / 28px 28px no-repeat,
    var(--cBL) bottom 8px left 8px / 28px 28px no-repeat,
    var(--cBR) bottom 8px right 8px / 28px 28px no-repeat,
    #101c2e;
  outline: 1px solid rgb(203 182 150 / 0.45);
  outline-offset: -14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

@media (min-width: 48rem) {
  .band,
  .ornate {
    padding: 3rem 3.25rem;
  }
}

/* Phones: one frame line instead of two, so the text keeps its width */
@media (max-width: 30rem) {
  .ornate {
    border: 0;
    outline-offset: 0;
    padding: 2rem 1.25rem;
  }
}

.forever-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.forever-head img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 14px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 1px var(--bronze), 0 0 0 4px #101c2e, 0 0 0 5px rgb(161 125 87 / 0.45);
}

@media (min-width: 48rem) {
  .forever-head img {
    width: 7rem;
    height: 7rem;
  }
}

.forever-head div {
  flex: 1 1 18rem;
}

.forever-head h2 {
  margin-bottom: 0.25em;
}

.forever-head p {
  color: var(--ink-2);
  margin: 0;
}

.facts {
  display: grid;
  margin: 0;
  border-top: 1px solid rgb(161 125 87 / 0.45);
}

.facts > div {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgb(161 125 87 / 0.3);
}

@media (min-width: 48rem) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }

  .facts > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

.facts dt {
  font-variant-numeric: lining-nums;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--bronze-lt);
  margin-bottom: 0.3rem;
}

.facts dd {
  margin: 0;
  color: var(--ink-2);
}

/* Features. Live sits in an in-game window frame from the v7 mockup. */

.gw {
  background: linear-gradient(180deg, #2b2424, #251f1f);
  border: 3px solid #574121;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px #000, inset 0 0 0 2px rgb(255 209 0 / 0.12);
}

.gw-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(#2e1c0c, #231509);
  border-bottom: 1px solid #000;
  color: var(--gold);
  font-size: 1.65rem;
  padding: 0.6rem 1rem;
  margin: 0;
}

.live-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem 1rem;
  display: grid;
}

@media (min-width: 48rem) {
  .live-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
    padding: 0.75rem 2rem 1.25rem;
  }
}

.live-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgb(161 125 87 / 0.28);
}

.live-list li:last-child {
  border-bottom: 0;
}

@media (min-width: 48rem) {
  .live-list li:nth-last-child(2) {
    border-bottom: 0;
  }
}

.live-list h4 {
  font-variant-numeric: lining-nums;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  color: #f6e7c8;
  margin: 0 0 0.25rem;
}

.live-list p {
  margin: 0;
  color: #d8cfbf;
}

.tag {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 999px;
  padding: 0 0.6rem;
  white-space: nowrap;
}

.tag-live {
  color: var(--glow);
  border: 1px solid rgb(95 215 201 / 0.55);
}

.tag-coming {
  color: var(--ember-ink);
  border: 1px solid rgb(242 166 90 / 0.55);
}

.coming {
  margin-top: 2.5rem;
}

.coming h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.65rem;
}

.coming ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  .coming ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .coming ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.coming li {
  border: 1px dashed rgb(242 166 90 / 0.4);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--ink-2);
  font-size: 1rem;
}

.coming li b {
  display: block;
  color: var(--cream);
  font-size: 1.1rem;
}

/* Setup: steps beside the /raidsettings card */

.setup {
  display: grid;
  gap: 2.5rem;
}

/* The setup steps already say what the settings card shows, so phones skip the card */
@media (max-width: 47.99rem) {
  .setup-card {
    display: none;
  }
}

@media (min-width: 60rem) {
  .setup {
    grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
    gap: 4rem;
    align-items: center;
  }
}

.setup .section-head {
  margin-bottom: 2rem;
}

.setup-list {
  counter-reset: s;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.setup-list li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.9rem;
}

.setup-list li::before {
  font-variant-numeric: lining-nums;
  content: counter(s);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--bronze);
  color: var(--bronze-lt);
  font-family: var(--display);
  font-size: 1.1rem;
}

.setup-list b {
  display: block;
  font-size: 1.15rem;
}

.setup-list span {
  color: var(--ink-2);
}

/* Have your AI agent set it up: sits under the setup steps, on the same band */

.agent-setup {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.agent-setup > p {
  max-width: 60ch;
  color: var(--ink-2);
}

.agent-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0 0.75rem;
}

.agent-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-agent {
  min-inline-size: 8rem;
  background: var(--panel);
  color: var(--cream);
  border: 1px solid var(--bronze);
}

.btn-agent:hover {
  background: var(--tile);
  color: var(--cream);
  border-color: var(--bronze-lt);
}

.agent-soon {
  margin: 0;
  padding: 0.35rem 0.8rem;
  border: 1px dashed rgb(217 184 138 / 0.6);
  border-radius: 6px;
  color: var(--ember-ink);
  font-size: 1rem;
  font-weight: 700;
}

.agent-setup > .agent-note {
  font-size: 1rem;
}

.agent-prompt {
  margin-top: 1.5rem;
  max-width: 48rem;
}

.agent-prompt label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.agent-prompt textarea {
  display: block;
  inline-size: 100%;
  min-block-size: 12rem;
  field-sizing: content;
  resize: vertical;
  padding: 0.9rem 1rem;
  background: var(--panel-2);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

.copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.9rem;
}

.btn-copy {
  background: var(--teal);
  color: var(--cream);
  border: 1px solid var(--glow);
}

.btn-copy:hover {
  background: var(--teal-hi);
}

.btn-copy[hidden] {
  display: none;
}

.btn-copy[data-failed] {
  border-color: var(--ember);
}

.copy-tip {
  color: var(--glow);
  font-weight: 700;
}

.btn-copy[data-failed] + .copy-tip {
  color: var(--ember-ink);
}

.agent-md {
  margin-top: 1.5rem;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Pricing: heading above the two panels, like every other section */

.plans {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 48rem) {
  .plans {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.plan {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.plan-free {
  border-color: rgb(161 125 87 / 0.7);
}

.plan h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.plan .price {
  color: var(--bronze-lt);
}

.plan p {
  color: var(--ink-2);
  margin: 0;
}

/* FAQ: every answer open, two columns at desktop */

.faq {
  margin-top: 2rem;
  columns: 2 24rem;
  column-gap: 3rem;
}

.qa {
  break-inside: avoid;
  padding: 1.1rem 0 0.4rem;
  border-top: 1px solid var(--line);
  margin-bottom: 1rem;
}

.qa h3 {
  font-size: 1.65rem;
  color: var(--cream);
}

.qa p,
.qa li {
  color: var(--ink-2);
}

.qa strong {
  color: var(--cream);
}

.perms {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: grid;
  gap: 0.25rem;
}

/* Each reason sits on its own line under the permission name */
.perms li strong {
  display: block;
}

/* Early access */

.early-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.early-wrap img {
  width: 6rem;
  height: 6rem;
  border-radius: 16px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 1px var(--bronze), 0 0 0 4px var(--bg), 0 0 0 5px rgb(161 125 87 / 0.45);
}

.early-wrap > div {
  flex: 1 1 20rem;
}

.early-wrap p {
  color: var(--ink-2);
}

.early-note {
  margin: 0;
  color: var(--cream);
  font-weight: 700;
}

/* Placeholders that must be filled before launch: loud on purpose */

.todo-slot {
  margin: 0;
  border: 2px dashed var(--ember);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--ember-ink);
  font-weight: 700;
  background: rgb(224 122 42 / 0.08);
}

.todo {
  background: rgb(224 122 42 / 0.15);
  border: 1px dashed var(--ember);
  border-radius: 3px;
  padding: 0 0.3rem;
  color: var(--ember-ink);
  font-weight: 700;
}

.todo::after {
  content: " (fill before launch)";
  font-weight: 400;
  font-size: 0.875rem;
}

/* Footer */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3rem;
  color: var(--ink-2);
  font-size: 1rem;
}

.site-foot nav ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.site-foot nav a {
  display: inline-block;
  padding-block: 0.3rem;
  min-block-size: 2rem;
}

.site-foot p {
  max-width: 60ch;
  margin: 0 0 0.75rem;
}

/* Legal pages */

.legal {
  padding-block: 3rem 4rem;
}

.legal article {
  max-width: 42rem;
}

.legal h1 {
  font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem);
}

.legal h2 {
  font-size: 1.6rem;
  margin-top: 2.2rem;
}

.legal ul,
.legal ol {
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

.draft-note {
  border: 1px dashed var(--ember);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 0 0 2rem;
  color: var(--cream);
}

.draft-note strong {
  color: var(--ember-ink);
}

.updated {
  color: var(--ink-2);
}

.back-link {
  margin: 0 0 1.25rem;
}

/* Motion: only small hover feedback. No looping animation. */

.btn,
a {
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

@media (forced-colors: active) {
  .dc-ctr,
  .frame,
  .plan,
  .tag,
  .gw,
  .btn-agent,
  .agent-soon,
  .todo,
  .todo-slot {
    border: 1px solid CanvasText;
  }

  .cells i,
  .ce {
    background: CanvasText;
  }

  .cells i.off {
    background: GrayText;
  }
}
