:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  color: #15254a;
  background: #f5f8ff;
  --blue: #2154db;
  --blue-hover: #1742b7;
  --navy: #10295e;
  --muted: #4f6080;
  --border: #dbe4f3;
  --paper: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 40px); max-width: 1152px; margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--border); }
.top, .header-actions, .brand, .row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top { justify-content: space-between; padding-block: 14px; }
.header-actions { gap: 18px; }
#identity:empty { display: none; }
.brand {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -.04em;
  text-decoration: none;
  flex-wrap: nowrap;
}
.shop-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  background: var(--blue);
  color: #fff;
}
.shop-mark > span {
  position: relative;
  width: 52%;
  height: 41%;
  border: 2px solid currentColor;
  border-radius: 0 0 4px 4px;
  transform: translateY(13%);
}
.shop-mark > span::before {
  content: "";
  position: absolute;
  inset: -7px -4px auto;
  height: 8px;
  border-radius: 4px 4px 3px 3px;
  background: repeating-linear-gradient(90deg, #fff 0 4px, #b7d2ff 4px 7px);
}
.shop-mark > span::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 0;
  width: 5px;
  height: 8px;
  border-radius: 2px 2px 0 0;
  background: currentColor;
}
#language-picker label { display: flex; align-items: center; gap: 9px; font-size: .82rem; }
#language-picker select { width: 142px; max-width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  margin: 24px 0;
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
  min-height: 330px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 58px);
}
.eyebrow {
  margin: 0;
  color: #a9ceff;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .12em;
}
.hero h1 {
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  line-height: .94;
  margin: 16px 0;
  font-weight: 900;
  letter-spacing: -.065em;
  max-width: 8ch;
}
.hero-copy p:last-child {
  max-width: 39ch;
  color: #e2edff;
  line-height: 1.6;
  margin: 2px 0 0;
}
.hero-art { position: relative; min-height: 200px; background: #214ebc; }
.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 325px), 1fr)); gap: 18px; }
.stack { display: grid; gap: 18px; }
.panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--paper);
  padding: clamp(17px, 3vw, 28px);
  box-shadow: 0 5px 20px #203c7510;
}
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.badge {
  background: #e9f1ff;
  color: #153f9e;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .82rem;
  font-weight: 750;
  display: inline-block;
}
.card { border-top: 1px solid var(--border); padding: 12px 0; }
.card:last-child { padding-bottom: 0; }
h2, h3 { margin: 0 0 12px; letter-spacing: -.035em; overflow-wrap: anywhere; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 5px; font-weight: 650; }
input, select, textarea, button { font: inherit; }
input, select, textarea {
  background: #f9fbff;
  border: 1px solid #a9b9d5;
  border-radius: 9px;
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  color: inherit;
}
button {
  border: 1px solid transparent;
  background: var(--blue);
  color: white;
  border-radius: 9px;
  min-height: 42px;
  padding: 9px 14px;
  font-weight: 750;
  cursor: pointer;
}
button:hover:not(:disabled) { background: var(--blue-hover); }
button.secondary { background: #edf3ff; color: #1946b6; border-color: #dbe6fc; }
button.secondary:hover:not(:disabled) { background: #dce9ff; }
button:disabled { opacity: .55; cursor: default; }
a { color: var(--blue-hover); }
:focus-visible { outline: 3px solid #487af6; outline-offset: 3px; }
.point { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
iframe { width: 100%; height: 260px; border: 1px solid var(--border); border-radius: 10px; }
#message { background: #fff3cd; border-radius: 9px; padding: 12px; margin: 12px 0; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 28px; color: var(--muted); font-size: .86rem; }
.quantity { max-width: 100px; }
.summary { margin: 5px 0; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
td, th { padding: 8px; text-align: left; border-bottom: 1px solid var(--border); }
details summary { cursor: pointer; font-weight: 700; }

@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .hero { grid-template-columns: 1fr; margin-block: 15px; border-radius: 18px; }
  .hero h1 { max-width: none; }
  .hero-art { min-height: 155px; }
  .top { gap: 10px; }
  .header-actions { gap: 10px; }
  #language-picker label { flex-direction: column; align-items: flex-start; gap: 2px; }
  #language-picker select { width: 110px; padding: 7px; }
}

#print-sign { max-width: 620px; margin: 20px auto; text-align: center; overflow-wrap: anywhere; }
#print-sign img { display: block; max-width: 100%; height: auto; margin: 16px auto; }
@media print {
  body:has(#print-sign) > :not(main), main:has(#print-sign) > :not(#app), #print-sign button { display: none !important; }
  #print-sign { border: 0; box-shadow: none; color: #000; }
}
