/* Postpipe marketing site.
   Light, roomy and geometric — the dashboard is dark, so the site leads with
   air and lets the product screenshots carry the colour. */
:root {
  --bg: #ffffff;
  --tint: #f6f8fb;
  --panel: #ffffff;
  --ink: #101420;
  --ink-soft: #38404f;
  --muted: #626c7d;
  --border: #e5e9f0;
  --accent: #2f6bff;
  --accent-ink: #1f52d6;
  --accent-soft: #ecf2ff;
  --ok: #12855a;
  --ok-soft: #e4f5ed;
  --wait: #9a6300;
  --wait-soft: #fdf1dd;
  --shadow-sm: 0 1px 2px rgba(16, 20, 32, .05);
  --shadow: 0 18px 46px -22px rgba(16, 20, 32, .28);
  --radius: 16px;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
/* Horizontal only. The shorthand here silently reset the vertical padding of
   every <section class="wrap">, since .wrap and section tie on specificity and
   .wrap wins on order — four sections were rendering with no rhythm at all. */
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* --- nav --- */
.nav {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 30px; padding: 15px 24px; max-width: 1120px; margin: 0 auto; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .word { display: inline-block; }
.brand .word span { color: var(--accent); }
.brand svg, .brand img { display: block; }
.nav-links { display: flex; gap: 24px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600; }
.nav-cta > a:first-child { color: var(--muted); }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-sm); transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-ink); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); box-shadow: none; }
.btn.ghost:hover { background: var(--tint); border-color: #d5dbe6; }
.btn.big { padding: 15px 30px; font-size: 17px; }

/* --- hero --- */
.hero { text-align: center; padding: 96px 0 104px; }
.chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; background: var(--tint);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.chip.live .dot { background: var(--ok); }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { color: var(--muted); font-size: 20px; max-width: 60ch; margin: 24px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.fine { color: var(--muted); font-size: 14px; }
.hero .fine { margin-top: 18px; }

/* --- product shot --- */
.shot {
  margin-top: 56px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--tint);
}
.shot img { width: 100%; }

/* --- sections --- */
section { padding: 96px 0; }
section.tinted { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 6px 13px; margin-bottom: 16px;
}
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h2 .soft { color: var(--accent); }
.section-lede { color: var(--muted); max-width: 68ch; margin-top: 16px; font-size: 18px; }
.centre { text-align: center; }
.centre .section-lede { margin-left: auto; margin-right: auto; }

/* --- alternating feature rows --- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.row + .row { margin-top: 104px; }
.row.flip .row-media { order: -1; }
.row h3 { font-size: clamp(24px, 3vw, 32px); }
.row p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.row-media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--tint); box-shadow: var(--shadow);
}
.row-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* --- platform grid --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 16px; margin-top: 36px; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.card h3 { font-size: 18px; }
.card p { color: var(--muted); font-size: 15.5px; }
.pill {
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.pill.ok { color: var(--ok); background: var(--ok-soft); }
.pill.wait { color: var(--wait); background: var(--wait-soft); }
.pill.soon { color: var(--muted); background: var(--tint); }

/* --- developers --- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; margin-top: 36px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 15px; }
.ticks li { color: var(--muted); padding-left: 30px; position: relative; font-size: 16.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.ticks strong { color: var(--ink); font-weight: 700; }
.ticks code { background: var(--tint); border: 1px solid var(--border); border-radius: 5px; padding: .1em .4em; }
.code {
  background: #0e131d; color: #d7e0ee; border-radius: var(--radius); padding: 24px;
  overflow-x: auto; margin: 0; font-size: 13.5px; line-height: 1.7; box-shadow: var(--shadow);
}
.code .k { color: #79a8ff; } .code .s { color: #9bdca0; } .code .c { color: #7d8798; }

/* --- faq --- */
.faq { display: grid; gap: 12px; margin-top: 34px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 13px; padding: 18px 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.faq summary::marker { color: var(--accent); }
.faq p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

/* --- cta + footer --- */
.cta { text-align: center; padding-top: 0; }
.cta-box {
  background: linear-gradient(180deg, #f4f7fe 0%, #eaf1ff 100%);
  border: 1px solid #dbe6ff; border-radius: 24px; padding: 62px 32px;
}
.cta-box h2 { margin-bottom: 12px; }
.cta-box p { color: var(--muted); margin-bottom: 28px; font-size: 18px; }
.foot { border-top: 1px solid var(--border); padding: 40px 0 52px; }
.foot-inner { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; font-size: 15px; font-weight: 600; }
.foot-links a { color: var(--muted); }
.foot .fine { margin-top: 28px; text-align: center; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .row, .split { grid-template-columns: 1fr; gap: 32px; }
  .row.flip .row-media { order: 0; }
  .row + .row { margin-top: 56px; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 44px; }
  .nav-links { order: 3; width: 100%; gap: 18px; }
}

/* --- diagrams -------------------------------------------------------------
   Deliberately schematic. The product is new and its real screens are mostly
   empty, and a photograph of an empty dashboard sells nothing — these show
   the shape of what happens instead, without pretending to be screenshots. */
.hero-figure {
  margin-top: 56px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 24px; box-shadow: var(--shadow); padding: 28px 30px; text-align: left;
}
.hero-figure svg { width: 100%; height: auto; display: block; }
/* The rows live in the SVG so the curves can land exactly on them; drawing
   them as HTML alongside left a seam that no amount of nudging closed. */
.dg-label { font: 800 13px var(--sans); letter-spacing: .12em; fill: #8894a8; }
.dg-row { font: 700 18px var(--sans); fill: var(--ink); }
.dg-state { font: 700 13.5px var(--sans); }

.row-media.diagram { background: var(--tint); padding: 30px; box-shadow: var(--shadow); }
/* Both feature rows get the same treatment: a tinted, padded frame holding a
   single panel, so the two sides of the section carry equal weight. */
.row-media.diagram .code { border-radius: 14px; }
.dg-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.dg-title { font-weight: 800; font-size: 16px; margin-bottom: 16px; }
.dg-line { height: 10px; border-radius: 5px; background: #e3e8f0; margin-bottom: 9px; width: 62%; }
.dg-line.long { width: 88%; }
.dg-dests { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; }
.dg-dest {
  font-size: 13px; font-weight: 700; color: var(--muted); background: var(--tint);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px;
}
.dg-dest.on { color: var(--accent-ink); background: var(--accent-soft); border-color: #d5e2ff; }
.dg-dest b { color: var(--ok); }
.dg-note { font-size: 13.5px; color: var(--muted); }

@media (max-width: 860px) {
  .hero-figure { padding: 16px; border-radius: 18px; }
}
