@import url('/css/theme.css');
@import url('/css/package-presentation.css');

/* Public pages use the same tokens and component scale as the guild and admin UI. */
:root {
  --bg: var(--bg-primary);
  --surface: var(--bg-card);
  --line: var(--border);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --gold: var(--accent);
  --ink: var(--accent-ink);
  --radius: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-synthesis: none;
  line-height: 1.5;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
}
main {
  flex: 1;
  min-width: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--gold);
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible,
.gallery-track:focus-visible,
.comparison-scroll:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 7px;
  background: var(--gold);
  color: var(--ink);
}
.skip:focus {
  top: 16px;
}
.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: 4px max(24px, calc((100% - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--bg-secondary);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
}
.wordmark img {
  display: block;
  width: 186px;
  height: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 24px;
  border-left: 1px solid var(--border-hover);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.1px;
}
.site-header .header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  white-space: nowrap;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}
.site-header .header-link .ui-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.8;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}
.site-header .header-link[aria-current='page'],
.site-header .login-link {
  border-color: var(--border-warm);
  background: var(--nav-selected);
  color: var(--gold);
}
.site-header .header-link:hover,
.site-header .header-link:focus-visible {
  border-color: var(--border-warm);
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: none;
}
.site-header .header-link:hover .ui-icon,
.site-header .header-link:focus-visible .ui-icon {
  opacity: 1;
  transform: none;
}
.login-arrow {
  display: inline-flex;
  margin-left: 2px;
}
.site-header .login-link:hover .login-arrow .ui-icon {
  transform: none;
}
.login-link {
  justify-self: end;
  white-space: nowrap;
}
.header-account-actions,
.header-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-socials {
  padding-right: 10px;
  border-right: 1px solid var(--border);
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--muted);
  transition: color 150ms ease;
}
.social-link .ui-icon {
  width: 22px;
  height: 22px;
}
.social-link:is(:hover, :focus-visible) {
  color: var(--gold);
}
.website-tooltip {
  position: fixed;
  inset: auto;
  z-index: 200;
  width: max-content;
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 8px 12px;
  overflow: auto;
  border: 1px solid var(--border-warm);
  border-radius: 7px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgb(0 0 0 / 28%);
  font: 500 12px/1.5 var(--font-heading);
  text-align: left;
  overflow-wrap: anywhere;
  white-space: normal;
}
.website-tooltip[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: none;
  }
}
@media (min-width: 1051px) and (max-width: 1250px) {
  .site-header {
    gap: 16px;
  }
  .site-header .wordmark img {
    width: 150px;
  }
  .site-header nav {
    padding-left: 16px;
    gap: 0;
  }
  .site-header .header-link {
    padding-inline: 9px;
    gap: 6px;
    font-size: 12px;
  }
  .site-header .public-navigation > .mobile-menu-panel {
    gap: 16px;
  }
}
@media (max-width: 1050px) {
  .header-account-actions {
    margin-top: 24px;
  }
  .site-header .mobile-menu-panel .header-account-actions .login-link {
    flex: 1;
    margin: 0;
  }
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--text);
  font-weight: 600;
}
h1 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.8px;
}
h1 em {
  font-style: normal;
  color: var(--gold);
}
h2 {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.35px;
}
h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
p {
  margin-bottom: 16px;
  color: var(--muted);
}
.eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.lede {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.6;
}
.fine {
  font-size: 12px;
  color: var(--text-muted);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
  text-align: center;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
  animation: hero-reveal 900ms ease-out both;
}
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
}
.hero::before {
  z-index: -2;
  background: linear-gradient(180deg, rgb(23 23 23 / 12%), rgb(23 23 23 / 5%) 45%, var(--bg) 100%);
}
.hero::after {
  z-index: -1;
  background: radial-gradient(ellipse at 50% 42%, rgb(124 83 39 / 12%), transparent 60%);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 16px 28px;
}
.hero-brand {
  margin: 0;
  line-height: 1;
}
.hero-logo {
  display: block;
  width: min(520px, 90vw);
  height: auto;
  filter: drop-shadow(0 12px 30px rgb(1 25 9 / 45%));
}
.hero-intro {
  max-width: 720px;
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgb(0 0 0 / 60%);
}
.hero .button-row {
  justify-content: center;
  margin: 20px 0 0;
}
@keyframes hero-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.8;
  }
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 14px;
}
.button,
.login-link,
.billing-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  text-align: center;
}
.button:hover,
.login-link:hover,
.billing-switch a:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
  color: var(--text);
}
.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}
.button.primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}
.section {
  padding-block: 28px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.section-top h2 {
  margin-bottom: 0;
}
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.home-feature {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
}
.home-feature:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
}
.home-feature h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.home-feature:hover h3 {
  color: var(--gold);
}
.home-feature p {
  margin: 0;
  font-size: 13px;
}
.ui-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-warm);
  border-radius: 8px;
  background: var(--bg-warm);
  color: var(--gold);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 16px 0 0;
}
.feature-note .text-link {
  font-size: inherit;
}
.home-hosting {
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
}
.hosting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.hosting-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hosting-choice {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.hosting-choice .button {
  margin-top: auto;
}
.hosting-details {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.hosting-details li {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.hosting-details li::before {
  content: '✓';
  color: var(--gold);
}
.portal-gallery {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  box-shadow: var(--frame-shadow);
}
.gallery-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.gallery-topline > span,
.gallery-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gallery-topline > span .ui-icon {
  color: var(--gold);
}
.gallery-expand {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.gallery-track {
  display: flex;
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) var(--bg-inset);
}
.gallery-track:focus-visible {
  outline-offset: -3px;
}
.gallery-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}
.gallery-slide > a {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-inset);
  cursor: zoom-in;
}
.gallery-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-inset);
}
.gallery-slide figcaption {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.gallery-slide figcaption strong {
  font-size: 16px;
  font-weight: 600;
}
.gallery-slide figcaption p {
  margin: 4px 0 0;
  font-size: 12px;
}
.gallery-slide figcaption a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 7px;
  padding: 8px;
  color: var(--gold);
  font-size: 12px;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px 16px;
}
.gallery-controls[hidden],
.gallery-thumbnails[hidden],
.gallery-expand[hidden] {
  display: none;
}
.gallery-arrow {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.gallery-arrow:hover,
.gallery-expand:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}
.gallery-picker {
  min-width: 0;
  width: 280px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-elevated);
  color: var(--text);
  color-scheme: dark;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.gallery-status {
  flex-shrink: 0;
  min-width: 44px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.gallery-thumbnails {
  display: flex;
  position: relative;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-inset);
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
}
.gallery-thumbnail {
  flex: 0 0 136px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}
.gallery-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
  background: var(--bg-inset);
  opacity: 0.65;
}
.gallery-thumbnail span {
  display: block;
  padding: 7px 4px 3px;
  white-space: nowrap;
}
.gallery-thumbnail[aria-pressed='true'] {
  border-color: var(--gold);
  background: var(--bg-warm);
  color: var(--gold);
}
.gallery-thumbnail:hover img,
.gallery-thumbnail[aria-pressed='true'] img {
  opacity: 1;
}
.gallery-thumbnail:focus-visible {
  outline-offset: 2px;
}
body.gallery-open {
  overflow: hidden;
}
.gallery-lightbox {
  width: min(1560px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text);
  box-shadow: 0 24px 80px rgb(0 0 0 / 65%);
}
.gallery-lightbox[open] {
  display: flex;
  flex-direction: column;
}
.gallery-lightbox::backdrop {
  background: rgb(0 0 0 / 85%);
  backdrop-filter: blur(6px);
}
.gallery-dialog-header,
.gallery-dialog-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.gallery-dialog-header {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.gallery-dialog-header .eyebrow {
  margin-bottom: 3px;
}
.gallery-dialog-header h2 {
  margin: 0;
  font-size: 18px;
}
.gallery-dialog-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.gallery-dialog-header > div:first-child {
  min-width: 0;
}
.gallery-dialog-image {
  position: relative;
  flex: 1 1 auto;
  height: min(72dvh, calc((100vw - 32px) * 0.6), 880px);
  min-height: 0;
  background: #101010;
}
.gallery-dialog-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-lightbox.is-zoomed .gallery-dialog-image {
  height: min(72dvh, 880px);
  overflow: auto;
  overscroll-behavior: contain;
}
.gallery-lightbox.is-zoomed .gallery-dialog-image img {
  position: static;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
}
.gallery-dialog-actions [aria-pressed='true'] {
  border-color: var(--gold);
  color: var(--gold);
}
.gallery-dialog-footer {
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.gallery-dialog-footer .text-link {
  margin-left: auto;
}
.text-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 550;
}
.text-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feature-grid,
.two-columns,
.showcase .screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.feature-grid article,
.option,
.two-columns > article,
.plan,
.unpublished,
.upgrade {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--frame-shadow);
}
.feature-grid article > :last-child,
.option > :last-child,
.two-columns > article > :last-child,
.unpublished > :last-child {
  margin-bottom: 0;
}
.feature-grid article {
  display: flex;
  flex-direction: column;
}
.feature-grid article > .text-link {
  align-self: start;
  margin-top: auto;
}
.feature-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 28px;
}
.feature-paths > a {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  background: linear-gradient(130deg, var(--bg-warm), var(--surface));
}
.feature-paths h2 {
  margin: 0 0 5px;
  font-size: 16px;
}
.feature-paths p {
  margin: 0;
  font-size: 13px;
}
.feature-paths > a > span:last-child {
  margin-left: auto;
  color: var(--gold);
}
.feature-icon {
  flex-shrink: 0;
}
.feature-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.feature-jumps a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-secondary);
  color: var(--muted);
  font-size: 12px;
}
.feature-jumps a:hover {
  border-color: var(--border-warm);
  color: var(--gold);
}
.feature-jumps .ui-icon {
  width: 16px;
  height: 16px;
}
.catalogue {
  grid-template-columns: 1fr;
}
.feature-grid .feature-category {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: 28px;
  scroll-margin-top: 24px;
}
.feature-category-intro > p {
  font-size: 13px;
}
.feature-category-intro .text-link {
  display: inline-block;
  margin-top: 4px;
}
.feature-category-heading {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
}
.feature-category-heading .eyebrow {
  margin-bottom: 4px;
}
.feature-category-heading h3 {
  margin: 0;
  font-size: 18px;
}
.feature-category > p {
  font-size: 13px;
}
.feature-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-details li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.feature-details .ui-icon {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.feature-details h4 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 550;
}
.feature-details p {
  margin: 0;
  font-size: 12px;
}
.showcase figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--frame-shadow);
}
.showcase img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--bg-inset);
}
.showcase figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.showcase figcaption strong {
  font-size: 15px;
}
.showcase figcaption p {
  margin: 4px 0 0;
  font-size: 12px;
}
.package-availability {
  border-top: 1px solid var(--line);
}
.package-summaries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}
.package-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.package-summary:hover {
  border-color: var(--gold);
}
.package-summary-heading {
  display: flex;
  gap: 12px;
  align-items: center;
}
.package-summary .eyebrow {
  display: block;
  margin: 0 0 4px;
  font-size: 10px;
}
.package-summary h3 {
  margin: 0;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.package-summary p {
  margin: auto 0 0;
}
.package-summary p strong {
  color: var(--text);
}
.package-summary-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 12px;
}
.package-summary > .text-link {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.catalog-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.catalog-notice > .ui-icon {
  color: var(--gold);
  width: 28px;
  height: 28px;
}
.catalog-notice p {
  flex: 1;
  margin: 0;
}
.upgrade {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.upgrade > div {
  flex: 1;
}
.upgrade p:last-child {
  margin: 0;
}
.option h2 {
  overflow-wrap: anywhere;
}
.checklist {
  padding: 0;
  list-style: none;
}
.checklist li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.faq-list {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.faq-list details[open] {
  border-color: var(--border-hover);
}
.faq-list summary {
  position: relative;
  padding: 16px 48px 16px 20px;
  cursor: pointer;
  font-weight: 550;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  position: absolute;
  top: 11px;
  right: 20px;
  content: '+';
  color: var(--gold);
  font-size: 22px;
}
.faq-list details[open] summary:after {
  content: '−';
}
.faq-list p {
  max-width: 840px;
  margin: 0;
  padding: 0 20px 16px;
}
.faq-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}
.faq-group {
  min-width: 0;
}
.faq-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-group-heading h2 {
  margin: 0;
  font-size: 20px;
}
.faq-group .faq-list {
  margin: 16px 0 12px;
}
.support-options {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.support-card,
.support-resource {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.support-card {
  min-width: 0;
  padding: 30px;
  background: linear-gradient(140deg, var(--bg-warm), var(--surface) 70%);
}
.support-card > .feature-icon {
  margin-bottom: 24px;
}
.support-card > h2 {
  font-size: 25px;
}
.support-card > .button {
  margin-top: 8px;
}
.support-card .support-contact-note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}
.support-resources {
  display: grid;
  gap: 12px;
}
.support-resource {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
}
.support-resource:is(:hover, :focus-visible) {
  border-color: var(--border-warm);
  background: var(--bg-elevated);
}
.support-resource h2 {
  margin: 0 0 6px;
  font-size: 17px;
}
.support-resource p {
  margin: 0;
  font-size: 13px;
}
.support-resource > span:last-child {
  color: var(--gold);
}
.support-questions .section-top {
  flex-wrap: wrap;
  gap: 16px;
}
.support-questions .faq-group > h3 {
  margin-top: 12px;
  font-size: 16px;
}
@media (max-width: 760px) {
  .support-options {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .support-card,
  .support-resource {
    padding: 20px;
  }
  .support-resource {
    gap: 12px;
  }
}
.catalog-status {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  background: var(--bg-warm);
}
.catalog-status > div {
  flex: 1;
  min-width: 0;
}
.catalog-status p {
  margin: 4px 0 0;
  font-size: 13px;
}
.catalog-status .button {
  flex-shrink: 0;
}
.hosting-explainer .option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hosting-explainer .option h2 {
  overflow-wrap: anywhere;
}
.hosting-explainer .option .button {
  margin-top: auto;
}
.closing {
  padding-block: 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.closing h2 {
  font-size: 28px;
}
.site-footer {
  margin-top: 24px;
  padding-block: 40px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-secondary);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 32px;
}
.footer-brand .wordmark {
  margin: -12px 0 10px;
}
.footer-brand .wordmark img {
  /* Align visible artwork: the supplied 926px PNG has 20px of transparent left padding. */
  transform: translateX(-2.159827%);
}
.footer-brand p {
  max-width: 290px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.8;
}
.footer-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
}
.footer-account .ui-icon {
  width: 16px;
  height: 16px;
}
.footer-group h2 {
  margin: 8px 0 18px;
  font-size: 12px;
  letter-spacing: 0.4px;
}
.footer-group ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-group a {
  color: var(--muted);
  font-size: 12px;
}
.footer-group a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.7;
}
.footer-copyright {
  flex-shrink: 0;
}
.footer-bottom .trademark {
  max-width: 650px;
}
.scroll-reveal {
  transition:
    opacity 550ms ease,
    transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scroll-reveal.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition: none;
}
.scroll-reveal:focus-within {
  opacity: 1;
  transform: none;
  transition: none;
}
.page-heading {
  padding-block: 32px 0;
}
.page-heading h1 {
  max-width: 960px;
  text-wrap: balance;
}
.page-heading .lede {
  max-width: 72ch;
  margin-bottom: 0;
}
.page-heading + .section,
.page-heading + .feature-paths {
  padding-top: 24px;
}
.narrow {
  max-width: 900px;
}
.page-heading:has(+ .narrow) {
  max-width: 900px;
}
.hosting-models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}
.hosting-model {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-warm), var(--surface));
}
.hosting-model:hover {
  border-color: var(--gold);
}
.hosting-model h2 {
  margin: 0 0 8px;
  font-size: 19px;
}
.hosting-model p {
  margin-bottom: 10px;
  font-size: 13px;
}
.pricing-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.pricing-toolbar h2 {
  margin: 0;
}
.pricing-toolbar .eyebrow {
  margin-bottom: 5px;
}
.billing-switch {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-secondary);
}
.billing-switch a {
  min-width: 96px;
  border-color: transparent;
  background: transparent;
}
.billing-switch a[aria-current] {
  border-color: var(--accent-border);
  background: var(--nav-selected);
  color: var(--gold);
}
.package-group {
  scroll-margin-top: 24px;
}
.package-group + .package-group {
  margin-top: 36px;
}
.package-group-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.package-group-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
}
.package-group-heading .ui-icon {
  color: var(--gold);
}
.package-group-heading p {
  margin: 0;
  font-size: 12px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin: 20px 0;
}
.plan-grid:has(> .plan:only-child) {
  grid-template-columns: minmax(0, 440px);
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow-wrap: anywhere;
  scroll-margin-top: 24px;
}
.plan-featured {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px var(--accent-border);
  background: linear-gradient(165deg, var(--bg-warm), var(--surface) 35%);
}
.plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.package-card[data-package-alignment='center'] .plan-badges {
  justify-content: center;
}
.plan-badge.package-sandbox-badge {
  color: var(--gold);
  border-color: var(--border-warm);
  background: var(--accent-soft);
  font-weight: 600;
  line-height: 1.5;
}
.plan-pricing .package-sandbox-notice,
.package-summary .package-sandbox-notice {
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.6;
}
.package-summary > .package-sandbox-badge {
  align-self: flex-start;
}
.comparison th > .package-sandbox-badge {
  display: table;
  margin-top: 8px;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 11px;
}
.plan-badge.featured {
  color: var(--gold);
  border-color: var(--border-warm);
  background: var(--accent-soft);
}
.plan-badge .ui-icon {
  width: 13px;
  height: 13px;
}
.plan-identity h3 {
  margin-bottom: 8px;
  font-size: 23px;
}
.plan-description {
  margin: 0;
  font-size: 13px;
}
.plan-pricing {
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.plan .price {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.price span {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: normal;
}
.plan-pricing .fine {
  margin: 0;
}
.plan-alternative {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.plan-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.plan-metrics > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-secondary);
}
.plan-metrics dt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
}
.plan-metrics .ui-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.plan-metrics dd {
  margin: 0;
  font-size: 13px;
  font-weight: 550;
}
.plan-inclusions h4 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.plan-core {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.plan-core h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
.plan-core h4 .ui-icon {
  width: 16px;
  height: 16px;
  color: var(--package-accent);
}
.plan-core p {
  margin: 0;
  font-size: 12px;
}
.core-intro {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.core-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px 28px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.core-tool-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.core-tool-grid .ui-icon {
  flex: 0 0 18px;
  color: var(--gold);
  margin-top: 3px;
}
.core-tool-grid h3 {
  margin: 0 0 6px;
  font-size: 14px;
}
.core-tool-grid p {
  margin: 0;
  font-size: 12px;
}
.comparison th small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.plan li {
  display: flex;
  align-items: start;
  gap: 8px;
  padding: 5px 0;
}
.plan li .ui-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--gold);
}
.plan > .button {
  width: 100%;
  align-self: end;
}
.plan-more {
  margin-top: 8px;
  font-size: 12px;
}
.plan-more summary {
  padding-block: 6px;
  color: var(--gold);
  cursor: pointer;
}
.plan-more ul {
  margin-top: 6px;
}
.plan-backup {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.plan-backup .ui-icon {
  width: 16px;
  height: 16px;
}
.package-empty {
  display: flex;
  align-items: start;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.package-empty > .ui-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
}
.package-empty h2 {
  margin-bottom: 8px;
}
.package-empty p {
  max-width: 650px;
}
.package-comparison {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  scroll-margin-top: 24px;
}
.package-comparison > summary {
  padding: 20px;
  cursor: pointer;
}
.package-comparison > summary > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.package-comparison > summary .ui-icon {
  color: var(--gold);
}
.package-comparison > summary .fine {
  display: block;
  margin: 6px 0 0 28px;
}
.comparison-content {
  padding: 0 16px 4px;
}
.comparison-scroll {
  max-width: 100%;
  margin: 20px 0 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.comparison {
  width: 100%;
  border-spacing: 0;
  font-size: 13px;
  text-align: left;
}
.comparison caption {
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}
.comparison th,
.comparison td {
  min-width: 200px;
  max-width: 300px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}
.comparison thead th {
  background: var(--bg-warm);
  color: var(--text-warm);
  font-weight: 600;
}
.comparison tbody th {
  font-weight: 500;
}
.comparison tr > :first-child:not([colspan]) {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 170px;
  background: var(--surface);
}
.comparison .comparison-group th {
  background: var(--bg-warm);
  color: var(--gold);
  font-size: 12px;
}
.comparison-group .ui-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}
.comparison tbody tr:hover {
  background: var(--bg-elevated);
}
.comparison .included {
  color: var(--success);
}
.comparison .excluded {
  color: var(--muted);
}
.unpublished .eyebrow {
  display: block;
}
.unpublished p {
  max-width: 670px;
}
.notice {
  padding: 16px 20px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--bg-warm);
  color: var(--text-warm);
}
@media (max-width: 1000px) {
  .feature-grid .feature-category {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-paths {
    grid-template-columns: 1fr;
  }
  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 0 16px;
    padding-bottom: 12px;
  }
  .site-header nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 0;
    border-left: 0;
  }
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand p {
    max-width: none;
  }
}
@media (max-width: 700px) {
  .faq-groups {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .catalog-status {
    flex-wrap: wrap;
    padding: 16px;
  }
  .catalog-status .button {
    width: 100%;
  }
  .feature-details {
    grid-template-columns: 1fr;
  }
  .gallery-lightbox.is-zoomed .gallery-dialog-image {
    height: 65dvh;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    padding-inline: 16px;
  }
  .site-header .wordmark img {
    width: 162px;
  }
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    font-size: 12px;
    text-align: center;
  }
  .site-header nav .header-link {
    padding: 9px 5px;
    gap: 5px;
    font-size: 12px;
  }
  .site-header nav .header-link .ui-icon {
    width: 15px;
    height: 15px;
  }
  .hero-content {
    padding-block: 12px 24px;
  }
  .hero-backdrop {
    object-position: 72% center;
  }
  .hero-logo {
    width: min(360px, 90vw);
  }
  .section {
    padding-block: 24px;
  }
  .section-top {
    flex-direction: column;
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
  }
  .feature-grid,
  .home-feature-grid,
  .hosting-choices,
  .two-columns,
  .showcase .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid article,
  .option,
  .two-columns > article,
  .plan,
  .unpublished,
  .upgrade {
    padding: 18px;
  }
  .showcase figcaption {
    font-size: 11px;
  }
  .site-footer {
    padding-block: 28px 20px;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-bottom: 28px;
  }
  .footer-group[aria-label='Legal'] {
    grid-column: 1 / -1;
  }
  .footer-group[aria-label='Legal'] ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
  }
  .footer-group h2 {
    margin-top: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .page-heading {
    padding-top: 24px;
  }
  .feature-paths,
  .hosting-models {
    grid-template-columns: 1fr;
  }
  .pricing-toolbar {
    flex-direction: column;
    align-items: start;
  }
  .billing-switch {
    margin: 0;
  }
  .hosting-model,
  .package-empty {
    padding: 18px;
  }
  .catalog-notice {
    flex-wrap: wrap;
  }
  .catalog-notice .button {
    margin-left: 44px;
  }
  .gallery-slide figcaption {
    padding: 14px;
    min-height: 106px;
  }
  .gallery-slide figcaption a span {
    display: none;
  }
  .gallery-controls {
    padding-inline: 12px;
  }
  .gallery-topline {
    padding: 10px 12px;
    font-size: 11px;
    gap: 8px;
  }
  .gallery-expand {
    padding: 6px;
    gap: 4px;
  }
  .gallery-topline .ui-icon {
    width: 16px;
    height: 16px;
  }
  .gallery-thumbnail {
    flex-basis: 112px;
    font-size: 10px;
  }
  .gallery-thumbnails {
    gap: 8px;
    padding: 10px 12px;
  }
  .gallery-lightbox {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }
  .gallery-dialog-header,
  .gallery-dialog-footer {
    padding: 12px;
    gap: 8px;
  }
  .gallery-dialog-header h2 {
    font-size: 16px;
  }
  .gallery-dialog-image {
    height: min(65dvh, calc((100vw - 16px) * 0.6));
  }
  .gallery-dialog-footer .text-link {
    font-size: 12px;
  }
  .package-comparison > summary {
    padding: 16px;
  }
  .package-comparison > summary > span:first-child {
    display: inline;
    font-size: 13px;
  }
  .package-comparison > summary .ui-icon {
    margin-right: 6px;
    width: 16px;
    height: 16px;
  }
  .comparison-content {
    padding-inline: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .hero-backdrop {
    animation: none;
  }
  .home-feature,
  .scroll-reveal,
  .site-header .header-link,
  .site-header .header-link .ui-icon {
    transition: none;
  }
  .scroll-reveal.reveal-pending {
    opacity: 1;
    transform: none;
  }
}

.supported-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2px auto 22px;
  padding: 9px 16px;
  border: 1px solid #c6aa724d;
  border-radius: 99px;
  background: #111e;
}
.supported-game span {
  color: #b8b2a6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 700;
}
.supported-game strong {
  color: #e1c690;
  font-size: 13px;
  font-weight: 600;
}
.hero-intro strong {
  display: block;
  color: #f3eee2;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.hero-intro > span {
  display: block;
  color: #d4cfc5;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}
.hero .button-row {
  gap: 14px;
}
.hero .button {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 15px;
}
.hero .demo-link {
  background: #171717eb;
  color: #eee1c7;
  border-color: #c6aa7299;
}
.hero .demo-link:hover {
  background: #30291f;
  border-color: #e1c690;
}
.hero-demo-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: #bcb3a4;
}
@media (max-width: 540px) {
  .site-header .login-link {
    padding: 9px 10px;
    gap: 6px;
    font-size: 12px;
  }
  .login-arrow {
    display: none;
  }
  .supported-game {
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
  }
  .hero .button-row {
    width: min(100%, 340px);
    margin-inline: auto;
    flex-direction: column;
  }
  .hero .button {
    width: 100%;
  }
}

/* Feature tour: a short overview beside real portal screenshots. */
.feature-tour-intro {
  padding-block: 72px 40px;
}
.feature-tour-intro h1 {
  max-width: 820px;
  margin: 12px 0 20px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
}
.feature-tour-lead {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.75;
}
.feature-tour-note {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.feature-tour-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px 0 28px;
}
.feature-tour-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 6px;
  color: var(--muted);
  font-size: 13px;
}
.feature-tour-nav a:hover {
  color: var(--gold);
}
.feature-tour-nav .ui-icon {
  width: 17px;
  height: 17px;
}
.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-block: 64px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.feature-story-copy,
.feature-story-content {
  min-width: 0;
}
.feature-story-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  text-wrap: balance;
}
.feature-story-copy > p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
}
.feature-highlights {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 14px;
}
.feature-highlights li {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.feature-highlights .ui-icon {
  flex: 0 0 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--gold);
}
.feature-story-copy .feature-story-note {
  color: var(--muted);
  font-size: 13px;
}
.feature-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.feature-preview {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.feature-preview-main {
  grid-column: 1 / -1;
}
.feature-preview a {
  display: block;
}
.feature-preview img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-inset);
}
.feature-preview:not(.feature-preview-main) img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.feature-preview figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.feature-preview a:hover figcaption {
  color: var(--gold);
}
.feature-preview .ui-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.feature-tools {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.feature-tools summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-size: 14px;
}
.feature-tools summary::-webkit-details-marker {
  display: none;
}
.feature-tools summary > .ui-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.feature-tools[open] summary > .ui-icon {
  transform: rotate(90deg);
}
.feature-tools ul {
  list-style: none;
  margin: 0;
  padding: 0 20px;
}
.feature-tools li {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.feature-tools li > .ui-icon {
  flex: 0 0 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold);
}
.feature-tools h3 {
  font-size: 14px;
  margin: 0 0 6px;
}
.feature-tools p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.feature-tools > .text-link {
  display: inline-block;
  margin: 4px 20px 22px;
  font-size: 13px;
}
.feature-story-compact .feature-tools {
  margin-top: 0;
}
@media (max-width: 800px) {
  .feature-tour-intro {
    padding-block: 44px 24px;
  }
  .feature-tour-lead {
    font-size: 16px;
  }
  .feature-tour-nav {
    gap: 8px 18px;
    padding-bottom: 24px;
  }
  .feature-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-block: 40px;
  }
  .feature-story-copy > p {
    max-width: 65ch;
  }
  .feature-highlights {
    margin-bottom: 0;
  }
  .feature-previews {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .feature-previews {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-preview {
    grid-column: auto;
  }
  .feature-tour-intro .button-row {
    align-items: stretch;
  }
  .feature-tour-intro .button {
    flex: 1 1 160px;
    justify-content: center;
  }
  .feature-tools summary {
    padding: 16px;
  }
}
