@font-face {
  font-family: BidliDIN;
  src: url(/media/din-regular.otf) format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: BidliDIN;
  src: url(/media/din-medium.otf) format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: BidliDIN;
  src: url(/media/din-bold.otf) format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #122f4b;
  --ink: #102b42;
  --muted: #567080;
  --orange: #ed820b;
  --line: #dce4e8;
  --pale: #f0f5f6;
  --wrap: 1370px;
  font-family: BidliDIN, 'DIN Pro', 'DINPro', Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fdfefe;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 26px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
button,
a,
select,
input {
  touch-action: manipulation;
}
.wrap {
  width: min(calc(100% - clamp(36px, 8vw, 128px)), var(--wrap));
  margin-inline: auto;
}
[hidden] {
  display: none !important;
}
.skip,
.sr-only {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  clip-path: none;
  top: 4px;
  left: 4px;
  z-index: 100;
  width: auto;
  height: auto;
  background: white;
  padding: 12px;
}
.site-head {
  background: #fff;
}
.navrow {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 38px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 19px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 650;
}
.wordmark img {
  width: 91px;
  height: 33px;
}
.navrow nav {
  display: flex;
  align-items: center;
  gap: 33px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.navrow nav a:hover,
.subtle-link:hover,
.text-link:hover {
  color: #ad5500;
}
.nav-manual,
.mobile-menu {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 650;
  background: white;
}
.mobile-menu {
  display: none;
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex: none;
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 461px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  background: #081c2a;
  color: #fff;
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-image {
  left: 26%;
  background: url(/media/hero-proud.webp) center 50% / cover no-repeat;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #091e30 1%,
      #0a2030 25%,
      rgba(8, 28, 44, 0.93) 35%,
      rgba(8, 27, 42, 0.43) 54%,
      transparent 73%
    ),
    linear-gradient(0deg, rgba(4, 16, 29, 0.64), transparent 26%);
}
.hero-content {
  padding: 46px clamp(24px, 4.4vw, 73px) 55px;
  max-width: 660px;
}
.hero-tag,
.kicker,
.card-cat {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 750;
}
.hero-tag {
  color: #e8f2f3;
}
.orange-line,
.kicker > span {
  width: 26px;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
}
.hero h1 {
  font-size: clamp(60px, 6.5vw, 103px);
  line-height: 0.94;
  letter-spacing: -0.054em;
  margin: 25px 0 17px;
  font-weight: 750;
}
.hero-title { position: relative; width: max-content; max-width: 100%; padding-bottom: .7em; }
.hero-signature { position: absolute; left: .01em; top: .92em; display: block; transform-origin: left top; transform: rotate(-6deg); }
.hero-signature img { display: block; width: 1.92em; height: auto; filter: drop-shadow(0 -.032em 0 #0a2030) drop-shadow(-.025em 0 0 #0a2030) drop-shadow(.025em .016em 0 #0a2030); }
.hero p {
  font-size: clamp(15px, 1.28vw, 20px);
  line-height: 1.5;
  color: #d8e5eb;
  max-width: 405px;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 28px;
}
.primary,
.outline,
.hero-play,
.subtle-link,
.text-link,
.plain,
.download,
.nav-manual,
.more-row button {
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.primary {
  border-radius: 8px;
  background: #ff9b34;
  color: #182939;
  padding: 13px 18px;
  font-size: 15px;
}
.primary:hover {
  background: #ffae58;
}
.hero-play {
  background: none;
  border: 0;
  color: white;
  font-size: 14px;
  padding: 8px 0;
}
.hero-play .icon {
  height: 28px;
  width: 28px;
  padding: 6px;
  border: 1px solid #b3c5cc;
  border-radius: 50%;
  fill: currentColor;
}
.hero-caption {
  position: absolute;
  right: 28px;
  bottom: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
  color: #f6fafb;
  text-shadow: 0 1px 4px #092138;
}
.hero-caption button {
  padding: 3px;
  border: 0;
  background: none;
  color: white;
}
.live-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffa14d;
}
.caption-line {
  width: 28px;
  height: 1px;
  background: #a7bdc8;
}
.hero-caption #hero-count {
  font:
    11px ui-monospace,
    monospace;
}
.library,
.guide-section {
  padding-block: 55px 67px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.kicker {
  color: #476374;
  margin: 0 0 12px;
  font-size: 10px;
}
.kicker > span {
  width: 19px;
  height: 2px;
}
h2 {
  font-size: clamp(35px, 3.25vw, 52px);
  letter-spacing: -0.048em;
  line-height: 1.08;
  margin: 0;
  font-weight: 730;
}
.lead {
  color: #516879;
  font-size: 16px;
  line-height: 1.55;
  margin: 10px 0 0;
}
.subtle-link,
.text-link {
  font-size: 14px;
}
.subtle-link {
  margin-bottom: 4px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 25px 0 17px;
  gap: 15px;
}
.tabs,
.tool-buttons {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tabs button,
.tool-buttons button,
.outline,
.plain {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 600;
}
.tabs button {
  border-radius: 30px;
  border-color: transparent;
  background: #f0f4f5;
}
.tabs button[aria-pressed='true'] {
  color: white;
  background: var(--navy);
}
.tabs button:hover:not([aria-pressed='true']),
.outline:hover,
.tool-buttons button:hover,
.nav-manual:hover {
  background: #e9f1f2;
}
.tool-buttons button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
}
.tool-buttons b:empty {
  display: none;
}
.tool-buttons b {
  font-size: 11px;
  background: var(--navy);
  color: white;
  border-radius: 20px;
  padding: 1px 5px;
}
.filter-panel {
  background: var(--pale);
  border-radius: 10px;
  padding: 14px 17px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-panel label,
.file-controls label {
  font-size: 13px;
  font-weight: 650;
}
.filter-panel input,
select {
  min-height: 38px;
  border: 1px solid #bdcdd6;
  background: white;
  color: var(--ink);
  border-radius: 6px;
  padding: 7px 10px;
}
.filter-panel input {
  width: min(400px, 100%);
}
.selects label {
  display: grid;
  gap: 4px;
}
.selects .plain {
  align-self: end;
}
.art {
  position: relative;
  aspect-ratio: 1.86;
  background: linear-gradient(125deg, #143b53, #071b2c);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card-cat {
  color: #536c7c;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.more-row {
  display: flex;
  justify-content: center;
  margin-top: 27px;
}

.catalog {
  margin-top: 4px;
}
.catalog-group {
  display: grid;
  grid-template-columns: minmax(175px, 21%) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 46px);
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.catalog-group h3 {
  margin: 13px 0 0;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.catalog-group ul { list-style: none; padding: 0; margin: 0; }
.catalog-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.catalog-row + .catalog-row { border-top: 1px solid #e8edf0; }
.catalog-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}
.catalog-thumb > img, .catalog-thumb .art { width: 100%; height: 100%; object-fit: cover; }
.catalog-thumb .art img { width: 52%; }
.catalog-thumb .type-art { font-size: 32px; }
.catalog-thumb .book-art { font-size: 10px; padding: 6px 9px; border-width: 2px; }
.catalog-play {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #ffffffa6;
  border-radius: 50%;
  color: white;
  background: #0b243acc;
}
.catalog-play .icon { width: 10px; height: 10px; fill: currentColor; }
.catalog-name a { font-size: clamp(17px,1.4vw,21px); font-weight: 700; letter-spacing: -.02em; }
.catalog-name small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.catalog-action {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.catalog-action .icon { width: 15px; height: 15px; }
.catalog-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.catalog-action:hover, .catalog-action:focus-visible { background: var(--pale); border-color: #9bb0bd; }
.catalog-thumb:hover .catalog-play { background: var(--navy); }
@media (max-width: 800px) {
  .catalog-group { display: block; }
  .catalog-group h3 { margin: 5px 0 8px; }
}
@media (max-width: 600px) {
  .catalog-row { grid-template-columns: 76px minmax(0,1fr) 38px; gap: 10px; min-height: 66px; }
  .catalog-action { height: 38px; padding: 0; }
  .catalog-action span { display: none; }
  .catalog-name small { font-size: 12px; line-height: 1.35; }
  .catalog-thumb .book-art { font-size: 8px; }
}

.empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 35px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.plain:hover,
.download:hover {
  filter: brightness(0.95);
}
.art img {
  width: 38%;
}
.type-art {
  font-weight: bold;
  color: #fff;
  font-size: clamp(60px, 5vw, 90px);
  letter-spacing: -0.07em;
}
.book-art {
  color: white;
  font-size: 23px;
  line-height: 1.1;
  font-weight: bold;
  padding: 22px 30px;
  border-left: 5px solid var(--orange);
  box-shadow: 5px 5px 0 #061a2a;
  background: #1a425b;
}
.modal-media .art {
  width: 100%;
}
.rule-band {
  padding: 57px 0;
  background: #edf4f5;
}
.rules-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.text-link {
  margin-top: 22px;
}
.rule-list article {
  display: flex;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid #cbdadd;
}
.rule-list article:first-child {
  padding-top: 0;
}
.rule-list article:last-child {
  border: 0;
  padding-bottom: 0;
}
.rule-list article > svg {
  color: #26566a;
  margin-top: 4px;
}
.rule-list h3,
.guide-section h3 {
  margin: 0 0 5px;
  font-size: 20px;
  letter-spacing: -0.024em;
}
.rule-list p,
.guide-section li {
  margin: 0;
  color: #466171;
  font-size: 15px;
  line-height: 1.52;
}
.swatches {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  font-size: 12px;
}
.swatches span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.swatches span:before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sw);
}
#guides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
  margin-top: 25px;
  align-items: start;
}
.guide {
  border-block-start: 1px solid var(--line);
}
.guide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 18px 0;
  gap: 10px;
  list-style: none;
}
.guide summary::-webkit-details-marker {
  display: none;
}
.guide summary strong,
.guide summary small {
  display: block;
}
.guide summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.guide[open] summary > .icon {
  transform: rotate(45deg);
}
.guide ol {
  padding: 0 12px 15px 22px;
  margin: 0;
}
.guide li {
  padding: 0 0 8px 3px;
}
footer {
  background: #102a42;
  color: white;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-inner > a:last-child {
  font-size: 14px;
}
.footer-inner .wordmark img {
  width: 74px;
}
dialog {
  position: fixed;
  inset: 0;
  background: white;
  color: var(--ink);
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(780px, calc(100% - 32px));
  max-height: 90dvh;
  box-shadow: 0 30px 100px #00142754;
}
dialog::backdrop {
  background: #071b2eba;
  backdrop-filter: blur(4px);
}
body.modal {
  overflow: hidden;
}
dialog .close {
  position: absolute;
  right: 13px;
  top: 13px;
  z-index: 3;
  border: 1px solid #ffffff77;
  border-radius: 50%;
  padding: 7px;
  background: #122f4be8;
  color: white;
  display: grid;
  place-items: center;
}
.modal-media {
  background: #0a2031;
  display: grid;
  place-items: center;
  min-height: 110px;
}
.modal-media video,
.modal-media > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/8;
  object-fit: contain;
  max-height: 43dvh;
}
.modal-media .art {
  height: 155px;
  aspect-ratio: auto;
}
.detail-body {
  padding: 24px clamp(18px, 4vw, 36px) 29px;
}
.detail-body h2 {
  font-size: 34px;
  margin-top: 7px;
}
.detail-body p {
  line-height: 1.48;
  color: #52697a;
  margin: 10px 0;
}
.detail-body h3 {
  font-size: 19px;
  margin: 22px 0 10px;
}
.file-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.file-controls label {
  display: grid;
  gap: 5px;
  flex: auto;
}
.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.file-row strong,
.file-row small {
  display: block;
}
.file-row strong {
  font-size: 14px;
}
.file-row small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}
.download {
  border-radius: 7px;
  background: var(--navy);
  color: white;
  padding: 9px 12px;
  white-space: nowrap;
  font-size: 13px;
}
.detail-body .guide-jump {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
  margin-top: 20px;
}
.sample-dialog video {
  max-height: 70dvh;
  aspect-ratio: 16/9;
}
.sample-dialog video[src*="-v-"] { aspect-ratio: 9/16; max-height: 58dvh; }
.sample-dialog .download { margin: 14px 15px 0 0; }
.sample-dialog .all-variants { font-size: 14px; }
.manual-variants:empty { display: none; }
.reader header { padding: 22px 55px 16px 22px; }
.reader h2 { font-size: clamp(21px, 4vw, 30px); margin: 4px 0 0; }
.reader-toolbar, .reader footer { display: flex; align-items: center; gap: 8px; padding: 10px 20px; }
.reader-toolbar { border-top: 1px solid var(--line); flex-wrap: wrap; }
.reader-toolbar label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.reader-toolbar button { min-height: 36px; padding: 6px 9px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--navy); }
.reader-toolbar button:disabled { opacity: .35; cursor: default; }
.reader-toolbar .zoom { margin-left: auto; }
.reader-page { overflow: auto; max-height: 62dvh; background: var(--pale); border-block: 1px solid var(--line); }
.reader-page img { display: block; width: 100%; height: auto; }
.reader-page.zoomed img { width: 1920px; max-width: none; }
.reader footer { justify-content: space-between; background: white; color: var(--ink); }
.reader footer .text-link { margin: 0; font-size: 14px; }
.reader-error { margin: 10px 20px; }
.sample-dialog .detail-body {
  padding: 20px 26px;
}
.sample-dialog h2 {
  font-size: 25px;
}
.file-actions, .manual-variants, .chapters, .watch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.file-actions { justify-content: flex-end; }
.manual-video-row { flex-wrap: wrap; }
.manual-video-row select { width: auto; min-height: 36px; padding: 6px 10px; font-size: 13px; }
.watch, .manual-variants a, .chapters button {
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  padding: 8px 11px;
  border-radius: 7px;
  font-size: 13px;
}
.watch .icon { width: 15px; height: 15px; }
.manual-variants { margin-top: 12px; }
.manual-variants [aria-current] { background: var(--navy); color: white; }
.chapters button small { color: var(--muted); }
.playback-message:empty { display: none; }
.playback-message a { text-decoration: underline; }
@media (max-width: 480px) {
  .file-row:has(.watch) { flex-wrap: wrap; }
  .file-row:has(.watch) .file-actions { justify-content: flex-start; }
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #d8790c;
  outline-offset: 3px;
}
@media (max-width: 920px) {
  .navrow {
    gap: 18px;
  }
  .navrow nav {
    gap: 17px;
  }
  .hero {
    min-height: 415px;
  }
  .hero-content {
    padding-bottom: 65px;
  }
  .subtle-link {
    display: none;
  }
  .rules-inner {
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .navrow {
    height: 66px;
    gap: 8px;
  }
  .wordmark {
    font-size: 13px;
    gap: 12px;
  }
  .wordmark img {
    width: 75px;
    height: auto;
  }
  .nav-manual {
    margin-left: auto;
    padding: 8px;
  }
  .nav-manual span {
    display: none;
  }
  .mobile-menu {
    display: flex;
    padding: 8px;
  }
  .navrow nav {
    display: none;
    position: absolute;
    z-index: 8;
    top: 60px;
    left: 16px;
    right: 16px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 25px #122f4b22;
  }
  .navrow nav.open {
    display: grid;
  }
  .navrow nav a {
    padding: 9px;
  }
  .hero {
    border-radius: 14px;
    min-height: 456px;
    align-items: flex-end;
  }
  .hero-content {
    padding: 115px 23px 60px;
  }
  .hero-image {
    left: 10%;
    background-position: 61% 30%;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #081e2ddc 0%, #091e30a8 32%, transparent 80%),
      linear-gradient(0deg, #081c2af5 2%, #081c2acb 48%, transparent 90%);
  }
  .hero-tag {
    font-size: 9px;
  }
  .hero h1 {
    font-size: 61px;
    margin: 16px 0 14px;
  }
  .hero p {
    font-size: 15px;
    max-width: 320px;
  }
  .hero-actions {
    gap: 15px;
    margin-top: 20px;
  }
  .primary {
    font-size: 13px;
    padding: 12px;
  }
  .hero-play {
    font-size: 12px;
    gap: 5px;
  }
  .hero-play .icon {
    width: 23px;
    height: 23px;
    padding: 5px;
  }
  .hero-caption {
    bottom: 14px;
    left: 23px;
    right: unset;
    font-size: 10px;
    gap: 7px;
  }
  .library,
  .guide-section {
    padding: 37px 0;
  }
  .lead {
    font-size: 14px;
  }
  .toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 17px 0 12px;
  }
  .tabs {
    flex-wrap: wrap;
    gap: 4px;
  }
  .tabs button {
    padding: 7px 10px;
    font-size: 12px;
  }
  .tool-buttons button {
    font-size: 12px;
    padding: 5px 8px;
  }
  .filter-panel {
    flex-wrap: wrap;
  }
  .rules-inner,
  #guides {
    grid-template-columns: 1fr;
  }
  .rule-band {
    padding: 35px 0;
  }
  .detail-body h2 {
    font-size: 28px;
  }
  .file-controls {
    gap: 6px;
  }
  dialog select {
    max-width: 100%;
  }
}
@media (max-width: 460px) {
  .hero-actions {
    gap: 11px;
  }
  .hero-content {
    padding-left: 19px;
    padding-right: 19px;
  }
  .file-row {
    align-items: flex-start;
  }
  .download {
    font-size: 12px;
    padding: 9px;
  }
  .subtle-link {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 700px) {
  .hero-image {
    left: 0;
  }
  .hero h1 {
    font-size: clamp(39px, 13.3vw, 61px);
  }
}
@media (max-width: 355px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .hero-content {
    padding-top: 95px;
  }
  .hero {
    min-height: 455px;
  }
  .toolbar {
    gap: 8px;
  }
}
.reference {
  display: inline-block;
  margin: 0 13px 15px 0;
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.library { padding-bottom: 42px; }
.guide-section { border-top: 1px solid var(--line); }
.lesson-grid, .example-grid { display: grid; gap: 20px; margin-top: 24px; }
.lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.example-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.example-tile { display: block; min-width: 0; }
.example-image { background: #0c2236; border-radius: 12px; position: relative; overflow: hidden; }
.example-image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.example-tile[href$="/resolve-lista"] img { object-fit: contain; }
.example-play { display: grid; place-items: center; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border: 1px solid #ffffffaa; border-radius: 50%; background: #102234bb; color: white; }
.example-play svg { width: 15px; height: 15px; fill: currentColor; }
.example-caption { display: grid; gap: 4px; padding-top: 13px; }
.example-caption small { color: var(--muted); font-weight: 500; }
.example-caption strong { font-size: clamp(18px, 2vw, 23px); letter-spacing: -.025em; }
.example-tile:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.showcase { background: #102b42; color: white; padding: clamp(40px, 6vw, 80px) 0; }
.showcase .lead, .showcase small { color: #bed1df; }
.showcase h2 { margin: 0; }
.guide-figure { margin: 0 0 18px; }
.guide-figure img { display: block; width: 100%; max-height: 240px; object-fit: contain; background: #102c44; border-radius: 8px; }
.guide-figure figcaption { color: var(--muted); font-size: 13px; margin-top: 7px; }
.detail-body .guide-jump { margin-right: 14px; }
@media (max-width: 700px) {
  .lesson-grid, .example-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
}
@media (max-width: 480px) {
  .lesson-grid { grid-template-columns: 1fr; }
  .example-caption strong { font-size: 17px; }
}

.lesson-group { margin-block: 2rem; }
.lesson-group h3 { margin-bottom: .8rem; }
.lesson-group .lesson-grid { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 0; }
#lesson-result { margin: 1rem 0; }
.tutorial-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
@media (max-width: 800px) {
  .lesson-group .lesson-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.library-links { display: grid; gap: .65rem; justify-items: start; flex-shrink: 0; }
.bundle-link { display: inline-flex; align-items: center; gap: .7rem; background: #122f4b; color: #fff; border-radius: 12px; padding: .78rem 1.1rem; text-decoration: none; font-weight: 700; }
.bundle-link[hidden] { display: none; }
.bundle-link:hover, .bundle-link:focus-visible { background: #254c68; }
.bundle-link small { display: block; color: #d3e1e9; font-weight: 400; font-size: .8rem; }
.tour-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); color: #122f4b; text-decoration: none; background: #f2f5f6; border-radius: 18px; overflow: hidden; }
.tour-feature img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tour-feature > div { padding: 1.25rem 2rem 1.25rem 0; }
.tour-feature strong { display: block; font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.08; margin: .4rem 0; }
.tour-feature p { margin: .75rem 0 1rem; color: #475e6e; }
.more-samples { margin: 2.5rem 0 .5rem; }
@media (max-width: 700px) {
  .library .section-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .library-links .subtle-link { display: inline-flex; }
  .tour-feature { grid-template-columns: 1fr; gap: 0; }
  .tour-feature > div { padding: 1.25rem; }
}

.lesson-downloads { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }

.brand-rules { padding: clamp(44px,6vw,88px) 0; background: #f7f7f8; }
.brand-rules h2,.brand-rules h3,.brand-rules h4,.brand-rules p { margin: 0; }
.brand-rules h3 { font-size: clamp(23px,2.1vw,31px); line-height: 1.15; letter-spacing: -.035em; }
.brand-rules p { color: #465e70; line-height: 1.51; font-size: 16px; max-width: 62ch; }
.rules-heading,.rules-subhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rules-heading { margin-bottom: 28px; }
.rules-manual,.rules-subhead a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.rules-manual { border: 1px solid #c4cfd6; padding: 10px 15px; border-radius: 8px; }
.brand-rules a:hover { text-decoration: underline; }
.rules-specimens { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(18px,2.5vw,38px); }
.rules-specimens section { padding: clamp(22px,2.6vw,38px); border-radius: 18px; border: 1px solid #d9e0e5; background: white; min-width: 0; }
.brand-logo-stage,.brand-type-stage { margin: 20px 0 15px; height: clamp(110px,10vw,153px); border-radius: 10px; display: flex; justify-content: center; align-items: center; }
.brand-logo-stage { background: #122f4b; }
.brand-logo-stage[data-ink="modra"] { background: #f0f2f4; }
.brand-logo-stage[data-ink="cerna"] { background: white; box-shadow: inset 0 0 0 1px #dce1e5; }
.brand-logo-stage img { width: min(40%,165px); }
.brand-type-stage { flex-direction: column; align-items: flex-start; gap: 4px; border-radius: 0; border-top: 1px solid #dce4e8; border-bottom: 1px solid #dce4e8; }
#type-example { font-size: clamp(32px,3.6vw,54px); font-weight: 700; letter-spacing: -.035em; }
#type-use { color: #53687a; font-size: 15px; }
.rules-switch { display: inline-flex; gap: 2px; background: #f0f2f4; border-radius: 8px; padding: 3px; margin: 0 0 15px; }
.rules-switch button { background: none; border: 0; border-radius: 6px; padding: 7px 12px; font: inherit; font-size: 14px; }
.rules-switch [aria-pressed="true"] { background: #122f4b; color: white; }
.rules-palette,.rules-sequence,.rules-output { margin-top: clamp(34px,3.9vw,58px); }
.rules-palette { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.base-inks,.rules-sequence ol { list-style: none; padding: 0; margin: 0; }
.base-inks { display: flex; gap: 16px; flex-wrap: wrap; }
.base-inks li { display: flex; align-items: center; gap: 6px; }
.base-inks li span { width: 15px; height: 15px; border: 1px solid #bac6ce; border-radius: 50%; background: var(--ink); }
.base-inks code,.division-inks small { font: inherit; font-size: 13px; letter-spacing: .035em; color: #506679; }
.division-inks { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.division-inks > div { display: flex; align-items: center; gap: 18px; background: #122f4b; color: white; padding: 20px 24px; border-radius: 12px; }
.division-inks img { width: 41px; height: 41px; object-fit: contain; }
.division-inks span { font-size: 22px; font-weight: 700; }
.division-inks small { display: block; color: #d4e4ee; font-weight: 400; }
.rules-palette > p { grid-column: 1/-1; max-width: none; }
.rules-sequence ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 18px 0 12px; }
.rules-sequence li { border: 1px solid #dce3e7; background: #fff; border-radius: 13px; overflow: hidden; }
.rules-sequence li img { display: block; width: 100%; aspect-ratio: 2.85; object-fit: cover; }
.rules-sequence li div { padding: 18px 20px 22px; }
.rules-sequence li small { display: block; color: #53687a; margin-bottom: 5px; font-size: 13px; }
.rules-sequence h4 { font-size: 23px; margin-bottom: 6px; letter-spacing: -.025em; }
.rules-theme { margin-top: 18px; padding: clamp(18px, 3vw, 28px); border-radius: 13px; background: #eaf0f4; color: #122f4b; }
.rules-theme p { max-width: 80ch; margin: 0; }
.rules-output { background: #122f4b; color: white; padding: clamp(22px,3vw,45px); border-radius: 17px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(17px,3vw,50px); }
.rules-output p { color: #d2e1ea; margin-top: 11px; max-width: 39ch; }
.rules-output table { width: 100%; border-collapse: collapse; text-align: left; font-size: 17px; }
.rules-output td,.rules-output th { padding: 9px 5px; }
.rules-output tr { border-bottom: 1px solid #446078; }
.rules-output thead th { color: #cadbe6; font-size: 14px; font-weight: 400; }
@media(max-width:760px){
 .rules-specimens,.rules-output { grid-template-columns:1fr; }
 .rules-palette { grid-template-columns:1fr; }
 .rules-heading,.rules-subhead { flex-wrap:wrap; }
 .rules-sequence ol { grid-template-columns:1fr; gap:10px; }
 .rules-sequence li { display:grid; grid-template-columns:minmax(82px,26%) 1fr; }
 .rules-sequence li img { height:100%; width:100%; object-fit:contain; background:#122f4b; }
 .rules-sequence li:nth-child(2) img { background:#e7ebed; }
 .rules-sequence li div { padding:13px 15px; }
 .division-inks { gap:6px; }
 .division-inks > div { flex-direction:column; align-items:flex-start; gap:9px; padding:15px 11px; }
 .division-inks img { width:31px;height:31px; }
 .division-inks span { font-size:18px; }
 .base-inks { gap:8px 13px; }
 .base-inks li { font-size:14px; }
 .rules-output table { font-size:15px; }
 .rules-output td,.rules-output th { padding:9px 3px; }
}

@media (max-width: 700px) {
  .hero-signature { top: .91em; }
  .hero-signature img { width: 1.72em; }
}

.look-picker {display:flex;align-items:center;gap:.45rem;padding:.8rem clamp(1rem,4%,2rem);border-bottom:1px solid #dce4ea;color:#122f4b}
.look-picker span {font-weight:700;margin-right:.35rem}
.look-picker button {font:inherit;font-weight:600;padding:.42rem .9rem;border-radius:2rem;border:1px solid #b9c7d1;color:#122f4b;background:white;cursor:pointer}
.look-picker button[aria-pressed="true"] {color:white;background:#122f4b;border-color:#122f4b}
