/* lp.css: /software as a single-offer landing page (12 Oct 2026).
   The first screen is the ad continued: near-black, white sentence-case type,
   the same words they clicked. Below it, paper sections answer the doubts in order.
   Colours from DESIGN.md only. */

.lp {
  --lp-black: #050a16;
  --lp-white: #fff;
  --lp-mute: #c9d2e0;
  --lp-sky: #8cc2ff;
  background: var(--paper);
}
.lp .container { width: min(100% - 32px, 1160px); }

/* Hero ------------------------------------------------------------------ */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0 40px;
  background:
    radial-gradient(90% 60% at 80% 115%, rgba(21, 112, 255, 0.55), rgba(21, 112, 255, 0) 70%),
    linear-gradient(180deg, #050a16 0%, #071330 70%, #0b2253 100%);
  color: var(--lp-white);
}
.lp-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.09; mix-blend-mode: overlay;
}
.lp-hero > * { position: relative; z-index: 1; }
.lp-hero__grid { display: grid; gap: 28px; }
.lp-brand img { display: block; width: 118px; height: auto; }
.lp-hero__title {
  margin: 28px 0 0;
  max-width: 15ch;
  font: 800 clamp(2.3rem, 1.4rem + 4vw, 4.2rem) / 1.04 var(--font-sans);
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--lp-white);
}
.lp-hero__title span { color: var(--lp-sky); }
.lp-hero__pains {
  margin: 20px 0 0;
  max-width: 30em;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
  text-wrap: pretty;
  color: var(--lp-white);
}
.lp-hero__pains + .lp-hero__deal { margin-top: 10px; }
.lp-hero__deal {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--lp-mute);
}
.lp-hero__deal b { color: var(--lp-white); font-weight: 800; }
.lp-facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 16px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--lp-mute); }
.lp-facts li + li::before { content: "·"; margin: 0 10px; opacity: 0.6; }

@media (min-width: 960px) {
  .lp-hero { padding: 28px 0 72px; }
  .lp-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: start; }
  .lp-hero__title { margin-top: 64px; }
  .lp-card { margin-top: 64px; }
}

/* The quiz card ----------------------------------------------------------- */
.lp-card {
  padding: 22px 18px 20px;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  scroll-margin-top: 12px;
}
@media (min-width: 480px) { .lp-card { padding: 28px 28px 24px; } }
.lp-quiz { display: grid; gap: 0; }
.lp-quiz__progress { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.lp-quiz__bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.lp-quiz__bar i { display: block; height: 100%; width: 33%; background: var(--electric); transition: width 0.3s ease; }
.lp-quiz__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.lp-quiz__q { padding: 0; margin: 0 0 14px; font-size: 1.3rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.lp-quiz__hint { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 400; color: var(--ink-3); }

.lp-opts { display: grid; gap: 8px; }
.lp-opts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-opts label { position: relative; display: block; cursor: pointer; }
.lp-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lp-opts span {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff;
  font-weight: 700; line-height: 1.25; color: var(--ink);
  transition: border-color 0.12s, background 0.12s;
}
.lp-opts input[type="checkbox"] + span::before {
  content: ""; flex: none; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 4px; background: #fff;
}
.lp-opts input[type="checkbox"]:checked + span::before {
  border-color: var(--electric);
  background: var(--electric) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.lp-opts label:hover span { border-color: var(--ink-3); }
.lp-opts input:checked + span { border-color: var(--electric); background: #e3edfb; }
.lp-opts input:focus-visible + span { outline: 3px solid var(--electric); outline-offset: 2px; }

.lp-quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 56px; padding: 14px 26px; border: 0; border-radius: 14px;
  background: var(--deep); color: #fff; font: 800 1.0625rem/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer;
}
.lp-btn:hover { background: #12203c; }
.lp-btn:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }
.lp-btn--block { width: 100%; margin-top: 6px; }
.lp-btn--light { background: #fff; color: var(--deep); margin-top: 22px; }
.lp-btn--light:hover { background: #dbe9ff; }
.lp-back { padding: 10px 2px; border: 0; background: none; color: var(--ink-3); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lp-quiz__step[data-step="3"] .lp-back { margin-top: 4px; }
.lp-quiz .field { margin-top: 0; margin-bottom: 12px; }
.lp-quiz__promise { margin: 12px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.lp-quiz__promise b { color: var(--ink); }
.lp .lead-form__privacy { margin-top: 6px; font-size: 0.75rem; color: var(--ink-3); }
.lp .lead-form__submit.is-loading .sw-cta__arrow { display: none; }

/* Sections ---------------------------------------------------------------- */
.lp-sec { padding-block: clamp(56px, 8vw, 104px); }
.lp-paper { background: var(--paper); color: var(--ink); }
.lp-dark {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(80% 70% at 15% 110%, rgba(21, 112, 255, 0.35), rgba(21, 112, 255, 0) 70%), var(--lp-black);
}
.lp-h2 {
  margin: 0; max-width: 22ch;
  font: 800 clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem) / 1.1 var(--font-sans);
  letter-spacing: -0.02em; text-wrap: balance;
}
.lp-dark .lp-h2 { color: #fff; }
.lp-sec p { font-size: 1.0625rem; line-height: 1.55; }

/* What happens next: a timeline with real times */
.lp-time { list-style: none; margin: 32px 0 0; padding: 0; border-top: 2px solid var(--ink); max-width: 920px; }
.lp-time li { display: grid; gap: 4px 32px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.lp-time__when { margin: 0; font-size: 0.8125rem !important; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink); }
.lp-time h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.lp-time li p:not(.lp-time__when) { margin: 6px 0 0; max-width: 40em; color: var(--ink-2); }
@media (min-width: 720px) { .lp-time li { grid-template-columns: 200px minmax(0, 1fr); } .lp-time__when { padding-top: 4px; } }

/* One picture of the outcome */
.lp-see { display: grid; gap: 36px; align-items: center; }
.lp-see__copy p { margin: 16px 0 0; max-width: 34em; color: var(--lp-mute); }
.lp-see__fig { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lp-see__fig figcaption { font-size: 0.8125rem; color: var(--lp-mute); text-align: center; max-width: 30em; }
@media (min-width: 900px) { .lp-see { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; } }
.lp-phone { width: min(100%, 320px); padding: 10px; border-radius: 36px; background: #000; border: 1px solid rgba(255, 255, 255, 0.18); }
.lp-phone__screen { padding: 26px 18px 22px; border-radius: 27px; background: var(--card); color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-phone__from { margin: 0 !important; font-size: 0.7rem !important; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.lp-phone__hi { margin: 6px 0 12px !important; font-size: 1.2rem !important; font-weight: 800; line-height: 1.2 !important; color: var(--ink); }
.lp-phone__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: m; }
.lp-phone__list li { counter-increment: m; display: grid; grid-template-columns: 1.3em minmax(0, 1fr) auto; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; line-height: 1.35; align-items: baseline; }
.lp-phone__list li::before { content: counter(m); font-weight: 900; color: var(--blue-ink); }
.lp-phone__list b { font-weight: 800; }
.lp-phone__rest { margin: 12px 0 0 !important; font-size: 0.875rem !important; color: var(--ink-3); }

/* Price */
.lp-price { display: grid; gap: 32px; }
.lp-price__big { margin: 18px 0 0; max-width: 24em; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem) !important; font-weight: 800; line-height: 1.3 !important; color: var(--ink); }
.lp-price > div > p:not(.lp-price__big) { color: var(--ink-2); max-width: 34em; }
.lp-price__side { display: grid; gap: 16px; }
.lp-maths, .lp-founding { padding: 20px 22px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.lp-founding { border: 2px solid var(--ink); }
.lp-maths p, .lp-founding p { margin: 6px 0 0; color: var(--ink); }
.lp-maths__label { margin: 0 !important; font-size: 0.75rem !important; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink) !important; }
.lp-maths__note { font-size: 0.875rem !important; color: var(--ink-3) !important; }
@media (min-width: 900px) { .lp-price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }

/* FAQ */
.lp-faq-sec { padding-top: 0; }
.lp-faq { display: grid; gap: 24px; }
.lp-faq__list { border-top: 2px solid var(--ink); }
.lp-faq details { border-bottom: 1px solid var(--line-2); }
.lp-faq summary { position: relative; padding: 18px 40px 18px 0; font-size: 1.125rem; font-weight: 800; color: var(--ink); list-style: none; cursor: pointer; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 500; color: var(--blue-ink); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq summary:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; }
.lp-faq details p { margin: 0 0 18px; max-width: 40em; color: var(--ink-2); }
@media (min-width: 900px) { .lp-faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; } }

.lp-last p { color: var(--lp-mute); margin: 12px 0 0; }

/* Sticky button: flat, like the rest */
.lp .sw-stickybar { background: linear-gradient(rgba(5, 10, 22, 0), rgba(5, 10, 22, 0.9) 40%); }
.lp .sw-stickybar .sw-cta { border-radius: 14px; background: #fff; color: var(--deep); letter-spacing: 0; text-transform: none; font-size: 1.0625rem; }
@media (prefers-reduced-motion: reduce) { .lp-quiz__bar i { transition: none; } }
