/* vizstudio.si. Colors and sizes are the app's --pv-* tokens (docs/theme.css). */
:root {
  color-scheme: dark;
  --pv-bg-stage: #0f1217;
  --pv-bg-panel: #171b21;
  --pv-bg-sunken: #12151a;
  --pv-bg-raised: #1d2229;
  --pv-bg-field: #1b2027;
  --pv-border: #262b33;
  --pv-border-strong: #343b47;
  --pv-text: #d7dce3;
  --pv-text-muted: #8b94a1;
  --pv-text-strong: #ffffff;
  --pv-accent: #4d96ff;
  --pv-accent-hover: #6aa8ff;
  --pv-hover: rgba(255, 255, 255, 0.07);
  --pv-error-text: #ff8a80;
  --pv-ok: #1fae7a;
  --pv-brand-pink: #e9519c;
  --pv-brand-coral: #fc6644;
  --pv-brand-amber: #f0a010;
  --pv-brand-blue: #4d96ff;
  --pv-brand-violet: #8a63f0;
  --pv-accent-teal: #22b8cf;
  --pv-font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --pv-radius-md: 8px;
  --pv-radius-lg: 10px;
  --pv-radius-xl: 12px;
  --pv-radius-pill: 999px;
  --pv-shadow-card: 0 8px 22px rgba(0, 0, 0, 0.36), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --pv-shadow-sunken: inset 0 2px 5px rgba(0, 0, 0, 0.32);
  --pv-shadow-primary: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 2px 6px rgba(0, 0, 0, 0.35);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--pv-bg-stage); color: var(--pv-text);
  font: 15px/1.45 var(--pv-font-sans);
  overflow-x: clip; /* the hero glow reaches past the edges */
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--pv-accent); }
a:hover { color: var(--pv-accent-hover); }
:focus-visible { outline: 2px solid var(--pv-accent); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--pv-text-muted); }
[hidden] { display: none !important; }

/* Header and footer (site.js) */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 18, 23, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pv-border);
}
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--pv-text-muted); text-decoration: none; font-weight: 500;
  padding: 7px 12px; border-radius: var(--pv-radius-md);
}
.nav a:not(.btn):hover { color: var(--pv-text); background: var(--pv-hover); }
.nav a[aria-current="page"] { color: var(--pv-text); }
.site-foot { border-top: 1px solid var(--pv-border); margin-top: 72px; font-size: 13px; color: var(--pv-text-muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding-top: 22px; padding-bottom: 28px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.site-foot a { color: var(--pv-text-muted); text-decoration: none; }
.site-foot a:hover { color: var(--pv-text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px; border-radius: var(--pv-radius-md);
  border: 1px solid var(--pv-border-strong); background: var(--pv-bg-raised); color: var(--pv-text);
  font: 600 14px var(--pv-font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--pv-bg-field); color: var(--pv-text-strong); }
.btn.primary { background: var(--pv-accent); border-color: var(--pv-accent); color: var(--pv-text-strong); box-shadow: var(--pv-shadow-primary); }
.btn.primary:hover { background: var(--pv-accent-hover); border-color: var(--pv-accent-hover); }
.btn.big { height: 56px; padding: 0 30px; font-size: 18px; border-radius: var(--pv-radius-xl); }
.btn svg { width: 18px; height: 18px; }

/* Landing */
.hero { padding: 64px 0 28px; text-align: center; }
.hero h1 {
  margin: 0 auto 14px; max-width: 16ch; font-size: clamp(34px, 6vw, 60px); line-height: 1.05;
  font-weight: 700; letter-spacing: -0.02em; color: var(--pv-text-strong);
}
.hero .tag { margin: 0 auto 30px; max-width: 46ch; font-size: clamp(16px, 2vw, 19px); color: var(--pv-text-muted); }
.hero .note { margin-top: 12px; font-size: 13px; color: var(--pv-text-muted); }
.hero-shot { margin: 44px auto 0; max-width: 1100px; position: relative; }
.hero-shot::before {
  content: ""; position: absolute; inset: -40px -6% 30% -6%; z-index: -1; filter: blur(60px); opacity: 0.35;
  background: linear-gradient(90deg, var(--pv-brand-pink), var(--pv-brand-amber) 35%, var(--pv-brand-blue) 65%, var(--pv-brand-violet));
}
.frame {
  border-radius: var(--pv-radius-xl); overflow: hidden; background: var(--pv-bg-sunken);
  border: 1px solid var(--pv-border-strong); box-shadow: var(--pv-shadow-card);
}
.frame img { width: 100%; height: auto; }
.hero-shot .frame img { aspect-ratio: 16 / 9; object-fit: cover; }
.hero-cycle { position: relative; }
.hero-cycle img { transition: opacity 900ms ease; }
.hero-cycle img:not(:first-child) { position: absolute; inset: 0; height: 100%; }
.hero-cycle img:not(.on) { opacity: 0; }
.hero-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.hero-dots button {
  width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.hero-dots button::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pv-border-strong); transition: background 200ms, transform 200ms;
}
.hero-dots button:hover::after { background: var(--pv-text-muted); }
.hero-dots button[aria-current="true"]::after { background: var(--pv-brand-blue); transform: scale(1.25); }
.hero-dots button:focus-visible { outline: 2px solid var(--pv-brand-blue); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .hero-cycle img { transition: none; } }

.shots { margin-top: 72px; }
.shots h2, .section-title { font-size: 22px; font-weight: 650; color: var(--pv-text-strong); margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.shot { margin: 0; }
.shot .frame img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.25s; }
.shot:hover .frame img { transform: scale(1.02); }
.shot figcaption { padding: 10px 2px 0; font-weight: 600; color: var(--pv-text); }
.shot figcaption span { display: block; font-weight: 400; font-size: 13px; color: var(--pv-text-muted); }

/* Screenshots open larger (site.js, [data-zoom]) */
.zoomable { cursor: zoom-in; position: relative; }
.zoomable::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 8px; opacity: 0;
  background: rgba(15, 18, 23, 0.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M10 2.5h3.5V6M6 13.5H2.5V10M13.5 2.5 9 7M2.5 13.5 7 9'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: opacity 0.15s;
}
.zoomable:hover::after, .zoomable:focus-visible::after { opacity: 1; }
.zoom-on { overflow: hidden; }
.zoom {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 8, 11, 0.94); color: var(--pv-text); display: none;
}
.zoom[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.zoom::backdrop { background: transparent; }
.zoom figure { grid-column: 2; grid-row: 1; margin: 0; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 0 24px; min-width: 0; }
.zoom img { max-width: 100%; max-height: calc(100dvh - 130px); width: auto; height: auto; border-radius: var(--pv-radius-lg); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.zoom figcaption { font-weight: 600; color: var(--pv-text-strong); text-align: center; }
.zoom figcaption span { display: block; font-weight: 400; font-size: 13px; color: var(--pv-text-muted); }
.zoom button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pv-border-strong); cursor: pointer;
  background: rgba(23, 27, 33, 0.85); color: var(--pv-text-strong); display: grid; place-items: center; justify-self: center;
}
.zoom button:hover { background: var(--pv-accent); border-color: var(--pv-accent); }
.zoom button svg { width: 18px; height: 18px; }
.zoom .z-close { position: absolute; top: 12px; right: 12px; z-index: 1; }
@media (max-width: 760px) {
  .zoom[open] { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .zoom .z-nav { position: absolute; bottom: 14px; }
  .zoom .z-prev { left: calc(50% - 56px); }
  .zoom .z-next { right: calc(50% - 56px); }
  .zoom figure { padding: 56px 8px 76px; }
  .zoom img { max-height: calc(100dvh - 180px); }
}

.cta { margin-top: 80px; text-align: center; }
.cta p { margin: 0 0 22px; font-size: 20px; color: var(--pv-text-strong); font-weight: 600; }

/* Inner pages */
.page-head { padding: 44px 0 20px; }
.page-head h1 { margin: 0; font-size: 30px; font-weight: 700; color: var(--pv-text-strong); }

/* Fields */
input, select, textarea {
  width: 100%; font: 15px var(--pv-font-sans); color: var(--pv-text);
  background: var(--pv-bg-field); border: 1px solid var(--pv-border-strong); border-radius: var(--pv-radius-md);
  box-shadow: var(--pv-shadow-sunken); padding: 9px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pv-accent); outline-offset: 0; border-color: transparent; }
textarea { min-height: 160px; resize: vertical; }
label { display: block; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; }

/* Tutorials */
.tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--pv-text-muted); pointer-events: none; }
.search input { padding-left: 34px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  height: 32px; padding: 0 14px; border-radius: var(--pv-radius-pill); cursor: pointer;
  border: 1px solid var(--pv-border-strong); background: transparent; color: var(--pv-text-muted);
  font: 500 13px var(--pv-font-sans);
}
.pill:hover { color: var(--pv-text); background: var(--pv-hover); }
.pill[aria-pressed="true"] { background: var(--pv-accent); border-color: var(--pv-accent); color: var(--pv-text-strong); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { font-size: 12px; padding: 2px 9px; border-radius: var(--pv-radius-pill); background: var(--pv-bg-raised); border: 1px solid var(--pv-border-strong); color: var(--pv-text-muted); }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 860px; border-radius: var(--pv-radius-lg); overflow: hidden; background: #000; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video button:focus-visible { outline: 2px solid var(--pv-accent); outline-offset: -2px; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video .play {
  position: relative; width: 68px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(15, 18, 23, 0.8); color: var(--pv-text-strong); transition: background 0.12s;
}
.video button:hover .play { background: var(--pv-accent); }
.video .play svg { width: 22px; height: 22px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.none { aspect-ratio: auto; height: 56px; font-size: 13.5px; display: grid; place-items: center; background: var(--pv-bg-sunken); border: 1px dashed var(--pv-border-strong); color: var(--pv-text-muted); }
.empty { padding: 40px 0; text-align: center; color: var(--pv-text-muted); }
.tut-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tabs { display: inline-flex; border: 1px solid var(--pv-border-strong); border-radius: var(--pv-radius-md); overflow: hidden; background: var(--pv-bg-sunken); }
.tabs button { font: 600 14px var(--pv-font-sans); color: var(--pv-text-muted); background: transparent; border: 0; padding: 8px 18px; cursor: pointer; }
.tabs button + button { border-left: 1px solid var(--pv-border-strong); }
.tabs button:hover { color: var(--pv-text); background: var(--pv-hover); }
.tabs button[aria-selected="true"] { background: var(--pv-accent); color: var(--pv-text-strong); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 860px; }
.steps li { display: flex; gap: 12px; padding: 10px 12px; background: var(--pv-bg-raised); border: 1px solid var(--pv-border); border-radius: var(--pv-radius-lg); }
.steps .num {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
  background: var(--pv-accent); color: var(--pv-text-strong); font-size: 12.5px; font-weight: 700;
}
.steps b { color: var(--pv-text-strong); font-weight: 600; }
.steps p { margin: 2px 0 0; font-size: 14px; }

/* Tutorials as a journey down the page (tutorials.js): a stop per page on one line, its lessons as cards */
.tools.sticky { position: sticky; top: 60px; z-index: 10; margin: 0 -20px 26px; padding: 10px 20px; background: rgba(15, 18, 23, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.jump .pill { display: inline-flex; align-items: center; text-decoration: none; }
.journey { position: relative; }
.journey::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 60px; width: 2px; background: linear-gradient(var(--pv-brand-violet), var(--pv-brand-blue) 12%, var(--pv-brand-blue) 80%, var(--pv-accent-teal)); opacity: 0.55; }
.stop { --k: var(--pv-brand-blue); position: relative; padding: 0 0 40px 58px; scroll-margin-top: 130px; }
.stop.k-start { --k: var(--pv-brand-violet); }
.stop.k-device { --k: var(--pv-accent-teal); }
.stop::before { content: ""; position: absolute; left: 13px; top: 21px; width: 18px; height: 18px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 5px var(--pv-bg-stage), 0 0 18px color-mix(in srgb, var(--k) 60%, transparent); }
.node {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 16px; min-width: min(340px, 100%);
  background: var(--pv-bg-panel); border: 1px solid var(--pv-border-strong); border-left: 4px solid var(--k); border-radius: var(--pv-radius-xl); box-shadow: var(--pv-shadow-card);
}
.node h2 { margin: 0; font-size: 23px; line-height: 1.15; font-weight: 700; color: var(--pv-text-strong); }
.node .sub { font-size: 14px; color: var(--pv-text-muted); }
.node .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--k); border: 1.5px solid var(--k); }
.stop .what { margin: 12px 0 16px; max-width: 74ch; color: var(--pv-text-muted); font-size: 14.5px; }
.searching .stop .what { display: none; }
.j-label { padding: 0 0 14px 58px; margin-top: -8px; font-size: 13px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pv-text-muted); }
.lcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.lcard {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 13px 15px 12px; min-height: 128px;
  background: var(--pv-bg-panel); border: 1px solid var(--pv-border); border-radius: var(--pv-radius-lg); transition: border-color 0.12s, background 0.12s, transform 0.12s;
}
.lcard:hover { background: var(--pv-bg-raised); border-color: var(--k); transform: translateY(-1px); }
.lcard:focus-visible { outline: 2px solid var(--pv-accent); outline-offset: 2px; }
.lcard.tour { border-color: color-mix(in srgb, var(--k) 55%, var(--pv-border)); background: linear-gradient(160deg, color-mix(in srgb, var(--k) 14%, var(--pv-bg-panel)), var(--pv-bg-panel) 60%); }
.lcard b { font-size: 15.5px; font-weight: 650; color: var(--pv-text-strong); }
.lcard small { font-size: 13px; line-height: 1.4; color: var(--pv-text-muted); }
.lc-top { display: flex; align-items: center; gap: 6px; min-height: 20px; margin-bottom: 2px; }
.lc-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k); }
.lc-vid { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--pv-text-muted); }
.lc-vid.on { color: var(--pv-text); }
.lc-vid svg { width: 11px; height: 11px; color: var(--k); }
.lc-steps { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--pv-text-muted); }

/* One lesson over the page */
.lesson-dlg { width: min(880px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--pv-border-strong); border-radius: var(--pv-radius-xl); background: var(--pv-bg-panel); color: var(--pv-text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); overflow: hidden; }
.lesson-dlg::backdrop { background: rgba(6, 8, 11, 0.82); }
.lesson-dlg[open] { display: flex; }
.ld-in { overflow: auto; padding: 0 22px 20px; display: grid; gap: 16px; width: 100%; }
.ld-in header { --k: var(--pv-brand-blue); position: sticky; top: 0; z-index: 1; display: flex; gap: 14px; align-items: flex-start; margin: 0 -22px; padding: 18px 22px 14px; background: var(--pv-bg-panel); border-bottom: 1px solid var(--pv-border); border-top: 4px solid var(--k); }
.ld-in header.k-start { --k: var(--pv-brand-violet); }
.ld-in header.k-device { --k: var(--pv-accent-teal); }
.ld-in header > div { flex: 1; min-width: 0; }
.ld-cat { font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k); }
.ld-in h2 { margin: 2px 0 0; font-size: 22px; color: var(--pv-text-strong); }
.ld-in header p { margin: 2px 0 0; color: var(--pv-text-muted); font-size: 14px; }
.ld-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--pv-border-strong); background: var(--pv-bg-raised); color: var(--pv-text); cursor: pointer; display: grid; place-items: center; }
.ld-close:hover { background: var(--pv-accent); border-color: var(--pv-accent); color: var(--pv-text-strong); }
.ld-close svg { width: 16px; height: 16px; }
.ld-in .video, .ld-in .steps { max-width: none; }
.ld-in footer { display: flex; justify-content: space-between; gap: 10px; padding-top: 4px; }
.ld-in footer .btn span { overflow: hidden; text-overflow: ellipsis; max-width: 30ch; }
@media (max-width: 760px) {
  .tools.sticky { margin: 0 -16px 20px; padding: 8px 16px; flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 8px; }
  .tools.sticky .search { flex: none; max-width: none; }
  .jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .jump::-webkit-scrollbar { display: none; }
  .jump .pill { flex: none; }
  .journey::before { left: 11px; }
  .stop, .j-label { padding-left: 36px; }
  .stop { scroll-margin-top: 200px; }
  .stop::before { left: 4px; width: 16px; height: 16px; }
  .node h2 { font-size: 20px; }
  .lcards { grid-template-columns: 1fr; }
  .lcard { min-height: 0; }
  .lesson-dlg { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .ld-in { padding: 0 16px 20px; }
  .ld-in header { margin: 0 -16px; padding: 14px 16px 12px; }
  .ld-in footer .btn span { max-width: 14ch; }
}

/* FloViz (the app's chart, floviz/floviz.css) in a box on the page instead of over the app */
.flow-wrap { max-width: 1640px; margin: 0 auto; padding: 0 20px; }
.flow-box .hiw { position: relative; inset: auto; z-index: auto; height: min(860px, calc(100vh - 170px)); min-height: 620px; padding: 0; background: transparent; }
.flow-box .hiw-nav > .hiw-cap:first-child, .flow-box #hiwMode, .flow-box .hiw-meta { display: none; }
.flow-box .hiw-nav > .hiw-cap:nth-child(3) { margin-top: 0; }
.btn.small { height: 30px; padding: 0 12px; font-size: 13px; }
.txtin { height: 34px; padding: 6px 10px; font-size: 14px; }
@media (max-width: 760px) {
  .flow-wrap { padding: 0 12px; }
  .flow-box .hiw { height: auto; min-height: 0; overflow: visible; padding: 0; }
}

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.form { background: var(--pv-bg-panel); border: 1px solid var(--pv-border); border-radius: var(--pv-radius-xl); padding: 22px; display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: inline-flex; border: 1px solid var(--pv-border-strong); border-radius: var(--pv-radius-md); overflow: hidden; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 8px 16px; font-weight: 500; font-size: 14px; color: var(--pv-text-muted); cursor: pointer; }
.seg label + label span { border-left: 1px solid var(--pv-border-strong); }
.seg input:checked + span { background: var(--pv-accent); color: var(--pv-text-strong); }
.seg input:focus-visible + span { outline: 2px solid var(--pv-accent); outline-offset: -2px; }
.hp { position: absolute; left: -9999px; }
.status { margin: 0; font-size: 14px; }
.status.ok { color: var(--pv-ok); }
.status.err { color: var(--pv-error-text); }
.side { display: grid; gap: 12px; }
.link-card {
  display: flex; align-items: center; gap: 14px; padding: 16px; text-decoration: none;
  background: var(--pv-bg-panel); border: 1px solid var(--pv-border); border-radius: var(--pv-radius-xl); color: var(--pv-text);
}
.link-card:hover { background: var(--pv-bg-raised); color: var(--pv-text-strong); }
.link-card svg { width: 26px; height: 26px; flex: none; color: var(--pv-accent); }
.link-card b { display: block; font-weight: 650; }
.link-card small { color: var(--pv-text-muted); font-size: 13px; }

@media (max-width: 760px) {
  .site-head .wrap { gap: 8px; }
  .nav a:not(.btn) { padding: 7px 8px; }
  .site-head .btn { padding: 0 12px; }
  .hero { padding-top: 40px; }
  .contact, .row { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 22px; }
  .site-head .btn .long { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Tutorials: the intro under the heading, and the line under a lesson's video */
.tut-intro { margin: 8px 0 0; max-width: 72ch; color: var(--pv-text-muted); font-size: 15px; }
.ld-live { margin: -6px 0 0; font-size: 13px; color: var(--pv-text-muted); }
