@font-face {
  font-family: DM;
  src: url("/assets/dm-sans.ttf");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: #10252f;
  font:
    16px/1.5 DM,
    system-ui,
    sans-serif;
}
header,
main,
body > footer,
#error {
  width: min(100% - 40px, 620px);
  margin: 0 auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
header > a:first-child {
  font-size: 23px;
  font-weight: 650;
  text-decoration: none;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
header > a:last-child {
  font-size: 14px;
}
main {
  padding: 16px 0 32px;
  min-height: 65vh;
}
h1 {
  font-size: 30px;
  line-height: 1.12;
  font-weight: 650;
  margin: 24px 0 12px;
  letter-spacing: -0.7px;
}
h2 {
  font-size: 21px;
  margin: 26px 0 12px;
}
p {
  margin: 12px 0;
}
.muted,
small {
  color: #526873;
}
.hero {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #10252f;
  color: white;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(transparent, rgba(11, 29, 38, 0.92));
}
.hero h1 {
  margin: 0 0 8px;
}
.hero p {
  margin: 0;
  font-size: 14px;
}
.note {
  padding: 14px 16px;
  background: #f1f4f4;
  border-radius: 12px;
  color: #526873;
  font-size: 14px;
}
.items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #dce3e5;
}
.item img,
.placeholder {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  background: #f1f4f4;
  flex-shrink: 0;
}
.item > div {
  flex: 1;
}
.item strong {
  display: block;
  font-weight: 600;
}
.item button {
  width: auto;
  margin: 0;
  min-width: 68px;
}
.item small {
  display: block;
  font-size: 12px;
}
button,
.button {
  font: inherit;
  display: block;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 13px;
  background: #10252f;
  color: #fff;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin: 14px 0;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.secondary {
  background: #f1f4f4;
  color: #10252f;
}
.quiet {
  background: none;
  color: #10252f;
  text-decoration: underline;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #dce3e5;
  padding: 16px 0;
}
.row > * {
  overflow-wrap: anywhere;
}
label {
  display: block;
  margin: 18px 0 6px;
  font-size: 14px;
  font-weight: 600;
}
input {
  width: 100%;
  font: inherit;
  min-height: 50px;
  border: 1px solid #bdc9ce;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  color: #10252f;
}
input:focus-visible {
  outline: 2px solid #b76e38;
  outline-offset: 1px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #b76e38;
  outline-offset: 4px;
}
#error {
  color: #99432e;
  border-radius: 12px;
  background: #fff3ec;
  padding: 15px;
  margin-bottom: 20px;
}
video {
  display: block;
  width: 100%;
  max-height: 440px;
  background: #0e2029;
  border-radius: 12px;
}
.speeds {
  display: flex;
  gap: 8px;
}
.speeds button[aria-pressed="true"] {
  background: #10252f;
  color: #fff;
}
body > footer {
  font-size: 12px;
  color: #526873;
  border-top: 1px solid #dce3e5;
  padding: 20px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 900px) {
  main {
    padding-top: 30px;
  }
  .hero {
    height: 360px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  main {
    animation: arrive 0.22s ease-out;
  }
  @keyframes arrive {
    from {
      opacity: 0.7;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

header > a:first-child{display:inline-flex;gap:7px;align-items:center}
