/* Landing v5 - 2026-09-26. Calm, product-first sections around real captures.
   Dark bands use ink #0b0d12; light sections follow the site theme variables so the
   system dark appearance keeps working. Accent #487ee8 marks primary emphasis only. */

:root {
  --v5-ink: #0d0d0d;
  --v5-ink-raised: #161616;
  --v5-on-ink: #f3f3f3;
  --v5-on-ink-muted: #aeaeae;
  --v5-on-ink-dim: #959595;
  --v5-hairline-ink: rgba(255, 255, 255, 0.08);
  --v5-hairline: rgba(0, 0, 0, 0.08);
  --v5-blue: #487ee8;
  --v5-accent-text: #2a5bc0;
  --v5-shadow: 0 1px 2px rgba(20, 20, 20, 0.05), 0 24px 60px -24px rgba(20, 20, 20, 0.22);
  --v5-font: 'Source Sans 3', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --v5-hairline: rgba(255, 255, 255, 0.08);
    --v5-accent-text: #93b3f2;
    --v5-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  }
}

.v5 {
  box-sizing: border-box;
  font-family: var(--v5-font);
  color: var(--site-text);
}
:where(.v5) *,
:where(.v5) *::before,
:where(.v5) *::after {
  box-sizing: border-box;
}
:where(.v5) :where(h2, h3, p, figure, ul) {
  margin: 0;
}
:where(.v5) img {
  display: block;
  max-width: 100%;
}

.v5-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.v5-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.v5-dark {
  background: var(--v5-ink);
  color: var(--v5-on-ink);
}

.v5-title {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.v5-lead {
  margin-top: 20px;
  max-width: 620px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--site-muted);
  text-wrap: pretty;
}
.v5-dark .v5-lead {
  color: var(--v5-on-ink-muted);
}
.v5-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--site-text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.v5-text-link span {
  transition: transform 160ms ease;
}
.v5-text-link:hover span {
  transform: translateX(3px);
}
.v5-dark .v5-text-link {
  color: var(--v5-on-ink);
}

/* ---------------------------------------------------------------- Hero */

.v5-hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 0;
  background: var(--v5-ink);
  color: var(--v5-on-ink);
  isolation: isolate;
}
/* Impeccable 2026-09-26: the hero is a flat ink band. The earlier blue radial
   halo and hairline grid were decoration that explained nothing, and the halo
   also made the detector read on-ink text as washed out. Real captures and type
   carry the hierarchy instead. */
.v5-hero-copy {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.v5-hero h1 {
  margin: 0;
  font-size: 76px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #fafafa;
  text-wrap: balance;
}
.v5-hero h1 span {
  display: block;
  color: #bfbfbf;
}
.v5-hero-sub {
  max-width: 660px;
  margin: 26px auto 0;
  color: var(--v5-on-ink-muted);
  font-size: 20px;
  line-height: 1.55;
  text-wrap: pretty;
}
.v5-hero .lyre-hero-downloads {
  margin-top: 40px;
  gap: 12px;
}
.v5-hero .lyre-download-primary {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 12px 28px -16px rgba(0, 0, 0, 0.7);
}
.v5-hero-ghost {
  display: contents;
}
.v5-hero-ghost .lyre-browser-link {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #f3f3f3;
}
.v5-hero-ghost .lyre-browser-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.v5-hero .lyre-download-store {
  min-height: 50px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
.v5-hero .lyre-hero-note {
  flex-basis: 100%;
  margin: 10px 0 0;
  color: var(--v5-on-ink-dim);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.v5-hero .lyre-release-updates {
  margin-top: 0;
  color: #cdcdcd;
  font-size: 14px;
}

/*
 * Hero composition. The desktop capture's agent-conversation column runs to ~98% of the
 * capture's width, so the phone may only overlap the desktop's outermost right margin
 * (<= 1.5% of the desktop width): 80% desktop + 21% phone = 1% of stage overlap, ~95%
 * of the phone hanging outside the frame. Percentages keep the whole group inside the
 * stage's content box, so it stays centred and never scrolls horizontally.
 */
.v5-hero-stage {
  position: relative;
  max-width: 1200px;
  margin: 72px auto 0;
  padding: 0 32px 88px;
}
.v5-hero-desktop {
  position: relative;
  width: 80%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 50px 120px -30px rgba(0, 0, 0, 0.8);
}
.v5-hero-desktop picture,
.v5-hero-desktop img {
  display: block;
  width: 100%;
  height: auto;
}
.v5-hero-phone {
  position: absolute;
  right: 32px;
  bottom: 97px;
  /* The containing block is the padding box; size against the content box. */
  width: calc((100% - 64px) * 0.21);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #101010;
  box-shadow:
    -24px 40px 90px -20px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}
.v5-hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 1039px) {
  .v5-hero-stage {
    margin-top: 48px;
    padding: 0 20px 72px;
  }
  .v5-hero-desktop {
    border-radius: 16px;
  }
  .v5-hero-phone {
    right: 20px;
    bottom: 85px;
    width: calc((100% - 40px) * 0.21);
    padding: 4px;
    border-radius: 16px;
  }
  .v5-hero-phone img {
    border-radius: 16px;
  }
}

/* Phones: the desktop capture is unreadable at this width, so only the phone capture shows. */
@media (max-width: 639px) {
  .v5-hero-desktop {
    display: none;
  }
  .v5-hero-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 70%;
    max-width: 300px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 16px;
    box-shadow:
      0 40px 90px -20px rgba(0, 0, 0, 0.85),
      0 0 0 1px rgba(0, 0, 0, 0.6);
  }
  .v5-hero-phone img {
    border-radius: 16px;
  }
}

/* ---------------------------------------------------------------- Providers marquee */

.v5-providers {
  padding: 24px 0 112px;
  border-top: 1px solid var(--v5-hairline-ink);
}
.v5-providers-head {
  padding: 48px 0 32px;
  text-align: center;
}
.v5-providers-head h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--v5-on-ink-muted);
  letter-spacing: 0;
}
.v5-providers-rows {
  display: grid;
  gap: 14px;
}
.v5-providers-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 28px;
  margin-top: 36px;
  font-size: 15px;
}
.v5-providers-foot p {
  flex-basis: 100%;
  margin-bottom: 8px;
  color: var(--v5-on-ink-dim);
  font-size: 14px;
  text-align: center;
}
.v5-providers-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d8d8d8;
  text-decoration: none;
  font-weight: 500;
}
.v5-providers-foot a:hover {
  color: #fff;
}

@media (max-width: 719px) {
  .v5-providers {
    padding-bottom: 72px;
  }
  .v5-providers-head {
    padding: 48px 20px 28px;
  }
}

/* ---------------------------------------------------------------- Story (product tour) */
.v5-figcaption {
  margin-top: 12px;
  color: var(--site-muted);
  font-size: 14px;
}
.lyre-tour-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  font: inherit;
}
.v5-phone-frame {
  padding: 6px;
  border: 1px solid var(--v5-hairline);
  border-radius: 16px;
  background: #101010;
  box-shadow: var(--v5-shadow);
}
.v5-phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.lyre-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(8, 10, 14, 0.9);
  backdrop-filter: blur(6px);
}
.lyre-lightbox-image {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.lyre-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* ---------------------------------------------------------------- Templates */

.v5-templates-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: 40px;
}
.v5-templates-head .v5-lead {
  margin-top: 12px;
  font-size: 18px;
}
.v5-templates-head small {
  max-width: 360px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.5;
}
.v5-templates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.v5-template {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: var(--site-raised);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.v5-template:hover {
  transform: translateY(-2px);
  box-shadow: var(--v5-shadow);
}
.v5-template-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--site-border);
  background: var(--site-surface);
}
.v5-template-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.v5-template-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
.v5-template-body small {
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 500;
}
.v5-template-body h3 {
  margin-top: 6px;
  color: var(--site-text);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}
.v5-template-body p {
  margin-top: 8px;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.55;
}
.v5-template-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: auto;
  padding-top: 20px;
}

/* ---------------------------------------------------------------- Buttons */

.v5-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--site-button);
  border-radius: 12px;
  background: var(--site-button);
  color: var(--site-button-text);
  font: 600 15px var(--v5-font);
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 160ms ease,
    background-color 160ms ease;
}
.v5-button:hover {
  opacity: 0.86;
}
.v5-button-quiet {
  border-color: var(--site-border);
  background: transparent;
  color: var(--site-text);
}
.v5-button-quiet:hover {
  opacity: 1;
  background: var(--site-surface);
}
.v5-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--site-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--site-border);
  text-underline-offset: 5px;
}
.v5-link:hover {
  text-decoration-color: currentColor;
}

/* ---------------------------------------------------------------- Pricing */

.v5-pricing-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.v5-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.v5-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: var(--site-raised);
}
/* The featured plan is marked by a solid accent edge, not a coloured halo. */
.v5-plan-featured {
  border-color: var(--v5-blue);
  border-width: 2px;
  box-shadow: var(--v5-shadow);
}
.v5-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.v5-plan-top h3 {
  font-size: 20px;
  font-weight: 600;
}
.v5-plan-badge {
  padding: 3px 10px;
  border: 1px solid rgba(72, 126, 232, 0.4);
  border-radius: 6px;
  color: var(--v5-accent-text);
  font-size: 12px;
  font-weight: 600;
}
.v5-plan-description {
  margin-top: 6px;
  min-height: 48px;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.5;
}
.v5-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 20px;
}
.v5-plan-price strong {
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.v5-plan-price span {
  color: var(--site-muted);
  font-size: 14px;
}
.v5-plan ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--site-border);
  list-style: none;
}
.v5-plan li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}
.v5-plan li svg {
  flex: none;
  margin-top: 3px;
}
.v5-plan li.v5-off {
  color: var(--site-muted);
}
.v5-plan .v5-button {
  width: 100%;
  margin-top: 28px;
}
.v5-plan-cta-wrap {
  margin-top: auto;
}
.v5-fineprint {
  display: grid;
  gap: 10px;
  /* A readable measure: 14px small print runs past ~70 characters per line at
     the old 900px width, which is where the eye loses the start of the next line. */
  max-width: 68ch;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--site-border);
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}
.v5-pricing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 28px;
}

/* ---------------------------------------------------------------- Downloads */

.v5-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.v5-download {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: var(--site-raised);
}
.v5-download svg {
  margin-bottom: 12px;
}
.v5-download h3 {
  font-size: 22px;
  font-weight: 600;
}
.v5-download p {
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.5;
}
.v5-download-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.v5-download-actions .v5-button {
  justify-content: space-between;
}
.v5-download-status {
  padding-top: 12px;
  border-top: 1px solid var(--site-border);
  color: var(--site-muted);
  font-size: 15px;
}
.v5-download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 20px;
}
.v5-download-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--site-muted);
  font-size: 15px;
  text-underline-offset: 4px;
}
.v5-download-note {
  max-width: 60ch;
  margin-top: 12px;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1039px) {
  .v5-title {
    font-size: 40px;
  }
  .v5-hero h1 {
    font-size: 60px;
  }
}

/* Three-up cards stay side by side on small laptops and landscape tablets. */
@media (max-width: 879px) {
  .v5-plans,
  .v5-downloads {
    grid-template-columns: minmax(0, 1fr);
  }
  .v5-plan-description {
    min-height: 0;
  }
}

@media (max-width: 719px) {
  .v5-container {
    padding: 0 20px;
  }
  .v5-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .v5-title {
    font-size: 34px;
    line-height: 1.1;
  }
  .v5-lead {
    font-size: 17px;
  }
  .v5-hero {
    padding-top: 112px;
  }
  .v5-hero h1 {
    margin-top: 22px;
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .v5-hero-sub {
    margin-top: 20px;
    font-size: 17px;
  }
  .v5-hero .lyre-hero-downloads {
    margin-top: 28px;
  }
  .v5-hero-ghost .lyre-browser-link {
    flex: 1 1 100%;
  }
  .v5-plan,
  .v5-download {
    padding: 24px;
  }
  .v5-templates {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .v5-hero h1 {
    font-size: 36px;
  }
  .v5-title {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v5-template,
  .v5-text-link span {
    transition: none;
  }
  .v5-template:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------- Shared bits */

.v5-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.v5-kicker {
  margin-bottom: 16px;
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 600;
}
.v5-blog {
  border-top: 1px solid var(--site-border);
}
.v5-blog-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 1200px;
}
.v5-blog .v5-lead {
  margin-top: 0;
  max-width: 65ch;
}
@media (max-width: 1039px) {
  .v5-blog-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ: native disclosure, answers present in the exported HTML. */
.landing-faq {
  border-bottom: 1px solid var(--site-border);
  padding: 20px 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
}
.landing-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  color: var(--site-text);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.landing-faq summary::-webkit-details-marker {
  display: none;
}
.landing-faq summary:focus-visible {
  outline: 2px solid var(--site-text);
  outline-offset: 4px;
  border-radius: 4px;
}
.landing-faq-toggle {
  flex: none;
}
.landing-faq-toggle::before {
  content: '+';
  color: var(--site-muted);
  font-size: 24px;
  font-weight: 300;
}
.landing-faq[open] .landing-faq-toggle::before {
  content: '−';
}
.landing-faq p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 25px;
}

/* Header: translucent blur, ink over the hero, themed afterwards. */
#site-header {
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}
#site-header[data-tone='ink'][data-scrolled='false'] {
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
@media (prefers-reduced-motion: reduce) {
  #site-header {
    transition: none;
  }
}

/* On a phone the desktop installer is hidden; the browser link becomes the primary action. */
.v5-hero .lyre-hero-downloads:not(:has(.lyre-download-primary)) .v5-hero-ghost .lyre-browser-link {
  border-color: #fafafa;
  background: #fafafa;
  color: #111111;
}
