* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: #111314;
  color: #f5f4f2;
}
.site {
  --bg: #111314;
  --surface: #1a1d1f;
  --surface2: #222628;
  --text: #f5f4f2;
  --muted: #abb1b4;
  --line: #333739;
  --accent: #ff9856;
  --accent-text: #171716;
  --soft: #30231c;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
a:hover {
  color: var(--accent);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2.6rem, 5.5vw, 5.3rem);
  font-weight: 650;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
}
p {
  color: var(--muted);
  line-height: 1.7;
}
em {
  color: var(--accent);
  font-style: normal;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: white;
  color: black;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.wrap {
  max-width: 1200px;
  padding: 0 38px;
  margin: auto;
}
.site-head {
  border-bottom: 1px solid var(--line);
}
.head-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-size: 18px;
}
.brand img {
  border-radius: 7px;
  object-fit: contain;
}
.brand sup {
  font-size: 10px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}
.site-nav a {
  color: var(--muted);
  padding: 12px 0;
}
.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--accent);
}
.mobile-menu {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  min-height: 44px;
}
.eyebrow {
  font:
    500 12px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 22px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button,
.legacy-content .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--accent);
  color: var(--accent-text);
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 13px 22px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 600;
}
.button:hover,
.legacy-content .btn:hover {
  filter: brightness(1.08);
  color: var(--accent-text);
}
.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 550;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 25px;
}
.section-top p {
  margin-top: 10px;
  font-size: 15px;
}
.glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--soft);
  color: var(--accent);
  font:
    600 17px ui-monospace,
    monospace;
}
.utility-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-block: 1px solid var(--line);
  padding: 30px 0;
  margin: 36px 0;
}
.utility-band > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.utility-band p {
  font-size: 14px;
  margin-top: 8px;
}
.utility-band h3 {
  font-size: 18px;
}
.footer {
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding: 35px 0;
  font-size: 12px;
  color: var(--muted);
}
.footer .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.footer p {
  margin: 12px 0;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-content: start;
}
.footer .policies {
  grid-column: 1/-1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer .text-link {
  font-size: 12px;
  color: var(--muted);
}
.footer .text-link:hover {
  color: var(--accent);
}
.project-section {
  padding: 15px 0 40px;
}
.project-section p {
  max-width: 650px;
  margin: 17px 0;
}
.community {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.community p {
  margin: 12px 0;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.page-heading {
  padding: 48px 0 30px;
}
.page-heading h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  max-width: 850px;
}
.page-heading p {
  margin-top: 15px;
  max-width: 670px;
}
.page-heading .eyebrow {
  margin-bottom: 15px;
}
.download-tools {
  display: flex;
  gap: 16px;
  margin: 26px 0 24px;
  align-items: center;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  min-height: 52px;
  flex: 1;
}
.search-box input {
  width: 100%;
  min-width: 0;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 14px 0;
  font-size: 16px;
}
.search-box input::placeholder {
  color: var(--muted);
}
.filter {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 13px;
  border-radius: 7px;
  min-height: 52px;
  font-size: 14px;
}
.download-tools > label {
  font-size: 14px;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.download-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  min-width: 0;
}
.download-item h2 {
  font-size: 20px;
  overflow-wrap: anywhere;
}
.download-item .item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 12px;
  font-size: 14px;
}
.download-item:hover {
  border-color: var(--accent);
}
.results-count {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.tag {
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
}
.notice {
  padding: 16px 18px;
  background: var(--soft);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  margin: 22px 0;
  font-size: 14px;
  line-height: 1.65;
}
.empty {
  padding: 35px 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.resource-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.resource-card h2 {
  font-size: 24px;
}
.resource-card:hover {
  border-color: var(--accent);
}
.resource-card p {
  font-size: 15px;
}
.legacy-content {
  max-width: 1100px;
  overflow-wrap: anywhere;
}
.legacy-content .hero {
  padding: 50px 0 20px;
}
.legacy-content .hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  max-width: 850px;
}
.legacy-content .hero-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font:
    12px ui-monospace,
    monospace;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.legacy-content .hero-subtitle {
  max-width: 700px;
  margin: 20px 0;
}
.legacy-content .hero-visual {
  margin: 24px 0;
  padding: 24px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
}
.legacy-content .hero-card-badge {
  font:
    11px ui-monospace,
    monospace;
  color: var(--accent);
  margin-bottom: 15px;
}
.legacy-content .hero-card-title {
  font-size: 22px;
}
.legacy-content h2 {
  font-size: 27px;
  margin: 26px 0 15px;
}
.legacy-content h3 {
  margin: 20px 0 12px;
}
.legacy-content p {
  margin: 14px 0;
}
.legacy-content .section-heading {
  margin: 30px 0;
}
.legacy-content .card-glass {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px;
  margin: 20px 0;
}
.legacy-content .cards-grid {
  display: block;
}
.legacy-content .cards-grid article {
  max-width: 100%;
}
.legacy-content a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legacy-content li {
  margin: 10px 0;
  color: var(--muted);
}
.legacy-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.legacy-content table {
  width: 100%;
  border-collapse: collapse;
}
.legacy-content th,
.legacy-content td {
  padding: 12px;
  text-align: left;
  border: 1px solid var(--line);
}
.legacy-content pre {
  overflow: auto;
  white-space: pre;
  padding: 18px;
  background: var(--surface2);
}
.legacy-content .btn {
  margin: 8px 8px 8px 0;
  overflow-wrap: anywhere;
}
.legacy-content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.legacy-content section {
  scroll-margin-top: 24px;
}
@media (max-width: 1050px) {
  .site-nav {
    gap: 17px;
  }
  .head-inner {
    gap: 20px;
  }
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .utility-band > div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 780px) {
  .wrap {
    padding: 0 22px;
  }
  .utility-band,
  .resource-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
  .utility-band {
    gap: 27px;
    margin: 22px 0;
    padding: 27px 0;
  }
  .community {
    align-items: flex-start;
    flex-direction: column;
  }
  .community h2 {
    font-size: 28px;
  }
  .footer .wrap {
    grid-template-columns: 1fr;
  }
  .footer {
    margin-top: 35px;
  }
  .footer-links {
    gap: 16px;
  }
  .download-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .download-tools select {
    width: 100%;
    margin-top: 6px;
  }
  .page-heading {
    padding: 32px 0 25px;
  }
  .resource-card {
    padding: 22px;
    gap: 15px;
  }
  .legacy-content .hero {
    padding-top: 35px;
  }
  .legacy-content .card-glass {
    padding: 18px !important;
  }
  .legacy-content h2 {
    font-size: 24px;
  }
  .actions {
    gap: 18px;
  }
  .project-section h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.site[class*="ember-"] {
  --bg: #111314;
  --surface: #1a1d1f;
  --surface2: #222628;
  --text: #f5f4f2;
  --muted: #abb1b4;
  --line: #333739;
  --accent: #ff9856;
  --accent-text: #171716;
  --soft: #30231c;
}
.site em {
  color: var(--accent);
  font-style: normal;
}
.heritage-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  padding: 67px 0 54px;
  align-items: center;
}
.heritage-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 1.04;
}
.heritage-hero > div > p {
  font-size: 17px;
  max-width: 550px;
  margin: 24px 0 0;
}
.heritage-story {
  border-top: 2px solid var(--accent);
  padding: 27px 0 0;
}
.story-caption {
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.heritage-story h2 {
  font-size: 31px;
  line-height: 1.23;
  margin: 22px 0 17px;
  letter-spacing: -0.04em;
}
.heritage-story h2 span {
  color: var(--accent);
}
.heritage-story > p {
  font-size: 15px;
  max-width: 350px;
}
.heritage-notes {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.heritage-notes > div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.heritage-notes span {
  font-size: 12px;
  color: var(--muted);
}
.heritage-notes b {
  font-size: 14px;
  font-weight: 500;
}
.history-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 0;
  border-block: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.history-strip > span:first-child {
  font:
    11px ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.free-section {
  padding: 53px 0 42px;
  scroll-margin-top: 30px;
}
.free-section .eyebrow,
.flagship-section .eyebrow {
  margin-bottom: 14px;
  font-size: 11px;
}
.free-section .section-top {
  align-items: center;
}
.free-section h2 {
  font-size: 32px;
}
.free-section .section-top p {
  max-width: 620px;
  font-size: 15px;
}
.free-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.free-plugin {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.free-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.plugin-monogram {
  width: 51px;
  height: 51px;
  background: var(--accent);
  color: #171716;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font:
    650 20px ui-monospace,
    monospace;
  letter-spacing: -0.1em;
}
.free-plugin:nth-child(2) .plugin-monogram {
  background: var(--soft);
  color: var(--accent);
  border: 1px solid #67452d;
}
.free-badge {
  font:
    12px ui-monospace,
    monospace;
  color: var(--accent);
  border: 1px solid #765134;
  padding: 4px 10px;
  border-radius: 5px;
}
.free-plugin h3 {
  font-size: 29px;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.free-plugin p {
  font-size: 16px;
  max-width: 440px;
}
.plugin-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}
.plugin-capabilities span {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  padding: 5px 10px;
  border-radius: 4px;
}
.free-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: auto;
}
.free-actions .button {
  padding: 12px 17px;
  gap: 17px;
}
.free-actions .text-link {
  font-size: 13px;
  white-space: nowrap;
}
.flagship-section {
  padding: 25px 0 38px;
}
.flagship-section .resource-card {
  background: transparent;
}
.flagship-section h2 {
  font-size: 30px;
}
.library-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 65px;
  align-items: end;
  padding: 67px 0 45px;
}
.library-hero h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
.library-intro > p {
  font-size: 16px;
}
.library-intro .actions {
  gap: 20px;
  margin: 24px 0 4px;
}
.ember-library .free-section {
  padding-top: 43px;
}
.ember-library .free-plugin {
  position: relative;
  border-radius: 6px;
  padding: 30px 30px 26px;
  background: linear-gradient(135deg, #24211e 0%, #1a1c1e 75%);
  border-top: 3px solid var(--accent);
}
.ember-library .free-plugin:nth-child(2) {
  background: linear-gradient(135deg, #1d2326 0%, #1a1c1e 75%);
  border-top-color: #b6bfc3;
}
.ember-library .free-heading {
  margin-bottom: 28px;
}
.ember-library .free-plugin h3 {
  font-size: 34px;
}
.ember-library .free-actions .button {
  background: transparent;
  border: 1px solid #8a5b3a;
  color: var(--accent);
}
.library-shelf {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  margin: 20px 0 45px;
  padding: 35px 0;
  border-block: 1px solid var(--line);
  align-items: center;
}
.library-shelf h2 {
  font-size: 31px;
  margin: 16px 0;
}
.library-shelf > div > p {
  font-size: 15px;
  max-width: 360px;
}
.shelf-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.shelf-item:last-child {
  border: 0;
}
.shelf-item > span:last-child {
  margin-left: auto;
  color: var(--accent);
}
.shelf-item h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.shelf-item p {
  font-size: 14px;
}
.origins-hero {
  padding: 69px 0 54px;
  text-align: center;
}
.origins-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 1.07;
}
.origins-hero > p {
  font-size: 17px;
  max-width: 660px;
  margin: 26px auto 0;
}
.origins-hero .actions {
  justify-content: center;
  margin-top: 28px;
}
.story-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  padding: 28px 0;
  scroll-margin-top: 25px;
}
.story-chapters article {
  padding: 8px 26px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.story-chapters article:first-child {
  padding-left: 0;
}
.story-chapters article:last-child {
  border: 0;
  padding-right: 0;
}
.chapter-index {
  font:
    11px ui-monospace,
    monospace;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.story-chapters h2 {
  font-size: 25px;
  line-height: 1.15;
}
.story-chapters p {
  font-size: 14px;
}
.story-chapters a {
  font-size: 13px;
  margin-top: auto;
}
.ember-origins .free-grid {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.ember-origins .free-plugin {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.ember-origins .free-plugin:last-child {
  border: 0;
}
.ember-origins .plugin-monogram {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
}
.ember-origins .free-actions .button {
  background: var(--surface2);
  color: var(--text);
}
.review-bar nav button {
  white-space: nowrap;
}
.review-bar .review-brand:hover {
  text-decoration: underline;
}
.review-bar #review-toggle {
  white-space: nowrap;
}
@media (max-width: 1050px) {
  .heritage-hero {
    gap: 40px;
  }
  .library-hero {
    gap: 35px;
    grid-template-columns: 1.3fr 1fr;
  }
  .free-actions {
    gap: 13px;
    flex-wrap: wrap;
  }
  .library-shelf {
    gap: 35px;
  }
  .story-chapters article {
    padding-inline: 20px;
  }
}
@media (max-width: 780px) {
  .heritage-hero,
  .library-hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 37px 0 30px;
  }
  .heritage-hero h1,
  .library-hero h1 {
    font-size: clamp(2.6rem, 9.5vw, 4rem);
    line-height: 1.07;
  }
  .heritage-hero > div > p {
    font-size: 16px;
    margin-top: 20px;
  }
  .heritage-story {
    padding-top: 20px;
  }
  .heritage-story h2 {
    font-size: 28px;
    margin: 16px 0;
  }
  .heritage-story > p {
    max-width: none;
  }
  .heritage-notes {
    gap: 10px;
    margin-top: 20px;
  }
  .heritage-notes > div {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }
  .heritage-notes span {
    font-size: 11px;
    flex-shrink: 0;
  }
  .heritage-notes b {
    font-size: 12px;
    text-align: right;
  }
  .history-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 12px;
    gap: 12px;
    padding: 18px 0;
  }
  .history-strip > span:first-child {
    font-size: 10px;
  }
  .free-section {
    padding: 33px 0 28px;
  }
  .free-section .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .free-section h2 {
    font-size: 28px;
    line-height: 1.15;
  }
  .free-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .free-plugin,
  .ember-library .free-plugin {
    padding: 23px;
  }
  .free-heading {
    margin-bottom: 20px;
  }
  .free-plugin h3,
  .ember-library .free-plugin h3 {
    font-size: 28px;
  }
  .free-actions {
    gap: 17px;
  }
  .free-actions .button {
    width: 100%;
    justify-content: space-between;
  }
  .free-plugin p {
    font-size: 15px;
  }
  .plugin-capabilities {
    margin: 17px 0 20px;
  }
  .flagship-section {
    padding: 20px 0;
  }
  .flagship-section h2 {
    font-size: 27px;
    line-height: 1.15;
  }
  .library-hero {
    gap: 23px;
  }
  .library-intro .actions .button {
    flex: unset;
  }
  .library-intro .actions {
    margin-top: 20px;
  }
  .library-shelf {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 12px 0 28px;
    padding: 26px 0;
  }
  .library-shelf h2 {
    font-size: 28px;
  }
  .origins-hero {
    padding: 40px 0 32px;
    text-align: left;
  }
  .origins-hero h1 {
    font-size: clamp(2.5rem, 9.4vw, 4rem);
  }
  .origins-hero > p {
    font-size: 16px;
    margin-top: 20px;
  }
  .origins-hero .actions {
    justify-content: flex-start;
  }
  .story-chapters {
    grid-template-columns: 1fr;
    padding: 0;
    border-bottom: 0;
  }
  .story-chapters article,
  .story-chapters article:first-child,
  .story-chapters article:last-child {
    padding: 25px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .story-chapters h2 {
    font-size: 26px;
  }
  .story-chapters p {
    font-size: 15px;
  }
  .ember-origins .free-grid {
    border: 0;
    gap: 16px;
  }
  .ember-origins .free-plugin,
  .ember-origins .free-plugin:last-child {
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .review-bar nav button {
    padding: 8px 6px;
    font-size: 12px;
  }
  .review-bar .review-brand {
    font-size: 10px;
  }
  .review-bar .review-brand span {
    display: none;
  }
}

.embedded .review-bar,
.embedded #review-info {
  display: none;
}
.embedded .site {
  min-height: 100vh;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  padding-top: 30px;
  margin-bottom: 25px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.download-detail {
  max-width: 720px;
  margin: 32px auto 70px;
}
.download-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 38px;
  background: var(--surface);
}
.download-panel h1 {
  font-size: 42px;
  overflow-wrap: anywhere;
}
.download-panel .glyph {
  margin-bottom: 26px;
  width: 55px;
  height: 55px;
  font-size: 20px;
}
.download-panel p {
  margin-top: 16px;
}
.download-panel .button {
  width: 100%;
  margin: 25px 0 14px;
  justify-content: space-between;
}
.download-panel .destination {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 25px;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}
.detail-meta b {
  display: block;
  font-weight: 500;
  margin-top: 5px;
  color: var(--text);
}
.detail-support {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 780px) {
  .download-detail {
    margin: 22px 0 40px;
  }
  .download-panel {
    padding: 25px;
  }
  .download-panel h1 {
    font-size: 34px;
  }
  .detail-meta {
    grid-template-columns: 1fr;
  }
  .detail-support {
    flex-direction: column;
    gap: 15px;
  }
}
.api-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.api-card {
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 10px;
  background: var(--surface);
}
.api-card h2 {
  margin: 15px 0;
  font-size: 26px;
}
.api-card p {
  margin-bottom: 24px;
}
.api-card .button {
  width: 100%;
}
@media (max-width: 780px) {
  .api-list {
    grid-template-columns: 1fr;
  }
}
.wiki-wrap {
  max-width: 1440px;
}
.wiki-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 165px;
  gap: 36px;
  align-items: start;
  padding-bottom: 40px;
}
.doc-sidebar {
  font-size: 14px;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding-right: 12px;
}
.doc-sidebar summary {
  font-weight: 600;
  margin-bottom: 15px;
  cursor: pointer;
  padding: 10px 0;
  color: var(--text);
}
.doc-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.doc-sidebar nav a,
.other-docs > a {
  padding: 8px 10px;
  color: var(--muted);
  display: block;
  border-radius: 5px;
}
.doc-sidebar nav a:hover,
.doc-sidebar nav a[aria-current] {
  color: var(--accent);
  background: var(--soft);
}
.doc-sidebar nav a.doc-child {
  padding-left: 22px;
  font-size: 13px;
}
.doc-sidebar nav a.doc-group {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-top: 18px;
}
.other-docs {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.other-docs .eyebrow {
  font-size: 10px;
  margin-bottom: 10px;
}
.doc-article {
  min-width: 0;
  overflow-wrap: anywhere;
}
.doc-article h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin: 0 0 26px;
}
.doc-article h2 {
  font-size: 26px;
  margin: 38px 0 18px;
  scroll-margin-top: 24px;
}
.doc-article h3 {
  font-size: 21px;
  margin: 28px 0 15px;
  scroll-margin-top: 24px;
}
.doc-article p {
  margin: 16px 0;
}
.doc-article ul,
.doc-article ol {
  padding-left: 25px;
  color: var(--muted);
}
.doc-article li {
  margin: 7px 0;
}
.doc-article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc-article pre,
.doc-article code {
  font:
    13px/1.7 ui-monospace,
    SFMono-Regular,
    monospace;
}
.doc-article :not(pre) > code {
  padding: 2px 5px;
  background: var(--surface2);
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.doc-article pre {
  margin: 0;
  padding: 20px;
  overflow: auto;
  white-space: pre;
  color: #e4e7e9;
  tab-size: 2;
}
.code-block {
  margin: 22px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.code-block figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font:
    12px ui-monospace,
    monospace;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.code-block button {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 36px;
  padding: 5px 13px;
}
.doc-hint {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 10px 20px;
  margin: 22px 0;
  border-radius: 4px;
}
.doc-hint.danger {
  border-color: #ff7777;
}
.doc-hint p {
  font-size: 14px;
}
.doc-article img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 20px 0;
}
.doc-article figure:not(.code-block) {
  margin: 22px 0;
}
.table-scroll {
  overflow: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.doc-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.doc-article th,
.doc-article td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  min-width: 100px;
}
.doc-article th {
  background: var(--surface);
}
.toc {
  font-size: 12px;
  position: sticky;
  top: 25px;
  max-height: calc(100vh - 50px);
  overflow: auto;
}
.toc .eyebrow {
  font-size: 10px;
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.toc a:hover {
  color: var(--accent);
}
.doc-footer {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.docs-search {
  margin: 5px 0 18px;
  max-width: 760px;
}
.doc-results {
  display: grid;
  gap: 15px;
}
.doc-result {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.doc-result > span {
  font:
    11px ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.doc-result h2 {
  font-size: 23px;
  margin: 10px 0;
}
.doc-result p {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.anchor-alias {
  scroll-margin-top: 30px;
}
@media (max-width: 1100px) {
  .wiki-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 27px;
  }
  .toc {
    display: none;
  }
}
@media (max-width: 780px) {
  .wiki-layout {
    display: block;
  }
  .doc-sidebar {
    position: static;
    max-height: none;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 7px;
    margin: 0 0 30px;
  }
  .doc-sidebar summary {
    margin: 0;
    min-height: 36px;
    padding: 6px 0;
  }
  .doc-sidebar[open] summary {
    margin-bottom: 14px;
  }
  .doc-article h1 {
    font-size: 31px;
  }
  .doc-article h2 {
    font-size: 25px;
  }
  .doc-article pre {
    font-size: 12px;
    padding: 16px;
  }
  .code-block figcaption {
    padding: 8px 12px;
    font-size: 11px;
  }
  .doc-footer {
    flex-direction: column;
    gap: 18px;
  }
}

/* Project portfolio and accessible navigation menus. */
.site-nav {
  gap: 24px;
}
.nav-group {
  position: relative;
}
.nav-top {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-toggle {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  width: 22px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
}
.nav-toggle:hover {
  background: transparent;
  color: var(--accent);
}
.nav-toggle[aria-expanded="true"] {
  color: var(--accent);
}
.nav-chevron {
  width: 11px;
  height: 11px;
  transition: transform 150ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}
.nav-panel {
  position: absolute;
  top: 100%;
  left: -12px;
  width: 232px;
  max-width: calc(100vw - 40px);
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 24px #0004;
  z-index: 20;
}
.site-nav .nav-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 5px;
  line-height: 1.5;
  font-weight: 500;
}
.site-nav .nav-panel a:first-child {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  margin-bottom: 4px;
  padding-bottom: 12px;
}
.site-nav .nav-panel a:hover {
  background: var(--soft);
}
.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 12px;
  line-height: 1.5;
}
.tag-archived {
  color: #f2b47c;
  border-color: #a56b414f;
  background: #c3782820;
}
.project-section {
  padding: 30px 0;
}
.project-section > h2 {
  margin-bottom: 24px;
}
.project-grid {
  margin-top: 24px;
}
.project-card .text-link {
  margin-top: auto;
}
.project-meta,
.doc-compatibility {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}
.purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.purchase-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.purchase-card strong {
  color: var(--accent);
}
.purchase-card:hover {
  border-color: var(--accent);
}
.market-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.download-panel .button {
  margin-top: 20px;
  padding: 18px 28px;
  font-size: 18px;
}
.footer small {
  display: block;
  margin-top: 16px;
}
@media (max-width: 780px) {
  .purchase-grid {
    grid-template-columns: 1fr;
  }
  .download-panel .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (min-width: 781px) {
  .project-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Plain-language policy pages share the same readable width on all devices. */
.policy-content {
  max-width: 880px;
  margin: 0 auto;
}
.legacy-content .policy-heading h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.policy-heading > p {
  margin-top: 16px;
}
.policy-date {
  font-size: 0.85rem;
  color: var(--muted);
}
.policy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 24px 0;
  margin: 24px 0;
  border-block: 1px solid var(--line);
  font-size: 0.9rem;
}
.policy-content section {
  margin: 40px 0;
  scroll-margin-top: 24px;
}
.legacy-content .policy-content h2 {
  font-size: 1.55rem;
  margin-bottom: 16px;
}
.policy-content p,
.policy-content li {
  line-height: 1.8;
}
.policy-content p + p {
  margin-top: 16px;
}
.policy-content li + li {
  margin-top: 14px;
}
.policy-content strong {
  color: var(--text);
}
.policy-table {
  overflow-x: auto;
  margin: 24px 0;
}
.policy-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}
.policy-table th,
.policy-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.policy-table th {
  background: var(--surface2);
  color: var(--text);
}
.policy-table td:first-child {
  min-width: 145px;
  color: var(--text);
}
.purchase-notice {
  margin-top: 22px;
  max-width: 800px;
  font-size: 0.9rem;
}
.purchase-notice a {
  display: inline;
}
.policy-content {
  padding-block: 44px;
}

/* Keep desktop menus attached to the header, above page and API navigation. */
.site-head {
  position: relative;
  z-index: 30;
}
@media (min-width: 1001px) {
  .site-head .site-nav,
  .site-nav .nav-group {
    align-self: stretch;
  }
  .site-nav .nav-top {
    height: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-chevron {
    transition: none;
  }
}

.project-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.view-more-pill {
  border-radius: 999px;
  padding: 12px 26px;
  min-height: 44px;
}

@media (max-width: 1000px) {
  .head-inner {
    min-height: 74px;
    flex-wrap: wrap;
    position: relative;
    gap: 0;
  }
  .brand {
    font-size: 16px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .mobile-menu {
    display: block;
  }
  .site-nav {
    display: none;
    width: 100%;
    padding: 10px 0 20px;
  }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: stretch;
  }
  .site-nav a {
    font-size: 16px;
    padding: 11px;
  }
  .nav-top {
    justify-content: space-between;
  }
  .nav-toggle {
    width: 44px;
    min-height: 44px;
  }
  .nav-panel {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 0 8px 10px;
    box-shadow: none;
  }
}

.nav-top:hover > a,
.nav-top:focus-within > a,
.nav-top:hover .nav-toggle {
  color: var(--accent);
}
@media (min-width: 1001px) {
  .site-nav > a,
  .nav-top > a {
    white-space: nowrap;
  }
}

#game-addons .section-top .view-more-pill {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 780px) {
  #game-addons .section-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
