/* PipelineOS — landing page styles
   Brand: Pipeline Physics. Outfit + Caveat. Warm off-white, navy ink, brand blue, amber sparingly. */

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #2b313b;
  --ink-2: #525a66;
  --grey: #6b7280;
  --blue: #08add4;
  --blue-deep: #067fa0;
  --amber: #f4b942;
  --red: #d8473f;
  --red-soft: #f3d3d0;
  --green: #1f9d63;
  --tint: #f0f8fb;
  --border: #e7e3da;
  --border-blue: #dceef4;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
section { position: relative; }
.band { padding: clamp(72px, 9vw, 132px) 0; }
.band-tight { padding: clamp(56px, 6vw, 88px) 0; }

/* dark band */
.dark { background: var(--ink); color: #fff; }
.dark .lead, .dark p { color: #c5cbd4; }
.dark .eyebrow { color: var(--blue); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue-deep);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; background: var(--blue); border-radius: 2px;
}
.script { font-family: "Caveat", cursive; font-weight: 600; color: var(--blue); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(40px, 5.6vw, 68px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: clamp(20px, 2vw, 23px); letter-spacing: -0.015em; }

.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
p { line-height: 1.6; color: var(--ink-2); }

.hl {
  white-space: nowrap;
  background-image: linear-gradient(transparent 60%, rgba(8,173,212,0.28) 60%, rgba(8,173,212,0.28) 92%, transparent 92%);
}
.blue-txt { color: var(--blue); }
.green-txt { color: var(--green); }

/* accent rule (replaces eyebrow where titles removed) */
.accent-rule { display: block; width: 50px; height: 3px; border-radius: 3px; background: var(--blue); margin: 0 0 22px; }
.accent-rule.red { background: var(--red); }
.accent-rule.green { background: var(--green); }

/* accent-colored eyebrows */
.eyebrow.green { color: var(--green); }
.eyebrow.green::before { background: var(--green); }

/* ---------- logo lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { flex: 0 0 auto; }
.brand .names { line-height: 1; }
.wordmark {
  font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--ink);
  display: flex; align-items: baseline;
}
.wordmark .os {
  font-family: "Outfit", sans-serif; font-weight: 800; color: var(--blue);
  margin-left: 1px; letter-spacing: 0.01em;
}
.byline {
  font-size: 11px; font-weight: 500; color: var(--grey);
  letter-spacing: 0.04em; margin-top: 4px; white-space: nowrap;
}
.byline b { color: var(--blue); font-weight: 600; }
.dark .wordmark { color: #fff; }
.dark .byline { color: #9aa3ad; }
.dark .byline b { color: var(--blue); }

/* top header — logo only, no nav */
.topbar { padding: 26px 0 0; }

/* ---------- hero ---------- */
.hero { padding-top: 44px; padding-bottom: clamp(72px, 8vw, 120px); }
.hero-grid {
  display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 48px; align-items: center;
}
.hero h1 { color: var(--ink); margin: 8px 0 22px; font-size: clamp(34px, 4.2vw, 50px); }
.hero .lead { max-width: 470px; }
.hero .script-strap { font-size: 27px; }

.stats { display: flex; gap: 30px; align-items: center; margin-top: 38px; }
.stat .n { font-weight: 800; font-size: 30px; color: var(--ink); letter-spacing: -0.02em; }
.stat .n .plus { color: inherit; }
.stat .l { font-size: 13px; color: var(--grey); margin-top: 2px; letter-spacing: 0.02em; }
.stat-div { width: 1px; height: 38px; background: var(--border); }

/* ---------- OS dashboard mock ---------- */
.os-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 40px 80px -44px rgba(43,49,59,0.42); overflow: hidden;
}
.os-top {
  display: flex; align-items: center; gap: 9px; padding: 15px 18px;
  border-bottom: 1px solid #f0ece4; background: var(--bg);
}
.os-top .t { font-weight: 700; font-size: 14px; }
.os-top .t .os { color: var(--blue); }
.os-week {
  margin-left: auto; font-size: 11.5px; color: var(--blue-deep); background: var(--tint);
  padding: 4px 11px; border-radius: 999px; font-weight: 600; border: 1px solid var(--border-blue);
}
.os-body { padding: 18px; }
.os-label {
  font-size: 11.5px; color: var(--grey); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 13px;
}
.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.os-mod {
  padding: 13px; border: 1px solid #eee9e1; border-radius: 13px; background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.os-mod:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -16px rgba(43,49,59,.4); border-color: var(--border-blue); }
.os-mod .ic { width: 26px; height: 26px; border-radius: 8px; margin-bottom: 11px; display: grid; place-items: center; }
.os-mod .nm { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.os-mod .mt { font-size: 11.5px; color: #9aa1ab; margin-top: 2px; }
.os-prog { margin-top: 12px; padding: 13px; border-radius: 13px; background: var(--tint); border: 1px solid var(--border-blue); }
.os-prog .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.os-prog .row .a { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.os-prog .row .b { font-size: 12.5px; color: var(--blue-deep); font-weight: 700; }
.os-bar { height: 7px; border-radius: 999px; background: #d6ecf3; overflow: hidden; }
.os-bar > span { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--blue), var(--blue-deep)); }

/* ---------- symptoms ---------- */
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.symptom {
  padding: 30px 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px;
}
.symptom .dash { color: var(--red); font-weight: 800; font-size: 22px; line-height: 1; }
.symptom p { color: var(--ink); font-size: 18px; font-weight: 500; margin: 16px 0 0; line-height: 1.4; }
.symptom em { color: var(--grey); font-style: normal; font-weight: 400; }

/* ---------- problem (dark) ---------- */
.problem-body { max-width: 780px; }
.problem-body h2 { color: #fff; margin-bottom: 26px; }
.problem-body p { font-size: 19px; line-height: 1.6; margin: 0 0 18px; }
.problem-body p:last-child { margin-bottom: 0; }
.problem-body strong { color: #fff; font-weight: 600; }

/* ---------- solution ---------- */
.sol-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 60px; align-items: center; }
.sol-statements { margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.sol-statements .s {
  font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
  line-height: 1.18;
}
.sol-statements .s.muted { color: #c2c8d0; }
.sol-statements .s .green-txt { color: var(--green); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--border); }
.step .num {
  font-weight: 800; font-size: 15px; color: var(--blue); letter-spacing: 0.04em;
  position: absolute; top: -11px; background: var(--bg); padding-right: 14px;
}
.step h3 { margin: 8px 0 14px; text-transform: uppercase; letter-spacing: 0.02em; font-size: 21px; }
.step p { font-size: 16px; margin: 0; }
.step.on-white .num { background: var(--surface); }

/* ---------- inside / modules ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.mod {
  padding: 28px 26px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mod:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(43,49,59,.4); border-color: var(--border-blue); }
.mod .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--border-blue);
}
.mod h3 { font-size: 19px; margin-bottom: 9px; }
.mod p { font-size: 15px; margin: 0; line-height: 1.55; }

/* ---------- offer ---------- */
.offer-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(43,49,59,0.4);
}
.offer-main { padding: clamp(34px, 4vw, 52px); }
.offer-main h2 { margin-bottom: 18px; }
.offer-main p { font-size: 17px; margin: 0 0 16px; }
.offer-side {
  background: var(--ink); color: #fff; padding: clamp(34px, 4vw, 52px);
  display: flex; flex-direction: column; justify-content: center;
}
.offer-side .get-label { color: var(--blue); font-weight: 700; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; }
.get-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.get-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #e4e7ec; line-height: 1.4; }
.get-list li .tick { color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); }
.price .was { font-size: 22px; color: #7e8893; text-decoration: line-through; font-weight: 600; }
.price .now { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.price .oneoff { font-size: 14px; color: #9aa3ad; align-self: flex-end; margin-bottom: 8px; white-space: nowrap; }

/* ---------- proof ---------- */
.proof-stat { text-align: center; margin-bottom: 56px; }
.proof-stat .big { font-weight: 800; font-size: clamp(48px, 7vw, 86px); color: var(--blue); letter-spacing: -0.03em; line-height: 1; }
.proof-stat .cap { font-size: 16px; color: var(--grey); margin-top: 10px; letter-spacing: 0.02em; }
.quotes { columns: 2; column-gap: 24px; }
.quote {
  break-inside: avoid; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 28px 24px; margin-bottom: 24px;
}
.quote .q { font-size: 16.5px; line-height: 1.55; color: var(--ink); margin: 0 0 18px; }
.quote.feature .q { font-size: 20px; line-height: 1.5; }
.quote .who { display: flex; flex-direction: column; gap: 1px; }
.quote .who .nm { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.quote .who .ro { font-size: 13px; color: var(--grey); }
.quote .mk { font-family: "Caveat", cursive; font-size: 42px; color: var(--blue); line-height: 0.5; height: 22px; display: block; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.faq {
  padding: 32px 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.faq h3 { font-size: 20px; margin-bottom: 12px; }
.faq p { font-size: 16px; margin: 0; }

/* ---------- final cta ---------- */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 18px; }
.cta-band .lead { color: #c5cbd4; max-width: 560px; margin: 0 auto 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 11px; cursor: pointer;
  font-weight: 600; font-size: 17px; padding: 16px 34px; border-radius: 999px;
  background: var(--blue); color: #fff; border: 1px solid var(--blue); text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(8,173,212,0.7); transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(8,173,212,0.8); }
.btn .arrow { transition: transform .16s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- footer ---------- */
.footer { padding: 46px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .tagline { font-size: 15px; color: #fff; line-height: 1.5; text-align: right; }
.footer .tagline b { color: #fff; font-weight: 600; }

/* ---------- hero system node-graph (Option A) ---------- */
.sysd {
  position: relative; width: 100%; max-width: 470px; aspect-ratio: 1 / 0.82; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 30px 60px -38px rgba(43,49,59,0.35); overflow: hidden;
}
.sysd .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--tint) 1px, transparent 1px), linear-gradient(90deg, var(--tint) 1px, transparent 1px);
  background-size: 28px 28px;
}
.sysd .links { position: absolute; inset: 0; width: 100%; height: 100%; }
.sysd .core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: 0.04em;
  padding: 13px 22px; border-radius: 12px; z-index: 3;
  box-shadow: 0 14px 28px -10px rgba(43,49,59,0.6);
}
.sysd .node {
  position: absolute; transform: translate(-50%, -50%); padding: 9px 13px;
  background: #fff; border: 1px solid var(--border-blue); border-radius: 9px;
  font-family: ui-monospace, "SF Mono", monospace; font-size: 11.5px; color: var(--ink);
  font-weight: 600; white-space: nowrap; z-index: 2; box-shadow: 0 6px 16px -10px rgba(43,49,59,0.3);
}
.sysd .node.hot { background: var(--tint); border-color: var(--blue); color: var(--blue-deep); }

/* ---------- scroll cue ---------- */
.scrollcue { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 56px auto 0; width: max-content; }
.scrollcue .lbl { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); font-weight: 700; }
.scrollcue .chev { width: 26px; height: 26px; color: var(--blue); animation: cuebob 1.8s ease-in-out infinite; }
@keyframes cuebob { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(7px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scrollcue .chev { animation: none; } }

/* ---------- inside: dashboard-window container ---------- */
.inside-os { margin-top: 48px; }
.inside-os .os-top { padding: 16px 24px; }
.inside-os .os-top .t { font-size: 15px; }
.inside-os .os-body { padding: clamp(20px, 2.4vw, 30px); }
.inside-os .os-label { margin-bottom: 20px; }
.inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inside-grid .mod { border-radius: 14px; }

/* ---------- offer launch note ---------- */
.launch-note { font-size: 13px; color: #9aa3ad; margin: 14px 0 0; letter-spacing: 0.01em; }
.launch-note b { color: var(--blue); font-weight: 600; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .sol-grid, .offer-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .symptom-grid, .steps, .mod-grid, .inside-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .quotes { columns: 1; }
  .offer-side { order: 2; }
  .wrap { padding: 0 24px; }
  .stats { flex-wrap: wrap; gap: 20px; }
}
