/*
 * Autrady marketing, 2026-09-25: strategy audits.
 * Loaded after marketing.css on every marketing page. The shell rules (fonts, nav, buttons, footer) apply to all
 * marketing pages; the lp-* components only exist on the landing page (body.lp-body).
 * Fonts: IBM Plex Sans and Mono, self-hosted under the SIL Open Font License (fonts/IBM-Plex-OFL.txt).
 */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --lp-ink: #0b1220;
  --lp-text: #3a4556;
  --lp-muted: #5f6b7e;
  --lp-line: #e3e7ee;
  --lp-line-strong: #cbd3df;
  --lp-paper: #f5f6f8;
  --lp-surface: #ffffff;
  --lp-navy: #070d1a;
  --lp-navy-2: #0e1729;
  --lp-blue: #2563eb;
  --lp-blue-hover: #1d4ed8;
  --lp-blue-soft: #e8efff;
  --lp-on-dark: #e6ebf5;
  --lp-on-dark-muted: #a3adc2;
  --lp-pass: #15803d;
  --lp-pass-bg: #e7f5ec;
  --lp-fail: #b42318;
  --lp-fail-bg: #fdeceb;
  --lp-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lp-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --lp-gutter: clamp(18px, 4vw, 48px);
  --lp-shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 14px 34px rgba(11, 18, 32, .08);
}

/* ------------------------------------------------------------------ shell: every marketing page */

.marketing-body {
  background: var(--lp-paper);
  color: var(--lp-text);
  font-family: var(--lp-font);
}

.marketing-body h1,
.marketing-body h2,
.marketing-body h3 {
  color: var(--lp-ink);
  font-family: var(--lp-font);
  letter-spacing: -.015em;
}

.marketing-container {
  width: min(1200px, calc(100% - 2 * var(--lp-gutter)));
  margin-right: auto;
  margin-left: auto;
}

.marketing-nav {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--lp-line);
}

.marketing-nav__inner {
  min-height: 68px;
  gap: 24px;
}

.marketing-brand__logo {
  height: 26px;
}

.marketing-nav__links {
  gap: 28px;
  margin-left: 0;
}

.marketing-nav__links a,
.marketing-nav__login {
  color: var(--lp-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.marketing-nav__links a:hover,
.marketing-nav__login:hover {
  color: var(--lp-ink);
}

.marketing-nav__actions {
  gap: 20px;
}

.marketing-button {
  border-radius: 8px;
  font-family: var(--lp-font);
  font-size: 14px;
  letter-spacing: 0;
}

.marketing-button:hover {
  transform: none;
}

.marketing-button--small {
  min-height: 40px;
  padding: 8px 16px;
  color: #fff;
  background: var(--lp-blue);
}

.marketing-button--small:hover,
.marketing-button--small:focus {
  color: #fff;
  background: var(--lp-blue-hover);
}

.marketing-footer {
  color: #8e9ab1;
  background: var(--lp-navy);
}

.marketing-footer__top {
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.marketing-footer__top > p {
  color: #8e9ab1;
  font-size: 14px;
  line-height: 1.7;
}

.marketing-footer__links {
  flex-wrap: wrap;
  gap: 12px 24px;
}

.marketing-footer__links a {
  color: #c5ccda;
  font-size: 14px;
}

.marketing-footer__bottom {
  color: #74819a;
  font-size: 13px;
}

.marketing-footer__disclaimer {
  max-width: none;
  padding-bottom: 32px;
  color: #6b778f;
  font-size: 12.5px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ shell: legal pages (Privacy, Terms) */

.marketing-static-page__lede {
  font-family: var(--lp-font);
  letter-spacing: 0;
}

.marketing-static-page--legal {
  padding: 5rem 0;
}

.marketing-static-page--legal .marketing-static-page__inner {
  max-width: 48rem;
}

.marketing-static-page--legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.marketing-static-page--legal .marketing-static-page__lede {
  color: var(--lp-muted);
  font-size: 1rem;
}

/* Doubled class: outranks .marketing-static-page__card p in marketing.css. */
.legal-doc.marketing-static-page__card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.legal-doc.marketing-static-page__card > * + * {
  margin-top: .85rem;
}

.legal-doc.marketing-static-page__card > h2 {
  margin-top: 2.2rem;
  margin-bottom: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.legal-doc.marketing-static-page__card > h2:first-child {
  margin-top: 0;
}

.legal-doc.marketing-static-page__card p,
.legal-doc li,
.legal-doc dd {
  color: var(--lp-text);
  font-size: .95rem;
  line-height: 1.7;
}

.legal-doc ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.legal-doc li + li {
  margin-top: .45rem;
}

.legal-doc a {
  color: var(--lp-blue);
  overflow-wrap: anywhere;
}

.legal-entity {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .35rem 1.25rem;
  margin-bottom: 0;
  padding: 1rem 1.25rem;
  background: var(--lp-paper);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
}

.legal-entity dt {
  color: var(--lp-muted);
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.7;
}

.legal-entity dd {
  margin: 0;
}

@media (max-width: 575.98px) {
  .legal-entity {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-entity dd + dt {
    margin-top: .6rem;
  }
}

/* ------------------------------------------------------------------ landing: nav over the dark hero */

.lp-body .marketing-nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .08);
  backdrop-filter: none;
}

.lp-body .marketing-brand__logo {
  filter: brightness(0) invert(1);
}

.lp-body .marketing-nav__links a,
.lp-body .marketing-nav__login {
  color: rgba(230, 235, 245, .82);
}

.lp-body .marketing-nav__links a:hover,
.lp-body .marketing-nav__login:hover {
  color: #fff;
}

.lp-body .marketing-menu-toggle {
  border-color: rgba(255, 255, 255, .28);
}

.lp-body .marketing-menu-toggle span {
  background: #fff;
}

.lp-body .marketing-mobile-menu {
  background: var(--lp-navy-2);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.lp-body .marketing-mobile-menu a {
  color: #c5ccda;
  border-bottom-color: rgba(255, 255, 255, .08);
  font-size: 15px;
}

.lp-body .marketing-mobile-menu a:last-child {
  color: #93b4ff;
}

/* ------------------------------------------------------------------ landing: shared pieces */

.lp {
  overflow-x: clip;
}

.lp p {
  max-width: none;
}

.lp-container {
  width: min(1200px, calc(100% - 2 * var(--lp-gutter)));
  margin-right: auto;
  margin-left: auto;
}

.lp-num {
  color: var(--lp-ink);
  font-family: var(--lp-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.lp-kicker {
  margin: 0 0 12px;
  color: var(--lp-blue);
  font-family: var(--lp-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lp-fine {
  color: var(--lp-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.lp-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.lp-btn:focus-visible {
  outline: 3px solid #93b4ff;
  outline-offset: 2px;
}

.lp-btn--primary {
  color: #fff;
  background: var(--lp-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 20px rgba(37, 99, 235, .26);
}

.lp-btn--primary:hover,
.lp-btn--primary:focus {
  color: #fff;
  background: var(--lp-blue-hover);
}

.lp-btn--ghost {
  color: var(--lp-on-dark);
  background: rgba(255, 255, 255, .04);
  border-color: rgba(230, 235, 245, .3);
}

.lp-btn--ghost:hover,
.lp-btn--ghost:focus {
  color: #fff;
  border-color: rgba(230, 235, 245, .65);
}

.lp-btn--block {
  width: 100%;
}

.lp-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.lp-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.lp-section-head {
  max-width: 740px;
  margin-bottom: 36px;
}

.lp-section-head p,
.lp-luck__intro > p:not(.lp-kicker):not(.lp-fine) {
  margin: 0;
  color: var(--lp-text);
  font-size: 17px;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ hero */

.lp-hero {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: min(100vh, 900px);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: calc(68px + clamp(40px, 8vh, 96px)) 0 clamp(32px, 5vh, 56px);
  color: var(--lp-on-dark);
  background: var(--lp-navy);
  isolation: isolate;
}

.lp-hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--lp-navy) url("../media/hero-poster.webp") center / cover no-repeat;
}

.lp-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}

.lp-hero__video.is-playing {
  opacity: 1;
}

.lp-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 13, 26, .96) 0%, rgba(7, 13, 26, .9) 40%, rgba(7, 13, 26, .66) 72%, rgba(7, 13, 26, .58) 100%),
    linear-gradient(180deg, rgba(7, 13, 26, .45) 0%, rgba(7, 13, 26, 0) 28%, rgba(7, 13, 26, .75) 100%);
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #93b4ff;
  font-family: var(--lp-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lp-eyebrow::before {
  width: 24px;
  height: 1px;
  content: "";
  background: currentColor;
}

.lp-hero h1 {
  max-width: 17ch;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.2rem, 4.3vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.lp-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.lp-questions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 15px;
  color: var(--lp-on-dark);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(230, 235, 245, .24);
  border-radius: 999px;
  font-size: 14.5px;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.lp-questions a:hover,
.lp-questions a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .11);
  border-color: rgba(230, 235, 245, .6);
}

.lp-hero__lede {
  max-width: 56ch;
  margin: 0 0 14px;
  color: #c6cddb;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.6;
}

.lp-hero__method {
  display: flex;
  align-items: baseline;
  gap: 8px;
  max-width: 56ch;
  margin: 0 0 30px;
  color: #93b4ff;
  font-size: 14.5px;
  line-height: 1.5;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--lp-on-dark-muted);
  font-size: 13.5px;
  list-style: none;
}

.lp-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lp-assurances li::before {
  color: #6ee7a0;
  content: "\2713";
  font-weight: 600;
}

.lp-hero__proof {
  margin: clamp(36px, 7vh, 72px) 0 0;
  padding-top: 20px;
  color: var(--lp-on-dark-muted);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14.5px;
}

.lp-hero__proof strong {
  color: #fff;
  font-weight: 600;
}

.lp-hero__proof a {
  margin-left: 6px;
  color: #93b4ff;
  white-space: nowrap;
}

.lp-hero__proof a:hover {
  color: #fff;
}

/* the example audit card in the hero */

.lp-audit {
  width: 100%;
  max-width: 450px;
  justify-self: end;
  padding: 22px 22px 18px;
  color: var(--lp-text);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}

.lp-audit__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  color: var(--lp-muted);
  border-bottom: 1px solid var(--lp-line);
  font-family: var(--lp-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lp-audit__tag {
  color: var(--lp-blue);
  font-weight: 500;
}

.lp-audit__title {
  margin: 14px 0 6px;
  color: var(--lp-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.lp-audit__rows {
  margin: 0;
}

.lp-audit__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--lp-line);
}

.lp-audit__rows dt {
  color: var(--lp-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.lp-audit__rows dt small {
  display: block;
  color: var(--lp-muted);
  font-size: 12.5px;
  font-weight: 400;
}

.lp-audit__rows dd {
  margin: 0;
  color: var(--lp-muted);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.lp-audit__rows .lp-num {
  font-size: 16px;
}

.lp-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  vertical-align: 1px;
}

.lp-chip--pass {
  color: var(--lp-pass);
  background: var(--lp-pass-bg);
}

.lp-chip--fail {
  color: var(--lp-fail);
  background: var(--lp-fail-bg);
}

.lp-verdict {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
}

.lp-verdict--fail {
  background: var(--lp-fail-bg);
}

.lp-verdict p {
  margin: 0;
  color: #5c1d17;
  font-size: 13.5px;
  line-height: 1.5;
}

.lp-stamp {
  flex: none;
  padding: 4px 8px;
  color: var(--lp-fail);
  border: 1.5px solid currentColor;
  border-radius: 4px;
  font-family: var(--lp-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.lp-audit__foot {
  margin: 12px 0 0;
  color: var(--lp-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ------------------------------------------------------------------ luck check */

.lp-luck {
  background: var(--lp-surface);
  border-bottom: 1px solid var(--lp-line);
}

.lp-luck__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.lp-luck__intro .lp-fine {
  margin: 16px 0 0;
}

.lp-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--lp-paper);
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  box-shadow: var(--lp-shadow);
}

.lp-calc__inputs {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
}

.lp-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--lp-ink);
  font-size: 14px;
  font-weight: 500;
}

.lp-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--lp-line-strong);
  border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.lp-input:focus-within {
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}

.lp-input input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0;
  color: var(--lp-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--lp-mono);
  font-size: 16px;
}

.lp-input span {
  color: var(--lp-muted);
  font-family: var(--lp-mono);
  font-size: 15px;
}

.lp-hint {
  margin: 6px 0 0;
  color: var(--lp-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.lp-calc__result {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  color: var(--lp-on-dark);
  background: var(--lp-navy-2);
}

.lp-calc__verdict {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.lp-calc__verdict::before {
  width: 10px;
  height: 10px;
  flex: none;
  content: "";
  background: #94a3b8;
  border-radius: 50%;
}

.lp-calc__verdict[data-state="luck"]::before {
  background: #f97066;
}

.lp-calc__verdict[data-state="real"]::before {
  background: #4ade80;
}

.lp-calc__why {
  margin: 0;
  color: #b9c2d3;
  font-size: 14px;
  line-height: 1.55;
}

.lp-calc__stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  margin: 4px 0 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
}

.lp-calc__stats > div {
  padding: 12px 14px;
  background: var(--lp-navy-2);
}

.lp-calc__stats dt {
  margin-bottom: 4px;
  color: var(--lp-on-dark-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.35;
}

.lp-calc__stats dd {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.lp-calc__result .lp-num {
  color: #fff;
}

.lp-calc__sub {
  display: block;
  margin-top: 2px;
  color: var(--lp-on-dark-muted);
  font-family: var(--lp-font);
  font-size: 12.5px;
}

.lp-calc__sub:empty {
  display: none;
}

.lp-calc__result .lp-btn {
  margin-top: auto;
}

/* ------------------------------------------------------------------ checks */

.lp-checks {
  background: var(--lp-paper);
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.lp-steps li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
}

.lp-steps__n {
  padding-top: 2px;
  color: var(--lp-blue);
  font-family: var(--lp-mono);
  font-size: 13px;
  font-weight: 500;
}

.lp-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lp-ink);
  font-size: 16px;
  font-weight: 600;
}

.lp-steps p {
  margin: 0;
  color: var(--lp-text);
  font-size: 14.5px;
  line-height: 1.55;
}

.lp-ledger-wrap {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, .04);
}

.lp-ledger {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
}

.lp-ledger thead th {
  padding: 14px 20px;
  color: var(--lp-muted);
  background: #fafbfc;
  border-bottom: 1px solid var(--lp-line);
  font-family: var(--lp-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.lp-ledger tbody th,
.lp-ledger tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--lp-line);
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.lp-ledger tbody tr:last-child > * {
  border-bottom: 0;
}

.lp-ledger tbody th {
  width: 26%;
  color: var(--lp-ink);
  font-weight: 600;
}

.lp-ledger tbody td {
  color: var(--lp-text);
}

.lp-ledger tbody td:last-child {
  width: 36%;
  background: #fcfcfd;
}

.lp-checks__note {
  margin: 16px 0 0;
}

/* ------------------------------------------------------------------ what goes in the file */

.lp-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
  margin: 0 0 clamp(40px, 6vw, 64px);
  padding: clamp(20px, 3vw, 32px);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 12px;
}

.lp-file h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 600;
}

.lp-file__points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-file__points li {
  color: var(--lp-text);
  font-size: 15px;
  line-height: 1.6;
}

.lp-file__points strong {
  color: var(--lp-ink);
  font-weight: 600;
}

.lp-file__example {
  overflow: hidden;
  background: var(--lp-paper);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
}

.lp-file__name {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0;
  padding: 10px 14px;
  color: var(--lp-ink);
  border-bottom: 1px solid var(--lp-line);
  font-family: var(--lp-mono);
  font-size: 13px;
}

.lp-file__name span {
  color: var(--lp-muted);
  font-family: var(--lp-font);
}

.lp-file__scroll {
  overflow-x: auto;
}

.lp-file__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--lp-mono);
  font-size: 13.5px;
}

.lp-file__table th,
.lp-file__table td {
  padding: 8px 14px;
  color: var(--lp-ink);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--lp-line);
}

.lp-file__table th {
  color: var(--lp-muted);
  font-weight: 500;
}

.lp-file__table tbody tr:last-child td {
  border-bottom: 0;
}

.lp-file__download {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--lp-blue);
  border-top: 1px solid var(--lp-line);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.lp-file__download:hover,
.lp-file__download:focus-visible {
  color: var(--lp-blue-hover);
  background: var(--lp-blue-soft);
}

/* ------------------------------------------------------------------ pricing and FAQ */

.lp-pricing {
  background: var(--lp-surface);
}

.lp-pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.lp-plan {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  box-shadow: var(--lp-shadow);
}

.lp-plan::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 4px;
  content: "";
  background: var(--lp-blue);
  border-radius: 14px 14px 0 0;
}

.lp-plan h2,
.lp-faq h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}

.lp-plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 6px;
}

.lp-plan__price strong {
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}

.lp-plan__price span {
  color: var(--lp-muted);
  font-size: 15px;
}

.lp-plan__lede {
  margin: 0 0 18px;
  color: var(--lp-text);
  font-size: 16px;
}

.lp-checklist {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.lp-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--lp-text);
  font-size: 15px;
  line-height: 1.5;
}

.lp-checklist li::before {
  position: absolute;
  top: .15em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--lp-blue);
  content: "\2713";
  background: var(--lp-blue-soft);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.lp-plan__fine {
  margin: 14px 0 0;
  color: var(--lp-muted);
  font-size: 13.5px;
  text-align: center;
}

.lp-plan__fine a {
  color: var(--lp-blue);
  font-weight: 500;
}

.lp-faq h2 {
  margin-bottom: 18px;
}

.lp-faq__item {
  border-top: 1px solid var(--lp-line);
}

.lp-faq__item:last-of-type {
  border-bottom: 1px solid var(--lp-line);
}

.lp-faq__item summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--lp-ink);
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 600;
  list-style: none;
}

.lp-faq__item summary::-webkit-details-marker {
  display: none;
}

.lp-faq__item summary::after {
  flex: none;
  color: var(--lp-muted);
  content: "+";
  font-family: var(--lp-mono);
  font-size: 20px;
  font-weight: 400;
}

.lp-faq__item[open] summary::after {
  content: "\2212";
}

.lp-faq__item summary:focus-visible {
  outline: 3px solid #93b4ff;
  outline-offset: 2px;
}

.lp-faq__item p {
  max-width: 62ch;
  margin: 0 0 18px;
  color: var(--lp-text);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ sticky call to action on phones */

.lp-sticky-cta {
  position: fixed;
  z-index: 40;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
}

.lp-sticky-cta .lp-btn {
  box-shadow: 0 12px 30px rgba(7, 13, 26, .35);
}

.lp-sticky-cta .lp-btn span {
  color: #cfdcff;
  font-size: 13px;
  font-weight: 400;
}

/* ------------------------------------------------------------------ luck check from an AI assistant (MCP) */

.lp-assist {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  gap: clamp(24px, 5vw, 72px);
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--lp-line);
}

.lp-assist h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}

.lp-assist__intro > p {
  margin: 0 0 14px;
  color: var(--lp-text);
  font-size: 15px;
  line-height: 1.6;
}

.lp-assist__prompts {
  display: grid;
  align-content: start;
  gap: 10px;
}

.lp-assist__prompts .lp-kicker {
  margin: 0 0 2px;
}

.lp-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  background: var(--lp-paper);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
}

.lp-copy__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--lp-ink);
  font-size: 14.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

code.lp-copy__text {
  padding: 0;
  background: none;
  font-family: var(--lp-mono);
  font-size: 15px;
}

.lp-copy__button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 14px;
  color: var(--lp-ink);
  background: #fff;
  border: 1px solid var(--lp-line-strong);
  border-radius: 6px;
  font-family: var(--lp-font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.lp-copy__button:hover,
.lp-copy__button:focus-visible {
  color: var(--lp-blue);
  border-color: var(--lp-blue);
}

.lp-copy__button.is-copied {
  color: var(--lp-pass);
  border-color: var(--lp-pass);
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .lp-hero__grid,
  .lp-luck__grid,
  .lp-assist,
  .lp-file,
  .lp-pricing__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-audit {
    max-width: 520px;
    justify-self: start;
  }

  .lp-hero h1 {
    max-width: 20ch;
  }
}

@media (max-width: 860px) {
  .marketing-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .marketing-footer__links {
    justify-content: flex-start;
  }

  .lp-steps,
  .lp-calc {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-sticky-cta:not([hidden]) {
    display: block;
  }

  .lp-ledger thead {
    display: none;
  }

  .lp-ledger,
  .lp-ledger tbody,
  .lp-ledger tr,
  .lp-ledger tbody th,
  .lp-ledger tbody td {
    display: block;
    width: auto !important;
  }

  .lp-ledger tr {
    padding: 18px 18px 4px;
    border-bottom: 1px solid var(--lp-line);
  }

  .lp-ledger tbody tr:last-child {
    border-bottom: 0;
  }

  .lp-ledger tbody th {
    padding: 0 0 10px;
    border: 0;
    font-size: 16.5px;
  }

  .lp-ledger tbody td {
    padding: 0 0 14px;
    background: none !important;
    border: 0;
  }

  .lp-ledger tbody td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--lp-muted);
    content: attr(data-label);
    font-family: var(--lp-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
}

@media (max-width: 767px) {
  .lp-hero__media {
    background-image: url("../media/hero-poster-960.webp");
  }
}

@media (max-width: 560px) {
  .lp-hero {
    min-height: 0;
    padding-top: calc(64px + 32px);
  }

  .lp-hero h1 {
    font-size: 2.05rem;
  }

  .lp-hero__lede {
    margin-bottom: 26px;
    font-size: 16px;
  }

  .marketing-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.8;
  }

  .lp-actions .lp-btn {
    width: 100%;
  }

  .lp-audit {
    padding: 18px;
  }

  .lp-audit__head {
    flex-direction: column;
    gap: 4px;
  }

  .lp-audit__rows > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lp-audit__rows dd {
    text-align: left;
    white-space: normal;
  }

  .lp-audit__rows .lp-chip {
    margin-left: 4px;
  }

  .lp-calc__inputs,
  .lp-calc__result {
    padding: 20px;
  }

  .lp-calc__stats dd {
    font-size: 18px;
  }

  .lp-plan__price strong {
    font-size: 44px;
  }

  .lp-section-head p,
  .lp-luck__intro > p:not(.lp-kicker):not(.lp-fine) {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__video {
    display: none;
  }

  .lp-btn,
  .lp-input {
    transition: none;
  }
}
