/* LighterWork landing page sections.
   Tokens, base type, buttons, header, footer and the modal live in theme.css. */

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

.lw-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--lw-hairline); }
.lw-hero__mark {
  position: absolute;
  right: -70px;
  top: 40px;
  width: clamp(300px, 34vw, 540px);
  opacity: 0.07;
  user-select: none;
  pointer-events: none;
}
.lw-hero__inner { position: relative; padding-block: 112px 96px; }
.lw-hero__title {
  margin-top: 22px;
  font-weight: 800;
  font-size: clamp(48px, 7.6vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 900px;
  text-wrap: balance;
}
.lw-hero__sub {
  margin-top: 32px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: rgba(11, 21, 51, 0.65);
  max-width: 600px;
  text-wrap: pretty;
}
.lw-hero__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.lw-hero__note { font-size: 14px; color: rgba(11, 21, 51, 0.5); }

/* ------------------------------------------------------------- proof bar */

.lw-proof { border-bottom: 1px solid var(--lw-hairline); background: var(--lw-white); }
.lw-proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--lw-hairline);
  padding-inline: 0;
}
.lw-proof__cell { background: var(--lw-white); padding: 48px var(--lw-pad); }
.lw-proof__stat {
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
}
.lw-proof__stat--wrap { white-space: normal; }
.lw-pct { font-size: 0.55em; font-weight: 700; }
.lw-proof__label {
  font-family: var(--lw-mono);
  font-size: 12.5px;
  color: rgba(11, 21, 51, 0.55);
  margin-top: 14px;
}
.lw-proof__quote-band { border-top: 1px solid var(--lw-hairline); }
.lw-proof__quote-inner { padding-block: 48px; }

.lw-pullquote {
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(11, 21, 51, 0.85);
  max-width: 860px;
  text-wrap: pretty;
}
.lw-pullquote--light { color: inherit; max-width: none; }
.lw-attrib {
  margin-top: 16px;
  font-family: var(--lw-mono);
  font-size: 12.5px;
  color: rgba(11, 21, 51, 0.5);
}
.lw-attrib--light { color: rgba(245, 247, 251, 0.5); }

/* --------------------------------------------------------------- problem */

.lw-problem { background: var(--lw-ink); color: var(--lw-bg); position: relative; overflow: hidden; }
.lw-problem__ghost {
  position: absolute;
  left: -20px;
  bottom: -60px;
  font-size: clamp(260px, 34vw, 460px);
  line-height: 0.75;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(245, 247, 251, 0.03);
  user-select: none;
  pointer-events: none;
}
.lw-problem__inner {
  position: relative;
  padding-block: 112px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.lw-problem__row { display: flex; gap: 26px; align-items: baseline; }
.lw-problem__num {
  font-family: var(--lw-mono);
  font-size: 14px;
  color: var(--lw-cyan);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.lw-problem__text {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 820px;
  text-wrap: balance;
}
.lw-problem__text--accent { color: var(--lw-cyan); }

/* ----------------------------------------------------------------- shift */

.lw-shift { border-bottom: 1px solid var(--lw-hairline); }
.lw-shift__inner { padding-block: 112px 96px; }
.lw-shift__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: start;
  margin-top: 22px;
}
.lw-shift__title {
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lw-shift__body { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.lw-shift__body p { font-size: 17px; line-height: 1.6; color: rgba(11, 21, 51, 0.72); text-wrap: pretty; }

.lw-principles { margin-top: 80px; display: flex; flex-direction: column; }
.lw-principle {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: 24px 48px;
  padding-block: 28px;
  border-top: 1px solid var(--lw-rule);
}
.lw-principle--last { border-bottom: 1px solid var(--lw-rule); }
.lw-principle__name { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.lw-principle__body { max-width: 560px; }
.lw-principle__body p { font-size: 16px; line-height: 1.55; color: rgba(11, 21, 51, 0.62); text-wrap: pretty; }

.lw-inline-quote {
  margin: 16px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--lw-blue);
  font-size: 14px;
  line-height: 1.55;
  font-style: italic;
  color: rgba(11, 21, 51, 0.55);
  text-wrap: pretty;
}
.lw-inline-quote cite {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: var(--lw-mono);
  font-size: 11.5px;
  color: rgba(11, 21, 51, 0.42);
}

/* ------------------------------------------------------------ how we work */

.lw-how { background: var(--lw-white); border-bottom: 1px solid var(--lw-hairline); }
.lw-how__inner { padding-block: 96px; }
.lw-how__inner .lw-h2 { margin-top: 22px; }
.lw-how__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 40px;
  margin-top: 52px;
}
.lw-step__num {
  font-size: clamp(64px, 7vw, 96px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lw-blue);
  font-variant-numeric: tabular-nums;
}
.lw-step__name { font-size: 20px; font-weight: 700; margin-top: 20px; letter-spacing: -0.015em; }
.lw-step__text { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: rgba(11, 21, 51, 0.62); text-wrap: pretty; }

/* -------------------------------------------------------------- mid CTA */

.lw-midcta { background: var(--lw-blue); }
.lw-midcta__inner {
  padding-block: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lw-midcta__text {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lw-white);
}

/* --------------------------------------------------------------- results */

.lw-results { border-bottom: 1px solid var(--lw-hairline); }
.lw-results__inner { padding-block: 96px; }
.lw-results__inner .lw-h2 { margin-top: 22px; }
.lw-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.lw-card {
  background: var(--lw-white);
  border: 1px solid var(--lw-hairline);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.lw-card__stat {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.lw-pct-sm { font-size: 0.6em; }
.lw-unit { font-size: 0.6em; font-weight: 700; }
.lw-card__title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-top: 18px; }
.lw-card__text { margin-top: 10px; font-size: 15px; line-height: 1.6; color: rgba(11, 21, 51, 0.68); text-wrap: pretty; flex: 1; }
.lw-card__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--lw-hairline);
  font-family: var(--lw-mono);
  font-size: 12px;
  color: rgba(11, 21, 51, 0.45);
}

/* ---------------------------------------------------------- testimonials */

.lw-testimonials__inner { padding-block: 96px; }
.lw-testimonials__inner .lw-h2 { margin-top: 22px; }
.lw-testimonials__embed { margin-top: 44px; min-height: 120px; }
.lw-testimonials__embed .senja-embed { display: block; width: 100%; }

/* Shown only if the third-party widget never renders. */
.lw-testimonials__fallback {
  border: 1px solid var(--lw-hairline);
  border-radius: 14px;
  padding: 48px var(--lw-pad);
  text-align: center;
  font-family: var(--lw-mono);
  font-size: 13px;
  color: rgba(11, 21, 51, 0.45);
  background: var(--lw-white);
}

/* ------------------------------------------------------------- final CTA */

.lw-final { background: var(--lw-ink); color: var(--lw-bg); position: relative; overflow: hidden; }
.lw-final__ghost {
  position: absolute;
  right: -30px;
  top: -40px;
  font-size: clamp(200px, 26vw, 360px);
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(245, 247, 251, 0.025);
  user-select: none;
  pointer-events: none;
}
.lw-final__inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 112px var(--lw-pad) 96px;
  text-align: center;
}
.lw-final__note { margin-top: 8px; font-size: 13.5px; color: rgba(245, 247, 251, 0.4); }
.lw-final__pitch {
  margin: 64px auto 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  max-width: 620px;
  text-wrap: pretty;
}
.lw-final .lw-btn { margin-top: 34px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .lw-principle { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  :root { --lw-pad: 20px; }

  .lw-hero__inner   { padding-block: 72px 64px; }
  .lw-problem__inner { padding-block: 72px; gap: 26px; }
  .lw-shift__inner  { padding-block: 72px 64px; }
  .lw-how__inner,
  .lw-results__inner,
  .lw-testimonials__inner { padding-block: 64px; }
  .lw-final__inner  { padding-block: 72px 64px; }

  .lw-proof__cell { padding: 32px var(--lw-pad); }
  .lw-problem__row { gap: 16px; }
  .lw-shift__top { gap: 28px; }
  .lw-principles { margin-top: 48px; }
  .lw-card { padding: 24px; }
  .lw-midcta__inner { padding-block: 40px; }
  .lw-footer__inner { flex-direction: column; align-items: flex-start; }
  .lw-modal__panel { padding: 28px 24px; }

  /* The oversized background words overflow badly at small widths. */
  .lw-problem__ghost { font-size: 160px; bottom: -24px; }
  .lw-final__ghost   { font-size: 160px; top: -16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
