:root {
  --accent-accessible: #c7412c;
  --blue-accessible: #2a4fa6;
  --surface: #fffdf8;
}

.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;
}

.download-short { display: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: #f5f0e7f2;
  backdrop-filter: blur(14px);
}

.site-header .nav {
  height: 82px;
  border-bottom: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links .nav-download,
.nav-download {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
  box-shadow: 0 8px 20px #16161424;
}

.nav-links .nav-download:hover,
.nav-download:hover {
  color: #fff;
  background: #30302d;
}

.mobile-nav {
  display: none;
}

:focus-visible {
  outline: 3px solid #315fc466;
  outline-offset: 4px;
}

.compatibility {
  color: var(--muted);
}

.hero-real {
  min-height: 690px;
}

.hero-product {
  position: relative;
}

.app-shot-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 75px #312b2329;
  transform: rotate(0.7deg);
}

.app-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.app-icon-float {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 108px;
  height: 108px;
  border-radius: 25px;
  box-shadow: 0 18px 42px #173b9138;
  transform: rotate(-4deg);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.trust-line a {
  color: var(--blue);
  font-weight: 750;
}

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-strip article {
  min-height: 148px;
  padding: 35px 30px;
}

.evidence-strip article + article {
  border-left: 1px solid var(--line);
}

.evidence-strip strong {
  display: block;
  margin-top: 13px;
  font-size: 19px;
}

.evidence-strip p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.evidence-label {
  color: var(--accent-accessible);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-grid.home-summary {
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid.home-summary article {
  min-height: 205px;
}

.feature-grid.home-summary article.featured {
  min-height: 285px;
  background: #ffffff5c;
}

.feature-card-link {
  display: block;
  height: 100%;
}

.feature-card-link:hover h3 {
  color: var(--accent-accessible);
}

.feature-card-link .card-arrow {
  display: inline-block;
  margin-top: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
}

.latest-release {
  background: var(--blue-accessible);
}

.closing { background: var(--accent-accessible); }
.workflow-number { color: var(--accent-accessible); }
.latest-label { background: var(--accent-accessible); }
.release-copy li::before { background: var(--accent-accessible); }
.release-copy li a {
  color: var(--blue-accessible);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.release-record {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
}

.release-record span {
  color: #fff;
  font-size: 13px;
  font-weight: 740;
}

.compact-guide {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: center;
  width: min(1180px, 100% - 40px);
  margin: 95px auto 0;
  padding: 42px 46px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.compact-guide h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1;
}

.compact-guide p:not(.eyebrow) {
  max-width: 750px;
  margin: 17px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.how.workflow-summary {
  grid-template-columns: 0.75fr 1.25fr;
}

.how.workflow-summary ol {
  counter-reset: steps;
}

.page-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  padding: 92px 0 100px;
}

.page-hero h1 {
  font-size: clamp(3.6rem, 7vw, 6.8rem);
}

.page-hero-copy,
.page-hero-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.page-hero .actions {
  margin-top: 28px;
}

.page-hero-shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 65px #312b2321;
}

.page-hero-shot img {
  width: 100%;
}

.anchor-nav {
  position: sticky;
  top: 82px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  padding: 14px 0;
  background: #f5f0e7f2;
  backdrop-filter: blur(12px);
}

.anchor-nav a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff61;
  font-size: 12px;
  font-weight: 720;
}

.feature-family {
  scroll-margin-top: 145px;
}

.detail-grid article.wide {
  grid-column: 1 / -1;
}

.detail-grid .feature-number {
  display: none;
}

.format-table-wrap {
  overflow-x: auto;
  width: min(1180px, 100% - 40px);
  margin: 0 auto 110px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.format-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.format-table caption {
  padding: 32px;
  text-align: left;
  font-size: 25px;
  font-weight: 770;
}

.format-table th,
.format-table td {
  padding: 17px 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
}

.format-table th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.workflow.audit-workflow article {
  grid-template-columns: 70px 0.9fr 1.1fr;
}

.workflow-shot {
  overflow: hidden;
  height: 230px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 16px 40px #312b2317;
}

.workflow-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.workflow-shot.size img { object-position: center 31%; }
.workflow-shot.output img { object-position: center 62%; }
.workflow-shot.finish img { object-position: center bottom; }

.utility-hero {
  width: min(980px, 100% - 40px);
  margin: 0 auto;
  padding: 92px 0 72px;
}

.utility-hero h1 {
  max-width: 900px;
  font-size: clamp(3.6rem, 8vw, 7.2rem);
}

.utility-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.content-stack {
  width: min(980px, 100% - 40px);
  margin: 0 auto 110px;
  border-top: 1px solid var(--line);
}

.content-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 55px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}

.content-block h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 770;
  letter-spacing: -0.035em;
}

.content-block h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.content-block p,
.content-block li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.content-block p:first-child { margin-top: 0; }
.content-block ul,
.content-block ol { margin: 0; padding-left: 20px; }
.content-block li + li { margin-top: 10px; }
.content-block a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.warning {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 5px solid var(--accent-accessible);
  border-radius: 10px;
  color: #44392c;
  background: #f3d89966;
  font-weight: 700;
  line-height: 1.6;
}

.download-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 35px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.download-status div {
  padding: 20px;
  background: var(--surface);
}

.download-status span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-status strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

.checksum {
  overflow-wrap: anywhere;
  padding: 13px 15px;
  border-radius: 9px;
  background: #1616140c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.6;
}

.raw-proof {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.raw-proof img {
  width: 100px;
  height: 100px;
  border-radius: 22px;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  padding: 45px 0;
}

.footer-brand {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: flex-end;
  align-content: start;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a:hover { color: var(--accent-accessible); }

.release-entry .version a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #315fc466;
  text-underline-offset: 5px;
}

@media (width <= 900px) {
  .nav-links > a:not(.nav-download) { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 11px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] .mobile-menu {
    position: absolute;
    top: 53px;
    right: 0;
    display: flex;
    flex-direction: column;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 18px 45px #312b2329;
  }
  .mobile-menu a { padding: 12px; border-radius: 8px; font-size: 14px; }
  .mobile-menu a:hover { background: #1616140a; }
  .hero-real,
  .page-hero { grid-template-columns: 1fr; }
  .hero-product,
  .page-hero-shot { width: min(720px, 100%); margin: 0 auto; }
  .evidence-strip { grid-template-columns: 1fr; }
  .evidence-strip article + article { border-top: 1px solid var(--line); border-left: 0; }
  .workflow.audit-workflow article { grid-template-columns: 55px 1fr; }
  .workflow-shot { grid-column: 2; }
  .content-block { grid-template-columns: 1fr; gap: 22px; }
  .download-status { grid-template-columns: repeat(2, 1fr); }
}

@media (width <= 650px) {
  .site-header .nav { width: min(100% - 24px, 1180px); height: 72px; }
  .brand span:last-child { display: none; }
  .brand-icon { width: 38px; height: 38px; }
  .nav-links { gap: 8px; margin-left: auto; }
  .nav-links > .nav-download { display: none; }
  .nav-links > .mobile-nav { display: block; }
  .mobile-menu .mobile-download { margin-top: 5px; color: #fff; background: var(--ink); }
  .mobile-menu .mobile-download:hover { color: #fff; background: #30302d; }
  .download-long { display: none; }
  .download-short { display: inline; }
  .hero-real { padding-top: 48px; }
  .hero-real h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .app-icon-float { right: 4px; width: 78px; height: 78px; }
  .feature-grid.home-summary { grid-template-columns: 1fr; }
  .compact-guide { grid-template-columns: 1fr; width: min(100% - 28px, 1180px); padding: 30px 26px; }
  .page-hero,
  .utility-hero,
  .content-stack,
  .format-table-wrap { width: min(100% - 28px, 1180px); }
  .page-hero { padding: 62px 0 70px; }
  .anchor-nav { top: 72px; width: 100%; padding: 11px 14px; overflow-x: auto; flex-wrap: nowrap; }
  .workflow.audit-workflow article { grid-template-columns: 1fr; }
  .workflow-shot { grid-column: auto; }
  .download-status { grid-template-columns: 1fr; }
  .raw-proof { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; width: min(100% - 28px, 1180px); }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  :focus-visible { outline: 3px solid ButtonText; }
}
