/* The landing page (landing.html): what fastgenplus.com shows someone who isn't signed in. Built from the canvas
   "FastGen landing and plans: hi-fi", with its sizes and spacing; the colours are the app's (app.css :root) plus
   one second accent, amber. Amber is a fill under ink, or text and straps on ink and blue grounds — never amber text
   or thin lines on white or paper, where it can't be read. Blue stays the colour of buttons.

   One switch, at 780 px (the canvas's): below it the header becomes Sign in plus a menu. Everything else wraps by
   itself, card by card. Every class here starts lp-, so nothing in app.css or pages.css is touched. */

.lp-body {
  --amber: #ffbc54;
  --ink: #141414;
  --on-dark: #d6d6d2; /* body text on the ink and blue grounds */
  --on-blue: #dce3f7; /* small print on the blue Pro card */
  --dashed: #bdbdb8; /* placeholder outlines */
  --accent-hover: #17338f;
  --side: clamp(16px, 4vw, 48px);
  height: auto;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.5 var(--font);
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.lp-body) {
    scroll-behavior: smooth;
  }
}

/* Zero weight (:where), so every rule below wins over these without help. */
:where(.lp-body) :where(h1, h2, h3, p, ul, ol, figure, blockquote) {
  margin: 0;
}

:where(.lp-body) :where(ul, ol) {
  padding: 0;
  list-style: none;
}

:where(.lp-body) a {
  color: var(--accent);
}

.lp-body :is(a, summary, button):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* On the ink and blue grounds the brighter blue ring would disappear. */
.lp-body :is(.lp-dark, .lp-cta, .lp-foot, .lp-plan.is-featured) :is(a, summary, button):focus-visible {
  outline-color: #fff;
}

.lp-skip {
  position: absolute;
  inset-inline-start: var(--sp-4);
  top: -100px;
  z-index: 50;
  padding: var(--sp-2) var(--sp-4);
  background: var(--surface);
  border-radius: var(--radius-xs);
}

.lp-skip:focus {
  top: var(--sp-2);
}

.lp-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.lp-wrap-text {
  max-width: 800px;
}

.lp-blue {
  color: var(--accent);
}

.lp-amber {
  color: var(--amber);
}

/* ---- buttons and links ---- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease);
}

.lp-btn:hover {
  background: var(--accent-hover);
}

.lp-btn-sm {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.lp-btn-lg {
  height: 56px;
  padding: 0 30px;
  font-size: 17px;
}

.lp-btn-block {
  display: flex;
  width: 100%;
}

.lp-btn-white {
  padding: 0 32px;
  background: #fff;
  color: var(--accent);
}

.lp-btn-white:hover {
  background: #e8ecf8;
}

.lp-btn-outline {
  height: 48px;
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.lp-btn-outline:hover {
  background: var(--surface-2);
}

.lp-text-link {
  display: inline-flex;
  align-items: center;
  height: 56px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.lp-text-link:hover,
.lp-arrow-link:hover {
  text-decoration: underline;
}

.lp-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 0;
  font-weight: 700;
  text-decoration: none;
}

/* ---- header ---- */

.lp-head {
  position: relative;
  z-index: 20;
  padding: 10px var(--side);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.lp-head-row {
  display: flex;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.lp-logo {
  flex: none;
  display: block;
  padding: 4px 0;
  line-height: 0;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline-start: 36px;
}

.lp-nav a,
.lp-head-signin {
  padding: 14px 0 11px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.lp-nav a:hover,
.lp-head-signin:hover {
  border-bottom-color: var(--line);
}

.lp-head-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-inline-start: auto;
}

.lp-head-phone {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  margin-inline-start: auto;
}

.lp-head-phone .lp-btn-sm {
  padding: 0 18px;
}

.lp-menu > summary {
  list-style: none;
}

.lp-menu > summary::-webkit-details-marker {
  display: none;
}

.lp-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xs);
  color: var(--ink);
  cursor: pointer;
}

.lp-ico-close,
.lp-menu[open] .lp-ico-menu {
  display: none;
}

.lp-menu[open] .lp-ico-close {
  display: block;
}

.lp-menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  padding: 4px var(--side) 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.16);
}

.lp-menu-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
}

.lp-menu-panel .lp-btn {
  margin-top: 12px;
}

/* The language menu (js/landing-page.js): beside Sign in, only as wide as the language's name; in the phone menu, under
   the links. */
.lp-lang .menu-button {
  width: auto;
}

.lp-menu-lang {
  margin-top: 12px;
}

/* ---- the Arabic pages (/ar, /ar/pricing): right to left ---- */

/* Arrows point the way the line reads. */
:root[dir='rtl'] :is(.lp-btn, .lp-arrow-link) svg {
  transform: scaleX(-1);
}

/* Arabic letters join: the headings' tightened or spaced-out letters would break the words apart. */
:root[lang='ar'] .lp-body * {
  letter-spacing: 0;
}

/* The header's links in a menu while a row would be too narrow for them: the Arabic row (Plans, About, Contact us, the
   language, Sign in, Start your free trial) needs about 860px. */
@media (max-width: 919px) {
  .lp-nav,
  .lp-head-actions {
    display: none;
  }

  .lp-head-phone {
    display: flex;
  }
}

/* The line in Arabic over this page while it is English only (server/landing.mjs). */
.lp-note {
  padding: var(--sp-4) var(--side) 0;
}

/* ---- sections ---- */

.lp-section {
  padding: clamp(48px, 7vw, 104px) var(--side);
}

.lp-white {
  background: var(--surface);
}

.lp-title {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.lp-title-narrow {
  max-width: 16em;
  margin-bottom: 48px;
}

.lp-title-gap {
  margin-top: clamp(64px, 8vw, 112px);
}

.lp-title-faq {
  margin-bottom: 32px;
}

.lp-lead {
  max-width: 36em;
  margin-bottom: 40px;
  color: var(--text-2);
  font-size: clamp(17px, 1.5vw, 19px);
}

.lp-lead-tight {
  margin-bottom: 20px;
}

/* A label on a coloured strap: blue on paper, amber on ink and blue. */
.lp-strap {
  display: inline-block;
  margin-bottom: 28px;
  padding: 9px 22px;
  background: var(--accent);
}

.lp-strap span {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lp-strap-amber {
  padding: 8px 20px;
  background: var(--amber);
}

.lp-strap-amber span {
  color: var(--ink);
}

.lp-strap-big {
  margin-bottom: 40px;
  padding: 10px 24px;
}

.lp-strap-big span {
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0;
  text-transform: none;
}

/* An amber disc or tile with an ink icon on it. */
.lp-disc,
.lp-tile,
.lp-check,
.lp-chev,
.lp-step-n {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--ink);
}

/* A picture still to come: a labelled box in its place. */
.lp-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 2px dashed var(--dashed);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-3);
  font-size: 14px;
  text-align: center;
}

.lp-shot svg {
  color: var(--accent);
}

/* ---- hero ---- */

.lp-hero {
  padding: clamp(40px, 6vw, 88px) var(--side) clamp(48px, 6vw, 96px);
}

.lp-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  text-align: center;
}

.lp-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  min-width: 0;
}

.lp-hero-title {
  margin-bottom: 24px;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.lp-hero-text {
  max-width: 36em;
  margin-bottom: 36px;
  color: var(--text-2);
  font-size: clamp(18px, 1.7vw, 21px);
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 28px;
}

.lp-hero-note {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 14px;
}

.lp-browser {
  width: 100%;
  max-width: 1040px;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.16);
}

.lp-browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.lp-browser-dots {
  flex: none;
  display: flex;
  gap: 6px;
}

.lp-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d2d2ce;
}

.lp-browser-address {
  flex: 1;
  min-width: 0;
  max-width: 360px;
  margin: 0 auto;
  padding: 4px 14px;
  background: var(--surface);
  border-radius: var(--radius-xs);
  color: var(--text-3);
  font-size: 12px;
  line-height: 18px;
}

.lp-browser-end {
  flex: none;
  width: 36px;
}

/* The editor itself, filling the frame under its address bar. */
.lp-browser-view {
  background: var(--canvas-bg);
}

.lp-browser-shot {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- trust ---- */

.lp-trust {
  padding: clamp(24px, 3vw, 36px) var(--side);
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.lp-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.lp-trust-list li {
  flex: 1 1 230px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}

.lp-disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

/* ---- founder, testimonials, logos ---- */

.lp-proof {
  padding-block: clamp(48px, 6vw, 96px);
}

.lp-founder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.lp-avatar {
  flex: none;
  width: 72px;
  height: 72px;
  border: 2px dashed var(--dashed);
  border-radius: 50%;
}

.lp-avatar-sm {
  width: 44px;
  height: 44px;
}

/* A real face in the circle: no dashed outline, and the photo filling it. */
.lp-avatar-photo {
  display: block;
  border: 0;
  object-fit: cover;
  background: var(--surface-3);
}

.lp-founder-copy {
  flex: 1 1 340px;
  min-width: 0;
}

.lp-founder-quote {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.lp-founder-quote mark {
  background: linear-gradient(transparent 58%, var(--amber) 58%);
  color: inherit;
}

.lp-founder-who {
  color: var(--text-3);
  font-size: 15px;
}

.lp-eyebrow {
  margin: clamp(32px, 4vw, 48px) 0 16px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lp-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.lp-quote {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border: 2px dashed var(--dashed);
  border-radius: var(--radius-lg);
}

.lp-quote blockquote {
  color: var(--text-3);
  font-size: 18px;
  line-height: 1.45;
}

.lp-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--text-3);
  font-size: 14px;
}

.lp-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 20px;
  padding: 20px 28px;
  border: 2px dashed var(--dashed);
  border-radius: var(--radius-lg);
  color: var(--text-3);
  font-size: 14px;
}

.lp-logo-slot {
  width: 112px;
  height: 36px;
  border: 1.5px dashed var(--dashed);
  border-radius: 4px;
}

/* ---- the 11:40 p.m. block: the one dark section ---- */

.lp-dark {
  padding: clamp(56px, 8vw, 120px) var(--side);
  background: var(--ink);
  color: #fff;
}

.lp-dark-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px clamp(32px, 6vw, 88px);
}

.lp-dark-head {
  flex: 1 1 360px;
  min-width: 0;
}

.lp-dark-title {
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lp-dark-copy {
  flex: 1 1 420px;
  min-width: 0;
  color: var(--on-dark);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

.lp-dark-copy p + p {
  margin-top: 18px;
}

.lp-dark-copy .lp-dark-punch {
  margin-top: 28px;
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  font-weight: 700;
}

/* ---- what you get ---- */

.lp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.lp-feature {
  flex: 1 1 440px;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.lp-tile {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: var(--radius);
}

.lp-feature h3,
.lp-tool h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.lp-feature p,
.lp-step p,
.lp-role p,
.lp-tool p {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.55;
}

/* ---- how it works ---- */

.lp-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 32px;
}

.lp-step {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
}

.lp-step-n {
  position: absolute;
  top: -19px;
  inset-inline-start: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
}

.lp-shot-step {
  aspect-ratio: 4 / 3;
}

/* A step's screenshot of FastGen itself (images/step-*), framed like a card. */
.lp-step-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.lp-step h3,
.lp-role h3 {
  margin: 20px 0 6px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.lp-statement {
  max-width: 28em;
  margin: 56px 0 24px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* ---- posters, and who it is for ---- */

/* The four posters at their own shapes, none cropped: side by side, each is as wide as its shape takes, so all are as
   tall and their captions level. */
.lp-posters {
  display: flex;
  gap: 20px;
}

.lp-posters > li {
  flex: 16 1 0;
  min-width: 0;
}

.lp-posters > .lp-poster-3x4 {
  flex-grow: 15;
}

.lp-poster-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

/* Narrow, two to a row: the same shares, so those in a row are as tall. */
@media (max-width: 779px) {
  .lp-posters {
    flex-wrap: wrap;
  }

  .lp-posters > li {
    flex-basis: 44%;
  }

  .lp-posters > .lp-poster-3x4 {
    flex-basis: 41.25%;
  }
}

.lp-caption {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 13px;
}

/* ---- post sizes: one poster at each, all at the same scale, so a 1920-wide one takes the room of 1920/1080 ---- */

.lp-sizes {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.lp-sizes > li {
  flex: 1080 1 0;
  min-width: 0;
}

.lp-sizes > .lp-size-16x9 {
  flex-grow: 1920;
}

.lp-size-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.lp-size-name {
  margin-top: 12px;
  font-weight: 700;
  font-size: 15px;
}

.lp-size-name span {
  margin-inline-start: 4px;
  color: var(--text-3);
  font-weight: 600;
}

.lp-size-px {
  color: var(--text-3);
  font-size: 13px;
}

/* ---- type and photo tools: each screenshot beside what it does, on the other side from one row to the next ---- */

.lp-tools {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}

.lp-tool {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 56px;
}

.lp-tool:nth-child(even) {
  grid-template-columns: 5fr 7fr;
}

.lp-tool:nth-child(even) .lp-tool-shot {
  order: 2;
}

.lp-tool-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

@media (max-width: 779px) {
  .lp-tool,
  .lp-tool:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lp-tool:nth-child(even) .lp-tool-shot {
    order: 0;
  }
}

/* Too narrow for five in a row: two by two, the wide one across both. */
@media (max-width: 779px) {
  .lp-sizes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 28px 16px;
    max-width: 480px;
  }

  .lp-sizes > .lp-size-16x9 {
    grid-column: 1 / -1;
  }
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.lp-chips li {
  padding: 8px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}

.lp-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
}

.lp-role {
  flex: 1 1 280px;
  min-width: 0;
  padding-top: 18px;
  border-top: 6px solid var(--amber);
}

.lp-role h3 {
  margin: 0 0 8px;
}

/* ---- plans (the cards come from server/landing.mjs) ---- */

.lp-plans {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.lp-plan {
  flex: 1 1 280px;
  min-width: 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.lp-plan.is-featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.16);
}

.lp-plan h3 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.lp-price {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lp-price span {
  color: var(--text-3);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.lp-plan.is-featured .lp-price span {
  color: var(--on-blue);
}

/* Monthly / Annual (js/landing-page.js): both prices are in each card, the one picked shown. */
.lp-billing {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 28px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lp-billing-option {
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text-3);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.lp-billing-option:hover {
  color: var(--ink);
}

.lp-billing-option.is-on {
  background: var(--accent);
  color: #fff;
}

.lp-period[data-period='year'],
.lp-by-year .lp-period[data-period='month'] {
  display: none;
}

.lp-by-year .lp-period[data-period='year'] {
  display: block;
}

/* Under a yearly price: what it comes to a month, and the saving. */
.lp-price-note {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 14px;
}

.lp-plan.is-featured .lp-price-note {
  color: var(--on-blue);
}

/* "Pricing coming soon", while the Super Admin hasn't set the price yet. */
.lp-price.is-unset {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lp-plan hr {
  height: 1px;
  margin: 24px 0;
  border: 0;
  background: var(--line);
}

.lp-plan.is-featured hr {
  background: rgb(255 255 255 / 0.35);
}

.lp-plan ul,
.lp-included ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-plan li,
.lp-included li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.lp-included {
  margin-top: 24px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.lp-included h3 {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 17px;
}

.lp-included ul {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 36px;
}

.lp-included li {
  gap: 10px;
}

.lp-talk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-top: 28px;
}

.lp-talk p {
  color: var(--text-2);
  font-size: 17px;
}

/* ---- questions ---- */

.lp-faq {
  padding: 4px 0;
  border-top: 1px solid var(--line);
}

.lp-faqs {
  border-bottom: 1px solid var(--line);
}

.lp-faq > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 18px 0;
  list-style: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  cursor: pointer;
}

.lp-faq > summary::-webkit-details-marker {
  display: none;
}

.lp-chev {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.lp-chev svg {
  transition: transform var(--dur) var(--ease);
}

.lp-faq[open] .lp-chev svg {
  transform: rotate(180deg);
}

.lp-faq p {
  max-width: 38em;
  margin-bottom: 18px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.55;
}

/* ---- closing call to action ---- */

.lp-cta {
  padding: clamp(56px, 8vw, 120px) var(--side);
  background: var(--accent);
  color: #fff;
}

.lp-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  text-align: center;
}

.lp-cta-title {
  margin-bottom: 28px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

/* ---- footer ---- */

.lp-foot {
  padding: clamp(40px, 5vw, 72px) var(--side);
  background: var(--ink);
  color: var(--on-dark);
  font-size: 15px;
}

.lp-foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 32px;
}

.lp-foot-brand {
  flex: 1 1 220px;
  min-width: 0;
}

/* The logo in white: drawn as a shape filled with a colour, like the sign-in panel's (.auth-brand-logo). */
.lp-foot-logo {
  display: block;
  width: 91px;
  height: 48px;
  background-color: #fff;
  -webkit-mask: url('../FastGen-logo.svg') center / contain no-repeat;
  mask: url('../FastGen-logo.svg') center / contain no-repeat;
}

@media (forced-colors: active) {
  .lp-foot-logo {
    forced-color-adjust: none;
    background-color: CanvasText !important;
  }
}

.lp-foot-brand p {
  margin-top: 14px;
  color: var(--amber);
  font-weight: 700;
}

.lp-foot-col {
  flex: 1 1 140px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lp-foot-col h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.lp-foot-col :is(a, .link-btn) {
  padding: 7px 0;
  color: var(--on-dark);
  font-size: 15px;
  text-decoration: none;
}

.lp-foot-col :is(a, .link-btn):hover {
  color: #fff;
  text-decoration: none;
}

.lp-copy {
  margin-top: 48px;
  color: var(--text-4);
  font-size: 14px;
}

/* ---- shared bits ---- */

/* The page you're on, in the header (js/landing-page.js marks it): Plans on /pricing. */
.lp-nav a[aria-current='page'] {
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.lp-menu-link[aria-current='page'] {
  font-weight: 700;
}

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

.lp-small {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 14px;
}

/* ---- the Plans page (/pricing) ---- */

.lp-pricing-hero {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.lp-pricing-intro {
  max-width: 820px;
  text-align: center;
}

.lp-pricing-title {
  margin-bottom: 20px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.05;
}

.lp-pricing-text {
  max-width: 34em;
  margin-bottom: 0;
}

.lp-pricing-plans {
  padding: clamp(16px, 3vw, 32px) var(--side) clamp(48px, 6vw, 88px);
}

.lp-plans-full {
  gap: 20px;
}

.lp-plan-full {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.lp-plan-full h2 {
  margin: 28px 0 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

/* Who the plan fits: the description from Super Admin → Plans. */
.lp-plan-fit {
  margin-bottom: 20px;
  color: var(--text-3);
  font-size: 14px;
  font-style: italic;
}

.lp-plan.is-featured .lp-plan-fit {
  color: var(--on-blue);
}

.lp-plan-full .lp-price {
  font-size: 48px;
}

.lp-plan-full .lp-price.is-unset {
  font-size: 28px;
}

.lp-plan-full hr {
  margin: 22px 0;
}

.lp-plan-full ul {
  margin-bottom: 28px;
}

.lp-plan-full .lp-btn {
  height: 52px;
  margin-top: auto;
}

/* The "Let's talk" plan: quieter than the ones to start a trial on. */
.lp-plan.is-quiet {
  background: var(--surface-2);
  box-shadow: none;
}

.lp-plan.is-quiet hr {
  background: #d2d2ce;
}

.lp-compare-box {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.lp-compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 16px;
}

.lp-compare thead th {
  padding: 18px 12px;
  border-bottom: 3px solid transparent;
  text-align: center;
  font-weight: 700;
  font-size: 17px;
}

.lp-compare thead th:first-child {
  padding-inline: 20px;
}

.lp-compare thead th.is-featured {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.lp-compare tbody tr {
  border-top: 1px solid var(--line);
}

.lp-compare-group th {
  padding: 12px 20px;
  background: var(--bg);
  color: var(--text-3);
  text-align: start;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-compare tbody th[scope='row'] {
  padding: 15px 20px;
  text-align: start;
  font-weight: 600;
}

.lp-compare td {
  padding: 15px 12px;
  text-align: center;
}

.lp-compare td.is-featured {
  font-weight: 700;
}

.lp-tick {
  display: inline-flex;
  vertical-align: middle;
  color: var(--accent);
}

/* Questions on the paper ground: a line a step darker, to show on it. */
.lp-faqs-on-paper,
.lp-faqs-on-paper .lp-faq {
  border-color: #d2d2ce;
}

.lp-pricing-cta {
  max-width: 800px;
}

.lp-pricing-cta .lp-cta-title {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
}

.lp-cta-text {
  max-width: 30em;
  margin-bottom: 36px;
  color: var(--on-blue);
  font-size: clamp(18px, 1.7vw, 21px);
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 28px;
}

.lp-cta-link {
  display: inline-flex;
  align-items: center;
  height: 56px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

/* ---- page not found (site/not-found.html): the hero's words alone, with room above and below so the footer
   doesn't ride up under them on a tall screen ---- */

.lp-missing {
  padding-top: clamp(56px, 9vw, 128px);
  padding-bottom: clamp(72px, 11vw, 160px);
}

.lp-missing-copy {
  max-width: 760px;
  text-align: center;
}

.lp-missing-title {
  margin-bottom: 20px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.05;
}

.lp-missing-text {
  max-width: 30em;
  text-wrap: balance;
}
