:root {
  color-scheme: light;
  --paper: #f7f8f8;
  --white: #fff;
  --ink: #172028;
  --muted: #4d5a64;
  --teal: #004e61;
  --tint: #dceff3;
  --line: #cbd6da;
  --slate: #233941;
  --focus: #005fcc;
  font:
    100%/1.6 ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
a {
  color: var(--teal);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a,
button,
input,
select,
summary {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  max-width: 68ch;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 650;
  margin-bottom: 1.4rem;
  max-width: 10ch;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 650;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 20;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.preview-notice {
  background: var(--slate);
  color: white;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.875rem;
}
.preview-notice strong {
  font-weight: 650;
}
.header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  min-height: 48px;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.brand strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}
.brand span {
  display: block;
  font-size: 0.8rem;
  font-weight: 450;
  color: var(--muted);
  letter-spacing: 0;
}
.header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.header nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.9375rem;
}
.app-link {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.hero {
  padding-block: 48px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 48px;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 4.3vw, 3.75rem);
  line-height: 1.08;
  max-width: 14ch;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 46ch;
  text-wrap: pretty;
}
.hero-figure {
  min-width: 0;
  margin: 0;
}
.hero-render {
  width: 100%;
  height: auto;
  aspect-ratio: 7/5;
  object-fit: contain;
}
.hero-figure figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 62ch;
}
.alternate-source {
  font-size: 0.875rem;
  margin-top: 12px;
}
.detail-media {
  margin: 0;
  min-width: 0;
}
.media-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.875rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.button:hover {
  background: #00394a;
  color: white;
}
.button.secondary {
  color: var(--teal);
  background: white;
}
.button.secondary:hover {
  background: var(--tint);
}
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.collection {
  padding-block: 36px 72px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin-bottom: 8px;
}
.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}
.collection-count {
  font-size: 0.875rem;
  white-space: nowrap;
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
  margin-block: 0 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 180px;
}
.field label {
  font-size: 0.875rem;
  font-weight: 600;
}
.field input,
.field select {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #8b9ba2;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  width: 100%;
}
.clear {
  min-height: 48px;
  border: 0;
  color: var(--teal);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding: 8px 12px;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
.product {
  min-width: 0;
}
.product-photo {
  display: block;
  overflow: hidden;
  background: #ecf2f4;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.product-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.product h3 {
  margin: 18px 0 8px;
}
.product h3 a {
  text-decoration: none;
  color: var(--ink);
}
.product h3 a:hover {
  text-decoration: underline;
}
.product .meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 10px;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.price {
  font-weight: 650;
}
.status {
  font-size: 0.8125rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 7px;
  background: white;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.empty {
  background: var(--tint);
  padding: 32px;
  border-radius: 6px;
}
.empty h3 {
  margin-bottom: 12px;
}
.empty p {
  margin-bottom: 0;
}
.file-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 72px;
  border-radius: 8px;
}
.file-note h2 {
  font-size: 1.7rem;
}
.file-note p {
  margin-bottom: 0;
  color: var(--muted);
}
.footer {
  padding: 40px 0;
  background: var(--slate);
  color: #f7f8f8;
}
.footer a {
  color: white;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.footer p {
  color: #d2dfe4;
  font-size: 0.875rem;
  margin: 8px 0 0;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.breadcrumb {
  padding-block: 28px;
  color: var(--muted);
  font-size: 0.875rem;
}
.detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}
.detail-photo {
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.detail h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  max-width: none;
}
.detail .description {
  color: var(--muted);
}
.download-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.download-list li {
  border-bottom: 1px solid var(--line);
}
.download-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
  text-decoration: none;
}
.download-list a:hover {
  text-decoration: underline;
}
.download-list small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}
.download-list strong {
  font-weight: 600;
}
.license {
  font-size: 0.875rem;
  color: var(--muted);
}
.callout {
  background: var(--tint);
  padding: 20px;
  border-radius: 6px;
  margin-top: 24px;
}
.callout p:last-child {
  margin-bottom: 0;
}
.switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.switcher button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  color: var(--teal);
  padding: 8px 15px;
}
.switcher button[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.review-detail {
  margin-block: 48px;
  padding: 24px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
}
.review-detail summary {
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
}
.integration-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  margin-top: 20px;
}
.integration-preview nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.integration-preview small {
  display: block;
  margin-top: 24px;
  color: var(--muted);
}
.review-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.review-controls input {
  width: 22px;
  height: 22px;
  accent-color: var(--teal);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    gap: 32px;
    padding-block: 42px;
  }
  .header nav {
    gap: 16px;
  }
  .app-link {
    padding-left: 16px;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail {
    gap: 32px;
  }
  .file-note {
    padding: 30px;
    gap: 28px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    min-height: 80px;
    gap: 12px;
  }
  .header nav a {
    font-size: 0.8125rem;
  }
  .header nav a:not(.app-link) {
    display: none;
  }
  .app-link {
    border: 0;
    padding: 0;
  }
  .brand strong {
    font-size: 1.125rem;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 32px;
    gap: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 2.5rem);
    max-width: 16ch;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-actions {
    gap: 10px 14px;
    font-size: 0.9375rem;
  }
  .section-heading {
    display: block;
  }
  .collection-count {
    margin-top: 12px;
  }
  .filters {
    gap: 12px;
  }
  .field {
    min-width: 100%;
    flex-basis: 100%;
  }
  .products {
    gap: 32px 14px;
  }
  .product h3 {
    font-size: 1.05rem;
    margin-top: 12px;
  }
  .product-footer {
    flex-wrap: wrap;
    gap: 0;
  }
  .product .meta {
    font-size: 0.8125rem;
  }
  .product-photo img {
    aspect-ratio: 1;
  }
  .product-footer .text-link {
    font-size: 0.875rem;
  }
  .file-note {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
    margin-bottom: 44px;
  }
  .footer-inner {
    display: block;
  }
  .footer-links {
    gap: 20px;
    margin-top: 20px;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .detail-photo {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
    background: white;
  }
  .review-detail {
    padding: 20px;
  }
  .collection {
    padding-bottom: 44px;
  }
  .product .status {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background-color 120ms ease;
  }
}
:root {
  --shop-external-gap: 24px;
}
.policy {
  max-width: 76ch;
  margin: 0 auto;
  padding: 20px 0 72px;
}
.policy h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}
.policy h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.policy p {
  max-width: none;
  overflow-wrap: anywhere;
}
.policy-date {
  color: var(--muted);
  font-size: 0.875rem;
}
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 22px 0;
  margin: 28px 0 36px;
  border-block: 1px solid var(--line);
}
.policy-nav [aria-current] {
  font-weight: 700;
}
.policy section + section {
  margin-top: 36px;
}
.external-collection {
  padding: 36px 0 64px;
  border-top: 1px solid var(--line);
}
.external-listings {
  border-top: 1px solid var(--line);
}
.external-listing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--shop-external-gap);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.external-listing h3 {
  margin-bottom: 8px;
}
.external-listing p {
  margin-bottom: 6px;
}
.external-listing small {
  color: var(--muted);
}
.external-listing > div:last-child {
  text-align: right;
  flex-shrink: 0;
}
.external-collection > .license {
  margin-top: 18px;
}
@media (max-width: 600px) {
  .external-listing {
    display: block;
  }
  .external-listing > div:last-child {
    text-align: left;
    margin-top: 18px;
  }
  .external-listing > div:last-child .price {
    display: inline-block;
    margin-right: 14px;
  }
  .external-listing .button {
    font-size: 0.875rem;
  }
}
