@font-face {
  font-family: APMSG Inter;
  src: url("/assets/asl_inter.ttf") format("truetype");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f6f8fc;
  color: #17233a;
  font-family:
    APMSG Inter,
    Inter,
    system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: #174a9b;
  text-underline-offset: 4px;
}
a:hover {
  color: #093574;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid #2466c9;
  border-radius: 9px;
  background: #2466c9;
  color: white;
  padding: 11px 18px;
  min-height: 46px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: #174a9b;
  color: white;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #f0a52c;
  outline-offset: 4px;
}
.operations-table:focus-visible {
  outline: 3px solid #f0a52c;
  outline-offset: 4px;
}
.operations-table {
  overflow-x: auto;
  max-width: 100%;
  margin: 20px 0 32px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: white;
}
.operations-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.operations-table caption {
  text-align: left;
  padding: 16px;
  font-weight: 700;
}
.operations-table th,
.operations-table td {
  padding: 12px 16px;
  border-top: 1px solid #dce4ef;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  min-width: 120px;
}
.operations-table th {
  background: #edf2f9;
}
.empty-state {
  color: #56647b;
  padding: 12px 0;
}
dialog {
  max-width: min(540px, calc(100% - 32px));
  border: 1px solid #b5c3d6;
  border-radius: 14px;
  padding: 28px;
  color: #17233a;
  background: white;
  box-shadow: 0 12px 60px #101e3740;
}
dialog::backdrop {
  background: #101e3799;
}
dialog p {
  overflow-wrap: anywhere;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: end;
  margin-top: 24px;
}
.secondary {
  background: transparent;
  color: #174a9b;
}
header {
  max-width: 1240px;
  margin: auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  font-size: 21px;
  color: #17233a;
  text-decoration: none;
  letter-spacing: 0.08em;
}
.brand img {
  object-fit: contain;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
nav form {
  margin: 0;
}
nav button {
  padding: 8px 13px;
  font-size: 13px;
  background: transparent;
  color: #174a9b;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 0 32px 70px;
}
.hero {
  padding: 0;
  background: #101e37;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 25px;
  overflow: hidden;
  color: #f9fbff;
  align-items: center;
  margin: 15px 0 48px;
}
.hero > div {
  padding: 50px 0 50px 46px;
}
.hero img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
}
.hero h1 {
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 18px 0;
}
.hero p:not(.eyebrow) {
  font-size: 17px;
  color: #cbd6e9;
  max-width: 480px;
  margin-bottom: 28px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 750;
  color: #3765a6;
}
.hero .eyebrow {
  color: #9bbef4;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card,
.card:hover {
  background: white;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px #14264305;
}
.card-body {
  padding: 24px;
}
.picture {
  display: block;
  aspect-ratio: 1.6;
  background: #dfe9f8;
  padding: 14px;
  border-bottom: 1px solid #dce4ef;
}
.picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h1 {
  font-size: 42px;
}
h2 {
  font-size: 24px;
  margin: 18px 0;
}
h3 {
  font-size: 20px;
}
.card h2 {
  font-size: 22px;
}
.card h2 a {
  color: #17233a;
  text-decoration: none;
}
.card p {
  color: #4a5870;
}
.card .eyebrow {
  color: #3765a6;
}
.card-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
}
.card-foot strong {
  font-size: 24px;
}
.card-foot span,
.requirements,
.muted {
  font-size: 12px;
  color: #56647b;
}
.card .button {
  width: 100%;
}
.filters {
  display: flex;
  gap: 18px;
  align-items: end;
  margin-bottom: 26px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.filters label:first-child {
  flex: 1;
}
input:not([type="checkbox"]),
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #b5c3d6;
  border-radius: 7px;
  padding: 11px 12px;
  background: white;
  color: #17233a;
  margin-top: 6px;
  min-height: 46px;
}
textarea {
  min-height: 90px;
}
.notice {
  background: #e6effd;
  color: #173963;
  padding: 8px 20px;
  text-align: center;
  font-size: 13px;
}
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr);
  gap: 42px;
  align-items: start;
  margin: 25px 0;
}
.product h1 {
  font-size: 42px;
}
.lead {
  font-size: 19px;
  color: #52627a;
}
.product-shot {
  width: 100%;
  margin: 26px 0;
  border: 1px solid #ccd7e7;
  border-radius: 12px;
}
.purchase {
  position: sticky;
  top: 20px;
  padding: 28px;
}
.purchase .product-price {
  font-size: 42px;
  font-weight: 750;
  margin: 0;
  color: #17233a;
}
.purchase dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 14px;
  margin: 30px 0;
}
.purchase dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.purchase button {
  width: 100%;
  margin-top: 14px;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: start;
  line-height: 1.5;
  font-size: 13px;
  margin: 20px 0;
}
.consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.back {
  display: inline-block;
  margin-top: 30px;
}
.orders {
  display: grid;
  gap: 18px;
  margin: 25px 0;
}
.order {
  padding: 24px;
}
.order h2 {
  margin-top: 0;
}
.order .muted {
  overflow-wrap: anywhere;
}
.order .action {
  display: inline-block;
}
code,
pre {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
pre {
  background: #edf2f9;
  padding: 15px;
  border-radius: 8px;
  max-height: 400px;
  overflow: auto;
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.action {
  margin: 12px 0;
}
.action label {
  margin: 12px 0;
}
.legal {
  max-width: 760px;
  margin: 55px auto;
}
.legal p {
  margin: 24px 0;
}
footer {
  border-top: 1px solid #dce4ef;
  padding: 36px max(32px, calc((100% - 1176px) / 2));
  background: #fff;
}
footer p {
  font-size: 13px;
  color: #52627a;
}
footer nav {
  margin-top: 20px;
}
#feedback:empty {
  display: none;
}
#feedback {
  position: fixed;
  z-index: 20;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  background: #152741;
  color: #fff;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 6px 30px #0003;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
@media (max-width: 950px) {
  nav {
    gap: 13px;
  }
  .hero > div {
    padding: 32px;
  }
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.8fr);
  }
}
@media (max-width: 650px) {
  header {
    padding: 18px 20px;
    align-items: start;
    flex-wrap: wrap;
  }
  header nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  header nav a {
    font-size: 12px;
  }
  header nav button {
    font-size: 12px;
    padding: 7px;
    min-height: 40px;
  }
  main {
    padding: 0 20px 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    margin: 12px 0 28px;
  }
  .hero > div {
    padding: 30px;
  }
  .hero img {
    max-height: 190px;
    padding: 0 20px 20px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero p:not(.eyebrow) {
    font-size: 16px;
  }
  .grid,
  .product {
    grid-template-columns: 1fr;
  }
  .filters {
    flex-wrap: wrap;
    gap: 12px;
  }
  .filters label:first-child {
    flex-basis: 100%;
  }
  .filters label:nth-child(2) {
    flex: 1;
  }
  .card-body {
    padding: 22px;
  }
  .product h1 {
    font-size: 34px;
  }
  .purchase {
    position: static;
  }
  .product {
    gap: 20px;
  }
  .legal {
    margin: 30px 0;
  }
  h1 {
    font-size: 34px;
  }
  footer {
    padding: 30px 20px;
  }
  footer nav {
    gap: 20px;
  }
  .order {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

header nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* The canonical display gradient targets dark surfaces. Light marketplace pages use solid ink. */
h1,
h2 {
  color: #17233a;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero h1 {
  color: #eef3ff;
}
.brand span {
  color: #344766;
  font-size: 16px;
}
