@font-face {
  font-family: "Fraunces";
  src: url("assets/Fraunces-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/BricolageGrotesque-Variable.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #14110d;
  --ink-2: #1d1812;
  --ash: #272018;
  --paper: #f3ead9;
  --paper-dim: #bcae98;
  --ember: #ec7a37;
  --ember-hot: #f4a04a;
  --copper: #c4592a;
  --line-dark: rgba(243, 234, 217, 0.14);
  --line-light: rgba(20, 17, 13, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

code {
  font: 0.95em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(20, 17, 13, 0.84);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 72px;
  height: 72px;
}

.brand-wordmark {
  width: 234px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.95rem;
  color: rgba(243, 234, 217, 0.82);
}

.nav a {
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--ember-hot);
}

.hero {
  position: relative;
  min-height: clamp(560px, 76svh, 840px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 112px clamp(18px, 5vw, 72px) 44px;
  border-bottom: 1px solid var(--line-dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  display: block;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(1.04);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(20, 17, 13, 0.94) 0%, rgba(20, 17, 13, 0.82) 38%, rgba(20, 17, 13, 0.2) 74%, rgba(20, 17, 13, 0.06) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ember-hot);
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker {
  font-size: 1.24rem;
  letter-spacing: 0.01em;
}

.lead-accent {
  color: var(--ember-hot);
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 360;
  line-height: 1.03;
}

h1 {
  max-width: 760px;
  font-size: 4.8rem;
}

h1 span,
h2 span {
  color: var(--ember);
}

h2 {
  font-size: 3.3rem;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(243, 234, 217, 0.86);
  font-size: 1.26rem;
}

.hero-actions,
.doc-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

.hero-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--ember);
  color: var(--ink);
}

.button.primary:hover {
  background: var(--ember-hot);
}

.button.secondary {
  border-color: rgba(243, 234, 217, 0.28);
  color: var(--paper);
}

.button.secondary:hover {
  border-color: var(--ember);
  color: var(--ember-hot);
}

.button.on-paper {
  border-color: rgba(20, 17, 13, 0.2);
  color: var(--ink);
}

.button.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.band {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background: var(--ink);
}

.band.paper {
  background: var(--paper);
  color: var(--ink);
}

.band.dark {
  background: var(--ink-2);
}

.intro {
  padding-top: 34px;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.intro-media {
  display: grid;
  align-content: start;
}

.intro-image-label {
  margin: 4px 0 12px;
}

.intro-image-label .eyebrow {
  margin-bottom: 6px;
}

.intro-image-label p:last-child {
  margin: 0;
  color: rgba(243, 234, 217, 0.72);
}

.intro-image {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.interface-gallery-trigger {
  justify-self: start;
  margin-top: 62px;
  border: 1px solid var(--ember);
  border-radius: 6px;
  padding: 11px 15px;
  background: var(--ember);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.interface-gallery-trigger:hover,
.interface-gallery-trigger:focus-visible {
  border-color: var(--ink);
  background: var(--ember-hot);
  color: var(--ink);
}

.image-zoom.intro-image img {
  display: block;
  width: 100%;
  aspect-ratio: 2.03;
  object-fit: contain;
  background: #eee4d5;
}

.intro-comic-workflow {
  display: grid;
  gap: 10px;
  width: min(100%, 620px);
  margin-top: 42px;
}

.intro-comic-workflow .eyebrow {
  margin-bottom: 0;
}

.intro-comic-workflow > p:not(.eyebrow) {
  color: rgba(243, 234, 217, 0.72);
}

.intro-comic-image {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.intro-comic-image img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-content h2 {
  margin-bottom: 24px;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.two-col,
.split-list {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.body-copy {
  display: grid;
  gap: 18px;
  color: rgba(243, 234, 217, 0.78);
  font-size: 1.1rem;
}

.paper .body-copy {
  color: rgba(20, 17, 13, 0.72);
}

.section-note {
  margin-top: 20px;
  color: rgba(20, 17, 13, 0.66);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature,
.doc-card,
.download-panel,
.pill-list > div,
.faq-list details {
  border-radius: 8px;
}

.feature {
  overflow: hidden;
  background: rgba(20, 17, 13, 0.05);
  border: 1px solid var(--line-light);
}

.image-zoom {
  position: relative;
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.image-zoom img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  object-position: left top;
  transition: transform 180ms ease, filter 180ms ease;
}

.image-zoom img.contain {
  object-fit: contain;
  object-position: center center;
  background: #eee4d5;
}

.image-zoom span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(20, 17, 13, 0.86);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.image-zoom:hover img,
.image-zoom:focus-visible img {
  filter: brightness(0.8);
  transform: scale(1.015);
}

.image-zoom:hover span,
.image-zoom:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.image-zoom:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: -3px;
}

.feature div {
  padding: 22px;
}

.feature p,
.doc-card strong,
.download-panel p,
.pill-list span,
.faq-list p {
  color: rgba(20, 17, 13, 0.68);
}

.split-list {
  align-items: center;
}

.pill-list {
  display: grid;
  gap: 12px;
}

.pill-list > div {
  display: grid;
  gap: 4px;
  padding: 22px;
  background: rgba(243, 234, 217, 0.04);
  border: 1px solid var(--line-dark);
}

.pill-list span,
.faq-list p {
  color: rgba(243, 234, 217, 0.7);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.system-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.04);
}

.system-card span {
  color: var(--ember-hot);
  font-size: 0.92rem;
  font-weight: 800;
}

.system-card h3 {
  margin: 0;
}

.system-card p {
  color: rgba(243, 234, 217, 0.72);
}

.copilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.copilot-image {
  width: min(100%, 560px);
  justify-self: center;
  border: 1px solid var(--line-light);
  border-radius: 8px;
}

.copilot-image img {
  display: block;
  aspect-ratio: 0.75;
  object-fit: contain;
  object-position: center top;
  background: #eee4d5;
}

.copilot-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.copilot-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--ink);
}

.copilot-steps span {
  color: var(--ember);
  font-size: 0.86rem;
  font-weight: 800;
}

.copilot-steps h3 {
  margin: 0 0 6px;
  color: var(--paper);
}

.copilot-steps p,
.copilot-privacy {
  color: rgba(20, 17, 13, 0.68);
}

.copilot-steps p {
  color: rgba(243, 234, 217, 0.74);
}

.copilot-privacy {
  max-width: 900px;
  margin: 30px 0 0;
}

.showcase-note {
  color: rgba(243, 234, 217, 0.72);
}

.showcase-projects {
  display: grid;
  gap: clamp(42px, 7vw, 88px);
}

.showcase-project {
  display: grid;
  grid-template-columns: minmax(190px, 0.44fr) minmax(270px, 0.86fr) minmax(360px, 1.35fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.04);
}

.showcase-cover {
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

.showcase-cover img {
  display: block;
  aspect-ratio: 0.667;
  object-fit: cover;
  object-position: center;
}

.showcase-cover-square img {
  aspect-ratio: 1;
}

.showcase-copy {
  padding-top: 8px;
}

.showcase-copy .eyebrow {
  margin-bottom: 12px;
}

.showcase-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 2.6vw, 2.6rem);
}

.showcase-copy p,
.showcase-copy li {
  color: rgba(243, 234, 217, 0.72);
}

.showcase-copy ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.showcase-gallery {
  display: grid;
  gap: 12px;
}

.showcase-gallery .image-zoom {
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

.showcase-gallery .image-zoom img {
  display: block;
  aspect-ratio: 2;
  object-fit: cover;
  object-position: center;
}

.showcase-project:nth-child(2) .showcase-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-project:nth-child(2) .showcase-gallery .image-zoom img {
  aspect-ratio: 0.667;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-list > div {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.04);
}

.guide-list span {
  color: var(--ember-hot);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-list strong {
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.38rem;
  font-weight: 420;
  line-height: 1.14;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.04);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(243, 234, 217, 0.88);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.08);
  color: var(--paper);
  font: inherit;
}

.lead-form textarea {
  min-height: 118px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(244, 160, 74, 0.72);
  outline-offset: 2px;
  border-color: transparent;
}

.lead-form select option {
  color: var(--ink);
  background: var(--paper);
}

.lead-form .button {
  margin-top: 4px;
}

.support-form { margin-top: 8px; }
.form-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.form-field > label, .form-field legend { color: rgba(243, 234, 217, 0.88); font-weight: 800; }
.radio-options { display: grid; gap: 10px; }
.radio-options label { display: flex; align-items: center; gap: 10px; color: rgba(243, 234, 217, 0.88); font-weight: 600; }
.radio-options input { width: 1rem; min-height: 1rem; margin: 0; accent-color: var(--ember); }
.form-help, .form-field-error, .form-status { margin: 0; }
.form-help { color: rgba(243, 234, 217, 0.68); font-size: 0.94rem; }
.form-field-error { min-height: 1.2em; color: var(--ember-hot); font-weight: 700; }
.lead-form .form-field-error:empty { display: none; }
.form-status { min-height: 1.5em; color: var(--paper); font-weight: 700; }
.support-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.before-submit { display: grid; gap: 16px; padding: 26px 28px; border: 1px solid var(--line-dark); border-radius: 8px; background: rgba(243, 234, 217, 0.04); }
.before-submit h2 { margin: 0; font-size: 2rem; }
.before-submit ul { display: grid; gap: 10px; }

.download-panel {
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
}

.download-panel img {
  width: 72px;
  margin-bottom: 24px;
}

.download-panel p {
  margin-bottom: 22px;
  color: rgba(243, 234, 217, 0.74);
}

.pricing-panel {
  display: grid;
  gap: 22px;
}

.pricing-panel p {
  margin: 0;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.price strong {
  color: var(--ember-hot);
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.3rem;
  font-weight: 420;
  line-height: 1;
}

.price del {
  color: rgba(243, 234, 217, 0.64);
  text-decoration-color: #EC7A37;
  font-size: 2em;
  font-weight: 800;
}

.price span {
  color: var(--ember-hot);
  font-size: 1.56rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-list {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(243, 234, 217, 0.82);
}

.pricing-list li + li {
  margin-top: 10px;
}

.pricing-smallprint {
  font-size: 0.92rem;
}

.pricing-smallprint a {
  color: var(--ember-hot);
  font-weight: 800;
}

.doc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-decoration: none;
  border: 1px solid var(--line-dark);
  background: rgba(243, 234, 217, 0.04);
}

.doc-card:hover {
  border-color: rgba(236, 122, 55, 0.8);
}

.doc-card span {
  color: var(--ember-hot);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.doc-card strong {
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.42rem;
  font-weight: 420;
  line-height: 1.14;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(20, 17, 13, 0.76);
  font-size: 1.1rem;
}

.steps li + li {
  margin-top: 12px;
}

.steps a {
  color: var(--copper);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line-dark);
  background: rgba(243, 234, 217, 0.04);
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
}

.footer {
  padding: 46px clamp(18px, 5vw, 72px) 58px;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
  color: rgba(243, 234, 217, 0.68);
}

.footer img {
  width: min(315px, 100%);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer a {
  color: var(--paper);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ember-hot);
}

.lightbox {
  width: min(1180px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  border: 1px solid rgba(243, 234, 217, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.lightbox::backdrop {
  background: rgba(20, 17, 13, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  margin: 0;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.lightbox img {
  width: 100%;
  max-height: calc(100svh - 126px);
  object-fit: contain;
  background: #eee4d5;
}

.lightbox figcaption {
  color: rgba(243, 234, 217, 0.78);
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 50%;
  background: rgba(20, 17, 13, 0.9);
  color: var(--paper);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: var(--ember);
  color: var(--ember-hot);
}

.interface-gallery {
  width: min(1120px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 20px;
  overflow: auto;
  border: 1px solid rgba(243, 234, 217, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.interface-gallery::backdrop {
  background: rgba(20, 17, 13, 0.82);
  backdrop-filter: blur(10px);
}

.interface-gallery-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.interface-gallery-header .eyebrow {
  margin-bottom: 8px;
}

.interface-gallery-header h2 {
  font-size: 2.25rem;
}

.interface-gallery-close,
.interface-gallery-nav {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 6px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.interface-gallery-close {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1;
}

.interface-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.interface-gallery-tabs button {
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 6px;
  padding: 9px 12px;
  background: transparent;
  color: rgba(243, 234, 217, 0.78);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.interface-gallery-tabs button[aria-selected="true"] {
  border-color: var(--ember);
  background: var(--ember);
  color: var(--ink);
}

.interface-gallery-screen {
  margin: 0;
  display: grid;
  gap: 10px;
}

.interface-gallery-screen img {
  display: block;
  width: 100%;
  max-height: min(68svh, 860px);
  object-fit: contain;
  background: #eee4d5;
}

.interface-gallery-screen figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(243, 234, 217, 0.78);
  font-weight: 800;
}

.interface-gallery-full-size {
  border: 1px solid var(--ember);
  border-radius: 6px;
  padding: 8px 11px;
  background: var(--ember);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: zoom-in;
}

.interface-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.interface-gallery-controls p {
  min-width: 54px;
  margin: 0;
  text-align: center;
  color: rgba(243, 234, 217, 0.78);
  font-weight: 800;
}

.interface-gallery-nav {
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
}

.interface-gallery-close:hover,
.interface-gallery-close:focus-visible,
.interface-gallery-nav:hover,
.interface-gallery-nav:focus-visible,
.interface-gallery-full-size:hover,
.interface-gallery-full-size:focus-visible,
.interface-gallery-tabs button:hover,
.interface-gallery-tabs button:focus-visible {
  border-color: var(--ember);
  color: var(--ember-hot);
}

.interface-gallery-full-size:hover,
.interface-gallery-full-size:focus-visible {
  border-color: var(--paper);
  background: var(--ember-hot);
  color: var(--ink);
}

.legal-page {
  padding-top: 110px;
}

.legal {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  color: rgba(243, 234, 217, 0.78);
}

.legal h1 {
  font-size: 5rem;
}

.legal h2 {
  margin-top: 24px;
  font-size: 2.6rem;
}

.legal ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 8px;
}

.legal a {
  color: var(--ember-hot);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 160px;
    padding-bottom: 48px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(20, 17, 13, 0.92) 0%, rgba(20, 17, 13, 0.76) 48%, rgba(20, 17, 13, 0.56) 100%);
  }

  .two-col,
  .split-list,
  .intro-layout,
  .copilot-layout,
  .showcase-project,
  .feature-grid,
  .doc-grid,
  .lead-grid,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .hero-lede {
    font-size: 1.16rem;
  }

  .intro-image {
    margin-top: 0;
  }

  .image-zoom.intro-image img,
  .intro-comic-image img,
  .workflow-responsive-image img,
  .copilot-image img {
    height: auto;
    aspect-ratio: auto var(--source-aspect, 1.45);
    object-fit: contain;
    object-position: center;
  }

  /* Reserve the natural image space before lazy-loaded pixels arrive. */
  .image-zoom.intro-image img { --source-aspect: 3378 / 1662; }
  .intro-comic-image img { --source-aspect: 1600 / 2712; }
  .workflow-responsive-image img[src*="workflow-style-references"] { --source-aspect: 1600 / 2706; }
  .workflow-responsive-image img[src*="workflow-character-preview"] { --source-aspect: 3046 / 1670; }
  .workflow-responsive-image img[src*="workflow-export"] { --source-aspect: 3456 / 1236; }
  .copilot-image img { --source-aspect: 3048 / 3643; }

  .copilot-image {
    width: 100%;
  }

  .showcase-project:nth-child(2) .showcase-gallery {
    grid-template-columns: 1fr;
  }

  .interface-gallery-trigger {
    margin-top: 62px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2,
  .legal h1 {
    font-size: 2.55rem;
  }

  .legal h2 {
    font-size: 2.1rem;
  }

  .price strong {
    font-size: 2.55rem;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    min-height: min(76svh, 680px);
    padding-top: 128px;
  }

  .hero-image {
    object-position: center center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(20, 17, 13, 0.94) 0%, rgba(20, 17, 13, 0.8) 43%, rgba(20, 17, 13, 0.24) 76%, rgba(20, 17, 13, 0.08) 100%);
  }
}

@media (min-width: 600px) and (max-width: 900px) and (orientation: portrait) {
  .hero {
    min-height: clamp(760px, 74svh, 960px);
  }

  .hero-media {
    background: var(--ink-2);
  }

  .hero-image {
    object-fit: contain;
    object-position: right center;
  }

  .hero-copy {
    width: min(600px, 78%);
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(20, 17, 13, 0.96) 0%, rgba(20, 17, 13, 0.88) 42%, rgba(20, 17, 13, 0.48) 68%, rgba(20, 17, 13, 0.08) 100%);
  }
}

@media (max-width: 560px) {
  .brand-wordmark {
    width: 198px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .interface-gallery {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    padding: 16px;
  }

  .interface-gallery-header h2 {
    font-size: 1.85rem;
  }

  .interface-gallery-screen img {
    max-height: 56svh;
  }

  .button {
    width: 100%;
  }

  .lead-form {
    padding: 22px;
  }

  .guide-list > div {
    min-height: 132px;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  .legal h1 {
    font-size: 2.45rem;
  }

  .legal h2 {
    font-size: 1.75rem;
  }

  .price strong {
    font-size: 2.45rem;
  }
}
