/* ---------- landing page + builds pages (on top of style.css) ---------- */

:root {
  --rarity-exotic: #ffa405;
  --rarity-ascended: #fb3e8d;
  --rarity-legendary: #b07be8;
}

/* ---------- landing: the two doors ---------- */

.landing-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 10vh, 110px) 0 60px;
  text-align: center;
}
.landing .question { margin-bottom: 36px; }

.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}
.door {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 28px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.door:hover, .door:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--gold) var(--alpha-faint, 10%), transparent);
  outline: none;
}
.door-art {
  width: 84px;
  height: 84px;
  color: var(--gold);
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--gold) var(--alpha-faint, 10%), transparent));
}
.door-art svg { width: 100%; height: 100%; }
.door-title {
  font-size: 1.5rem;
  letter-spacing: .06em;
  font-variant: small-caps;
  color: var(--gold);
}
.door-text { color: var(--text-dim); font-size: .95rem; line-height: 1.45; max-width: 34ch; }
.door-cta {
  margin-top: 10px;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color .15s;
}
.door:hover .door-cta { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .door, .build-card { transition: none; }
}

/* ---------- site bar (builds pages) ---------- */

/* the site header (.site-bar) is shared with the optimizer and lives in style.css */

.builds-main { max-width: 1100px; margin: 20px auto 60px; }

/* ---------- legal page ---------- */
.legal { max-width: 820px; }
.legal h1 { color: var(--gold); font-weight: 400; font-variant: small-caps; letter-spacing: .05em; margin: 28px 0 10px; }
.legal h2 { font-weight: 500; font-size: 1.1rem; letter-spacing: .04em; margin: 22px 0 6px; }
.legal h3 { font-weight: 500; font-size: 1rem; margin: 14px 0 4px; }
.legal p, .legal address { line-height: 1.55; max-width: 75ch; margin: 0 0 10px; font-style: normal; }
.legal a { color: var(--gold); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal mark {                              /* a placeholder still to be filled in */
  background: color-mix(in srgb, var(--gold) var(--alpha-soft, 30%), transparent);
  color: var(--text);
  padding: 0 4px;
  border-radius: 4px;
}

/* ---------- filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: flex-end;
  padding: 12px 16px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--gold) var(--alpha-faint, 10%), transparent);
}
.filter-group { display: flex; flex-direction: column; min-width: 0; }
.filter-group .control-label { margin-bottom: 6px; }
.filter-group .segmented { flex-wrap: wrap; }
.filter-group .segmented button { flex: 0 1 auto; padding: 7px 14px; white-space: nowrap; }

.dropdown { position: relative; }
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 6px 12px 6px 8px;
  text-align: left;
}
.dropdown-toggle:hover, .dropdown-toggle[aria-expanded="true"] { border-color: var(--gold); }
.dropdown-toggle .caret { margin-left: auto; color: var(--text-dim); font-size: .8rem; }
.dropdown-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .55);
}
.dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--text);
  padding: 7px 10px;
  text-align: left;
  white-space: nowrap;
}
.dropdown-menu button:hover, .dropdown-menu button:focus-visible {
  background: color-mix(in srgb, var(--gold) var(--alpha-faint, 10%), transparent);
  outline: none;
}
.dropdown-menu button.active { color: var(--gold); }
.dropdown-menu button:disabled { color: var(--text-dim); opacity: var(--alpha-mid, 50%); cursor: default; }
.dropdown-menu button:disabled:hover { background: none; }
.dropdown-menu .count { margin-left: auto; color: var(--text-dim); font-size: .8rem; padding-left: 14px; }
.prof-icon { width: 26px; height: 26px; flex-shrink: 0; }
.prof-icon.all {                  /* "all professions": an empty gold ring */
  display: inline-block;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-sizing: border-box;
  opacity: var(--alpha-strong, 70%);
}

.list-status { margin: 6px 4px 14px; }

/* ---------- build cards ---------- */

.build-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.build-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 130px;
  padding: 14px 16px 13px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(8, 10, 20, .55) 0%, rgba(8, 10, 20, .86) 45%, rgba(8, 10, 20, .94) 100%),
    var(--banner, none) left center / cover no-repeat,
    var(--bg-card);
  color: var(--text);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.build-card:hover, .build-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--gold) var(--alpha-faint, 10%), transparent);
  outline: none;
}
.card-row1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }  /* a long badge drops below the title */
.card-spec-icon { width: 46px; height: 46px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.card-title { display: flex; flex-direction: column; min-width: 0; }
.card-spec { font-size: 1.3rem; letter-spacing: .04em; color: var(--gold); line-height: 1.15; }
.card-prof { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.card-badges { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.badge {
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
  max-width: 15rem;           /* long labels (Raids / Strikes / ...) wrap */
}
.badge.cat-openworld { border-color: color-mix(in srgb, var(--growth, #009400) var(--alpha-strong, 70%), transparent); color: color-mix(in srgb, var(--growth, #009400) var(--alpha-mid, 50%), white); }
.badge.cat-raid { border-color: color-mix(in srgb, var(--sunfire-lava, #ff9303) var(--alpha-strong, 70%), transparent); color: color-mix(in srgb, var(--sunfire-lava, #ff9303) var(--alpha-mid, 50%), white); }
.badge.cat-support { border-color: color-mix(in srgb, var(--sand-shark, #1a8ac5) var(--alpha-strong, 70%), transparent); color: color-mix(in srgb, var(--sand-shark, #1a8ac5) var(--alpha-mid, 50%), white); }
.badge.cat-wvw { border-color: color-mix(in srgb, var(--ruby-red, #bd000b) var(--alpha-strong, 70%), transparent); color: color-mix(in srgb, var(--ruby-red, #bd000b) var(--alpha-mid, 50%), white); }
.badge.tag { border-style: dashed; }

.card-row2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--border) var(--alpha-strong, 70%), transparent);
  font-size: .9rem;
  color: var(--text-dim);
}
.card-weapons { color: var(--text); }
.card-weapons .sep { color: var(--text-dim); padding: 0 6px; }
.card-lines { display: flex; align-items: center; gap: 6px; }
.card-lines img { width: 22px; height: 22px; }
.card-lines .names { margin-left: 4px; }

/* ---------- build detail ---------- */

.back-link {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: .9rem;
  margin-bottom: 12px;
}
.back-link:hover { color: var(--gold); }

.build-head {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px 20px;
  background:
    linear-gradient(90deg, rgba(8, 10, 20, .5) 0%, rgba(8, 10, 20, .88) 50%, rgba(8, 10, 20, .95) 100%),
    var(--banner, none) left center / cover no-repeat,
    var(--bg-card);
}
.build-head-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.build-head-row img { width: 64px; height: 64px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .7)); }
.build-head h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  letter-spacing: .04em;
  color: var(--gold);
  line-height: 1.1;
}
.build-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: .9rem;
  letter-spacing: .06em;
}
.build-summary { margin: 16px 0 0; color: var(--text); font-size: 1.02rem; max-width: 75ch; }

.build-section {
  margin-top: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px 18px;
}
.build-section > h2 {
  margin: 0 0 12px;
  font-weight: 500;
  font-variant: small-caps;
  letter-spacing: .05em;
  color: var(--gold);
}
.build-section .hint { margin-top: -6px; }

/* an alternative trait line below the build's own: same panel, a dashed
   rule and a small caption telling what it stands in for */
.alternatives { margin-top: 22px; padding-top: 14px; border-top: 1px dashed var(--border); }
.alternative-head {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 1rem;
  font-variant: small-caps;
  letter-spacing: .05em;
  color: var(--text-dim);
}
.alternative-head b { font-weight: 500; color: var(--gold); }
.alternative-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.alternative-row .hint { margin: 0; flex: 1 1 260px; }
.alternatives .traitline-picks { margin-bottom: 8px; }

/* gear variants: the section title with the tab bar beside it, one pane per
   variant (the tab bars of the character card and the gear stay in sync) */
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.section-head > h2 { margin: 0; }
.variant-tabs { margin: 0; }
.variant-tabs button { flex: 0 0 auto; padding: 7px 16px; white-space: nowrap; }
.card-lines .alt { color: var(--text-dim); margin-left: 6px; white-space: nowrap; }

/* trait lines, styled after the GW2 Armory specialization widget (as on
   Snow Crows): the banner art as a flat 40% layer over near-black, one
   art-filled hexagon on the left, 40px icons, and the chosen traits told
   apart by opacity alone - no lines, no text on the panel */

/* two columns on wide screens: the trait panels keep a fixed width (they
   must not stretch with the window), skills and character card sit beside
   them; below ~1020px the right column drops under the traits */
.build-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  margin-top: 18px;
}
.build-columns > .build-section, .build-columns > .col-side > .build-section { margin-top: 0; }
.col-traits { flex: 0 1 660px; min-width: 0; }
.col-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* the panel: ONE banner picture behind everything at the theme's soft
   alpha, and the hexagon is a window onto the very same picture at full
   brightness (same size, same position), like the armory widget */
.traitline {
  --trait: clamp(30px, 4vw, 40px);
  --hex: clamp(80px, 11vw, 116px);      /* hexagon width; height is 1.15x */
  --pad-x: clamp(8px, 2vw, 16px);
  --hex-x: clamp(10px, 6vw, 48px);       /* hexagon's left edge: over the art's subject */
  --frame: 3px;                          /* the hexagon's dark rim */
  --trim: 9%;                            /* trims the icons' own black frame (4-6px of 64) */
  /* the border-trimmed banner (the painted part, mostly ~3.1:1) fills
     the frame; the frame takes that shape, so the whole picture is shown
     and the hexagon covers a good part of it */
  --art: var(--panel, none) left center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.6vw, 24px);
  aspect-ratio: 3.2 / 1;
  min-height: calc(var(--trait) * 3 + 32px);
  padding: 12px var(--pad-x);
  margin-bottom: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #101216;
}
.traitline::before {                 /* the dimmed picture */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--art);
  opacity: var(--alpha-soft, 30%);
}
.traitline::after {                  /* the same picture, bright, inside the hexagon */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--art);
  pointer-events: none;
  /* the hexagon (height 1.15 x width), centered like the flex item */
  clip-path: polygon(
    calc(var(--hex-x) + var(--hex) * .5)                calc(50% - var(--hex) * .575 + var(--frame) * 1.15),
    calc(var(--hex-x) + var(--hex) - var(--frame))      calc(50% - var(--hex) * .2875 + var(--frame) * .58),
    calc(var(--hex-x) + var(--hex) - var(--frame))      calc(50% + var(--hex) * .2875 - var(--frame) * .58),
    calc(var(--hex-x) + var(--hex) * .5)                calc(50% + var(--hex) * .575 - var(--frame) * 1.15),
    calc(var(--hex-x) + var(--frame))                   calc(50% + var(--hex) * .2875 - var(--frame) * .58),
    calc(var(--hex-x) + var(--frame))                   calc(50% - var(--hex) * .2875 + var(--frame) * .58));
}
.traitline > * { position: relative; }

/* the hexagon's rim: a dark hexagon in the flex flow, the bright window
   (::after) is drawn on top of it, inset by the rim width */
.traitline-hex {
  flex-shrink: 0;
  margin-left: calc(var(--hex-x) - var(--pad-x));
  width: var(--hex);
  height: calc(var(--hex) * 1.15);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(8, 9, 12, .9);
}

.trait-tree {
  flex: 1;
  display: flex;
  justify-content: space-between;   /* the six columns equally spaced */
  align-items: center;
  max-width: 440px;   /* packed like the armory widget, whatever the window */
  gap: 3px;
}
.tier { display: contents; }        /* minor and majors become direct columns */
.trait-node {
  position: relative;
  display: block;
  width: var(--trait);
  height: var(--trait);
  padding: 0;
  border: none;
  background: none;
  cursor: help;
  transition: opacity .15s;
}
.trait-node img { display: block; width: 100%; height: 100%; object-fit: cover; }
.minor {
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.majors { display: flex; flex-direction: column; }
.major {
  clip-path: inset(var(--trim));   /* no icon frame left, small visual gaps */
  opacity: var(--alpha-soft, 30%);
}
.major.selected, .major:hover { opacity: 1; }

/* connectors minor → chosen major → next minor, in silver satin, drawn
   under the icons from the rendered layout */
.traitline > .trait-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.trait-lines line {
  stroke: var(--silver-satin, #898989);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: var(--alpha-soft, 30%);   /* 70% transparent */
}

.traitline-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0 0 16px 4px;
  font-size: .86rem;
  color: var(--text-dim);
}
.traitline-picks img { width: 20px; height: 20px; margin-right: 7px; }
.traitline-picks .line-name { color: var(--gold); letter-spacing: .05em; margin-right: 10px; }
.traitline-picks b { font-weight: 400; color: var(--text); }
.traitline-picks .sep { padding: 0 8px; }

/* skill bars (in the side column on wide screens, full width below) */

.skillbar { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.skillbar:last-child { margin-bottom: 0; }
.skillbar-label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skill {
  margin: 0;
  width: 58px;
  text-align: center;
}
.skill.utility1 { margin-left: 8px; }
.skill.elite { margin-left: 8px; }
.skill img, .skill .empty {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, .14);
  background: #1b1f2e;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .8);
}
/* skill frames in the theme: heal and utilities in the mid colour, the
   elite in the bright one */
.skill.heal img, .skill.utility1 img, .skill.utility2 img, .skill.utility3 img {
  border-color: color-mix(in srgb, var(--accent) var(--alpha-strong, 70%), #888);
}
.skill.elite img { border-color: var(--gold); }
.skill figcaption { font-size: .7rem; color: var(--text-dim); margin-top: 4px; line-height: 1.25; }
.skill .empty { opacity: var(--alpha-mid, 50%); }

/* pets or legends under the skill bars */
.companions { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.companion-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 6px; }
.companion { display: flex; align-items: center; gap: 8px; color: var(--text); }
.companion img { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--border); object-fit: cover; background: #000; }

/* gear panel */

.gear-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 6px 28px;
}
.gear-column { display: flex; flex-direction: column; gap: 6px; }
.gear-group-title {
  margin: 12px 0 6px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.gear-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 6px 6px;
  border: 1px solid color-mix(in srgb, var(--border) var(--alpha-strong, 70%), transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--bg-card) var(--alpha-strong, 70%), black);
}
.gear-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 2px solid var(--rarity, var(--border));
  background: #12161f;
  overflow: hidden;
  padding: 2px;
  font-size: .6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.gear-icon img { width: 100%; height: 100%; object-fit: cover; }
.gear-text { display: flex; flex-direction: column; min-width: 0; }
.gear-name { color: var(--rarity, var(--text)); letter-spacing: .02em; }
.gear-sub { font-size: .84rem; color: var(--text-dim); }
.gear-skin { font-size: .8rem; color: var(--text-dim); font-style: italic; }
.rarity-exotic { --rarity: var(--rarity-exotic); }
.rarity-ascended { --rarity: var(--rarity-ascended); }
.rarity-legendary { --rarity: var(--rarity-legendary); }

.weapon-sets { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 6px 28px; margin-top: 4px; }
.weapon-set { display: flex; flex-direction: column; gap: 6px; }

.gear-warning {
  border: 1px solid color-mix(in srgb, var(--gold) var(--alpha-strong, 70%), transparent);
  background: color-mix(in srgb, var(--gold) var(--alpha-faint, 10%), transparent);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 0 0 12px;
  font-size: .88rem;
}
.gear-warning::before { content: "⚠ "; color: var(--gold); }
/* character card: the build's attributes with what they mean in game */
.character-headline { text-align: center; padding: 2px 0 12px; border-bottom: 1px solid var(--border); }
.character-headline .value { display: block; font-size: 2.1rem; line-height: 1.1; color: var(--gold); }
.character-headline .caption { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.attributes { display: flex; flex-direction: column; margin-top: 4px; }
.attribute {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 14px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) var(--alpha-strong, 70%), transparent);
}
.attribute:last-child { border-bottom: none; }
.attribute .name { color: var(--text); }
.attribute .value { color: var(--gold); text-align: right; font-variant-numeric: tabular-nums; }
.attribute .effect { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 14px; font-size: .84rem; color: var(--text-dim); }
.attribute .effect b { font-weight: 400; color: var(--text); font-variant-numeric: tabular-nums; }
.gear-note { font-size: .76rem; color: var(--text-dim); font-style: italic; }
.build-section .gear-footnote { margin: 14px 0 0; }

.consumables {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 5px 18px;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.consumables dt { color: var(--text-dim); }
.consumables dd { margin: 0; }

/* links: chat link + optimizer */

.linkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.linkbox code {
  flex: 1 1 320px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: .85rem;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-card) 40%, black);
  color: var(--text);
}
.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cta-link {
  display: inline-block;
  text-decoration: none;
  background: color-mix(in srgb, var(--accent) var(--alpha-strong, 70%), black);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 1rem;
  letter-spacing: .08em;
  font-variant: small-caps;
  border-radius: 8px;
  padding: 8px 18px;
}
.cta-link:hover { background: var(--accent); }

.build-notes p { margin: 0 0 10px; line-height: 1.5; max-width: 80ch; }
.build-notes p:last-child { margin-bottom: 0; }

.not-found { text-align: center; color: var(--text-dim); padding: 60px 0; }
