/* ============================================================
   GoedVPS landing
   Colors follow colors.md (the control panel palette): sage to
   granite brand, warm-green neutrals, one flat accent.
   Standalone: does not depend on styles.css.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --brand-50:  #eff4f1;
  --brand-200: #c9dbd1;
  --brand-300: #b4cbc0;
  --brand-700: #475841;
  --brand-800: #394634;

  --canvas:       #e6e8e6;
  --surface:      #ffffff;
  --surface-sunk: #f1f3f1;
  --canvas-dark:  #131513; /* the .lp-dark band, also used for the hero stage */

  --text:        #1c1e1c;
  --text-muted:  #4f524f;
  --text-subtle: #656965;
  --text-onbrand: #ffffff;

  --line:        #d9dbd9;
  --line-strong: #ced0ce;

  --accent:       var(--brand-700);
  --accent-hover: var(--brand-800);
  --accent-soft:  var(--brand-50);
  --btn-primary-text: var(--text-onbrand);

  /* Status colors, only for machine state in the product mocks */
  --ok:        #0f8a54;
  --ok-soft:   #e3f7ed;
  --ok-line:   #a9e3c6;
  --info:      #1f6fb2;
  --info-soft: #e6f2fb;
  --info-line: #b3d8ee;

  --font: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Consolas', monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  --nav-h: 4rem;
}

/* The dark band and the footer reuse the control panel's dark mode values */
.lp-dark,
.lp-footer {
  --canvas:       var(--canvas-dark);
  --surface:      #1c1e1c;
  --surface-sunk: #171917;
  --text:        #e6e8e6;
  --text-muted:  #a8aca8;
  --text-subtle: #838783;
  --line:        rgb(255 255 255 / .09);
  --line-strong: rgb(255 255 255 / .155);
  --accent:       var(--brand-300);
  --accent-hover: var(--brand-200);
  --accent-soft:  #212a23;
  --btn-primary-text: #141a12;
  background: var(--canvas);
  color: var(--text);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body.lp {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.lp-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0.6rem 1rem;
}
.lp-skip:focus { top: 0.75rem; }

.lp-container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}


/* ---------- 3. Type ---------- */
.lp-kicker {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

.lp-h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  max-width: 24ch;
}
.lp-lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-top: 1rem;
}

/* ---------- 4. Buttons and links ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  font: 500 1rem/1 var(--font);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.lp-btn--primary {
  background: var(--accent);
  color: var(--btn-primary-text);
}
.lp-btn--quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
@media (hover: hover) {
  .lp-btn--primary:hover { background: var(--accent-hover); }
  .lp-btn--quiet:hover { border-color: var(--text-subtle); }
}

.lp-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.15s;
}
@media (hover: hover) {
  .lp-link:hover { text-decoration-color: currentColor; }
}

/* ---------- 5. Nav ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
.lp-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.lp-brand svg { color: var(--accent); }

.lp-nav__links {
  display: flex;
  gap: 0.25rem;
  margin-right: auto;
}
.lp-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
@media (hover: hover) {
  .lp-nav__links a:hover { color: var(--text); }
}
@media (max-width: 640px) {
  .lp-nav__links { display: none; }
  .lp-nav__inner .lp-btn { margin-left: auto; }
}

.lp-lang { display: flex; }
.lp-lang a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-subtle);
}
.lp-nav__links a[aria-current] { color: var(--text); }
.lp-lang a[aria-current] { color: var(--text); text-decoration: underline; text-underline-offset: 0.3em; }
@media (max-width: 640px) {
  .lp-lang { margin-left: auto; }
  .lp-lang ~ .lp-btn { margin-left: 0; }
}

.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 6. Sections ---------- */
.lp-section { padding: 6rem 0; }
.lp-section + .lp-section { border-top: 1px solid var(--line); }
.lp-section--surface { background: var(--surface); }
.lp-section__head { margin-bottom: 3rem; }
.lp-section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .lp-section { padding: 4rem 0; }
}

/* ---------- 7. Hero ---------- */
.lp-hero { padding: 4.5rem 0 0; }
.lp-hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.lp-hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.lp-hero__sub {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 48ch;
  margin-top: 1.25rem;
  text-wrap: balance;
}
.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
}

/* Stage: light above the middle of the video, dark below it. The video is sized so
   its top half fits the first screen of a 1440 x 900 laptop. Split = half the bar
   (18px) + half the 16:10 video height. */
.lp-hero__stage {
  --video-w: min(1200px, 100vw - 2rem);
  margin-top: 3.5rem;
  background: linear-gradient(var(--canvas) 0 calc(18px + var(--video-w) * 0.3125), var(--canvas-dark) 0);
}
.lp-hero__media {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}
.lp-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 36px;
  padding: 0 0.25rem 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--surface-sunk);
  border-bottom: 1px solid var(--line);
}
.lp-frame__bar svg { color: var(--text-subtle); }
.lp-hero__pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  margin-left: auto;
  color: var(--text-muted);
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.lp-hero__pause[hidden] { display: none; }
.lp-hero__pause svg { color: currentColor; }
.lp-hero__pause .lp-i-play,
.lp-hero__pause[data-paused] .lp-i-pause { display: none; }
.lp-hero__pause[data-paused] .lp-i-play { display: block; }
@media (hover: hover) {
  .lp-hero__pause:hover { color: var(--text); background: var(--canvas); }
}

.lp-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  padding: 3.5rem 0 4.5rem;
}
.lp-hero__facts > div { border-top: 1px solid var(--line-strong); padding-top: 1rem; }
.lp-hero__facts dt { font-family: var(--mono); font-size: 0.75rem; color: var(--text-muted); }
.lp-hero__facts dd { margin-top: 0.25rem; font-size: 0.9375rem; }
@media (max-width: 900px) { .lp-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-hero__facts { grid-template-columns: 1fr; padding: 2.5rem 0 3.5rem; } }

/* ---------- 8. Product frames ---------- */
.lp-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.lp-frame video,
.lp-frame img { width: 100%; height: auto; }

.lp-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2rem;
}
@media (max-width: 760px) { .lp-shots { grid-template-columns: 1fr; } }

.lp-shot figcaption { margin-top: 0.75rem; color: var(--text-muted); }

/* Clickable screenshot: the frame itself is the button */
.lp-shot__zoom {
  display: block;
  width: 100%;
  padding: 0;
  font: inherit;
  cursor: zoom-in;
  transition: border-color 0.15s;
}
.lp-shot__zoom:focus-visible { border-radius: var(--r-lg); }
@media (hover: hover) {
  .lp-shot__zoom:hover { border-color: var(--text-subtle); }
}

/* Enlarged screenshot (native dialog, sized to the image) */
.lp-zoom {
  margin: auto;
  padding: 0;
  border: 0;
  background: none;
  max-width: none;
  max-height: none;
  overflow: visible;
  cursor: zoom-out;
}
.lp-zoom::backdrop { background: rgb(24 26 24 / .72); }
.lp-zoom img {
  width: auto;
  height: auto;
  max-width: min(1600px, 100vw - 2rem);
  max-height: calc(100dvh - 2rem);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgb(0 0 0 / .35);
}
.lp-zoom__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: rgb(28 30 28 / .78);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s;
}
.lp-zoom__close:focus-visible { outline-color: #fff; border-radius: 9999px; }
@media (hover: hover) {
  .lp-zoom__close:hover { background: rgb(28 30 28 / .95); }
}
html:has(.lp-zoom[open]) { overflow: hidden; }

.lp-motion .lp-zoom__close { animation: lp-fade 0.25s 0.3s both; }
::view-transition-group(lp-zoom) { animation-duration: 0.4s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.3s; }
@keyframes lp-fade { from { opacity: 0; transform: scale(0.85); } }
.lp-product__points { margin-top: 4rem; }

/* ---------- 9. Step numbers (Deploy with AI) ---------- */
.lp-steps__n {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--text-subtle);
}

/* ---------- 11. Platform band ---------- */
.lp-platform__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .lp-platform__grid { grid-template-columns: 1fr; gap: 3rem; } }

.lp-map { max-width: 440px; margin-inline: auto; width: 100%; }
.lp-map svg { width: 100%; height: auto; }
.lp-map__outline {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-linejoin: round;
}
.lp-map__nl { fill: var(--accent-soft); stroke: var(--accent); }
.lp-map figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-subtle);
  text-align: center;
}

/* ---------- 12. App catalog ---------- */
.lp-apps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.lp-app {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  min-height: 64px;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.15s;
}
@media (hover: hover) {
  .lp-app:hover { border-color: var(--text-subtle); }
}
.lp-app__icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--text-subtle);
}
/* The image covers the generic icon; landing.js removes it if it fails to load */
.lp-app__icon img {
  position: absolute;
  inset: 2px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: var(--surface);
}
.lp-app__text { min-width: 0; }
.lp-app__name,
.lp-app__cat {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-app__name { font-weight: 500; line-height: 1.3; }
.lp-app__cat { font-size: 0.8125rem; color: var(--text-subtle); }
.lp-app__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- 14. Closing call to action ---------- */
.lp-cta { padding: 0 0 6rem; }
/* App list hidden (DB down): the panel follows the dark band directly */
.lp-dark + .lp-cta { padding-top: 6rem; }
.lp-cta__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
}
.lp-cta h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); max-width: 22ch; }
.lp-cta p { color: var(--text-muted); font-size: 1.125rem; margin-top: 0.75rem; max-width: 48ch; }
.lp-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 640px) { .lp-cta { padding-bottom: 4rem; } }

/* ---------- 15. Footer ---------- */
.lp-footer {
  padding: 4rem 0 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.lp-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .lp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lp-footer__grid { grid-template-columns: 1fr; } }

.lp-footer .lp-brand { color: var(--text); }
.lp-footer__tagline { max-width: 34ch; margin-top: 0.5rem; }
.lp-footer__col { display: grid; align-content: start; }
.lp-footer__col h2 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.lp-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  transition: color 0.15s;
}
@media (hover: hover) {
  .lp-footer__col a:hover { color: var(--text); }
}
.lp-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

/* ---------- 16. About page ---------- */
.lp-page-hero { padding: 5rem 0 4rem; }
.lp-page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.025em;
  max-width: 20ch;
}
.lp-page-hero p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 54ch;
  margin-top: 1.25rem;
}

.lp-columns {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 2.5rem 3rem;
}
@media (max-width: 860px) { .lp-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lp-columns { grid-template-columns: 1fr; } }
.lp-columns > div { border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.lp-columns h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.lp-columns p { color: var(--text-muted); }

/* ---------- 17. Deploy with AI ---------- */
.lp-ai__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .lp-ai__grid { grid-template-columns: 1fr; gap: 3rem; } }

.lp-ai__steps { list-style: none; margin-top: 2.5rem; }
.lp-ai__steps li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.3s;
}
.lp-ai__steps li:last-child { border-bottom: 1px solid var(--line); }
.lp-ai__steps .lp-steps__n { min-width: 1.25rem; line-height: 1.6; transition: color 0.3s; }
.lp-ai__steps h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.lp-ai__steps p { color: var(--text-muted); }
.lp-ai__steps.is-playing li:not(.is-active) { opacity: 0.45; }
.lp-ai__steps li.is-active .lp-steps__n { color: var(--accent); font-weight: 600; }

/* Terminal: the control panel's console colors (colors.md, one-off colors) */
.lp-term {
  --t-bg: #171817;
  --t-fg: #d8dee9;
  --t-dim: #9b9f9b;
  --t-ok: #7ee0b0;
  --t-accent: #b4cbc0;
  background: var(--t-bg);
  color: var(--t-fg);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.875rem;
  min-width: 0;
}
.lp-term :focus-visible { outline-color: var(--t-accent); }
.lp-term__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 0.5rem 0 1.25rem;
  border-bottom: 1px solid rgb(255 255 255 / .08);
  color: var(--t-dim);
  font-size: 0.8125rem;
}
.lp-term__replay {
  min-height: 44px;
  padding: 0 0.75rem;
  background: none;
  border: 0;
  color: var(--t-fg);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / .3);
  text-underline-offset: 0.25em;
  cursor: pointer;
}
@media (hover: hover) {
  .lp-term__replay:hover { text-decoration-color: currentColor; }
}
.lp-term__body { padding: 1.25rem; line-height: 1.75; }
.lp-term__body p { white-space: pre-wrap; overflow-wrap: anywhere; }
.lp-term__body .t-ask { margin-top: 0.75rem; color: #fff; }
.t-ps { color: var(--t-accent); }
.t-dim { color: var(--t-dim); }
.t-ok { color: var(--t-ok); }
.t-sub { padding-left: 1.5ch; color: var(--t-dim); }
.t-link { color: var(--t-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.t-bar {
  display: inline-block;
  width: 10ch;
  height: 0.55em;
  margin-left: 0.5ch;
  background: rgb(255 255 255 / .1);
  border-radius: 2px;
  overflow: hidden;
}
.t-bar i { display: block; height: 100%; background: var(--t-ok); transform-origin: left; }

.lp-motion .lp-term [data-line]:not(.is-shown) { visibility: hidden; }
.lp-motion .lp-term .t-bar i { transform: scaleX(0); }
.lp-motion .lp-term .is-shown .t-bar i { animation: lp-fill 1.5s ease-out forwards; }
.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: currentColor;
  animation: lp-blink 1s steps(1) infinite;
}

/* ---------- 18. Feature rows and product mocks ---------- */
.lp-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
/* Only the unfocusable mock moves, so Tab order is not affected */
.lp-feature--flip > :first-child { order: 2; }
@media (max-width: 860px) {
  .lp-feature { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; }
  .lp-feature--flip > :first-child { order: 0; }
}
.lp-feature__title { font-size: clamp(1.375rem, 2.4vw, 1.75rem); max-width: 22ch; }
.lp-feature .lp-lede { max-width: 44ch; }

.lp-mock {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  font-size: 0.9375rem;
  min-width: 0;
}

.lp-gh__bar { display: flex; align-items: center; gap: 0.625rem; min-width: 0; }
.lp-gh__bar svg { flex: none; }
.lp-gh__repo {
  min-width: 0;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-gh__branch {
  flex: none;
  padding: 0.0625rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
}
.lp-gh__btn {
  flex: none;
  margin-left: auto;
  padding: 0.5rem 1rem;
  font-weight: 500;
  background: var(--accent);
  color: var(--btn-primary-text);
  border-radius: var(--r-md);
}
.lp-gh__progress {
  height: 4px;
  margin: 1.25rem 0 1rem;
  background: var(--surface-sunk);
  border-radius: 2px;
  overflow: hidden;
}
.lp-gh__progress i { display: block; height: 100%; background: var(--ok); transform-origin: left; }
.lp-gh__steps { list-style: none; display: grid; gap: 0.75rem; }
.lp-gh__steps li { display: flex; align-items: center; flex-wrap: wrap; gap: 0 0.625rem; }
.lp-dot {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 9999px;
  background: var(--ok);
  border: 2px solid var(--ok);
}
.lp-gh__url { font-family: var(--mono); font-size: 0.875rem; color: var(--accent); overflow-wrap: anywhere; }

.lp-db { padding: 0; overflow: hidden; }
.lp-db__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.lp-db__new {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
}
.lp-db table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.lp-db th {
  padding: 0.625rem 1.25rem;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-subtle);
  border-bottom: 1px solid var(--line);
}
.lp-db td { padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lp-db tr:last-child td { border-bottom: 0; }
.lp-db .lp-db__num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .lp-db .lp-db__type { display: none; }
  .lp-db th, .lp-db td { padding-inline: 0.875rem; }
}
.lp-pill {
  display: inline-grid;
  padding: 0.0625rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ok);
  background: var(--ok-soft);
  border: 1px solid var(--ok-line);
  border-radius: 9999px;
}
/* Both labels share one cell, so the pill keeps its width when the text swaps */
.lp-pill--swap > span { grid-area: 1 / 1; }
.lp-pill--swap > span:first-child { visibility: hidden; }

/* ---------- 19. Motion ----------
   Only with .lp-motion (set in the head when reduced motion is off).
   Without it every block shows its finished state. */
.lp-motion [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-motion [data-reveal].is-in { opacity: 1; transform: none; }
/* Mock animations wait until their block has scrolled into view */
.lp-motion [data-reveal]:not(.is-in) * { animation-play-state: paused; }

.lp-motion .lp-hero__text > * { animation: lp-rise 0.7s ease both; }
.lp-motion .lp-hero__text > :nth-child(2) { animation-delay: 0.08s; }
.lp-motion .lp-hero__text > :nth-child(3) { animation-delay: 0.16s; }
.lp-motion .lp-hero__text > :nth-child(4) { animation-delay: 0.24s; }
.lp-motion .lp-hero__media { animation: lp-rise 0.7s 0.32s ease both; }

.lp-motion .lp-gh__btn { animation: lp-press 0.4s 0.8s both; }
.lp-motion .lp-gh__progress i { animation: lp-fill 2.2s 1s ease-in-out both; }
.lp-motion .lp-gh__steps li { animation: lp-text 0.3s both; }
.lp-motion .lp-gh__steps .lp-dot { animation: lp-dot 0.3s both; }
.lp-motion .lp-gh__steps li:nth-child(1),
.lp-motion .lp-gh__steps li:nth-child(1) .lp-dot { animation-delay: 1.9s; }
.lp-motion .lp-gh__steps li:nth-child(2),
.lp-motion .lp-gh__steps li:nth-child(2) .lp-dot { animation-delay: 2.7s; }
.lp-motion .lp-gh__steps li:nth-child(3),
.lp-motion .lp-gh__steps li:nth-child(3) .lp-dot { animation-delay: 3.2s; }

.lp-motion .lp-db__new { animation: lp-press 0.4s 0.7s both; }
.lp-motion .lp-db__added { animation: lp-row 0.5s 1.1s ease both; }
.lp-motion .lp-pill--swap { animation: lp-pill 0.3s 3s both; }
.lp-motion .lp-pill--swap > span:first-child { animation: lp-hide 0.01s 3s both; }
.lp-motion .lp-pill--swap > span:last-child { animation: lp-show 0.01s 3s both; }

.lp-motion .lp-map__nl { transition: fill 0.8s 0.5s, stroke 0.8s 0.5s; }
.lp-motion .lp-map:not(.is-in) .lp-map__nl { fill: var(--surface); stroke: var(--line-strong); }

@keyframes lp-rise  { from { opacity: 0; transform: translateY(12px); } }
@keyframes lp-fill  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lp-blink { 50% { opacity: 0; } }
@keyframes lp-press { 50% { transform: scale(0.94); } }
@keyframes lp-text  { from { color: var(--text-subtle); } }
@keyframes lp-dot   { from { background: transparent; border-color: var(--line-strong); } }
@keyframes lp-row   { from { opacity: 0; transform: translateY(-6px); } }
@keyframes lp-pill  { from { color: var(--info); background: var(--info-soft); border-color: var(--info-line); } }
@keyframes lp-hide  { from { visibility: visible; } to { visibility: hidden; } }
@keyframes lp-show  { from { visibility: hidden; } to { visibility: visible; } }

/* ---------- 20. Pricing page ---------- */
.lp-page-hero--center { text-align: center; padding-bottom: 2.5rem; }
.lp-page-hero--center h1,
.lp-page-hero--center p { margin-inline: auto; }

.lp-plans { padding-bottom: 6rem; }
.lp-plans__down { text-align: center; color: var(--text-muted); }

/* Month/hour switch: real radios, visually hidden, the labels are the buttons */
.lp-switch {
  display: flex;
  width: fit-content;
  margin: 0 auto 2.5rem;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-sunk);
}
.lp-switch input { position: absolute; opacity: 0; pointer-events: none; }
.lp-switch label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1.125rem;
  border-radius: 7px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-muted);
  cursor: pointer;
}
.lp-switch input:checked + label {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px rgb(0 0 0 / .08);
}
.lp-switch input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Hour prices only show while "Per hour" is picked */
.lp-plans [data-unit="hour"] { display: none; }
.lp-plans:has(#unit-hour:checked) [data-unit="hour"] { display: block; }
.lp-plans:has(#unit-hour:checked) [data-unit="month"] { display: none; }

.lp-compare {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
}
.lp-compare table { width: 100%; min-width: 720px; border-collapse: collapse; }
.lp-compare th,
.lp-compare td { padding: 0.875rem 1.5rem; text-align: left; font-variant-numeric: tabular-nums; }
.lp-compare tbody tr { border-top: 1px solid var(--line); }
.lp-compare tbody th { font-weight: 400; color: var(--text-muted); }
.lp-compare thead th { padding-top: 1.75rem; padding-bottom: 1.25rem; vertical-align: bottom; font-weight: 400; }
.lp-compare__note { width: 28%; font-size: 0.875rem; color: var(--text-subtle); }
.lp-compare__name { display: block; font-size: 1.0625rem; font-weight: 600; }
.lp-compare__price {
  display: block;
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.lp-compare__unit { display: block; margin-top: 0.375rem; font-size: 0.875rem; color: var(--text-subtle); }
.lp-compare__check { color: var(--accent); }
.lp-compare__cross { color: var(--text-subtle); }
.lp-compare tbody tr:last-child td { padding-top: 1.25rem; padding-bottom: 1.25rem; }

/* Features every plan shares, so the table only shows what differs */
.lp-plans__every { margin-top: 2rem; }
.lp-plans__every h2 { font-size: 1rem; font-weight: 600; }
.lp-plans__every ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}
.lp-plans__every li { display: flex; align-items: center; gap: 0.5rem; }
.lp-plans__every svg { flex: none; color: var(--accent); }
.lp-plans__every p { margin-top: 1.25rem; color: var(--text-muted); }

.lp-rates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}
.lp-rates > div {
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text-subtle);
  font-size: 0.875rem;
}
.lp-rates > div > p:first-child { color: var(--text-muted); font-size: 0.9375rem; }
.lp-rates__num { margin: 0.5rem 0 0.25rem; font-family: var(--mono); font-size: 1.75rem; color: var(--text); }

.lp-extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem 4rem;
  align-items: start;
}
.lp-extras table { width: 100%; border-collapse: collapse; }
.lp-extras tr { border-top: 1px solid var(--line); }
.lp-extras tr:last-child { border-bottom: 1px solid var(--line); }
.lp-extras th,
.lp-extras td { padding: 1rem 0; vertical-align: top; }
.lp-extras th { text-align: left; font-weight: 400; }
.lp-extras th span { display: block; font-size: 0.875rem; color: var(--text-subtle); }
.lp-extras td { text-align: right; font-variant-numeric: tabular-nums; }
