:root {
  font-family: "Inter", Arial, sans-serif;
  color: #1b1b1b;
  background: #f6f6f7;
  --accent: #185b89;
  --line: #cecdd2;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.top a,
.card {
  transition:
    background 0.15s,
    color 0.15s;
}
button {
  cursor: pointer;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0.7rem 1rem;
  font-weight: 600;
}
button:hover,
.secondary:hover {
  background: #eeeef0;
}
button:disabled {
  cursor: wait;
  opacity: 0.56;
}
:focus-visible {
  outline: 3px solid #185b89;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: white;
  z-index: 10;
}
.top,
.hero,
.section,
footer,
.shell {
  max-width: 1360px;
  margin: auto;
  padding-inline: clamp(18px, 5.3vw, 78px);
}
header {
  border-bottom: 1px solid var(--line);
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 78px;
}
.brand {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logomark {
  width: 31px;
  height: 30px;
  display: inline-block;
  background: var(--accent);
  border-radius: 6px;
  position: relative;
}
.logomark:before,
.logomark:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 16px;
  top: 7px;
  background: #fff;
  transform: skewX(-22deg);
}
.logomark:before {
  left: 9px;
}
.logomark:after {
  left: 17px;
}
nav {
  display: flex;
  gap: 34px;
}
.top nav a {
  text-decoration: none;
  font-size: 14px;
  color: #4b4b48;
}
.top nav a:hover {
  text-decoration: underline;
}
.plain,
.secondary {
  background: transparent;
}
.hero {
  padding-block: clamp(38px, 6vw, 94px);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 6vw;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  font:
    600 12px/1.4 "IBM Plex Mono",
    monospace;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.record-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1 {
  font-size: clamp(50px, 7.2vw, 110px);
  letter-spacing: -0.085em;
  line-height: 0.99;
  margin: 24px 0 25px;
  font-weight: 680;
}
h1 em {
  font-weight: normal;
  font-family: "Instrument Serif", Georgia, serif;
  color: var(--accent);
  letter-spacing: -0.075em;
}
.lede {
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
  max-width: 480px;
  color: #50504f;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.primary:hover {
  background: #185b89;
}
.actions button {
  padding: 14px 18px;
}
.actions button span {
  margin-left: 9px;
}
.preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.92;
  max-height: 510px;
  border-radius: 15px;
  background: #c9c9cd;
  isolation: isolate;
}
.preview img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 34%;
}
.preview:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #222225c9);
  z-index: 0;
}
.preview figcaption {
  position: absolute;
  bottom: 22px;
  left: 28px;
  right: 28px;
  z-index: 1;
  color: white;
}
.preview figcaption span {
  font: 11px monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.preview figcaption b {
  display: block;
  font-size: clamp(22px, 2.5vw, 38px);
  letter-spacing: -0.06em;
  margin: 4px 0 18px;
}
.preview small {
  position: absolute;
  top: 24px;
  right: 25px;
  background: #f7f7f8e6;
  padding: 5px 9px;
  border-radius: 5px;
  font: 12px monospace;
}
.timeline {
  height: 14px;
  border-bottom: 2px solid #ffffff90;
  background: repeating-linear-gradient(
      90deg,
      #ffffff95 0 1px,
      transparent 1px 9px
    )
    left bottom/100% 5px no-repeat;
}
.timeline:before {
  content: "";
  display: block;
  height: 100%;
  width: 29%;
  border-bottom: 3px solid #fff;
}
.corners {
  position: absolute;
  top: 26px;
  left: 24px;
  width: 22px;
  height: 22px;
  border-top: 2px solid white;
  border-left: 2px solid white;
}
.section {
  padding-block: 50px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 15px;
}
.section h2,
.shell h1,
dialog h2 {
  font-size: clamp(30px, 3.5vw, 54px);
  letter-spacing: -0.065em;
  line-height: 1.12;
  font-weight: 650;
}
.section .eyebrow {
  margin-bottom: 11px;
}
.steps,
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px;
}
article,
.panel,
.metric {
  border: 1px solid var(--line);
  padding: 22px;
  background: white;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
article i {
  font: 28px Georgia;
  color: var(--accent);
}
h3 {
  font-size: 21px;
  letter-spacing: -0.045em;
  margin: 14px 0 8px;
}
article p,
details p,
.muted,
.panel p {
  line-height: 1.55;
  color: #575753;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin: 12px 0;
}
footer {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 25px;
  font-size: 14px;
}
footer > span {
  margin-right: auto;
  font-weight: bold;
}
.link-button {
  border: 0;
  background: transparent;
  padding: 4px;
  color: var(--accent);
  text-align: left;
}
.shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  padding-block: 25px;
  min-height: 75vh;
}
.sidebar {
  display: flex;
  gap: 3px;
  flex-direction: column;
  align-items: stretch;
}
.sidebar button {
  text-align: left;
  border: 0;
  background: transparent;
  font-size: 14px;
}
.sidebar button.active {
  color: var(--accent);
  background: #f0f0f2;
}
.shell h1 {
  margin: 17px 0;
}
.banner {
  border-left: 3px solid var(--accent);
  padding: 8px 12px;
  background: #f1f1f2;
  font: 13px/1.5 monospace;
}
.panel {
  margin-top: 16px;
}
.panel h3 {
  margin-top: 0;
}
.panel pre {
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.5;
}
.record-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.record-list article {
  padding: 16px 18px;
}
.record-list article h3 {
  margin: 0;
}
.small {
  font: 12px/1.5 monospace;
  color: #525454;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.row .actions {
  margin: 0;
}
.row button {
  font-size: 14px;
}
.panel video {
  width: 100%;
  max-height: 380px;
  margin-top: 10px;
}
.cards {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}
.metric b {
  display: block;
  color: var(--accent);
  font-size: 32px;
  margin-top: 8px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px;
  width: min(520px, calc(100% - 24px));
  max-height: 90vh;
  color: inherit;
  background: #f9f9f9;
}
dialog::backdrop {
  background: #1b1b1d88;
}
dialog h2 {
  font-size: 28px;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.close {
  padding: 2px 10px;
  font-size: 24px;
}
form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
label {
  display: grid;
  gap: 5px;
  font-weight: 600;
  font-size: 14px;
}
input,
textarea,
select {
  width: 100%;
  padding: 11px;
  border: 1px solid #9a9e9d;
  border-radius: 6px;
  background: white;
  color: #222;
}
textarea {
  resize: vertical;
  min-height: 125px;
}
#modal-alert {
  color: #9d2330;
  margin-top: 12px;
}
#notice {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: min(450px, calc(100% - 32px));
  z-index: 8;
  background: #222;
  color: white;
  border-radius: 9px;
  padding: 12px 16px;
  box-shadow: 0 4px 18px #0002;
}
.linkbar {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mobile-nav {
  display: none;
}
.soft {
  background: #f3f3f4;
}
@media (max-width: 850px) {
  .top {
    height: 66px;
  }
  nav {
    gap: 15px;
  }
  .hero {
    gap: 4vw;
  }
  .shell {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
  }
  .steps {
    gap: 8px;
  }
  .steps article {
    padding: 16px;
  }
  .hero .actions button {
    padding: 12px;
  }
  .preview {
    aspect-ratio: 0.8;
  }
}
@media (max-width: 650px) {
  .top nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .preview {
    aspect-ratio: 1.16;
    max-height: 405px;
  }
  .hero-copy h1 {
    font-size: clamp(56px, 13vw, 75px);
    margin-block: 15px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .section {
    padding-block: 32px;
  }
  .shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sidebar {
    display: none;
  }
  .mobile-nav {
    display: grid;
  }
  .actions {
    margin-top: 20px;
  }
  footer {
    gap: 12px;
  }
  .shell h1 {
    font-size: 34px;
  }
  .brand {
    font-size: 18px;
  }
  .top button {
    font-size: 14px;
  }
  .hero {
    padding-top: 34px;
  }
  .preview figcaption {
    bottom: 17px;
    left: 18px;
    right: 18px;
  }
  .step h3 {
    margin: 8px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-block: 15px;
}
.filters label {
  flex: 1;
  min-width: 120px;
}
.check {
  width: auto;
}
.form-preview {
  display: block;
  width: 100%;
  max-height: 240px;
  background: #111;
}

.carousel-preview {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-block: 8px;
}
.carousel-preview img {
  width: 96px;
  height: 120px;
  object-fit: contain;
}
