/* Landing pages for the three breathing-infrastructure videos.
   Iphtah colours (memory user-iphtah-colours): Desert Sage #A7AE9E / 5645 C #A3B2A4 for large forms only,
   #3E493E for text (9.4:1 on white). Tier colours reused from page/style.css. Light/dark, phone-safe, no tracker. */
:root {
  --sage: #A7AE9E; --sage2: #A3B2A4; --ink: #3E493E; --ink2: #5b665b; --bg: #fbfcfa; --card: #ffffff;
  --line: #dfe3db; --engine: #2f8a5a; --cpu: #c0631e; --gpu: #4b5fd0;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e6ebe3; --ink2: #b9c2b5; --bg: #1a1d1a; --card: #232823; --line: #3a423a;
          --engine: #3fa06c; --cpu: #d9772f; --gpu: #6f7ff0; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--gpu); outline-offset: 2px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 20px 20px 40px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; min-height: 44px; }
.logo { width: 30px; height: 30px; flex: none; background: var(--sage); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.brand span:last-child { font-weight: 600; }
.who { margin: 24px 0 0; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
h1 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); line-height: 1.2; margin: 4px 0 16px; }
video { display: block; width: 100%; height: auto; max-height: 80vh; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.lead { font-size: 1.05rem; max-width: 70ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.facts b { display: block; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.facts span { font-size: .85rem; color: var(--ink2); }
.facts .tier { color: #fff; }  /* .facts span outranked .tier: the badges were grey on colour */
.tier { display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; border-radius: 4px; padding: 0 6px; }
.tier.engine { background: var(--engine); } .tier.cpu { background: var(--cpu); } .tier.gpu { background: var(--gpu); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line);
       background: var(--card); text-decoration: none; }
.btn.primary { background: var(--sage2); border-color: var(--sage); color: #1f261f; font-weight: 600; }
.same { margin: 28px 0 8px; padding: 14px 16px; border-left: 6px solid var(--sage); background: var(--card); border-radius: 0 10px 10px 0; }
.others { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.note { font-size: .85rem; color: var(--ink2); max-width: 75ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cards a { display: block; text-decoration: none; padding-bottom: 14px; }
.cards img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.cards .who, .cards h2, .cards p { margin-left: 14px; margin-right: 14px; }
.cards .who { margin-top: 12px; }
.cards h2 { font-size: 1.15rem; margin-top: 2px; margin-bottom: 6px; }
.cards p { margin-top: 0; margin-bottom: 0; color: var(--ink2); }
footer { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 12px; }

/* The page is the script (14/11): « what you see », why it matters, 3 questions, the live-demo form. */
h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.hint { margin: 0 0 8px; font-size: .85rem; color: var(--ink2); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2rem 4.2rem 1fr; gap: 4px 8px; align-items: start;
            background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.steps li::before { content: counter(step); font-weight: 700; color: var(--ink2); line-height: 44px; }
.steps li[aria-current="step"] { border-color: var(--gpu); box-shadow: inset 4px 0 0 var(--gpu); }
.steps time, .steps .at { font-variant-numeric: tabular-nums; font-weight: 600; line-height: 44px; }
.steps .at { min-height: 44px; min-width: 44px; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px;
             background: var(--bg); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.steps .at:focus-visible { outline: 2px solid var(--gpu); outline-offset: 2px; }
.steps p { margin: 10px 0; }
.steps .at { justify-self: start; }
.key { margin: 18px 0; font-size: 1.15rem; font-weight: 700; }
.why, .ask { max-width: 70ch; padding-left: 1.2rem; }
.why li, .ask li { margin: 6px 0; }
.demo { margin: 32px 0 8px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.demo h2 { margin-top: 0; }
.demo label { display: block; margin: 12px 0 4px; font-weight: 600; }
.demo input, .demo textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
                              background: var(--bg); color: var(--ink); font: inherit; }
.demo textarea { min-height: 96px; resize: vertical; }
.demo .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo button[type=submit] { margin-top: 14px; cursor: pointer; font: inherit; }
.demo button[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 1.5em; margin: 10px 0 0; }
.form-status.good { color: var(--engine); font-weight: 600; } .form-status.bad { color: var(--cpu); font-weight: 600; }
@media (max-width: 420px) { .steps li { grid-template-columns: 1.4rem 1fr; } .steps li p { grid-column: 1 / -1; margin-top: 0; } }
