/* VimVo website. Brand: fluorescent orange on near-black, the same as the app. */
:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --line: #2a2a2e;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --orange: #ff5f1f;
  --radius: 16px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafafa;
    --surface: #ffffff;
    --line: #e4e4e7;
    --text: #18181b;
    --muted: #52525b;
    --orange: #c2410c;
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

header.top {
  border-bottom: 1px solid var(--line);
}

header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav.lang a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

nav.lang a:hover {
  color: var(--text);
}

.hero {
  padding: 72px 0 48px;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.hero h1 span {
  color: var(--orange);
}

.hero p.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 28px;
}

.pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #0b0b0c;
  font-weight: 700;
  text-decoration: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding-bottom: 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h2 {
  font-size: 18px;
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

article {
  padding: 48px 0 64px;
}

article h1 {
  font-size: clamp(32px, 6vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 8px;
}

article h2 {
  font-size: 22px;
  margin: 40px 0 8px;
  letter-spacing: -0.01em;
}

article h3 {
  font-size: 18px;
  margin: 24px 0 4px;
}

article .updated {
  color: var(--muted);
  margin: 0 0 32px;
}

article li {
  margin: 4px 0;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 16px;
}

article th,
article td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

article th {
  color: var(--muted);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 32px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

footer a {
  color: var(--muted);
}
