/* VMPal website. One stylesheet for every page, dark only, after lazy.so:
   flat near-black surfaces, light SF Pro headlines with a gray second line, and
   screenshots of the app in light mode as the brightest thing on the page.
   The accents come from the app icon: amber, mint and sky glass. */

:root {
  color-scheme: dark;
  --vp-paper: #131416;
  --vp-paper-2: #17181b;
  --vp-card: #1a1b1e;
  --vp-card-2: #222327;
  --vp-sunk: #0f1012;
  --vp-ink: #ededef;
  --vp-soft: #b4b6bc;
  --vp-muted: #8a8c93;
  --vp-faint: #5f6168;
  --vp-line: rgba(255, 255, 255, .07);
  --vp-line-strong: rgba(255, 255, 255, .13);
  --vp-blue: #4b93e0;
  --vp-blue-bright: #91c6f9;
  --vp-blue-tint: rgba(145, 198, 249, .1);
  --vp-amber: #f0b25e;
  --vp-amber-bright: #efbf78;
  --vp-amber-tint: rgba(240, 178, 94, .12);
  --vp-green: #75d8b7;
  --vp-green-tint: rgba(117, 216, 183, .1);
  --vp-red: #f08a76;
  --vp-red-tint: rgba(240, 120, 100, .12);
  --vp-warn: #f0b25e;
  --vp-warn-tint: rgba(240, 178, 94, .12);
  --vp-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --vp-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --vp-radius: 22px;
  --vp-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 24px 60px -30px rgba(0, 0, 0, .7);
}

/* 1. Base */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 108px; background: var(--vp-paper); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--vp-paper);
  color: var(--vp-soft);
  font-family: var(--vp-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, p, figure, ul, ol, dl, dd, pre { margin: 0; }
h1, h2, h3, h4, h5 { color: var(--vp-ink); font-weight: 500; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--vp-blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, kbd { font-family: var(--vp-mono); }
::selection { background: rgba(145, 198, 249, .3); color: #fff; }

:focus-visible { outline: 2px solid rgba(145, 198, 249, .7); outline-offset: 3px; }

/* The page scripts toggle these. */
.hidden { display: none !important; }
[hidden] { display: none !important; }

.vp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.vp-skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--vp-ink);
  color: var(--vp-paper);
  transform: translateY(-200%);
}
.vp-skip-link:focus { transform: none; }

.vp-container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.vp-narrow { width: min(720px, calc(100% - 64px)); margin-inline: auto; }
.vp-main { flex: 1; width: 100%; }
.vp-page { padding-top: 148px; padding-bottom: 96px; }

/* 2. Type */

/* Two-part headlines: the first part in light sans, the second in a gray serif. */
.vp-title {
  color: var(--vp-ink);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.vp-title em {
  display: block;
  color: var(--vp-muted);
  font-style: normal;
}
.vp-title-hero { font-size: clamp(42px, 5.6vw, 72px); font-weight: 300; line-height: 1.06; letter-spacing: -.035em; }
.vp-title-hero em { margin-top: .3em; font-size: .52em; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; }
.vp-title-hero em b { color: var(--vp-ink); font-weight: 500; }

.vp-kicker {
  color: var(--vp-faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  line-height: 1.5;
  text-transform: uppercase;
}
.vp-heading { text-align: center; }
.vp-heading .vp-kicker + .vp-title { margin-top: 18px; }

.vp-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--vp-faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.5;
  text-transform: uppercase;
}
.vp-center { text-align: center; }
.vp-center .vp-eyebrow, .vp-eyebrow.vp-center { justify-content: center; }

.vp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--vp-muted); box-shadow: 0 0 0 4px rgba(255, 255, 255, .05); }
.vp-dot-blue { background: var(--vp-blue-bright); box-shadow: 0 0 0 4px var(--vp-blue-tint); }
.vp-dot-amber { background: var(--vp-amber); box-shadow: 0 0 0 4px var(--vp-amber-tint); }
.vp-dot-green { background: var(--vp-green); box-shadow: 0 0 0 4px var(--vp-green-tint); }

.vp-h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 300; line-height: 1.04; letter-spacing: -.04em; }
.vp-h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 400; line-height: 1.15; letter-spacing: -.028em; }
.vp-h3 { font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
.vp-page-title { font-size: clamp(36px, 4.6vw, 56px); font-weight: 300; line-height: 1.08; letter-spacing: -.04em; }
.vp-lede { color: var(--vp-muted); font-size: 18px; line-height: 1.65; }
.vp-muted { color: var(--vp-muted); }
.vp-small { color: var(--vp-faint); font-size: 13px; line-height: 1.55; }
.vp-blue { color: var(--vp-blue-bright); }
.vp-amber { color: var(--vp-amber); }
.vp-nowrap { white-space: nowrap; }

.vp-section-heading > .vp-h2 { margin-top: 18px; }
.vp-section-heading > .vp-lede { max-width: 560px; margin-top: 16px; }
.vp-section-heading.vp-center > .vp-lede { margin-inline: auto; }

/* 3. Buttons */

.vp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #f1f1f3;
  color: #121315;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}
.vp-button:hover { text-decoration: none; transform: translateY(-1px); background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.vp-button:active { transform: none; }
.vp-button:disabled, .vp-button[aria-disabled="true"] { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.vp-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vp-button svg.vp-fill { fill: currentColor; stroke: none; }

.vp-button-dark, .vp-button-secondary {
  border-color: var(--vp-line-strong);
  background: #1f2023;
  color: var(--vp-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.vp-button-dark:hover, .vp-button-secondary:hover { background: #26272b; border-color: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.vp-button-blue { background: var(--vp-blue); color: #fff; box-shadow: 0 0 0 1px rgba(145, 198, 249, .25); }
.vp-button-blue:hover { background: #5aa1ec; box-shadow: 0 0 0 1px rgba(145, 198, 249, .35); }
.vp-button-amber { background: var(--vp-amber); color: #1a1206; box-shadow: none; }
.vp-button-amber:hover { background: var(--vp-amber-bright); }
.vp-button-danger { border-color: rgba(240, 120, 100, .3); background: transparent; color: var(--vp-red); box-shadow: none; }
.vp-button-danger:hover { background: var(--vp-red-tint); border-color: rgba(240, 120, 100, .45); box-shadow: none; }
.vp-button-light { background: #f1f1f3; color: #121315; }
.vp-button-small { min-height: 34px; padding: 6px 14px; border-radius: 9px; font-size: 13px; }
.vp-button-block { width: 100%; }

.vp-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.vp-buttons-start { justify-content: flex-start; }

.vp-link { color: var(--vp-blue-bright); font-weight: 500; }
.vp-text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--vp-blue-bright);
  font-size: 13px;
  font-weight: 500;
}
.vp-text-button:hover { text-decoration: underline; }

/* 4. Navigation */

.vp-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.vp-nav.is-scrolled {
  background: rgba(19, 20, 22, .88);
  border-bottom-color: var(--vp-line);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
}
.vp-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.vp-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--vp-ink); font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.vp-brand:hover { text-decoration: none; }
.vp-brand img { width: 46px; height: 46px; }
.vp-nav-quiet { color: var(--vp-muted); font-size: 16px; transition: color .15s ease; }
.vp-nav-quiet:hover { color: var(--vp-ink); text-decoration: none; }
.vp-nav-download { min-height: 42px; padding: 9px 20px; font-size: 15px; }
.vp-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 32px; }
.vp-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--vp-line-strong);
  border-radius: 10px;
  background: var(--vp-card);
}
.vp-nav-toggle svg { width: 18px; height: 18px; stroke: var(--vp-ink); stroke-width: 1.6; stroke-linecap: round; fill: none; }
.vp-nav-menu {
  position: absolute;
  top: 74px;
  right: 16px;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--vp-line-strong);
  border-radius: 14px;
  background: #1b1c1f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.vp-nav-menu a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--vp-ink); font-size: 15px; }
.vp-nav-menu a:hover { background: var(--vp-card-2); text-decoration: none; }

/* 5. Footer */

.vp-footer { border-top: 1px solid var(--vp-line); background: var(--vp-sunk); }
.vp-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)) 1.6fr;
  gap: 36px;
  padding: 56px 0 36px;
}
.vp-footer-brand .vp-brand { gap: 10px; font-size: 16px; }
.vp-footer-brand .vp-brand img { width: 28px; height: 28px; }
.vp-footer-brand p { margin-top: 14px; max-width: 240px; color: var(--vp-faint); font-size: 13px; line-height: 1.6; }
.vp-footer h4 { color: var(--vp-faint); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.vp-footer ul { margin-top: 16px; display: grid; gap: 10px; }
.vp-footer ul a { color: var(--vp-muted); font-size: 13px; }
.vp-footer ul a:hover { color: var(--vp-ink); text-decoration: none; }
.vp-newsletter p { margin-top: 14px; color: var(--vp-faint); font-size: 13px; }
.vp-newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.vp-newsletter-form .vp-input { flex: 1; min-width: 0; height: 40px; font-size: 14px; }
.vp-newsletter-form .vp-button { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.vp-newsletter-status { min-height: 20px; margin-top: 8px; font-size: 13px; }
.vp-newsletter-status.is-success { color: var(--vp-green); }
.vp-newsletter-status.is-error { color: var(--vp-red); }
.vp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 36px;
  border-top: 1px solid var(--vp-line);
  color: var(--vp-faint);
  font-size: 12px;
}
.vp-footer-bottom a { color: var(--vp-muted); }
.vp-social { display: flex; gap: 16px; }
.vp-social a { display: inline-flex; color: var(--vp-faint); }
.vp-social a:hover { color: var(--vp-ink); }
.vp-social svg { width: 17px; height: 17px; fill: currentColor; }

/* 6. Home */

/* A section heading has the same space above it as below it: 48 + 48 above, 96 below. */
.vp-section { position: relative; padding: 48px 0; }
.vp-section > .vp-heading + * { margin-top: 96px; }

.vp-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 18px;
  color: var(--vp-faint);
  font-size: 12px;
}
.vp-platforms span + span::before { content: "·"; margin-right: 10px; }
.vp-platforms a { color: var(--vp-muted); }
.vp-platforms-start { justify-content: flex-start; }

/* Hero: the copy, then one screenshot of VMPal. */
.vp-hero { position: relative; padding: 168px 0 48px; }
.vp-hero-copy { text-align: center; }
.vp-hero .vp-title { margin-top: 0; }
.vp-hero .vp-lede { max-width: 560px; margin: 24px auto 0; color: var(--vp-muted); font-size: 17px; }
.vp-hero .vp-buttons { margin-top: 32px; }
/* The app in Liquid Glass over the desktop, framed like a photo. */
.vp-hero-shot {
  display: block;
  width: min(880px, 100%);
  margin: 72px auto 0;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 100px -40px rgba(0, 0, 0, .8);
}

/* Reveal on scroll (home.js adds .is-in). */
.vp-js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .9s ease, translate 1s cubic-bezier(.2, .7, .2, 1); }
.vp-js [data-reveal].is-in { opacity: 1; translate: none; }

/* Systems: three VM windows, one behind the other, like the stack in the app's
   icon. home.js sets --p from 0 to 1 as the stack scrolls into view, and the
   cards behind slide out to the left. */
.vp-stack-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.vp-stack { --p: 1; position: relative; aspect-ratio: 2 / 1; }
.vp-layer {
  --back: calc(2 - var(--i));
  position: absolute;
  top: 50%;
  right: calc(var(--back) * 12% * var(--p));
  width: 78%;
  aspect-ratio: 1600 / 1028;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  translate: 0 -50%;
  scale: calc(1 - var(--back) * .08);
  transform-origin: right center;
  filter: brightness(calc(1 - var(--back) * .2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .75);
}
.vp-layer img { display: block; width: 100%; height: 100%; }
.vp-os-list { display: grid; gap: 40px; }
.vp-os-list li { display: flex; align-items: flex-start; gap: 18px; }
.vp-os-list img { flex: none; width: 44px; height: 44px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4)); }
.vp-os-list b { display: block; color: var(--vp-ink); font-size: 19px; font-weight: 500; letter-spacing: -.012em; }
.vp-os-list span { display: block; margin-top: 6px; color: var(--vp-muted); font-size: 15px; line-height: 1.65; }
/* Features: everything VMPal does, each with an icon in the app icon's colors. */
.vp-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 36px;
  margin-top: 72px;
  padding: 56px 0;
  border-top: 1px solid var(--vp-line);
  border-bottom: 1px solid var(--vp-line);
}
.vp-features li { display: grid; align-content: start; gap: 6px; }
.vp-feature-icon {
  --tone: var(--vp-blue-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: linear-gradient(180deg, #26272b, #1c1d20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.vp-features li:nth-child(3n + 2) .vp-feature-icon { --tone: var(--vp-green); }
.vp-features li:nth-child(3n) .vp-feature-icon { --tone: var(--vp-amber); }
.vp-feature-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--tone); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vp-features b { color: var(--vp-ink); font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.vp-features li > span:last-child { color: var(--vp-muted); font-size: 14px; line-height: 1.6; }

.vp-card-title { color: var(--vp-ink); font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: -.018em; }
.vp-card-title em { display: block; color: var(--vp-muted); font-style: normal; }

/* Its own app: VM icons on orbits around VMPal's, under the stars. */
.vp-orbit-section { overflow: hidden; isolation: isolate; }
.vp-stars { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.vp-orbit { position: relative; width: min(560px, 88vw); aspect-ratio: 1; margin-inline: auto; }
.vp-ring { position: absolute; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; animation: vp-spin var(--turn) linear infinite; animation-delay: var(--start); }
.vp-ring-1 { --turn: 46s; --start: -6s; inset: 24%; }
.vp-ring-2 { --turn: 70s; --start: -40s; inset: 12%; border-style: dashed; border-color: rgba(255, 255, 255, .06); }
.vp-ring-3 { --turn: 96s; --start: -70s; inset: 0; }
.vp-orbiter {
  position: absolute;
  top: 0;
  left: 50%;
  width: 58px;
  height: 58px;
  translate: -50% -50%;
  animation: vp-spin var(--turn) linear infinite reverse;
  animation-delay: var(--start);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5));
}
.vp-orbiter > img { display: block; width: 100%; height: 100%; }
/* An AI agent riding its VM, as a badge on the VM's icon. */
.vp-orbiter > .vp-agent { position: absolute; top: -12px; right: -14px; width: 34px; height: 34px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55)); }
/* Grok's logomark comes bare, so it sits on a black tile like its app icon, unchanged. */
.vp-agent-tile { display: flex; align-items: center; justify-content: center; padding: 7px; border-radius: 9px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.vp-agent-tile img { display: block; width: 100%; height: 100%; }
.vp-orbit-core { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; translate: -50% -50%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
@keyframes vp-spin { to { rotate: 360deg; } }

.vp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; max-width: 980px; margin-top: 40px; }
.vp-pair > div { padding-top: 26px; border-top: 1px solid var(--vp-line); }
.vp-pair p { margin-top: 14px; color: var(--vp-muted); font-size: 15px; line-height: 1.7; }

/* The last call. */
.vp-final { padding: 96px 0 112px; border-top: 1px solid var(--vp-line); }
.vp-final-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.vp-final .vp-title { font-size: clamp(32px, 4vw, 52px); }
.vp-final .vp-platforms { margin-top: 22px; }

/* 7. Inner pages */

.vp-page-header { text-align: center; }
.vp-page-header .vp-eyebrow { justify-content: center; }
.vp-page-header .vp-page-title { margin-top: 18px; }
.vp-page-header .vp-lede { max-width: 620px; margin: 20px auto 0; font-size: 17px; }

.vp-card {
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius);
  background: linear-gradient(180deg, #1b1c1f, #161719);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.vp-panel { padding: 36px; border: 1px solid var(--vp-line); border-radius: var(--vp-radius); background: linear-gradient(180deg, #1b1c1f, #161719); box-shadow: var(--vp-shadow); }
.vp-panel + .vp-panel { margin-top: 24px; }
.vp-panel-title { font-size: 20px; letter-spacing: -.02em; }
.vp-panel-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.vp-divider { height: 1px; margin: 24px 0; background: var(--vp-line); border: 0; }

/* 8. Forms and messages */

.vp-field { display: grid; gap: 7px; }
.vp-field + .vp-field { margin-top: 18px; }
.vp-label { color: var(--vp-ink); font-size: 14px; font-weight: 500; }
.vp-hint { color: var(--vp-faint); font-size: 13px; }
.vp-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--vp-line-strong);
  border-radius: 11px;
  background: var(--vp-sunk);
  color: var(--vp-ink);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vp-input::placeholder { color: var(--vp-faint); }
.vp-input:focus { outline: none; border-color: rgba(145, 198, 249, .6); box-shadow: 0 0 0 4px rgba(145, 198, 249, .12); }
.vp-input:disabled { color: var(--vp-muted); background: #17181a; }
.form-group.has-error .vp-input { border-color: var(--vp-red); box-shadow: 0 0 0 4px var(--vp-red-tint); }
.inline-error-message { display: block; color: var(--vp-red); font-size: 13px; font-weight: 500; }

.alert {
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.alert-info { border-color: rgba(145, 198, 249, .18); background: var(--vp-blue-tint); color: #b5d8fb; }
.alert-success { border-color: rgba(117, 216, 183, .18); background: var(--vp-green-tint); color: #a3e6cf; }
.alert-danger { border-color: rgba(240, 120, 100, .22); background: var(--vp-red-tint); color: #f5aa9b; }
.alert-warning { border-color: rgba(240, 178, 94, .22); background: var(--vp-warn-tint); color: #f3cb8f; }

.vp-summary { display: grid; gap: 12px; }
.vp-summary-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 15px; }
.vp-summary-row dt { color: var(--vp-muted); }
.vp-summary-row dd { color: var(--vp-ink); font-weight: 500; overflow-wrap: anywhere; }
.vp-summary-total { padding-top: 14px; border-top: 1px solid var(--vp-line); }

.vp-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vp-form-actions .vp-button { flex: 1 1 200px; }

/* 9. Questions */

.vp-faq { margin-top: 40px; overflow: hidden; border: 1px solid var(--vp-line); border-radius: var(--vp-radius); background: var(--vp-card); }
.vp-faq .accordion {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 26px;
  border: 0;
  border-top: 1px solid var(--vp-line);
  background: none;
  color: var(--vp-ink);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}
.vp-faq .accordion:first-child { border-top: 0; }
.vp-faq .accordion span { flex: 1; }
.vp-faq .accordion:hover { background: rgba(255, 255, 255, .02); }
.vp-chevron { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--vp-faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.accordion.active .vp-chevron { transform: rotate(180deg); }
.panel { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.vp-faq .panel p { padding: 0 26px 22px; color: var(--vp-muted); font-size: 15px; line-height: 1.75; }

/* 10. Pricing */

.vp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 780px; margin: 48px auto 0; }
.vp-plan { display: flex; flex-direction: column; padding: 32px; }
.vp-plan-featured { border-color: rgba(145, 198, 249, .3); box-shadow: 0 0 0 1px rgba(145, 198, 249, .08); }
.vp-plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 500; }
.vp-plan-badge { padding: 3px 10px; border-radius: 999px; background: var(--vp-blue-tint); color: var(--vp-blue-bright); font-size: 12px; font-weight: 500; }
.vp-plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; color: var(--vp-ink); font-size: 52px; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.vp-plan-price small { color: var(--vp-faint); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.vp-plan-price del { align-self: center; margin-right: 6px; color: var(--vp-faint); font-size: 26px; font-weight: 300; letter-spacing: -.02em; text-decoration-thickness: 1.5px; }
.vp-plan-badge-early { background: var(--vp-amber-tint); color: var(--vp-amber); }
.vp-early-bird { color: #2fe08a; font-weight: 600; }
.vp-seats-math del { color: var(--vp-faint); font-size: 15px; }
.vp-plan-for { margin-top: 12px; color: var(--vp-muted); font-size: 14px; }
.vp-plan ul { display: grid; gap: 12px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--vp-line); }
.vp-plan li { display: flex; gap: 10px; color: var(--vp-soft); font-size: 14px; line-height: 1.5; }
.vp-plan li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--vp-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vp-plan li strong { color: var(--vp-ink); font-weight: 500; }
.vp-plan .vp-button { margin-top: auto; }
/* A label with a dashed underline and a blue bubble above it on hover or focus, as in tinyapp-core. */
.vp-tip { position: relative; border-bottom: 1px dashed var(--vp-muted); cursor: default; }
.vp-tip:focus-visible { outline: none; border-bottom-color: var(--vp-ink); }
.vp-tip-pop {
  position: absolute;
  z-index: 20;
  left: -8px;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: 260px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--vp-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: normal;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .7);
  opacity: 0;
  visibility: hidden;
  translate: 0 4px;
  pointer-events: none;
  transition: opacity .15s ease, translate .15s ease, visibility 0s .15s;
}
.vp-tip-pop::after { content: ""; position: absolute; top: 100%; left: 22px; width: 10px; height: 10px; margin-top: -5px; background: inherit; border-radius: 0 0 2px 0; rotate: 45deg; }
.vp-tip:hover .vp-tip-pop, .vp-tip:focus-visible .vp-tip-pop { opacity: 1; visibility: visible; translate: none; transition-delay: 0s; }

.vp-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.vp-offer { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; color: var(--vp-ink); }
.vp-offer:hover { text-decoration: none; border-color: var(--vp-line-strong); }
.vp-offer strong { font-size: 16px; font-weight: 500; }
.vp-offer span { color: var(--vp-muted); font-size: 14px; }
.vp-offer em { margin-top: 8px; color: var(--vp-blue-bright); font-size: 14px; font-style: normal; font-weight: 500; }
.vp-offer em del, .vp-hint del { color: var(--vp-faint); font-weight: 400; }

.vp-seats { text-align: center; }
.vp-seats-math { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 8px; color: var(--vp-muted); font-size: 15px; }
.vp-seats-math b { color: var(--vp-ink); font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.vp-range { width: 100%; margin: 22px 0 12px; accent-color: var(--vp-blue-bright); }
.vp-seats .total-cost { color: var(--vp-muted); font-size: 15px; }
.vp-seats .total-cost b, .vp-seats .total-cost span { color: var(--vp-ink); font-size: 22px; font-weight: 600; }

/* 11. Dialogs (MicroModal) */

.modal { display: none; }
.modal.is-open { display: block; }
.modal__overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 7, 8, .66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal__container {
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border: 1px solid var(--vp-line-strong);
  border-radius: 22px;
  background: #1a1b1e;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
}
.modal__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 26px 0; }
.modal__title { font-size: 20px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.modal__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--vp-card-2);
  color: var(--vp-muted);
  font-size: 0;
}
.modal__close::before { content: "\2715"; font-size: 13px; }
.modal__close:hover { background: #2b2c31; color: var(--vp-ink); }
.modal__content { padding: 20px 26px; color: var(--vp-muted); font-size: 15px; line-height: 1.7; }
.modal__content h3 { color: var(--vp-ink); font-size: 16px; }
.modal__content ol { display: grid; gap: 6px; padding-left: 20px; list-style: decimal; }
.modal__footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 0 26px 24px; }
.modal__footer .vp-button { min-height: 42px; padding: 9px 18px; }

@keyframes vp-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vp-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vp-slide-in { from { transform: translateY(12px) scale(.98); } to { transform: none; } }
@keyframes vp-slide-out { from { transform: none; } to { transform: translateY(-8px); } }
.micromodal-slide[aria-hidden="false"] .modal__overlay { animation: vp-fade-in .18s ease; }
.micromodal-slide[aria-hidden="false"] .modal__container { animation: vp-slide-in .22s ease; }
.micromodal-slide[aria-hidden="true"] .modal__overlay { animation: vp-fade-out .16s ease; }
.micromodal-slide[aria-hidden="true"] .modal__container { animation: vp-slide-out .16s ease; }

/* 12. License manager */

.vp-lm-account { display: grid; gap: 14px; }
.vp-lm-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.vp-lm-email { color: var(--vp-ink); font-weight: 500; overflow-wrap: anywhere; }
.vp-lm-email small { display: block; color: var(--vp-faint); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.vp-lm-note { display: grid; gap: 2px; color: var(--vp-muted); font-size: 13px; line-height: 1.6; }
.vp-licenses { display: grid; gap: 18px; margin-top: 24px; }
.vp-license { overflow: hidden; }
.vp-license .accordion {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
}
.vp-license .accordion:hover { background: rgba(255, 255, 255, .02); }
.vp-license-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--vp-ink); font-family: var(--vp-mono); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.vp-license-state { margin-top: 4px; font-size: 13px; }
.vp-license-state.is-ok { color: var(--vp-green); }
.vp-license-state.is-warn { color: var(--vp-warn); }
.vp-license-state.is-expired { color: var(--vp-red); }
.vp-license-main { flex: 1; min-width: 0; }
.vp-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--vp-warn-tint); color: var(--vp-warn); font-size: 12px; font-weight: 500; }
.vp-license-body { padding: 0 28px 28px; border-top: 1px solid var(--vp-line); }
.vp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px 0; }
.vp-stats dt { color: var(--vp-faint); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.vp-stats dd { margin-top: 6px; color: var(--vp-ink); font-size: 15px; }
.vp-license-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vp-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--vp-faint);
}
.vp-copy:hover { background: var(--vp-card-2); color: var(--vp-ink); }
.vp-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.text-copied { color: var(--vp-green); font-family: var(--vp-font); font-size: 12px; font-weight: 500; opacity: 0; transition: opacity .2s ease; }
.text-copied.copied { opacity: 1; }
.vp-devices { margin-top: 28px; }
.vp-search { position: relative; max-width: 360px; }
.vp-search svg { position: absolute; top: 50%; left: 13px; width: 16px; height: 16px; fill: none; stroke: var(--vp-faint); stroke-width: 1.8; transform: translateY(-50%); pointer-events: none; }
.vp-search .vp-input { height: 40px; padding-left: 38px; font-size: 14px; }
.vp-table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--vp-line); border-radius: 14px; }
.vp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.vp-table th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--vp-line);
  background: rgba(255, 255, 255, .02);
  color: var(--vp-faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.vp-table td { padding: 12px 16px; border-bottom: 1px solid var(--vp-line); color: var(--vp-soft); white-space: nowrap; vertical-align: middle; }
.vp-table tbody tr:last-child td { border-bottom: 0; }
.vp-table .device-name { color: var(--vp-ink); font-weight: 500; }
.vp-table .alias-input {
  width: 100%;
  max-width: 240px;
  height: 30px;
  margin-top: 4px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--vp-muted);
  font-size: 13px;
}
.vp-table .alias-input:hover { border-color: var(--vp-line); }
.vp-table .alias-input:focus { outline: none; border-color: rgba(145, 198, 249, .6); background: var(--vp-sunk); }
.vp-table .device-alias-add-btn { margin-top: 4px; }
.vp-empty-row { padding: 18px; color: var(--vp-muted); text-align: center; font-size: 14px; }
.vp-steps-code { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 10px 12px; overflow-x: auto; border-radius: 10px; background: var(--vp-sunk); color: var(--vp-ink); font-size: 12px; }
.vp-steps-code code { white-space: nowrap; }

/* 13. Legal text */

.vp-prose { color: var(--vp-soft); font-size: 16px; line-height: 1.8; }
/* The headings keep the policies' own capitals, set small and tracked. */
.vp-prose h2 { margin-top: 44px; font-size: 12px; font-weight: 500; letter-spacing: .14em; line-height: 1.5; }
.vp-prose h2:first-child { margin-top: 0; }
.vp-prose h3 { margin-top: 26px; font-size: 16px; letter-spacing: -.01em; }
.vp-prose p { margin-top: 14px; }
.vp-prose .vp-updated { margin-top: 36px; color: var(--vp-faint); font-size: 14px; }

/* 14. Download */

.vp-downloads { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 460px; gap: 20px; margin: 44px auto 0; }
.vp-download { display: flex; flex-direction: column; align-items: center; padding: 40px 32px; text-align: center; }
.vp-download svg.vp-platform { width: 40px; height: 40px; fill: none; stroke: var(--vp-ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.vp-download h2 { margin-top: 20px; font-size: 24px; font-weight: 400; letter-spacing: -.03em; }
.vp-download p { margin-top: 6px; color: var(--vp-muted); font-size: 14px; }
.vp-download .vp-button { margin-top: 26px; }
.vp-apps { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 24px 28px; }
.vp-apps-icons { display: flex; gap: 10px; }
.vp-apps-icons img { width: 44px; height: 44px; }

/* 15. Release notes */

.vp-changelog { max-width: 880px; margin: 64px auto 0; }
.vp-release { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--vp-line); scroll-margin-top: 108px; }
.vp-release:last-child { border-bottom: 1px solid var(--vp-line); }
.vp-release-meta h2 { color: var(--vp-ink); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.vp-release-meta p { margin-top: 6px; color: var(--vp-muted); font-size: 14px; }
.vp-release-meta time { display: block; margin-top: 2px; color: var(--vp-faint); font-size: 14px; }
.vp-release-download { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--vp-blue-bright); font-size: 14px; font-weight: 500; }
.vp-release-download svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vp-release-body h3 { margin-bottom: 14px; color: var(--vp-ink); font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.vp-release-body ul { display: grid; gap: 10px; }
.vp-release-body li { position: relative; padding-left: 20px; color: var(--vp-soft); font-size: 15px; line-height: 1.65; }
.vp-release-body li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--vp-blue-bright); }
.vp-changelog-empty { max-width: 560px; margin: 64px auto 0; padding: 32px; border: 1px dashed var(--vp-line-strong); border-radius: var(--vp-radius); color: var(--vp-muted); text-align: center; }
.vp-changelog-more { margin-top: 40px; }

/* 16. Contact */

.vp-contact-list { display: grid; gap: 0; }
.vp-contact-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 16px 0; border-top: 1px solid var(--vp-line); }
.vp-contact-list div:first-child { border-top: 0; padding-top: 0; }
.vp-contact-list dt { color: var(--vp-muted); }
.vp-contact-list dd { color: var(--vp-ink); font-weight: 500; }

/* 17. Smaller screens */

@media (max-width: 1023px) {
  .vp-container { width: calc(100% - 48px); }
  .vp-section > .vp-heading + * { margin-top: 80px; }
  .vp-narrow { width: calc(100% - 48px); }
  .vp-section { padding: 40px 0; }
  .vp-stack-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .vp-stack { width: min(100%, 640px); margin-inline: auto; }
  .vp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-plans, .vp-offers { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .vp-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vp-footer-brand, .vp-newsletter { grid-column: span 3; }
}

@media (max-width: 767px) {
  .vp-nav-inner { height: 72px; }
  .vp-brand { font-size: 20px; }
  .vp-brand img { width: 38px; height: 38px; }
  .vp-nav-actions { display: none; }
  .vp-nav-toggle { display: inline-flex; }
  .vp-page { padding-top: 112px; padding-bottom: 64px; }
  .vp-section { padding: 32px 0; }
  .vp-section > .vp-heading + * { margin-top: 64px; }
  .vp-hero { padding: 128px 0 32px; }
  .vp-hero .vp-lede { font-size: 16px; }
  .vp-hero-shot { margin-top: 48px; }
  .vp-card-title { font-size: 20px; }
  .vp-pair { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .vp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; margin-top: 48px; padding: 40px 0; }
  .vp-final { padding: 72px 0 88px; }
  .vp-final-inner { flex-direction: column; align-items: flex-start; }
  .vp-panel { padding: 24px; }
  .vp-license .accordion { padding: 18px 20px; }
  .vp-license-body { padding: 0 20px 22px; }
  .vp-stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .vp-release { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0; }
  .vp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-footer-brand, .vp-newsletter { grid-column: span 2; }
}

@media (max-width: 479px) {
  .vp-container, .vp-narrow { width: calc(100% - 32px); }
  .vp-title-hero { font-size: clamp(38px, 11vw, 48px); }
  .vp-buttons { flex-direction: column; width: min(100%, 300px); margin-inline: auto; }
  .vp-final .vp-buttons { margin-inline: 0; }
  .vp-newsletter-form { flex-direction: column; }
  .vp-platforms { gap: 4px 14px; }
  .vp-platforms span + span::before { content: none; }
  .vp-features { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vp-features li { grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .vp-feature-icon { grid-row: span 2; margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .vp-button:hover { transform: none; }
  .vp-js [data-reveal] { opacity: 1; translate: none; }
}
