/* hi.video blog. Static pages with no script; the same type, colours and
   wordmark as the app. The file name carries a date because /assets/ is
   cached for a year. */
@font-face {
  font-family: DM Sans;
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #101214;
  --muted: #505258;
  --line: #dcdfe4;
  --accent: #1868db;
  --accent-hover: #1558bc;
  --action-ink: #ffffff;
  --subtle: #f1f2f4;
  --soft: #e9f2fe;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101214;
    --surface: #1d2125;
    --ink: #f3f4f6;
    --muted: #b4b8bf;
    --line: #30353b;
    --accent: #5b9bff;
    --accent-hover: #7fb1ff;
    --action-ink: #101214;
    --subtle: #171a1e;
    --soft: #15243a;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-hover);
}
a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.wordmark {
  color: var(--ink);
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.07em;
  white-space: nowrap;
  text-decoration: none;
}
.wordmark-hi {
  color: var(--accent);
}
.editorial-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  line-height: 1.4;
  flex-shrink: 0;
}
.editorial-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.editorial-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
.editorial-mobile-menu {
  display: none;
}
.blog-header .editorial-header-action {
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  gap: 8px;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .blog-header .editorial-header-action {
    padding-inline: 20px;
    gap: 12px;
  }
}
@media (min-width: 960px) {
  .blog-header {
    padding-inline: 32px;
  }
}
@media (min-width: 640px) and (max-width: 959px) {
  .editorial-nav-desktop .desktop-nav-link {
    display: none;
  }
}
@media (max-width: 639px) {
  .blog-header {
    gap: 8px;
    padding-inline: 20px;
  }
  .editorial-nav-desktop {
    display: none;
  }
  .blog-header .editorial-header-action {
    margin-left: auto;
    min-height: 44px;
    padding-inline: 12px;
  }
  .editorial-mobile-menu {
    display: block;
  }
  .editorial-mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
  }
  .editorial-mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .editorial-mobile-menu summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
  }
  .editorial-mobile-menu[open] summary {
    background: var(--soft);
  }
  .editorial-mobile-menu .editorial-nav {
    position: absolute;
    inset: 64px 20px auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgb(0 0 0 / 12%);
  }
  .editorial-mobile-menu .editorial-nav a {
    padding: 10px 12px;
    border-radius: 7px;
  }
  .editorial-mobile-menu .editorial-nav a:hover {
    background: var(--soft);
  }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--action-ink) !important;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  background: var(--accent-hover);
}
.blog-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px 64px;
}
.crumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}
.crumbs a {
  color: var(--muted);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.byline,
.lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
}
.answer {
  margin: 0 0 32px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--soft);
}
.answer p {
  margin: 0;
}
.answer-label {
  margin: 0 0 6px !important;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prose h2,
.faq h2,
.related h2,
.blog-cta h2 {
  margin: 40px 0 12px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.prose h3,
.faq h3 {
  margin: 28px 0 8px;
  font-size: 19px;
  font-weight: 650;
}
.prose p,
.faq p,
.prose li {
  margin: 0 0 16px;
}
.prose li {
  margin-bottom: 8px;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--line);
  background: var(--subtle);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th,
.prose td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--subtle);
  font-size: 0.92em;
}
.prose hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.faq {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.blog-cta {
  margin: 44px 0 0;
  padding: 26px 24px;
  border-radius: 16px;
  background: var(--soft);
}
.blog-cta h2 {
  margin-top: 0;
}
.blog-cta p {
  margin: 0 0 18px;
  color: var(--muted);
}
.related ul,
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related li {
  margin: 0 0 14px;
}
.related li span {
  display: block;
  color: var(--muted);
  font-size: 15px;
}
.markdown-note {
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}
.blog-index h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.article-list li {
  border-top: 1px solid var(--line);
}
.article-list a {
  display: block;
  padding: 16px 0;
  color: var(--ink);
  text-decoration: none;
}
.article-list a:hover strong {
  color: var(--accent);
}
.article-list strong {
  display: block;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.article-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.article-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.blog-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.blog-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.blog-footer a {
  color: var(--muted);
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
}
