/* Landing, design v2 (docs/DESIGN-DIRECTION.md + Amendment). Monochrome, hairline borders, bordered grid cells,
   two-tone headlines, quiet type. The only motion is the shared blur-in (.reveal in base.css), the logo cloud's
   blur crossfade and small moves inside the feature skeletons. Everything is static with reduced motion. */

/* ---------- shared bits ---------- */
.lp-two .tl { display: block; }
.lp-section { padding-block: clamp(72px, 9vw, 128px) 0; }
.lp-section > .h2 { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.lp-textlink { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.lp-textlink:hover { text-decoration-color: currentColor; }
.lp-fine { margin-top: 18px; max-width: 72ch; font-size: 0.86rem; color: var(--text-3); }
.lp-more { margin-top: 24px; }
.lp-band-title { font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em; color: var(--text); text-align: center; }
.lp-band-title .tone-2 { color: var(--text-3); }

/* ---------- hero ---------- */
.lp-hero {
  display: grid; gap: clamp(36px, 5vw, 64px); align-items: center;
  padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px);
}
@media (min-width: 980px) { .lp-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.lp-hero-copy { display: grid; gap: 22px; align-content: center; min-width: 0; }
.lp-display {
  font-family: var(--font-display); font-weight: 560; letter-spacing: -0.035em; line-height: 1.16;
  font-size: clamp(2.1rem, 2.2vw + 1.2rem, 3.2rem); text-wrap: balance;
}
.lp-display .tl { display: block; }
.lp-sub { max-width: 54ch; font-size: clamp(1.02rem, 0.3vw + 0.95rem, 1.12rem); line-height: 1.6; color: var(--text-2); }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.lp-url { font-size: 0.86rem; overflow-wrap: anywhere; }
.lp-url code { font-size: 0.86rem; }

.lp-clip { margin: 0; display: grid; gap: 10px; min-width: 0; }
.lp-clip-frame {
  position: relative; overflow: hidden; border-radius: var(--r-l); border: 1px solid var(--line-strong);
  background: var(--surface-2); aspect-ratio: 900 / 880; width: 100%; max-width: 560px; justify-self: end;
}
.lp-clip-frame.is-wide { aspect-ratio: 16 / 9; max-width: none; }
.lp-clip-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-clip-cap { font-size: 0.82rem; color: var(--text-3); justify-self: end; max-width: 560px; width: 100%; }
@media (max-width: 979px) { .lp-clip-frame, .lp-clip-cap { justify-self: stretch; max-width: none; } }
.lp-clip-toggle {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--r-m);
  background: rgba(10, 10, 10, 0.7); color: #fff; font: 500 0.84rem/1 var(--font); cursor: pointer;
}
.lp-clip-toggle:hover { background: rgba(10, 10, 10, 0.85); }
.lp-clip-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lp-clip-toggle .icon { width: 16px; height: 16px; }
.lp-clip-frame:not(.is-playing) .lp-clip-toggle { left: 50%; bottom: 50%; transform: translate(-50%, 50%); min-height: 44px; padding: 0 16px 0 14px; font-size: 0.92rem; }

/* ---------- as seen on ---------- */
.lp-press { padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-press-grid {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (min-width: 700px) { .lp-press-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .lp-press-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.lp-press-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.pw {
  display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 76px; padding: 10px 8px;
  color: var(--text-3); text-decoration: none; text-align: center; line-height: 1.1; white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.pw:hover, .pw:focus-visible { color: var(--text); background: var(--sunken); text-decoration: none; }
/* text wordmarks in each outlet's general style, monochrome */
.pw-ibt { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em; }
.pw-ap { font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.pw-ap-box { display: inline-grid; place-items: center; padding: 1px 4px; border: 2px solid currentColor; font-weight: 900; font-size: 0.82rem; letter-spacing: 0; }
.pw-yahoo { font-weight: 900; font-size: 1.02rem; letter-spacing: -0.035em; }
.pw-yahoo span { font-weight: 500; letter-spacing: -0.01em; }
.pw-bi { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 0.9rem; letter-spacing: -0.01em; white-space: normal; }
.pw-bz { font-weight: 800; font-size: 0.92rem; letter-spacing: 0.08em; }
.pw-gm { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 0.9rem; white-space: normal; }
.pw-osfy { font-weight: 700; font-size: 0.88rem; letter-spacing: -0.01em; white-space: normal; }
.pw-osfy span { font-weight: 400; }
.pw-ibj { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 0.82rem; font-variant: small-caps; letter-spacing: 0.02em; white-space: normal; }
.pw-pod { font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; }
.pw-pod span { font-weight: 400; }
.lp-press-note { margin-top: 14px; font-size: 0.8rem; color: var(--text-3); text-align: center; max-width: 92ch; margin-inline: auto; }

/* ---------- logo cloud: 4 by 2 box grid (2 columns on phones) ----------
   One continuous hairline frame, no corner marks, generous cells. Monochrome at rest, brand color on hover and focus
   (css/works-with.css). The cells blur in once, left to right, when the grid scrolls into view (js/landing.js adds .in). */
.lp-logos .lp-fine { text-align: center; margin-inline: auto; }
.lp-cloud {
  list-style: none; padding: 0; margin: 40px auto 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong);
}
@media (min-width: 760px) { .lp-cloud { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lp-slot-li { border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); min-width: 0; }
.lp-slot {
  display: grid; place-items: center; min-height: 116px; padding: 20px 16px;
  color: var(--text-2); text-decoration: none; font-weight: 600;
  transition: background-color 0.2s var(--ease);
}
.lp-slot:hover, .lp-slot:focus-visible { background: var(--bg-2); text-decoration: none; }
.lp-slot:focus-visible { outline: 2px solid var(--text); outline-offset: -3px; border-radius: 0; }
.lp-slot .ww-mark { min-height: 28px; }
@media (min-width: 760px) { .lp-slot { min-height: 148px; padding: 28px 22px; } }
/* the eighth cell: a quiet way to ask for a platform that is not listed */
.lp-slot-ask { align-content: center; gap: 4px; text-align: center; color: var(--text-3); font-weight: 400; }
.lp-ask-title { color: var(--text-2); font-weight: 500; font-size: 0.92rem; }
.lp-ask-sub { font-size: 0.8rem; }
.lp-slot-ask:hover .lp-ask-title, .lp-slot-ask:focus-visible .lp-ask-title { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
/* blur-in on view, staggered by cell */
.js .lp-cloud.is-armed .lp-slot-li > * { opacity: 0; filter: blur(8px); }
.js .lp-cloud.is-armed.in .lp-slot-li > * { opacity: 1; filter: none; transition: opacity 0.8s var(--ease), filter 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) { .js .lp-cloud.is-armed .lp-slot-li > * { opacity: 1; filter: none; transition: none; } }

/* ---------- features grid with skeletons ---------- */
.lp-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (min-width: 720px) { .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-cell { display: grid; grid-template-rows: auto auto 1fr; gap: 8px; padding: 22px 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; transition: background-color 0.2s var(--ease); }
.lp-cell:hover { background: var(--bg-2); }
.lp-cell-title { margin-top: 14px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.lp-cell-copy { font-size: 0.93rem; color: var(--text-2); line-height: 1.55; max-width: 40ch; }
.sk { height: 184px; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); padding: 14px; overflow: hidden; display: grid; align-content: center; gap: 8px; font-size: 0.8rem; }
.sk code { font-size: 0.78rem; background: none; border: 0; padding: 0; color: var(--text); }
/* chat */
.sk-msg { max-width: 88%; padding: 7px 10px; border-radius: 10px; line-height: 1.4; border: 1px solid var(--line); }
.sk-me { justify-self: end; background: var(--text); color: var(--bg); border-color: transparent; }
.sk-ai { justify-self: start; background: var(--surface-solid); color: var(--text-2); }
/* tiers */
.sk-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--r-s); min-width: 0; }
.sk-row .tier { flex: none; }
.sk-row code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-out { margin-left: auto; flex: none; color: var(--text-3); font-size: 0.74rem; }
/* flow */
.sk-flow { place-items: center; }
.sk-flow-svg { width: 100%; max-width: 260px; height: auto; overflow: visible; }
.sk-flow-svg text { font: 500 9px/1 var(--font); fill: var(--text-2); text-anchor: middle; }
.sk-node { fill: var(--surface-solid); stroke: var(--line-strong); stroke-width: 1; }
.sk-node-q { stroke: var(--text-3); }
.sk-edge { fill: none; stroke: var(--text-3); stroke-width: 1.2; stroke-dasharray: 80; stroke-dashoffset: 0; }
.js .lp-cell:not(.in) .sk-edge { stroke-dashoffset: 80; }
.js .lp-cell.in .sk-edge { transition: stroke-dashoffset 1.2s var(--ease) 0.5s; }
/* approval */
.sk-approve { align-content: center; }
.sk-card { display: grid; gap: 8px; padding: 12px; background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: var(--r-m); }
.sk-card-head { display: flex; justify-content: space-between; align-items: center; }
.sk-timer { font-family: var(--mono); font-size: 0.76rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.sk-card-tool { color: var(--text-2); font-size: 0.8rem; }
.sk-card-actions { display: flex; justify-content: flex-end; gap: 6px; }
.sk-btn { display: inline-grid; place-items: center; min-height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-s); font-size: 0.76rem; font-weight: 550; color: var(--text-2); }
.sk-btn-go { background: var(--signal); border-color: var(--signal); color: #fff; }
:root[data-theme="dark"] .sk-btn-go { color: #06140c; }
/* audit */
.sk-log { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 10px; background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--r-s); }
.sk-ts { font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.sk-ok { font-size: 0.72rem; color: var(--signal); font-weight: 600; }
.sk-bad { font-size: 0.72rem; color: var(--danger); font-weight: 600; }
/* url */
.sk-field { display: grid; gap: 4px; padding: 10px 12px; background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: var(--r-s); }
.sk-label { font-size: 0.7rem; color: var(--text-3); }
.sk-clients { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-clients span { padding: 3px 8px; border: 1px solid var(--line); border-radius: var(--r-s); font-size: 0.74rem; color: var(--text-2); background: var(--surface-solid); }
/* inner blur-in for skeleton parts, once the cell is in view */
.js .lp-cell .sk > * { opacity: 0; filter: blur(6px); }
.js .lp-cell.in .sk > * { opacity: 1; filter: none; transition: opacity 0.7s var(--ease), filter 0.7s var(--ease); }
.js .lp-cell.in .sk > :nth-child(2) { transition-delay: 0.35s; }
.js .lp-cell.in .sk > :nth-child(3) { transition-delay: 0.7s; }
.js .lp-cell.in .sk > :nth-child(4) { transition-delay: 1.05s; }

/* ---------- prompts ---------- */
.lp-prompts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
@media (min-width: 720px) { .lp-prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-prompt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; min-width: 0; }
.lp-prompt-text { font-size: 0.9rem; background: none; border: 0; padding: 0; color: var(--text); overflow-wrap: anywhere; }
.lp-prompt.copied { background: var(--sunken); }
.lp-copy { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; border-radius: var(--r-m); background: none; color: var(--text-3); cursor: pointer; }
.lp-copy:hover { color: var(--text); border-color: var(--line); }
.lp-prompt.copied .lp-copy { color: var(--signal); }

/* ---------- tiers table ---------- */
.lp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); }
.lp-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 620px; }
.lp-table th, .lp-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lp-table thead th { font-size: 0.82rem; font-weight: 500; color: var(--text-3); }
.lp-table tbody tr:last-child th, .lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table td { color: var(--text-2); }
.lp-table td code { margin: 0 4px 4px 0; display: inline-block; }

/* ---------- proof ---------- */
.lp-stats { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
@media (min-width: 640px) { .lp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
@media (max-width: 639px) { .lp-stat { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 18px; } }
.lp-stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 2vw + 1rem, 2.6rem); font-weight: 560; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-stat dt { font-size: 0.82rem; color: var(--text-3); }
.lp-posts { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.lp-post { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.lp-post:last-child { border-bottom: 0; }
.lp-post:hover { background: var(--sunken); text-decoration: none; }
.lp-post-title { font-weight: 500; color: var(--text); }
.lp-post-meta { grid-column: 1; font-size: 0.82rem; color: var(--text-3); }
.lp-post-num { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-family: var(--font-display); font-size: 1.15rem; font-weight: 560; font-variant-numeric: tabular-nums; }
.lp-post-num small { display: block; font-family: var(--font); font-size: 0.74rem; font-weight: 400; color: var(--text-3); }
.lp-posts-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--text-3); }
.lp-quote { margin: 28px 0 0; padding: 26px clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-l); display: grid; gap: 14px; }
.lp-quote blockquote { margin: 0; }
.lp-quote blockquote p { font-family: var(--font-display); font-size: clamp(1.1rem, 0.8vw + 0.95rem, 1.35rem); line-height: 1.45; letter-spacing: -0.012em; font-weight: 450; color: var(--text); max-width: 60ch; }
.lp-quote figcaption { font-size: 0.84rem; color: var(--text-3); }
.lp-quote-who { color: var(--text); font-weight: 600; }
.lp-by { margin-top: 22px; color: var(--text-2); font-size: 0.95rem; }
.lp-by a { color: var(--text); }

/* ---------- security specs ---------- */
.lp-specs { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 760px) { .lp-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; } }
.lp-specs > div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.lp-specs dt { font-weight: 600; font-size: 0.98rem; }
.lp-specs dd { margin: 6px 0 0; font-size: 0.92rem; color: var(--text-2); line-height: 1.55; }

/* ---------- faq ---------- */
.lp-faq { border-top: 1px solid var(--line); max-width: 820px; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 6px 18px 0; font-weight: 500; border-radius: var(--r-s); transition: color 0.15s var(--ease); }
.lp-faq summary:hover .chev { color: var(--text); }
.lp-faq summary .chev { color: var(--text-3); margin-right: 6px; }
.lp-faq .faq-a { padding: 0 0 20px; color: var(--text-2); max-width: 70ch; }

.lp-end { padding-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  .js .lp-cell .sk > * { opacity: 1; filter: none; }
  .js .lp-cell:not(.in) .sk-edge { stroke-dashoffset: 0; }
}

/* narrow slots: the product label beside the logo may wrap, never push the page sideways */
.lp-slot .ww-mark { flex-wrap: wrap; justify-content: center; gap: 4px 8px; max-width: 100%; }
.lp-slot .ww-logo-label { white-space: normal; text-align: center; transition: opacity 0.2s var(--ease), color 0.2s var(--ease); }
@media (max-width: 759px) {
  .lp-slot .ww-logo-label { font-size: 0.82rem; }
}
@media (max-width: 699px) { .lp-press-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- design v3: grid headers ---------- */
.lp-head { margin-bottom: clamp(28px, 4vw, 44px); padding-block: 8px; }
.lp-head > .h2 { max-width: 760px; }
.lp-head-center { text-align: center; }
.lp-head-center > .h2 { margin-inline: auto; }
.lp-section > .lp-head > .h2 { margin-bottom: 0; }
.lp-more-center { text-align: center; }
.lp-hero.grid-bg::before { -webkit-mask-image: radial-gradient(ellipse 60% 75% at 30% 45%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 60% 75% at 30% 45%, #000 15%, transparent 75%); }
