/* ============================================================================
   Public landing page — superblocks.com section structure in Solo's dark
   terminal world (design/landing-superblocks.html is the source mockup).

   Everything is scoped under `.lp-root` and every colour is a raw value, not
   an app token: this is a separately-designed public surface and must neither
   inherit from nor leak into the Porcelain operator theme. The one thing it
   does share is the app's font variables, so it retypesets with the rest of
   the product rather than pulling in three more Google families.

   Theming: dark is the default; `.lp-root[data-theme="light"]` flips the
   page to porcelain (set by the landing's own toggle, persisted in
   localStorage — independent of the operator app's theme). The blog and docs
   pages reuse `.lp-root` for their ground and stay dark; only the landing
   mounts the toggle.
   ========================================================================== */

.lp-root {
  --lp-bg: #06070b;
  --lp-panel: #0d111a;
  --lp-panel2: #111622;
  --lp-edge: #1e2636;
  --lp-text: #e8edf6;
  --lp-dim: #7c879b;
  --lp-mint: #4df2a6;
  --lp-blue: #6b8bff;
  --lp-hot: #ff5d9e;
  --lp-amber: #ffc24b;
  --lp-accent: #4df2a6;
  --lp-accent-border: rgba(77, 242, 166, 0.55);
  --lp-accent-soft: rgba(77, 242, 166, 0.08);
  --lp-blue-soft: rgba(107, 139, 255, 0.12);
  --lp-btn: #4df2a6;
  --lp-btnink: #04150d;
  --lp-well: #0a0e16;
  --lp-deep: #090d15;
  --lp-navbg: rgba(6, 7, 11, 0.82);
  --lp-chipbg: #ffffff;
  --lp-chipborder: rgba(0, 0, 0, 0);
  --lp-chipink: #101418;
  --lp-cardshadow: 0 40px 90px -44px rgba(0, 0, 0, 0.85);
  --lp-softshadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
  --lp-blueprint: rgba(77, 242, 166, 0.14);
  --lp-hatch-a: #0c1019;
  --lp-hatch-b: #101522;
  --lp-glow-mint: 0 0 24px rgba(77, 242, 166, 0.35);
  --lp-glow-blue: 0 0 24px rgba(107, 139, 255, 0.3);

  position: relative;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--font-body), ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}

.lp-root[data-theme="light"] {
  --lp-bg: #f0f3ee;
  --lp-panel: #ffffff;
  --lp-panel2: #e9ede7;
  --lp-edge: #d9dfd8;
  --lp-text: #0b1a12;
  --lp-dim: #57635b;
  --lp-hot: #c22b5e;
  --lp-amber: #9a6b00;
  --lp-blue: #3d5bd9;
  --lp-accent: #0b7a47;
  --lp-accent-border: rgba(11, 122, 71, 0.5);
  --lp-accent-soft: rgba(11, 122, 71, 0.06);
  --lp-blue-soft: rgba(61, 91, 217, 0.08);
  --lp-well: #f2f5f0;
  --lp-deep: #e9ede7;
  --lp-navbg: rgba(240, 243, 238, 0.85);
  --lp-chipborder: #d9dfd8;
  --lp-cardshadow: 0 30px 70px -44px rgba(24, 44, 34, 0.28);
  --lp-softshadow: 0 10px 26px -18px rgba(24, 44, 34, 0.35);
  --lp-blueprint: rgba(11, 122, 71, 0.16);
  --lp-hatch-a: #e7ece5;
  --lp-hatch-b: #f0f3ee;
  --lp-glow-mint: 0 0 24px rgba(15, 150, 90, 0.25);
  --lp-glow-blue: 0 0 24px rgba(61, 91, 217, 0.18);
}

/* atmosphere: grid + neon glows */
.lp-root::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 40% at 82% 0%, rgba(107, 139, 255, 0.13), transparent 65%),
    radial-gradient(45% 36% at 6% 100%, rgba(77, 242, 166, 0.09), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
}
.lp-root[data-theme="light"]::before {
  background:
    radial-gradient(50% 40% at 82% 0%, rgba(61, 91, 217, 0.07), transparent 65%),
    radial-gradient(45% 36% at 6% 100%, rgba(11, 122, 71, 0.06), transparent 65%),
    linear-gradient(rgba(10, 20, 14, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 14, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
}

.lp-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}
.lp-root a {
  color: inherit;
}
.lp-mono {
  font-family: var(--font-mono), ui-monospace, monospace;
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lp-blink {
  50% {
    opacity: 0;
  }
}
@keyframes lp-sweep {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(340%);
  }
}
.lp-reveal {
  opacity: 0;
  animation: lp-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.lp-cur {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--lp-accent);
  transform: translateY(2px);
  animation: lp-blink 1s step-end infinite;
}

/* logo images (white chips keep brand colours legible on both themes) */
.lp-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lp-lg img {
  display: block;
  width: auto;
}

/* announce bar */
.lp-announce {
  background: linear-gradient(90deg, var(--lp-accent-soft), var(--lp-blue-soft));
  border-bottom: 1px solid var(--lp-edge);
}
.lp-announce .lp-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 40px;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 12px;
  color: var(--lp-accent);
}
.lp-announce a {
  color: var(--lp-text);
  text-decoration: none;
  border-bottom: 1px dashed var(--lp-dim);
}
.lp-announce a:hover {
  border-bottom-style: solid;
}

/* nav */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lp-navbg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-edge);
}
.lp-nav .lp-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 40px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.lp-navlinks {
  display: flex;
  gap: 26px;
  font-size: 14px;
}
.lp-navlinks a {
  color: var(--lp-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.lp-navlinks a:hover {
  color: var(--lp-text);
}
.lp-navright {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lp-root .lp-signin {
  font-size: 14px;
  color: var(--lp-dim);
  text-decoration: none;
}
.lp-root .lp-signin:hover {
  color: var(--lp-text);
}
.lp-root .lp-cta {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 13px;
  color: var(--lp-accent);
  border: 1px solid var(--lp-accent-border);
  border-radius: 9px;
  padding: 8px 14px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.lp-root .lp-cta:hover {
  background: var(--lp-accent-soft);
  box-shadow: var(--lp-glow-mint);
}
.lp-root .lp-cta.solid {
  background: var(--lp-btn);
  color: var(--lp-btnink);
  font-weight: 700;
  border-color: var(--lp-btn);
}
.lp-root .lp-cta.solid:hover {
  box-shadow: var(--lp-glow-mint);
  transform: translateY(-1px);
}
.lp-themetoggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--lp-dim);
  background: none;
  border: 1px solid var(--lp-edge);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-themetoggle:hover {
  color: var(--lp-text);
  border-color: var(--lp-dim);
}

/* hero */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
}
.lp-eyebrow {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lp-accent);
}
.lp-root h1 {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.lp-hl {
  display: inline-block;
  padding: 0 12px 2px;
  border: 1px solid var(--lp-accent-border);
  border-radius: 12px;
  background: var(--lp-accent-soft);
  color: var(--lp-accent);
  box-shadow: inset 0 0 30px var(--lp-accent-soft);
}
.lp-sub {
  color: var(--lp-dim);
  font-size: 16px;
  max-width: 56ch;
  margin: 20px 0 0;
}
.lp-sub b {
  color: var(--lp-text);
}
.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}
.lp-root .lp-btn {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 13.5px;
  border-radius: 10px;
  padding: 11px 18px;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.lp-root .lp-btn-primary {
  background: var(--lp-btn);
  color: var(--lp-btnink);
  font-weight: 700;
}
.lp-root .lp-btn-primary:hover {
  box-shadow: var(--lp-glow-mint);
  transform: translateY(-1px);
}
.lp-root .lp-btn-ghost {
  color: var(--lp-text);
  border: 1px solid var(--lp-edge);
}
.lp-root .lp-btn-ghost:hover {
  border-color: var(--lp-dim);
}
.lp-root .lp-btn-play {
  color: var(--lp-dim);
}
.lp-root .lp-btn-play:hover {
  color: var(--lp-text);
}
.lp-root .lp-btn-play b {
  color: var(--lp-accent);
}

/* hero studio card */
.lp-studio {
  border: 1px solid var(--lp-edge);
  border-radius: 18px;
  background: var(--lp-panel);
  box-shadow: var(--lp-cardshadow), var(--lp-glow-blue);
  overflow: hidden;
  position: relative;
}
.lp-studio::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 34%;
  background: linear-gradient(var(--lp-blue-soft), transparent);
  pointer-events: none;
  animation: lp-sweep 6s linear infinite;
}
.lp-st-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--lp-edge);
  background: var(--lp-panel2);
}
.lp-dots {
  display: flex;
  gap: 7px;
}
.lp-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.lp-dots i:nth-child(1) {
  background: #ff5f57;
}
.lp-dots i:nth-child(2) {
  background: #febc2e;
}
.lp-dots i:nth-child(3) {
  background: #28c840;
}
.lp-st-pill {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  color: var(--lp-dim);
  border: 1px solid var(--lp-edge);
  border-radius: 99px;
  padding: 4px 10px;
}
.lp-st-pill b {
  color: var(--lp-accent);
}
.lp-st-body {
  padding: 30px 26px 22px;
  text-align: center;
}
.lp-st-mark {
  display: flex;
  justify-content: center;
}
.lp-st-q {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin: 18px 0 0;
}
.lp-st-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px auto 0;
  max-width: 430px;
  background: var(--lp-well);
  border: 1px solid var(--lp-edge);
  border-radius: 12px;
  padding: 6px 6px 6px 14px;
  text-align: left;
}
.lp-st-input:hover {
  border-color: var(--lp-accent-border);
}
.lp-st-input .ph {
  flex: 1;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 13px;
  color: var(--lp-dim);
  opacity: 0.7;
}
.lp-st-input .go {
  background: var(--lp-btn);
  color: var(--lp-btnink);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-weight: 700;
  font-size: 12.5px;
}
.lp-st-log {
  list-style: none;
  margin: 20px auto 0;
  padding: 14px 0 0;
  max-width: 430px;
  border-top: 1px dashed var(--lp-edge);
  text-align: left;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 2;
}
.lp-st-log li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--lp-dim);
}
.lp-st-log .ok {
  color: var(--lp-accent);
}
.lp-st-log .w {
  color: var(--lp-amber);
}
.lp-st-log .t {
  color: var(--lp-text);
}
.lp-st-log .lp-lg {
  background: #fff;
  border: 1px solid var(--lp-chipborder);
  border-radius: 5px;
  padding: 2px 4px;
}
.lp-st-log .lp-lg img {
  height: 11px;
}

/* stack bar */
.lp-stackbar {
  border-top: 1px solid var(--lp-edge);
  padding: 40px 0 48px;
  text-align: center;
}
.lp-stackbar .lbl {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 12px;
  color: var(--lp-dim);
}
.lp-stackbar .lbl b {
  color: var(--lp-text);
  font-weight: 600;
}
.lp-chipsrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}
.lp-lchip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lp-chipbg);
  border: 1px solid var(--lp-chipborder);
  border-radius: 12px;
  padding: 13px 22px;
  min-width: 150px;
  justify-content: center;
  box-shadow: var(--lp-softshadow);
  transition: transform 0.18s;
}
.lp-lchip:hover {
  transform: translateY(-2px);
}
.lp-lchip .nm {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--lp-chipink);
}
.lp-lchip img {
  height: 20px;
}
.lp-lchip img.tall {
  height: 24px;
}

/* problem statement — the 5% / 95% ratio bar */
.lp-band {
  padding: 84px 0 92px;
  border-top: 1px solid var(--lp-edge);
  text-align: center;
}
.lp-band h2 {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: clamp(23px, 2.8vw, 32px);
  letter-spacing: -0.015em;
  margin: 0;
}
.lp-band .sub {
  color: var(--lp-dim);
  font-size: 14.5px;
  margin: 12px 0 0;
}
.lp-ratio {
  max-width: 880px;
  margin: 40px auto 0;
}
.lp-ratiobar {
  display: flex;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--lp-edge);
}
.lp-ratiobar .app {
  flex: 0 0 8%;
  background: var(--lp-btn);
}
.lp-ratiobar .biz {
  flex: 1;
  background: repeating-linear-gradient(
    45deg,
    var(--lp-hatch-a) 0 10px,
    var(--lp-hatch-b) 10px 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 16px;
}
.lp-ratiobar .it {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--lp-dim);
}
.lp-ratiolbls {
  display: flex;
  margin-top: 14px;
}
.lp-ratiolbls .l1 {
  flex: 0 0 8%;
  min-width: 110px;
  text-align: left;
}
.lp-ratiolbls .l2 {
  flex: 1;
  text-align: right;
}
.lp-ratiolbls .n {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: 26px;
}
.lp-ratiolbls .l1 .n {
  color: var(--lp-accent);
}
.lp-ratiolbls .d {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--lp-dim);
}
.lp-band .claim {
  margin: 36px auto 0;
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 25px);
}
.lp-claimbx {
  display: inline-block;
  padding: 1px 12px 3px;
  border-radius: 10px;
  border: 1px solid var(--lp-accent-border);
  color: var(--lp-accent);
  background: var(--lp-accent-soft);
}

/* section shell */
.lp-section {
  padding: 84px 0;
  border-top: 1px solid var(--lp-edge);
}
.lp-kick {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lp-accent);
}
.lp-root h2.sec {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.lp-grad {
  background: linear-gradient(100deg, var(--lp-accent), var(--lp-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-lead {
  color: var(--lp-dim);
  font-size: 15px;
  max-width: 72ch;
  margin: 16px 0 0;
}
.lp-center {
  text-align: center;
}
.lp-center .lp-lead {
  margin-left: auto;
  margin-right: auto;
}

/* the business factory */
.lp-factorypanel {
  margin-top: 44px;
  border: 1px solid var(--lp-edge);
  border-radius: 18px;
  background: var(--lp-deep);
  padding: 22px;
  box-shadow: var(--lp-cardshadow);
}
.lp-f-toprow {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.lp-f-mini {
  border: 1px solid var(--lp-edge);
  border-radius: 12px;
  background: var(--lp-panel);
  padding: 12px 16px;
}
.lp-f-mini .lbl {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-dim);
  display: block;
  margin-bottom: 10px;
  text-align: center;
}
.lp-toolchips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.lp-tchip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--lp-chipbg);
  border: 1px solid var(--lp-chipborder);
  border-radius: 8px;
  padding: 6px 11px;
}
.lp-tchip img {
  height: 16px;
}
.lp-tchip .nm {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--lp-chipink);
}
.lp-tchip.dark {
  background: var(--lp-panel2);
  border: 1px solid var(--lp-edge);
}
.lp-tchip.dark .nm {
  color: var(--lp-text);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-weight: 500;
}
.lp-tchip.dark .lp-lg {
  background: #fff;
  border-radius: 5px;
  padding: 2px 4px;
}
.lp-f-cols {
  display: grid;
  grid-template-columns: 1fr 26px 1fr 26px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 14px;
}
.lp-f-col {
  border: 1px solid var(--lp-edge);
  border-radius: 12px;
  background: var(--lp-panel);
  padding: 14px;
}
.lp-f-col .ttl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 12px;
  color: var(--lp-text);
  margin-bottom: 12px;
}
.lp-f-col .ttl i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-btn);
  box-shadow: var(--lp-glow-mint);
}
.lp-f-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lp-well);
  border: 1px solid var(--lp-edge);
  border-radius: 9px;
  padding: 8px 11px;
  margin-bottom: 8px;
}
.lp-f-row:last-child {
  margin-bottom: 0;
}
.lp-f-row .lp-lg {
  background: #fff;
  border: 1px solid var(--lp-chipborder);
  border-radius: 6px;
  padding: 3px 5px;
  flex: none;
}
.lp-f-row .lp-lg img {
  height: 13px;
}
.lp-f-row .a {
  font-size: 12.5px;
  color: var(--lp-text);
  font-weight: 600;
  line-height: 1.3;
}
.lp-f-row .b {
  display: block;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--lp-dim);
}
.lp-f-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-accent);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 16px;
  text-shadow: var(--lp-glow-mint);
}
.lp-f-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid var(--lp-edge);
  border-radius: 12px;
  background: var(--lp-panel);
  padding: 10px 14px;
  margin-top: 14px;
}
.lp-f-strip .lbl {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-dim);
  margin-right: 6px;
}
.lp-gchip {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--lp-text);
  border: 1px solid var(--lp-edge);
  border-radius: 99px;
  padding: 5px 12px;
  background: var(--lp-well);
}
.lp-gchip b {
  color: var(--lp-accent);
}
.lp-f-strip .lp-tchip {
  padding: 5px 10px;
}
.lp-f-strip .lp-tchip img {
  height: 12px;
}
.lp-f-strip .lp-tchip .nm {
  font-size: 11px;
}
.lp-blockrow {
  justify-content: center;
}
.lp-blockrow .lp-lg {
  background: #fff;
  border: 1px solid var(--lp-chipborder);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  padding: 7px;
}
.lp-blockrow .lp-lg img {
  height: 100%;
  width: auto;
  max-width: 100%;
}

/* stats + aws ownership card */
.lp-awsgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 44px;
}
.lp-stat {
  border-top: 1px solid var(--lp-edge);
  padding: 18px 0;
}
.lp-stat:first-child {
  border-top: none;
  padding-top: 0;
}
.lp-stat .n {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--lp-accent);
}
.lp-stat .l {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--lp-dim);
}
.lp-statfoot {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  color: var(--lp-dim);
  opacity: 0.65;
  margin-top: 16px;
}
.lp-awscard {
  border: 1px solid var(--lp-edge);
  border-radius: 18px;
  background: var(--lp-panel);
  padding: 22px;
  box-shadow: var(--lp-cardshadow);
}
.lp-awscard .hd {
  display: flex;
  justify-content: center;
  margin: -42px auto 14px;
  width: 86px;
  background: #fff;
  border: 1px solid var(--lp-chipborder);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--lp-softshadow);
}
.lp-awscard .hd img {
  height: 30px;
}
.lp-lockrow {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--lp-edge);
  border-radius: 11px;
  background: var(--lp-well);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.lp-lockrow .lp-lg {
  background: #fff;
  border: 1px solid var(--lp-chipborder);
  border-radius: 6px;
  padding: 3px 5px;
}
.lp-lockrow .lp-lg img {
  height: 14px;
}
.lp-lockrow .a {
  flex: 1;
  font-size: 13.5px;
  color: var(--lp-text);
  font-weight: 600;
}
.lp-lockrow .a small {
  display: block;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--lp-dim);
  font-weight: 400;
}
.lp-lock {
  color: var(--lp-accent);
  font-size: 13px;
}
.lp-awscard .ft {
  text-align: center;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--lp-dim);
  margin-top: 14px;
}
.lp-awscard .ft b {
  color: var(--lp-accent);
}

/* use cases */
.lp-usegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  text-align: left;
}
.lp-usecard {
  border: 1px solid var(--lp-edge);
  border-radius: 14px;
  background: var(--lp-panel);
  padding: 18px;
  transition: all 0.18s;
}
.lp-usecard:hover {
  border-color: var(--lp-accent-border);
  box-shadow: var(--lp-glow-mint);
}
.lp-usecard h4 {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  margin: 0 0 6px;
}
.lp-usecard p {
  color: var(--lp-dim);
  font-size: 13px;
  margin: 0 0 14px;
}
.lp-usecard .viz {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  color: var(--lp-accent);
  background: var(--lp-well);
  border: 1px solid var(--lp-edge);
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.8;
}
.lp-usecard .viz i {
  font-style: normal;
  color: var(--lp-dim);
}
.lp-usecard .viz .g {
  color: var(--lp-accent);
}

/* activity log cards — the log surface stays dark in both themes */
.lp-loggrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.lp-logcard {
  border: 1px solid #1e2636;
  border-radius: 16px;
  background: #05060a;
  padding: 20px 22px;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 2;
  text-align: left;
}
.lp-logcard .hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1e2636;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c879b;
}
.lp-logcard .hd .ok {
  color: #4df2a6;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}
.lp-logcard .c {
  color: #7c879b;
}
.lp-logcard .g {
  color: #4df2a6;
}
.lp-logcard .w {
  color: #ffc24b;
}
.lp-logcard .t {
  color: #e8edf6;
}
.lp-logcard .h {
  color: #ff5d9e;
}

/* feature rows */
.lp-featrow {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}
.lp-featrow:first-of-type {
  margin-top: 44px;
}
.lp-featrow.flip .txt {
  order: 2;
}
.lp-featrow.flip .viz {
  order: 1;
}
.lp-featrow h3 {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 10px 0 0;
}
.lp-featrow p {
  color: var(--lp-dim);
  font-size: 14.5px;
  margin: 14px 0 0;
  max-width: 46ch;
}
.lp-mockpanel {
  border: 1px solid var(--lp-edge);
  border-radius: 16px;
  background: var(--lp-panel);
  padding: 18px;
  box-shadow: var(--lp-cardshadow);
}
.lp-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lp-tile {
  border: 1px solid var(--lp-edge);
  border-radius: 10px;
  background: var(--lp-well);
  padding: 12px;
}
.lp-tile .k {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-dim);
}
.lp-tile .v {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-top: 4px;
}
.lp-tile .v.g {
  color: var(--lp-accent);
}
.lp-approvals {
  margin-top: 10px;
  border: 1px solid var(--lp-edge);
  border-radius: 10px;
  background: var(--lp-well);
  padding: 12px;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11.5px;
  line-height: 2;
  color: var(--lp-dim);
}
.lp-approvals b {
  color: var(--lp-amber);
}
.lp-approvals .g {
  color: var(--lp-accent);
}
.lp-posts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-postrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--lp-edge);
  border-radius: 10px;
  background: var(--lp-well);
  padding: 10px 13px;
  font-size: 12.5px;
}
.lp-postrow .s {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  color: var(--lp-accent);
  white-space: nowrap;
}
.lp-postrow .s.q {
  color: var(--lp-amber);
}

/* final CTA */
.lp-fincard {
  position: relative;
  border: 1px solid var(--lp-edge);
  border-radius: 20px;
  background: var(--lp-panel);
  padding: 74px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--lp-cardshadow);
}
.lp-fincard::before,
.lp-fincard::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 200px;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(var(--lp-blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--lp-blueprint) 1px, transparent 1px);
  background-size: 26px 26px;
}
.lp-fincard::before {
  left: -30px;
  top: -30px;
  mask-image: radial-gradient(closest-side, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.lp-fincard::after {
  right: -30px;
  bottom: -30px;
  mask-image: radial-gradient(closest-side, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.lp-fincard h2 {
  font-family: var(--font-display), ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0;
}
.lp-fincard .lp-lead {
  margin: 16px auto 0;
}
.lp-finctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* footer */
.lp-footer {
  border-top: 1px solid var(--lp-edge);
  padding: 44px 0 40px;
}
.lp-footgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.lp-footgrid .about p {
  color: var(--lp-dim);
  font-size: 13.5px;
  max-width: 34ch;
  margin: 14px 0 18px;
}
.lp-fcol .h {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-dim);
  margin-bottom: 14px;
}
.lp-fcol a {
  display: block;
  color: var(--lp-dim);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 9px;
}
.lp-fcol a:hover {
  color: var(--lp-text);
}
.lp-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--lp-edge);
  margin-top: 40px;
  padding-top: 22px;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  color: var(--lp-dim);
  opacity: 0.75;
}
.lp-legal a {
  color: inherit;
}

@media (max-width: 960px) {
  .lp-hero,
  .lp-awsgrid,
  .lp-featrow,
  .lp-loggrid {
    grid-template-columns: 1fr;
  }
  .lp-featrow.flip .txt {
    order: 1;
  }
  .lp-featrow.flip .viz {
    order: 2;
  }
  .lp-f-cols {
    grid-template-columns: 1fr;
  }
  .lp-f-arrow {
    transform: rotate(90deg);
    padding: 6px 0;
  }
  .lp-f-toprow {
    grid-template-columns: 1fr;
  }
  .lp-usegrid {
    grid-template-columns: 1fr 1fr;
  }
  .lp-footgrid {
    grid-template-columns: 1fr;
  }
  .lp-wrap {
    padding: 0 20px;
  }
}
@media (max-width: 560px) {
  .lp-usegrid {
    grid-template-columns: 1fr;
  }
  .lp-navlinks {
    display: none;
  }

  /* `.lp-nav .lp-wrap` out-specifies the `.lp-wrap` padding rule above, so the
     nav kept its 40px desktop gutters on a phone and pushed the CTA past the
     right edge. Tighten the bar and the controls inside it. */
  .lp-nav .lp-wrap {
    padding: 12px 16px;
    gap: 12px;
  }
  .lp-navright {
    gap: 10px;
  }
  .lp-root .lp-cta.solid {
    padding: 8px 10px;
    font-size: 12px;
  }
  .lp-announce .lp-wrap {
    padding: 0 16px;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-root *,
  .lp-root *::before,
  .lp-root *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .lp-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
