/* Landing-page additions to the editorial skin (wd-B, 2026-09-29). Loaded by landings/ed_lp.inc.php only when body.ed.
   Uses the variables from editorial.css (--paper, --card, --line, --ink, --ink-2, --accent, --sage, --butter, --r). */

body.ed .ed-lphero .ed-hero-text,body.ed .ed-lphero .ed-hero-visual{min-width:0}
body.ed .ed-shot img{display:block;width:100%;max-width:100%;height:auto;border-radius:var(--r);border:1px solid var(--line);box-shadow:0 18px 40px rgba(43,36,32,.18)}
body.ed .ed-shot figcaption{text-align:left}
body.ed .ed-photo img{box-shadow:0 12px 30px rgba(74,50,30,.14)}
body.ed .ed-lphero .ed-note a.ed-link{color:var(--accent-d)}

/* terminal figure (CLI page): real output, shown as text */
body.ed .ed-term-body{margin:0;background:#2B2420;color:#F3E9DA;border-radius:var(--r);padding:20px 22px;font:14px/1.7 Consolas,'Cascadia Mono',Menlo,monospace;overflow-x:auto;box-shadow:0 18px 40px rgba(43,36,32,.22);white-space:pre}
body.ed .ed-term-cmd{color:#F2C879}
body.ed .ed-term-cmd::before{content:'> ';color:#B8A48C}

/* no star widgets anywhere on landings (the review profiles are empty) */
body.ed .lp-hero-trust-stars{display:none!important}

/* feature / use-case cards: left-aligned, four across when they fit, icon chip on top */
body.ed .lp-features{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
body.ed .lp-feature{text-align:left;padding:20px 18px;display:flex;flex-direction:column;gap:6px}
body.ed .lp-feature-icon{margin:0 0 6px!important}
body.ed .lp-feature p{margin:0;font-size:15px;line-height:1.55}
body.ed .lp-feature p strong,body.ed .lp-feature>strong{font-family:var(--serif);font-size:17.5px;color:var(--ink)}

/* before / after cards */
body.ed .lp-before-after{gap:16px}
body.ed .lp-ba{padding:20px 22px}
body.ed .lp-ba h3{font-family:var(--serif);font-size:15px;letter-spacing:.04em;text-transform:uppercase;margin:0 0 8px}
body.ed .lp-ba.after.lp-ba-accent h3,body.ed .lp-accent-text{color:var(--accent-d)!important}

/* time saved: two stat tiles on paper */
body.ed .lp-time-saved{gap:14px;align-items:stretch}
body.ed .lp-time-manual,body.ed .lp-time-contenta{border:0!important;border-radius:var(--r)!important;box-shadow:none!important}
body.ed .lp-time-manual{background:var(--butter)!important}
body.ed .lp-time-contenta{background:var(--sage)!important}
body.ed .lp-time-number{font-family:var(--serif)}
body.ed .lp-time-manual .lp-time-number{color:var(--accent-d)!important}
body.ed .lp-time-contenta .lp-time-number{color:var(--sage-ink)!important}
body.ed .lp-time-manual p,body.ed .lp-time-contenta p{color:var(--ink)!important}
body.ed .lp-time-arrow{color:var(--accent);font-size:0;display:flex;align-items:center}
body.ed .lp-time-arrow .ed-arrow-ico{width:36px;height:22px}

/* compare tables from the older landings */
body.ed .lp-compare-table th:nth-child(2),body.ed .lp-compare-table td:nth-child(2){background:var(--butter)!important}
body.ed .lp-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r)}

/* code blocks (CLI page) */
body.ed .lp-code,body.ed code.lp-code{background:var(--paper-2)!important;color:var(--ink)!important;border-radius:8px}

/* pricing strip and trust chips stay light */
body.ed .lp-section-intro{color:var(--ink-2)!important}

@media (max-width:640px){
  body.ed .lp-features{grid-template-columns:1fr}
  body.ed .lp-time-saved{flex-direction:column}
  body.ed .lp-time-arrow{transform:rotate(90deg);justify-content:center}
}

/* legacy comparison table: landing.css hard-codes white first-column text for the dark theme */
body.ed .lp-compare-table td:first-child{color:var(--ink)!important}
body.ed .lp-compare-table th{color:var(--ink-2)!important;background:var(--paper-2)!important;text-transform:none;letter-spacing:0;font-family:var(--serif)}
body.ed .lp-compare-table td{color:var(--ink)}

/* side-by-side comparison cards (blog "X vs Y" posts): our card first */
body.ed .ed-vs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 26px}
body.ed .ed-vs-card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px 20px 12px}
body.ed .ed-vs-us{background:var(--butter);border-color:transparent}
body.ed .ed-vs-name{display:inline-block;background:var(--ink);color:var(--paper);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:3px 12px;margin:0 0 10px}
body.ed .ed-vs-us .ed-vs-name{background:var(--accent)}
body.ed .blog-wrap .ed-vs-card h2{font-size:20px!important;margin:0 0 8px!important;padding:0!important;border:0!important}
body.ed .blog-wrap .ed-vs-card p,body.ed .blog-wrap .ed-vs-card li{font-size:15.5px!important}
body.ed .blog-wrap .ed-vs-card ul{padding-left:20px;margin:8px 0}
@media (max-width:700px){body.ed .ed-vs{grid-template-columns:1fr}}

/* generic card grid for blog posts: definitions, "when to use", short answers */
body.ed .ed-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 26px}
body.ed .ed-cards.ed-cards-1{grid-template-columns:1fr}
body.ed .ed-card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px 20px 8px}
body.ed .ed-card:nth-child(4n+1){background:var(--butter);border-color:transparent}
body.ed .ed-cards-1 .ed-card:nth-child(4n+1){background:var(--card);border-color:var(--line)}
body.ed .blog-wrap .ed-card h2,body.ed .blog-wrap .ed-card h3{font-size:19px!important;margin:0 0 8px!important;padding:0!important;border:0!important;font-family:var(--serif)}
body.ed .blog-wrap .ed-card p{font-size:15.5px!important;margin:0 0 10px}
@media (max-width:700px){body.ed .ed-cards{grid-template-columns:1fr}}

/* four-step strip in two columns */
body.ed .ed-steps.ed-steps-4{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:22px}
@media (max-width:700px){body.ed .ed-steps.ed-steps-4{grid-template-columns:1fr}}
body.ed .ed-figure.ed-diagram{margin:20px 0 26px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px}
body.ed .ed-diagram svg{display:block;width:100%;height:auto;max-width:640px;margin:0 auto}
body.ed .ed-diagram figcaption{text-align:center}

body.ed .ed-cards.ed-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:700px){body.ed .ed-cards.ed-cards-3{grid-template-columns:1fr}}

/* blog tables scroll inside themselves on narrow screens */
body.ed .blog-wrap table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
