*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eef1f4;
  color: #26303d;
  font: 18px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: #23838f;
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: #26303d;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #fdce0e;
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #23838f;
  font-weight: 700;
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus {
  top: 12px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px;
}

.top {
  background: #fff;
  border-bottom: 4px solid #2fa8b8;
  padding: 20px 0 18px;
  margin-bottom: 8px;
}

.brand {
  font-family: "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  font-weight: 700;
  color: #2fa8b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.brand a {
  color: inherit;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 8px 0 10px;
  letter-spacing: -0.02em;
}

.dek {
  margin: 0;
  color: #6a7686;
  font-size: 1.05rem;
  max-width: 40em;
}

main {
  padding: 28px 0 56px;
}

section {
  margin: 0 0 2.6rem;
}

section + section {
  border-top: 1px solid #e2e7ec;
  padding-top: 2.2rem;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.08rem;
  margin: 1.6rem 0 0.7rem;
}

p, ul, ol, table {
  margin: 0 0 1rem;
}

p:last-child,
ul:last-child,
ol:last-child,
table:last-child,
.prompt:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.25rem;
}

li {
  margin: 0 0 0.45rem;
}

li:last-child {
  margin-bottom: 0;
}

code, .file {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #e7ecef;
  padding: 0.08em 0.35em;
  border-radius: 4px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  background: #fff;
}

.table-wrap:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #e2e7ec;
}

th {
  background: #f6f8fa;
  font-weight: 700;
  color: #435368;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

.prompt {
  margin: 0 0 1rem;
  background: #fff;
  border: 1px solid #e2e7ec;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(38, 48, 61, 0.04);
}

.prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: #f3f7f8;
  border-bottom: 1px solid #e2e7ec;
}

.prompt-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #435368;
}

.copy {
  appearance: none;
  border: 1px solid #c5d3d6;
  background: #fff;
  color: #23838f;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.copy:hover {
  background: #eef1f4;
}

.copy[data-copied="true"] {
  color: #1e6b34;
  border-color: #b5dcbf;
  background: #e2f3e6;
}

.prompt pre {
  margin: 0;
  padding: 14px 16px 16px;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #26303d;
}

.prompt pre code {
  background: none;
  padding: 0;
  font-size: inherit;
  border-radius: 0;
}

.disclosure {
  font-size: 0.92rem;
  color: #6a7686;
}

.sources {
  font-size: 0.95rem;
}

.foot {
  color: #6a7686;
  font-size: 0.9rem;
  padding: 0 0 40px;
}

.foot p {
  margin: 0;
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .wrap {
    padding: 0 16px;
  }

  th, td {
    padding: 0.55rem 0.65rem;
  }
}

@media print {
  body {
    background: #fff;
  }

  .skip, .copy, .prompt-bar {
    display: none;
  }

  .top {
    border-bottom-width: 2px;
  }

  a {
    color: inherit;
  }

  .prompt {
    box-shadow: none;
  }
}

a.yt-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.25em;
  margin: 0 0.15em;
  padding: 0.15em;
  line-height: 0;
  border-radius: 4px;
  cursor: pointer;
}

a.yt-icon-link .yt-icon {
  width: 1.35em;
  height: 1.35em;
  display: block;
}

a.yt-icon-link:hover .yt-icon,
a.yt-icon-link:focus-visible .yt-icon {
  transform: scale(1.15);
}


.download-card {
  margin: 0 0 1rem;
  background: #fff;
  border: 1px solid #e2e7ec;
  border-radius: 10px;
  padding: 16px 18px 14px;
  box-shadow: 0 1px 4px rgba(38, 48, 61, 0.04);
}

.download-lead {
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.platform-grid {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.platform-grid > li {
  margin: 0;
}

a.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 12px 8px;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  background: #f6f8fa;
  color: #26303d;
  font-weight: 700;
  text-align: center;
}

a.platform:hover {
  background: #eef8f9;
  border-color: #2fa8b8;
  color: #23838f;
}

.platform-icon {
  width: 28px;
  height: 28px;
  display: block;
  color: #23838f;
}

a.platform:hover .platform-icon {
  color: #2fa8b8;
}

.platform-name {
  font-size: 0.88rem;
  line-height: 1.2;
}

.download-note {
  margin: 0;
  font-size: 0.95rem;
  color: #435368;
}

@media (max-width: 640px) {
  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  a.platform {
    min-height: 80px;
    padding: 10px 6px;
  }
}

@media (max-width: 400px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
