:root {
  --navy: #123f73;
  --navy-deep: #082c55;
  --blue: #1f5e9a;
  --violet: #7041c8;
  --violet-soft: #ece6fa;
  --gold: #c99c49;
  --ink: #172333;
  --muted: #5d6875;
  --paper: #fbfaf6;
  --cream: #f3efe5;
  --white: #ffffff;
  --line: #ddd9cf;
  --shadow: 0 22px 70px rgba(18, 63, 115, .12);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Aptos, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
code {
  padding: .08em .34em;
  color: var(--navy-deep);
  background: #e9edf2;
  border-radius: 5px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .88em;
}

.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 850px; }
.section { padding: 96px 0; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(251, 250, 246, .92);
  border-bottom: 1px solid rgba(8, 44, 85, .1);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--navy-deep);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17rem;
  font-weight: 700;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.brand > span { white-space: nowrap; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  flex: 0 0 auto;
  position: relative;
  color: #314052;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 650;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.active::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  padding: 8px 12px;
  color: var(--navy-deep);
  background: transparent;
  border: 1px solid rgba(8, 44, 85, .25);
  border-radius: 9px;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 108px;
  background:
    radial-gradient(circle at 84% 18%, rgba(112, 65, 200, .14), transparent 28%),
    linear-gradient(150deg, #fff 0%, var(--paper) 52%, #eee8dc 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(18, 63, 115, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(18, 63, 115, .025), 0 0 0 140px rgba(18, 63, 115, .02);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  align-items: center;
  gap: 70px;
}
.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(201, 156, 73, .15);
}
h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1, h2 {
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.035em;
}
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(3.1rem, 6vw, 5.65rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.15rem, 4vw, 3.45rem); }
h3 { margin-bottom: 12px; color: var(--navy-deep); font-size: 1.18rem; }
.lede { max-width: 730px; margin: 0 0 32px; color: #455469; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover:not([aria-disabled="true"]), .button:focus-visible:not([aria-disabled="true"]) { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 12px 28px rgba(18, 63, 115, .22); }
.button-primary:hover { background: var(--navy-deep); box-shadow: 0 16px 36px rgba(18, 63, 115, .27); }
.button-secondary { color: #fff; background: var(--navy); border-color: var(--navy); }
.button-secondary:hover { color: #fff; background: var(--navy-deep); }
.button-download { color: var(--navy-deep); background: #f2a900; border-color: #d98a00; }
.button-download:hover, .button-download:focus-visible { color: var(--navy-deep); background: #ffba24; }
.button-light { color: var(--navy-deep); background: #fff; box-shadow: 0 10px 25px rgba(0, 0, 0, .12); }
.button[aria-disabled="true"] { cursor: default; opacity: .72; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px 25px; margin: 27px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: .88rem; }
.quick-facts li { position: relative; }
.quick-facts li:not(:last-child)::after { content: "·"; position: absolute; right: -15px; color: var(--gold); font-weight: 900; }
.hero-mark { position: relative; text-align: center; }
.hero-mark img { position: relative; z-index: 2; width: min(100%, 460px); filter: drop-shadow(0 26px 24px rgba(8, 44, 85, .18)); }
.hero-mark p { max-width: 330px; margin: 12px auto 0; color: #536172; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.mark-halo { position: absolute; top: 50%; left: 50%; width: 430px; height: 430px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(18, 63, 115, .1); border-radius: 50%; transform: translate(-50%, -54%); box-shadow: var(--shadow); }

.intro { text-align: center; }
.intro p:last-child { margin: 0 auto; color: var(--muted); font-size: 1.09rem; }
.feature-section { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 250px; padding: 30px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(18, 63, 115, .08); border-radius: 15px; }
.feature-card:nth-child(2), .feature-card:nth-child(5) { background: #fff; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.feature-number { display: block; margin-bottom: 38px; color: var(--violet); font-family: Georgia, serif; font-size: .8rem; font-weight: 700; }

.example-section { background: #fff; }
.example-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 84px; }
.example-grid > div:first-child > p:not(.section-kicker) { color: var(--muted); }
.text-link { color: var(--navy); font-weight: 750; text-underline-offset: 4px; }
.example-placeholder { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 28px; padding: 34px; background: linear-gradient(135deg, #f5f2e8, #ebe7dc); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.example-placeholder p { margin: 0; color: var(--muted); font-size: .94rem; }
.placeholder-sheet { aspect-ratio: 8.5 / 11; padding: 12%; background: #fff; border: 1px solid #d8d4c9; box-shadow: 0 15px 30px rgba(30, 39, 50, .13); transform: rotate(-2.2deg); }
.placeholder-block { height: 13%; margin-bottom: 9%; background: #dfe7ef; border-radius: 2px; }
.placeholder-block.wide { background: linear-gradient(90deg, var(--navy) 0 38%, #e2e8ee 38%); }
.placeholder-block.medium { width: 68%; height: 8%; }
.placeholder-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; height: 31%; margin-bottom: 10%; }
.placeholder-row span { background: #f0ebfa; border: 1px solid #d9cef0; }
.placeholder-table { display: grid; grid-template-columns: repeat(3, 1fr); height: 17%; border: 1px solid #c7cdd4; }
.placeholder-table span:not(:last-child) { border-right: 1px solid #c7cdd4; }

.library-section { background: var(--paper); }
.library-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; padding: 68px; color: #fff; background: var(--navy-deep); border-radius: var(--radius); }
.library-card::after { content: ""; position: absolute; right: -180px; bottom: -250px; width: 560px; height: 560px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255, 255, 255, .025), 0 0 0 150px rgba(255, 255, 255, .018); }
.library-card h2 { color: #fff; }
.library-card p { color: #d1d9e4; }
.library-card .section-kicker { color: #cdbdf0; }
.library-copy { position: relative; z-index: 2; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 6px 12px; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.library-button { margin-top: 30px; }
.art-pair { position: relative; z-index: 2; display: flex; justify-content: center; }
.art-card { display: grid; width: 190px; aspect-ratio: 1; place-items: end start; padding: 18px; border-radius: 16px; box-shadow: 0 20px 45px rgba(0, 0, 0, .26); }
.art-card span { font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.color-card { color: #fff; background: radial-gradient(circle at 65% 30%, #e6c56b 0 8%, transparent 9%), linear-gradient(145deg, #8352d0, #2d72a8 45%, #143a64); transform: rotate(-6deg) translateX(12px); }
.line-card { color: var(--navy-deep); background: repeating-linear-gradient(45deg, #fff, #fff 16px, #f1efe8 17px, #f1efe8 18px); border: 2px solid #182e48; transform: rotate(5deg) translate(-8px, 22px); }
.home-art-pair { align-items: center; text-decoration: none; }
.home-art-pair img { width: 54%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 45px rgba(0, 0, 0, .26); }
.home-art-pair img:first-child { transform: rotate(-6deg) translateX(12px); }
.home-art-pair img:last-child { transform: rotate(5deg) translate(-8px, 22px); }

.release-section { padding-top: 0; }
.release-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 56px; color: #fff; background: linear-gradient(110deg, var(--violet), #5128a1); border-radius: var(--radius); }
.release-card h2 { margin-bottom: 12px; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.release-card p { max-width: 700px; margin: 0; color: #ece5fb; }
.release-card .section-kicker { color: #e1d5fa; }

.site-footer { padding: 58px 0; color: #bdc8d3; background: #071f39; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .85fr; align-items: start; gap: 50px; }
.footer-brand { color: #fff; }
.footer-grid p { margin: 14px 0 0; font-size: .86rem; }
.footer-grid nav { display: grid; gap: 8px; }
.footer-grid nav a { color: #d5dce4; text-decoration: none; font-size: .9rem; }
.footer-grid nav a:hover { color: #fff; text-decoration: underline; }
.copyright { text-align: right; }

.page-hero { padding: 94px 0 70px; background: linear-gradient(150deg, #fff, #f0ecdf); }
.page-hero.compact { padding-bottom: 54px; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.8rem, 5.5vw, 5rem); }
.notice { margin-top: 32px; padding: 16px 19px; color: #4a4438; background: #f2e8cf; border-left: 4px solid var(--gold); border-radius: 6px; font-size: .9rem; }
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); justify-content: center; gap: 76px; padding-top: 82px; padding-bottom: 110px; }
.docs-nav { position: sticky; top: 112px; align-self: start; padding: 22px; border-left: 2px solid #ddd7c9; }
.docs-nav p { margin: 0 0 12px; color: var(--navy-deep); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.docs-nav a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: .86rem; }
.docs-nav a:hover { color: var(--violet); }
.docs-content section { padding: 8px 0 76px; scroll-margin-top: 110px; }
.docs-content section:not(:last-child) { margin-bottom: 68px; border-bottom: 1px solid var(--line); }
.docs-content h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.docs-content p { color: #4f5d6d; }
.steps { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 15px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.steps li > span { display: grid; flex: 0 0 35px; height: 35px; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.steps p { margin: 3px 0 0; font-size: .91rem; }
.manual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.manual-grid > div { padding: 22px; background: #f1ede3; border-radius: 12px; }
.manual-grid p { margin-bottom: 0; font-size: .9rem; }
.tip { margin-top: 28px; padding: 22px 24px; color: #fff; background: var(--navy-deep); border-radius: 12px; }
.tip p { margin: 5px 0 0; color: #d6dfe8; }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 12px; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 900; }

.license-summary { padding-bottom: 40px; }
.summary-card { padding: 42px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.summary-card h2 { font-size: 2.2rem; }
.fine-print { margin-bottom: 0; color: var(--muted); font-size: .85rem; }
.license-section { padding-top: 42px; }
.license-shell { max-width: 1000px; }
.license-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.license-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3rem); }
.license-heading .button { flex: 0 0 auto; }
.license-text { overflow: visible; margin: 0; padding: 46px; color: #283445; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-family: "Segoe UI", Aptos, sans-serif; font-size: .89rem; line-height: 1.72; white-space: pre-wrap; overflow-wrap: anywhere; }
.license-content { padding: 54px 0 70px; }
.license-page-simple .license-shell { max-width: 920px; }
.license-page-simple h1 { margin-bottom: 28px; font-size: clamp(2rem, 4vw, 2.75rem); }
.license-summary-list { margin: 0 0 34px; padding: 22px 26px 22px 46px; color: #344256; background: #f8f6f0; border: 1px solid var(--line); border-radius: 8px; }
.license-summary-list li + li { margin-top: 8px; }
.license-page-simple .license-text { padding: 26px; border-radius: 4px; box-shadow: none; font-size: .86rem; line-height: 1.62; }
.about-page .license-shell { max-width: 820px; }
.about-copy { display: grid; gap: 26px; }
.about-copy section { padding-top: 24px; border-top: 1px solid var(--line); }
.about-copy h2 { margin-bottom: 8px; font-size: 1.35rem; }
.about-copy p { margin: 0; color: #455469; }
.about-primary p { max-width: 760px; font-size: 1.08rem; line-height: 1.8; text-indent: 2em; }
.about-primary a { color: var(--navy); font-weight: 700; }

.library-hero { overflow: hidden; padding-bottom: 82px; }
.library-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; }
.library-hero-pair { display: flex; align-items: center; justify-content: center; padding-right: 20px; }
.library-hero-pair img { width: 54%; aspect-ratio: 1; object-fit: cover; background: #fff; border: 7px solid #fff; border-radius: 18px; box-shadow: var(--shadow); }
.library-hero-pair img:first-child { transform: rotate(-5deg) translateX(13px); }
.library-hero-pair img:last-child { transform: rotate(5deg) translate(-13px, 25px); }
.catalog-section { background: #f2eee4; }
.catalog-tools { display: grid; grid-template-columns: minmax(260px, 1.5fr) minmax(165px, .65fr) minmax(180px, .7fr) auto; align-items: end; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 34px rgba(18, 63, 115, .08); }
.catalog-tools label { display: grid; gap: 6px; color: var(--navy-deep); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.catalog-tools input, .catalog-tools select { width: 100%; min-height: 50px; padding: 10px 13px; color: var(--ink); background: #fbfaf6; border: 1px solid #cfcabd; border-radius: 9px; font: inherit; font-size: .94rem; }
.catalog-tools input:focus, .catalog-tools select:focus { border-color: var(--violet); outline: 3px solid rgba(112, 65, 200, .16); }
.catalog-status { display: flex; justify-content: space-between; gap: 30px; margin: 24px 2px 30px; color: var(--muted); font-size: .86rem; }
.catalog-status p { margin: 0; }
#result-count { color: var(--navy-deep); font-weight: 800; }
.art-library-grid { display: grid; gap: 26px; }
.art-library-card { overflow: hidden; display: grid; grid-template-columns: minmax(330px, .92fr) minmax(380px, 1.08fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.art-preview-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; padding: 28px; background: linear-gradient(145deg, #dcd6c8, #f2eee4); }
.art-preview-pair figure { margin: 0; }
.art-preview-pair figure:first-child { transform: rotate(-1.5deg); }
.art-preview-pair figure:last-child { transform: rotate(1.5deg); }
.art-preview-pair a { display: block; }
.art-preview-pair img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; border: 5px solid #fff; border-radius: 8px; box-shadow: 0 13px 25px rgba(18, 35, 51, .15); }
.art-preview-pair figcaption { margin-top: 8px; color: #4f5965; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.art-card-body { padding: 42px; }
.art-card-body h2 { margin-bottom: 15px; font-size: clamp(2rem, 3.7vw, 3.05rem); }
.art-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; padding: 0; list-style: none; }
.art-meta li { padding: 5px 10px; color: var(--navy); background: #edf2f7; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.file-title { margin: 0 0 24px; color: var(--muted); font-size: .86rem; }
.file-title span { margin-right: 5px; font-weight: 750; }
.art-card-body dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px; }
.art-card-body dl div { padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-card-body dt { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.art-card-body dd { margin: 3px 0 0; color: var(--navy-deep); font-size: .88rem; font-weight: 750; }
.art-description { color: var(--muted); font-size: .91rem; }
.art-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 20px; }
.source-link { color: var(--navy); font-size: .84rem; font-weight: 750; text-underline-offset: 3px; }
.library-empty { padding: 70px 25px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.library-empty h2 { margin-bottom: 10px; font-size: 2rem; }
.library-empty p { margin: 0; color: var(--muted); }
.naming-section { background: #fff; }
.naming-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.filename-example { display: inline-flex; align-items: baseline; margin: 18px 0; padding: 13px 17px; color: var(--navy-deep); background: #f0ede4; border: 1px solid var(--line); border-radius: 9px; font-family: Consolas, monospace; font-size: clamp(.9rem, 2vw, 1.15rem); }
.filename-example strong { color: var(--violet); }
.filename-example em { color: var(--muted); font-style: normal; }

:focus-visible { outline: 3px solid rgba(112, 65, 200, .55); outline-offset: 3px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 16px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px rgba(8, 44, 85, .12); }
  .site-nav.open { display: grid; gap: 8px; }
  .site-nav a { padding: 8px 0; }
  .site-nav a::after { display: none; }
  .hero-grid, .example-grid, .library-card, .library-hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-actions, .quick-facts { justify-content: center; }
  .hero-mark { max-width: 480px; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .example-grid { gap: 45px; }
  .library-card { padding: 50px; }
  .art-pair { padding-bottom: 25px; }
  .docs-layout { grid-template-columns: 1fr; gap: 25px; }
  .catalog-tools { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .art-library-card { grid-template-columns: 1fr; }
  .naming-grid { grid-template-columns: 1fr; gap: 25px; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 15px 0 22px; border: 0; border-bottom: 1px solid var(--line); }
  .docs-nav p { width: 100%; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .section { padding: 74px 0; }
  .header-inner { min-height: 70px; }
  .brand img { width: 42px; height: 42px; }
  .hero { padding: 60px 0 80px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-mark { margin-top: 10px; }
  .mark-halo { width: 290px; height: 290px; }
  .quick-facts { display: grid; gap: 5px; }
  .quick-facts li::after { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-number { margin-bottom: 22px; }
  .example-placeholder { grid-template-columns: 1fr; }
  .placeholder-sheet { max-width: 230px; margin-inline: auto; }
  .library-card { padding: 36px 26px; }
  .art-card { width: 150px; }
  .home-art-pair img { width: 52%; }
  .release-card { display: grid; padding: 38px 28px; }
  .release-card .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .copyright { text-align: left; }
  .page-hero { padding: 68px 0 50px; }
  .docs-layout { padding-top: 52px; padding-bottom: 82px; }
  .manual-grid { grid-template-columns: 1fr; }
  .license-heading { align-items: stretch; flex-direction: column; }
  .license-heading .button { width: 100%; }
  .license-text, .summary-card { padding: 26px 20px; }
  .license-content { padding: 38px 0 52px; }
  .license-page-simple h1 { margin-bottom: 22px; font-size: 2rem; }
  .license-summary-list { margin-bottom: 26px; padding: 19px 18px 19px 38px; }
  .license-page-simple .license-text { padding: 20px 16px; font-size: .82rem; }
  .library-hero-pair { padding: 10px 12px 28px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .catalog-tools .button { width: 100%; }
  .catalog-status { display: grid; gap: 3px; }
  .art-preview-pair { padding: 18px 14px; }
  .art-card-body { padding: 28px 22px; }
  .art-card-body dl { grid-template-columns: 1fr; }
  .art-card-body dl div { border-bottom: 0; }
  .art-downloads { display: grid; }
  .art-downloads .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Quiet, documentation-first presentation */
:root {
  --paper: #f8f7f3;
  --cream: #f1efe8;
  --shadow: none;
  --radius: 10px;
  --shell: min(1040px, calc(100% - 40px));
}

body { line-height: 1.55; }
.section { padding: 60px 0; }
.site-header { background: rgba(248, 247, 243, .96); backdrop-filter: none; }
.header-inner { min-height: 66px; }
.brand { font-family: "Segoe UI", Aptos, system-ui, sans-serif; font-size: 1rem; letter-spacing: 0; }
.brand img { width: 38px; height: 38px; }
.brand-gold { color: #a66300; }
.site-nav { gap: 24px; }
.site-nav a { font-size: 1rem; font-weight: 700; }
.site-nav a::after { bottom: -5px; height: 1px; background: var(--navy); }

h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { margin-bottom: 16px; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.title-gold { color: #a66300; }

.simple-hero { padding: 78px 0 70px; background: #fff; border-bottom: 1px solid var(--line); }
.simple-hero-grid { display: grid; grid-template-columns: 1fr 240px; align-items: center; gap: 80px; }
.simple-hero h1 { margin-bottom: 14px; }
.simple-hero .lede { max-width: 620px; margin-bottom: 28px; color: #455469; font-size: 1.18rem; }
.release-status { margin: 0 0 12px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-logo { width: 220px; height: 220px; object-fit: contain; }
.button { min-height: 44px; padding: 9px 16px; border-radius: 6px; font-size: .9rem; transition: background .15s ease; }
.home-page .simple-hero .hero-actions .button { font-size: 1.8rem; }
.button:hover:not([aria-disabled="true"]), .button:focus-visible:not([aria-disabled="true"]) { transform: none; }
.button-primary { box-shadow: none; }
.button-primary:hover { box-shadow: none; }
.simple-hero .button-secondary { color: #fff; background: var(--navy); border-color: var(--navy); }
.simple-hero .button-secondary:hover,
.simple-hero .button-secondary:focus-visible { color: #fff; background: var(--navy-deep); }
.review-section { padding: 32px 0 28px; background: #f7f4ec; border-bottom: 1px solid var(--line); }
.review-carousel { max-width: 950px; }
.review-slides { display: grid; }
.review-slide { --review-type-size: clamp(1.1rem, 1.8vw, 1.3rem); grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; margin: 0; padding: 24px 30px; background: #fff; border-left: 5px solid #a66300; border-radius: 0 8px 8px 0; box-shadow: 0 5px 20px rgba(18, 63, 115, .06); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.review-slide.is-active { opacity: 1; visibility: visible; }
.review-slide blockquote { margin: 0; color: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; font-size: var(--review-type-size); line-height: 1.5; }
.review-slide figcaption { color: var(--muted); font-size: var(--review-type-size); font-weight: 650; line-height: 1.4; }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 15px; padding-top: 12px; }
.review-controls button { display: grid; width: 34px; height: 34px; place-items: center; color: var(--navy-deep); background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.review-controls button:hover, .review-controls button:focus-visible { border-color: var(--navy); background: #eaf0f6; }
.review-position { min-width: 48px; color: var(--muted); font-size: .8rem; text-align: center; }
.button-accent {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}
.button-accent:hover,
.button-accent:focus-visible { color: #fff; background: var(--navy-deep); }

.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.content-grid p { margin: 0; color: var(--muted); }
.plain-list { margin: 0; padding-left: 1.2rem; }
.plain-list li + li { margin-top: 7px; }
.cover-art-feature { background: var(--cream); border-block: 1px solid var(--line); }
.cover-art-feature-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(520px, 1.28fr); align-items: center; gap: 56px; }
.cover-art-copy p { color: var(--muted); }
.cover-art-example { margin: 22px 0; font-size: .9rem; }
.cover-art-example strong { color: var(--navy-deep); }
.cover-art-sample { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cover-art-sample figure { margin: 0; padding: 10px 10px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.cover-art-sample a, .cover-art-sample img { display: block; }
.cover-art-sample img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.cover-art-sample figcaption { padding: 7px 2px 1px; color: var(--navy-deep); font-size: .8rem; font-weight: 700; }
.resource-section { background: #fff; border-block: 1px solid var(--line); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.resource-link { display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 16px; padding: 22px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.resource-link:hover, .resource-link:focus-visible { border-color: var(--navy); }
.resource-link strong { color: var(--navy-deep); }
.resource-link span { color: var(--muted); font-size: .9rem; }
.resource-copy { display: grid; gap: 7px; }
.resource-icon { display: grid; width: 48px; height: 48px; place-items: center; color: #a66300 !important; background: #fff; border: 1px solid #e7d6b8; border-radius: 8px; }
.resource-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.resource-download { display: flex; justify-content: center; padding-top: 28px; }
.resource-download .button { min-width: 540px; min-height: 88px; padding: 18px 32px; text-align: center; font-size: 1.8rem; }
.download-section { padding-block: 48px; }
.download-row { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.download-row h2 { margin-bottom: 7px; }
.download-row p { margin: 0; color: var(--muted); }
.download-row-simple { justify-content: center; }
.license-actions { display: grid; justify-items: end; gap: 9px; }
.license-original-link { color: var(--navy); font-size: .78rem; font-weight: 650; text-align: right; }
.product-view-section { background: #fff; border-top: 1px solid var(--line); }
.product-view-grid { display: grid; grid-template-columns: minmax(240px, .68fr) minmax(480px, 1.32fr); align-items: center; gap: 48px; }
.product-view-grid > div > p:not(.release-status) { color: var(--muted); }
.product-view-grid figure { margin: 0; }
.product-view-grid img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.product-view-grid figcaption { margin-top: 7px; color: var(--muted); font-size: .78rem; }
.tutorial-poster { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: #102b48; border: 0; border-radius: 6px; cursor: pointer; text-align: left; }
.tutorial-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 44, 85, .34), transparent 45%); pointer-events: none; }
.tutorial-poster:hover img { filter: brightness(.9); }
.tutorial-poster:focus-visible { outline: 4px solid var(--gold); outline-offset: 4px; }
.tutorial-play { position: absolute; z-index: 1; left: 50%; top: 50%; bottom: auto; display: inline-flex; align-items: center; gap: 16px; min-height: 88px; padding: 12px 30px 12px 13px; color: #fff; background: rgba(8, 44, 85, .95); border: 3px solid #f2a900; border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 0, 0, .32); font-size: 1.88rem; font-weight: 750; transform: translate(-50%, -50%); white-space: nowrap; }
.tutorial-play-icon { display: grid; width: 60px; height: 60px; flex: 0 0 60px; place-items: center; color: var(--navy-deep); background: #f2a900; border-radius: 50%; font-size: 1.6rem; padding-left: 4px; }
.tutorial-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 6px; }
.tutorial-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.download-update-note { margin-top: 20px; padding: 15px 17px; color: #5a420f; background: #fff6df; border-left: 3px solid #a97816; font-size: .88rem; }

.site-footer { padding: 28px 0; color: #ccd4dc; background: #102b48; }
.simple-footer { display: flex; align-items: center; justify-content: center; gap: 24px; text-align: center; font-size: .8rem; }
.simple-footer nav { display: flex; gap: 18px; }
.simple-footer a { color: inherit; text-decoration: none; }
.simple-footer a:hover { color: #fff; text-decoration: underline; }

.page-title { padding: 56px 0 36px; background: #fff; border-bottom: 1px solid var(--line); }
.page-title h1 { margin-bottom: 12px; }
.page-title p { max-width: 760px; margin: 0; color: var(--muted); }
.page-hero { padding: 56px 0 42px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero.compact { padding-bottom: 42px; }
.page-hero h1 { max-width: 820px; margin-bottom: 15px; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .lede { margin-bottom: 0; font-size: 1.05rem; }

.catalog-section { padding-top: 38px; background: var(--paper); }
.catalog-tools { padding: 16px; border-radius: 8px; box-shadow: none; }
.catalog-tools input, .catalog-tools select { min-height: 44px; border-radius: 5px; }
.catalog-status { margin: 17px 2px 20px; }
.art-library-grid { gap: 18px; }
.art-library-card { grid-template-columns: minmax(300px, .95fr) minmax(360px, 1.05fr); border-radius: 8px; box-shadow: none; }
.art-preview-pair { padding: 18px; background: var(--cream); }
.art-preview-pair figure:first-child, .art-preview-pair figure:last-child { transform: none; }
.art-preview-pair img { border: 3px solid #fff; border-radius: 3px; box-shadow: none; }
.art-card-body { padding: 28px; }
.art-card-body h2 { margin-bottom: 12px; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.art-card-body dl { margin-bottom: 18px; }
.art-description { margin-block: 10px; }
.art-downloads { margin: 20px 0 14px; }
.art-meta { margin-bottom: 14px; }
.art-meta li { border-radius: 4px; }
.library-empty { padding: 50px 20px; border-radius: 8px; }

.docs-layout { gap: 55px; padding-top: 55px; padding-bottom: 75px; }
.docs-content section { padding-bottom: 50px; }
.docs-content section:not(:last-child) { margin-bottom: 48px; }
.steps li, .manual-grid > div, .tip { border-radius: 7px; }
.summary-card, .license-text { border-radius: 8px; box-shadow: none; }

@media (max-width: 900px) {
  .simple-hero-grid { grid-template-columns: 1fr 170px; gap: 40px; }
  .product-logo { width: 160px; height: 160px; }
  .content-grid { grid-template-columns: 1fr; gap: 38px; }
  .product-view-grid { grid-template-columns: 1fr; }
  .cover-art-feature-grid { grid-template-columns: 1fr; gap: 38px; }
  .resource-grid { grid-template-columns: 1fr; }
  .art-library-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .simple-hero { padding: 52px 0; }
  .review-section { padding: 32px 0 28px; }
  .review-slide { padding: 20px; }
  .simple-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .simple-hero-grid > div { text-align: left; }
  .simple-hero .hero-actions { justify-content: flex-start; }
  .product-logo { width: 120px; height: 120px; order: -1; }
  .cover-art-sample { gap: 8px; }
  .cover-art-sample figure { padding: 6px 6px 5px; }
  .download-row, .simple-footer { align-items: flex-start; flex-direction: column; }
  .download-row .button { width: 100%; }
  .resource-download .button { width: 100%; min-width: 0; min-height: 72px; padding: 14px 20px; font-size: 1.45rem; }
  .simple-footer nav { flex-wrap: wrap; }
  .page-title { padding: 42px 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .review-slide { transition: none; }
}

/* Catholic Publisher manual */
.manual-page {
  --manual-blue: #123f73;
  --manual-blue-soft: #eaf0f6;
  --manual-gold: #b88837;
  --manual-border: #d9dde2;
}

.manual-page code {
  padding: .08em .32em;
  color: #183858;
  background: #edf1f4;
  border-radius: 3px;
  font-size: .9em;
}

.manual-hero { padding-block: 54px; }
.manual-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: center; gap: 72px; }
.manual-hero h1 { margin-bottom: 12px; }
.manual-hero .lede { max-width: 680px; font-size: 1.18rem; }
.manual-version { max-width: 670px; margin: 13px 0 0; color: var(--muted); font-size: .91rem; }
.manual-video-link { margin: 17px 0 0; font-size: .93rem; font-weight: 700; }
.manual-video-link a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.manual-hero-logo { width: 160px; height: 160px; object-fit: contain; }

.manual-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 54px; max-width: 1180px; }
.manual-nav { top: 90px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; }
.manual-nav a { padding-block: 7px; line-height: 1.3; }
.manual-content { min-width: 0; }
.manual-content > section { scroll-margin-top: 86px; }
.manual-content > section:not(:last-child) { padding-bottom: 64px; margin-bottom: 62px; border-bottom: 1px solid var(--line); }
.manual-content > section > p:not(.section-kicker):not(.manual-finish) { max-width: 770px; }
.manual-content h3 { margin: 0 0 7px; color: var(--navy-deep); font-size: 1.05rem; }
.manual-content p { margin-top: 0; }
.section-kicker { margin-bottom: 8px; }

.start-options, .output-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 27px 0; }
.start-options.single-card { grid-template-columns: minmax(0, 620px); }
.manual-card { padding: 23px; background: #fff; border: 1px solid var(--manual-border); border-radius: 7px; }
.manual-card p:last-child { margin-bottom: 0; }
.card-label { margin: 0 0 7px; color: var(--manual-gold); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.manual-figure { margin: 28px 0; }
.manual-figure img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--manual-border); border-radius: 5px; }
.manual-figure figcaption { margin-top: 9px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.sample-opening { max-width: 420px; }
.sample-opening img { box-shadow: 0 12px 30px rgba(16, 43, 72, .09); }
.wide-figure { margin-inline: 0; }

.manual-callout { margin: 25px 0; padding: 18px 20px; background: var(--manual-blue-soft); border-left: 3px solid var(--manual-blue); }
.manual-callout strong { color: var(--navy-deep); }
.manual-callout p { margin: 4px 0 0; }
.manual-callout.caution { background: #f8f2e7; border-left-color: var(--manual-gold); }

.sample-sequence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; margin-top: 28px; }
.sample-sequence figure { margin: 0; }
.sample-sequence img { display: block; width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; background: #fff; border: 1px solid var(--manual-border); }
.sample-sequence figcaption { margin-top: 5px; color: var(--muted); font-size: .72rem; }

.anatomy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 32px; }
.anatomy-grid > div { position: relative; min-height: 130px; padding: 20px 20px 18px 56px; background: #fff; border: 1px solid var(--manual-border); }
.anatomy-grid > div > span:first-child { position: absolute; top: 19px; left: 18px; display: grid; width: 25px; height: 25px; place-items: center; color: #fff; background: var(--manual-blue); border-radius: 50%; font-size: .76rem; font-weight: 800; }
.anatomy-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.workflow-steps { display: grid; gap: 0; margin: 28px 0 34px; padding: 0; list-style: none; }
.workflow-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 0 0 25px; }
.workflow-steps li:not(:last-child) .step-number::after { content: ""; position: absolute; top: 32px; bottom: -29px; left: 15px; width: 1px; background: #cbd3db; }
.workflow-steps .step-number { position: relative; display: grid; width: 31px; height: 31px; place-items: center; color: #fff; background: var(--manual-blue); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.workflow-steps p { margin: 0; color: var(--muted); }

.object-comparisons { display: grid; gap: 18px; margin-top: 30px; }
.object-comparison { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(360px, 1.2fr); gap: 24px; align-items: center; padding: 23px; background: #fff; border: 1px solid var(--manual-border); }
.comparison-copy p:last-child { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.comparison-visuals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.comparison-visuals figure { margin: 0; }
.comparison-visuals figcaption { margin-top: 6px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.mock-object, .sample-crop { height: 185px; background: #f9fafb; border: 1px solid #99a8b7; overflow: hidden; }
.mock-object { display: grid; place-items: center; color: #738195; }
.mock-text { padding: 18px; place-items: start; border: 2px solid #548bc2; font-family: Georgia, serif; font-size: .95rem; }
.mock-bilingual { grid-template-columns: 1fr 1fr; padding: 14px; place-items: start; border: 2px solid #548bc2; }
.mock-bilingual span { width: 100%; min-height: 90px; padding: 10px; border: 1px dashed #b3bdc7; font-size: .83rem; }
.mock-image { gap: 4px; align-content: center; color: #6c7d8d; border: 2px solid #548bc2; }
.mock-image span { font-size: 3rem; line-height: 1; }
.mock-table { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 13px; border: 2px solid #548bc2; }
.mock-table i { border: 1px solid #9caaba; }
.sample-crop img { width: 100%; height: 100%; object-fit: cover; }
.crop-text img { object-position: 50% 16%; }
.crop-bilingual img { object-position: 50% 43%; }
.crop-image img { object-position: 50% 27%; }
.crop-table img { object-position: 50% 29%; }

.control-section { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.28fr); gap: 28px; align-items: start; margin: 28px 0 34px; }
.control-section .manual-figure { margin: 0; }
.command-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--manual-border); border-left: 1px solid var(--manual-border); }
.command-grid article { padding: 20px; background: #fff; border-right: 1px solid var(--manual-border); border-bottom: 1px solid var(--manual-border); }
.command-grid p { margin: 0; color: var(--muted); font-size: .89rem; }

.identity-example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 26px 0; padding: 2px; background: #d8dee5; }
.identity-example > div { display: grid; gap: 5px; padding: 19px; background: #fff; }
.identity-example strong { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--navy-deep); }
.identity-example small { color: var(--muted); }
.field-label { color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.output-grid { align-items: stretch; }
.output-grid .manual-card { border-top: 3px solid var(--manual-blue); }
.capability-list { display: grid; gap: 9px; margin: 25px 0; padding: 0; list-style: none; }
.capability-list li { padding: 15px 17px; background: #fff; border: 1px solid var(--manual-border); }
.manual-check-list { display: grid; gap: 11px; margin-top: 26px; }
.manual-finish { margin-top: 27px; padding-top: 20px; color: var(--navy-deep); border-top: 1px solid var(--manual-border); font-family: Georgia, serif; font-size: 1.16rem; }

@media (max-width: 1000px) {
  .manual-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 34px; }
  .object-comparison { grid-template-columns: 1fr; }
  .control-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .manual-hero { padding-block: 40px; }
  .manual-hero-grid { grid-template-columns: 1fr 92px; gap: 24px; }
  .manual-hero-logo { width: 88px; height: 88px; }
  .manual-layout { display: block; padding-top: 28px; }
  .manual-nav { position: static; display: flex; gap: 7px; margin: 0 0 42px; padding: 0 0 13px; overflow-x: auto; border-bottom: 1px solid var(--line); }
  .manual-nav p { flex: 0 0 100%; width: 100%; margin-bottom: 2px; }
  .manual-nav a { flex: 0 0 auto; padding: 7px 11px; background: #fff; border: 1px solid var(--manual-border); border-radius: 4px; white-space: nowrap; }
  .manual-content > section:not(:last-child) { padding-bottom: 48px; margin-bottom: 45px; }
  .start-options, .output-grid, .anatomy-grid { grid-template-columns: 1fr; }
  .sample-sequence { grid-template-columns: repeat(4, minmax(90px, 1fr)); overflow-x: auto; }
  .command-grid { grid-template-columns: 1fr; }
  .comparison-visuals { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .manual-hero-grid { grid-template-columns: 1fr; }
  .manual-hero-logo { order: -1; }
  .manual-hero h1 { font-size: 2.35rem; }
  .manual-card, .object-comparison { padding: 18px; }
  .comparison-visuals { grid-template-columns: 1fr; }
  .mock-object, .sample-crop { height: 210px; }
  .identity-example { grid-template-columns: 1fr; }
}

/* Shared language selector */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-nav { margin-left: 0; }
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  margin: 0;
}
.language-button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cbd3db;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1.28rem;
  line-height: 1;
}
.language-button:hover { border-color: #a66300; }
.language-button.active {
  background: #fff8e9;
  border-color: #a66300;
  box-shadow: inset 0 0 0 1px #a66300;
}
.language-button:focus-visible {
  outline: 3px solid rgba(210, 155, 52, .28);
  outline-offset: 2px;
}
.language-button img { display: block; width: 28px; height: 18px; object-fit: cover; }
[data-language-only="es"] { display: none; }
html[lang="es"] [data-language-only="en"] { display: none; }
html[lang="es"] [data-language-only="es"] { display: inline; }
html[lang="es"] .language-copy[data-language-only="es"] { display: block; }

.download-shell { max-width: 980px; padding-top: 72px; padding-bottom: 84px; }
.download-page h1 { margin-bottom: 16px; }
.download-intro { max-width: 760px; margin: 0 0 34px; font-size: 1.16rem; line-height: 1.7; color: #455469; }
.download-notice { padding: 26px 30px; border: 1px solid #e1d6c5; border-left: 6px solid var(--gold); border-radius: 16px; background: #fbf8f2; }
.download-notice h2 { margin-bottom: 10px; font-size: 1.45rem; }
.download-notice p { margin: 10px 0 0; line-height: 1.65; }
.download-steps { display: grid; gap: 34px; margin: 44px 0; padding: 0; list-style: none; counter-reset: download-step; }
.download-steps li { counter-increment: download-step; display: grid; grid-template-columns: minmax(220px, .72fr) minmax(360px, 1.28fr); gap: 30px; align-items: center; }
.download-steps h2::before { content: counter(download-step) ". "; color: var(--gold-dark); }
.download-steps h2 { margin-bottom: 10px; font-size: 1.45rem; }
.download-steps p { margin: 0; line-height: 1.65; color: #455469; }
.download-steps img { display: block; width: 100%; height: auto; border: 1px solid #a8b4c1; border-radius: 12px; box-shadow: 0 12px 30px rgba(13, 43, 76, .14); }
.download-screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 40px 0 44px; }
.download-screenshots img { display: block; width: 100%; height: auto; border: 1px solid #a8b4c1; border-radius: 12px; box-shadow: 0 12px 30px rgba(13, 43, 76, .14); }
.download-final { padding: 32px; text-align: center; border: 2px solid #e0ad3c; border-radius: 16px; background: #fffaf0; box-shadow: 0 12px 30px rgba(166, 99, 0, .1); }
.download-final h2 { margin: 8px 0 10px; }
.download-final p { max-width: 660px; margin: 0 auto 18px; }
.download-final .download-thanks { color: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2.3vw, 1.55rem); font-weight: 700; line-height: 1.4; }
.download-final .download-final-label { margin-bottom: 0; color: var(--navy-deep); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.download-final-label span { display: inline-grid; width: 28px; height: 28px; margin-right: 7px; place-items: center; color: var(--navy-deep); background: #f2a900; border-radius: 50%; font-size: 1.1rem; line-height: 1; }
.download-final-button { min-height: 54px; padding-inline: 24px; font-size: 1rem; font-weight: 800; box-shadow: 0 10px 22px rgba(166, 99, 0, .2); }
.download-final-button span { margin-right: 8px; font-size: 1.25em; }

@media (max-width: 720px) {
  .download-shell { padding-top: 46px; padding-bottom: 56px; }
  .download-notice { padding: 22px 20px; }
  .download-steps li { grid-template-columns: 1fr; gap: 18px; }
  .download-screenshots { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .download-final { padding: 24px 18px; }
  .download-final .button { width: 100%; }
}
.language-image { display: block; }
.language-image[data-language-only="es"] { display: none; }
html[lang="es"] .language-image[data-language-only="en"] { display: none; }
html[lang="es"] .language-image[data-language-only="es"] { display: block; }

@media (max-width: 720px) {
  .header-inner { gap: 12px; }
  .tutorial-play { top: 50%; bottom: auto; gap: 10px; min-height: 54px; padding: 7px 18px 7px 8px; border-width: 2px; font-size: 1.15rem; }
  .tutorial-play-icon { width: 38px; height: 38px; flex-basis: 38px; font-size: 1rem; padding-left: 3px; }
  .site-nav { margin-left: 0; }
  .language-switcher { gap: 4px; margin-right: 0; margin-left: -4px; }
  .language-button { width: 36px; height: 36px; font-size: 1.18rem; }
  .license-actions { justify-items: start; }
  .license-original-link { text-align: left; }
}

@media (max-width: 430px) {
  .brand { gap: 8px; font-size: .9rem; }
  .brand img { width: 36px; height: 36px; }
  .header-controls { gap: 6px; }
  .nav-toggle { padding: 7px 9px; font-size: .86rem; }
}

@media (max-width: 365px) {
  .brand span { display: none; }
}

/* Version 1.0 manual additions */
.manual-layout { grid-template-columns: 210px minmax(0, 930px); }
.manual-nav { scrollbar-width: thin; }
.start-options.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.start-options.three-up .manual-card { padding: 20px; }

.manual-callout.update-warning {
  padding: 22px 24px;
  background: #fff3da;
  border: 1px solid #e4c783;
  border-left: 6px solid #9b6200;
}
.manual-callout.update-warning strong { color: #633e00; font-size: 1.08rem; }

.toolbar-table-wrap {
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--manual-border);
  background: #fff;
}
.manual-table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.45; }
.manual-table th, .manual-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--manual-border); }
.manual-table th { color: var(--navy-deep); background: #eaf0f6; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.manual-table td:first-child { width: 16%; color: var(--manual-blue); background: #f8fafc; font-weight: 750; }
.manual-table td:nth-child(2) { width: 29%; color: var(--navy-deep); font-weight: 700; }
.manual-table tr:last-child td { border-bottom: 0; }

.object-detail { margin: 35px 0 48px; padding: 27px; background: #fff; border: 1px solid var(--manual-border); }
.object-detail-copy { max-width: 780px; }
.object-detail-copy p { color: var(--muted); }
.object-detail-copy ul { margin: 15px 0 0; padding-left: 1.2rem; }
.object-detail-copy li + li { margin-top: 7px; }
.object-panel-figure { margin-block: 24px; }
.comparison-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 610px; }
.comparison-strip figure { margin: 0; }
.comparison-strip figcaption { margin-top: 6px; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.comparison-strip .mock-object, .comparison-strip .sample-crop { height: 210px; }

.control-section.reverse > div { order: 2; }
.control-section.reverse > figure { order: 1; }

.settings-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 34px; border-top: 1px solid var(--manual-border); border-left: 1px solid var(--manual-border); }
.settings-list article { padding: 18px 20px; background: #fff; border-right: 1px solid var(--manual-border); border-bottom: 1px solid var(--manual-border); }
.settings-list p { margin: 0; color: var(--muted); font-size: .88rem; }
.settings-schematic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 22px 0 7px; padding: 1px; background: #bcc7d1; border: 1px solid #bcc7d1; }
.settings-schematic article { padding: 18px; background: #f8fafc; }
.settings-schematic h4 { margin: 0 0 6px; color: var(--navy-deep); font-size: .86rem; }
.settings-schematic p { margin: 0; color: var(--muted); font-size: .82rem; }
.figure-note { color: var(--muted); font-size: .78rem; }
.settings-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.settings-gallery figure { margin: 0; }
.settings-gallery img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--manual-border); }
.settings-gallery figcaption { margin-top: 6px; color: var(--muted); font-size: .76rem; font-weight: 700; }

.faq-list { margin-top: 18px; border-top: 1px solid var(--manual-border); }
.maintenance-guide { margin: 38px 0 34px; padding-top: 30px; border-top: 1px solid var(--manual-border); }
.maintenance-guide > h3 { font-size: 1.28rem; }
.maintenance-guide .start-options { margin-block: 20px; }
.faq-list details { padding: 15px 2px; border-bottom: 1px solid var(--manual-border); }
.faq-list summary { color: var(--navy-deep); cursor: pointer; font-weight: 750; }
.faq-list p { margin: 9px 0 0; }

@media (max-width: 1000px) {
  .manual-layout { grid-template-columns: 175px minmax(0, 1fr); }
  .start-options.three-up { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .manual-layout { display: block; }
  .settings-list, .settings-schematic, .settings-gallery { grid-template-columns: 1fr; }
  .manual-table { min-width: 690px; }
  .comparison-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .object-detail { padding: 18px; }
  .comparison-strip { grid-template-columns: 1fr; }
  .comparison-strip .mock-object, .comparison-strip .sample-crop { height: 230px; }
}

[hidden] { display: none !important; }
/* Browser translation may rewrite html.lang. The chosen blocks remain visible. */
html[data-localization-ready] [data-language-only]:not([hidden]) { display: revert !important; }
html[data-localization-ready] .language-image:not([hidden]), html[data-localization-ready] .language-copy:not([hidden]) { display: block !important; }
[data-language-only="it"] { display: none; }
html[lang="it"] [data-language-only="it"] { display: inline; }
html[lang="it"] .language-copy[data-language-only="it"], html[lang="it"] .language-image[data-language-only="it"] { display: block; }

[data-language-only="de"], [data-language-only="fr"] { display:none; }

[data-language-only="pt"], [data-language-only="pl"], [data-language-only="fil"] {display:none;}
.language-switcher {flex-shrink:0;}
@media(max-width:1280px){
 .nav-toggle {display:block;}
 .site-nav {position:absolute;top:calc(100% + 1px);right:0;left:0;display:none;padding:16px 20px 22px;background:var(--paper);border-bottom:1px solid var(--line);}
 .site-nav.open {display:grid;gap:8px;}
}
@media(max-width:900px){.header-inner {flex-wrap:wrap;} .language-switcher {width:100%;justify-content:flex-start;} }
@media(max-width:365px){.language-button {width:30px;height:32px;} .language-switcher {gap:3px;} .language-button img {width:24px;height:16px;} }

/* The two main actions share the header brand's typography and colors. */
.site-nav a[href^="download.html"], .site-nav a[href^="convert.html"] { font-family: "Segoe UI", Aptos, system-ui, sans-serif; font-weight: 700; letter-spacing: 0; }
.site-nav a[href^="download.html"] { color: #a66300; }
.site-nav a[href^="convert.html"] { color: var(--navy-deep); }
.site-nav a[href^="download.html"]::after, .site-nav a[href^="convert.html"]::after { background: currentColor; }
.home-conversion-feature { display: flex; align-items: center; gap: 2rem; margin: 2rem 0 0; padding: 1.5rem; border-left: 5px solid #f2a900; border-radius: 10px; background: #f3f6f8; }
.home-conversion-feature > div { flex: 1; min-width: 0; }
.home-conversion-feature h2 { margin: 0 0 .5rem; }
.home-conversion-feature p { margin: 0; color: #455469; }
.home-conversion-feature > a { flex-shrink: 0; }
@media(max-width: 700px) { .home-conversion-feature { flex-direction: column; align-items: flex-start; gap: 1rem; } }
