/* pipelinica.com: the app's look (web/static/app.css; rules in .claude/skills/web-ui/SKILL.md)
   on marketing pages. The :root tokens are the app's, copied: tests/site checks they match.
   No inline styles anywhere (CSP style-src 'self'). */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(/static/fonts/nunito-latin-5.3.0.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(/static/fonts/nunito-latin-ext-5.3.0.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Pipelinica Wordmark";
  font-weight: 800;
  font-display: block;
  src: url(/static/fonts/overpass-800-wordmark-5.3.0.woff2) format("woff2");
}

:root {
  --blue: #4e73df;
  --blue-rail: #4a6fdc;
  --blue-deep: #224abe;
  --action-fill: #4a6fdc;
  --action: #3d62d6;
  --action-hover: #2e59d9;
  --action-tint: #eef2fd;
  --page: #f8f9fc;
  --surface: #fff;
  --border: #e3e6f0;
  --border-strong: #d1d3e2;
  --control-border: #8c8fa1;
  --text: #5a5c69;
  --text-strong: #3a3b45;
  --muted: #6e707e;
  --ok: #3a9a76;
  --ok-bg: #e1f2ea;
  --ok-fg: #1f6a50;
  --error: #d2604f;
  --error-bg: #f8e5e2;
  --error-fg: #8a3328;
  --off-bg: #eaecf4;
  --radius: .5rem;
  --radius-sm: .375rem;
  --shadow: 0 1px 2px rgba(58, 59, 69, .05), 0 2px 10px rgba(58, 59, 69, .05);
  --ring: 0 0 0 .2rem rgba(78, 115, 223, .3);
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --control: 2.25rem;
  --gap: 1.25rem;
  --card-x: 1.25rem;
  --card-y: 1rem;
  --width: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 .9375rem/1.6 var(--font);
}
h1, h2, h3, h4 { color: var(--text-strong); font-weight: 600; line-height: 1.25; margin: 0 0 .75rem; }
p, ul, ol { margin: 0 0 1rem; }
a { color: var(--action); text-decoration: none; transition: color 150ms; }
a:hover { color: var(--action-hover); text-decoration: underline; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.icon { width: 1.125rem; height: 1.125rem; flex: none; }
.logo { width: 2rem; height: 2rem; object-fit: contain; flex: none; }
.logo.blank {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--off-bg);
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}
.wrap { max-width: var(--width); margin: 0 auto; padding: 0 1.5rem; }
.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 10;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Buttons: the app's. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: var(--control);
  padding: 0 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-strong);
  font: 500 .875rem/1 var(--font);
  cursor: pointer;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}
.button:hover { text-decoration: none; border-color: var(--control-border); color: var(--text-strong); }
.button.primary { background: var(--action-fill); border-color: var(--action-fill); color: #fff; }
.button.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.button.big { min-height: 3rem; padding: 0 1.5rem; font-size: 1rem; }

/* Header and footer. */
.site-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--action); }
.brand:hover { text-decoration: none; color: var(--action); }
.brand .icon { width: 2rem; height: 2rem; }
.brand span { font-family: "Pipelinica Wordmark", var(--font); font-size: 1.25rem; font-weight: 800; letter-spacing: .05em; }
.site-head nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-head nav a:not(.button) { color: var(--text); font-weight: 500; }
.site-foot { margin-top: 3rem; padding: 2rem 0; background: var(--surface); border-top: 1px solid var(--border); font-size: .875rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-foot p { margin: 0; color: var(--muted); }

/* Home. */
.hero { position: relative; background: linear-gradient(180deg, var(--blue-rail) 10%, var(--blue-deep) 100%); color: #fff; padding: 4rem 0 7.5rem; }
/* Legacy's waves at the hero's foot (WordPress's Brizy bottom shape), in the page's colour. */
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; background: url(/assets/wave.svg) no-repeat center bottom / 100% 100%; pointer-events: none; }
.hero + .band { padding-top: 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 1.8rem); max-width: 40rem; }
.hero-points { list-style: none; padding: 0; font-size: 0.9rem; }
.hero-points li::before { content: "- "; }
.cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0 0; }
.hero .button.primary { background: var(--surface); border-color: var(--surface); color: var(--blue-deep); }
.hero .button.primary:hover { background: var(--action-tint); border-color: var(--action-tint); color: var(--blue-deep); }
.note { font-size: .75rem; opacity: .75; }
.hero .split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
/* The app's New pipeline tiles (app.css .tiles/.tile) as a picture: smaller, 4 to a row, evenly
   faded into the hero. */
.app-form {
  padding: .875rem .875rem .125rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(20, 30, 80, .35);
  color: var(--text-strong);
  font-size: .6875rem;
  opacity: .95;
}
.app-form .legend { margin: 0 0 .4rem; font-weight: 600; }
.app-form .tiles { list-style: none; padding: 0; margin: 0 0 .625rem; display: grid; grid-template-columns: repeat(4, 9.25rem); gap: .375rem; }
.app-form.columns-3 .tiles { grid-template-columns: repeat(3, 9.25rem); }
.app-form.columns-2 .tiles { grid-template-columns: repeat(2, 9.25rem); }
.app-form.columns-1 .tiles { grid-template-columns: 9.25rem; }
.app-form .tile { display: flex; align-items: center; gap: .3rem; min-height: 2.25rem; padding: .25rem .4rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-weight: 500; line-height: 1.2; }
.app-form .tile span:not(.radio) { min-width: 0; font-size: .625rem; white-space: nowrap; }
.app-form .tile .logo { width: 1.125rem; height: 1.125rem; margin-left: auto; flex: none; padding: .0625rem; border-radius: .25rem; background: #fff; }
.app-form .radio { width: .7rem; height: .7rem; flex: none; border: 1px solid var(--control-border); border-radius: 50%; margin: 1rem auto; }
.band { padding: 3rem 0 0; }
.band h2 { font-size: 1.5rem; }
.lead { max-width: 48rem; }
/* Pricing: blue like the hero, legacy's waves (wave.svg turned over) flowing into it from the top. */
.band.pricing { position: relative; margin-top: 3rem; padding: 9rem 0 4rem; background: linear-gradient(180deg, var(--blue-rail) 10%, var(--blue-deep) 100%); color: #fff; }
.pricing::before { content: ""; position: absolute; inset: 0 0 auto; height: 141px; background: url(/assets/wave.svg) no-repeat center / 100% 100%; transform: rotate(180deg); pointer-events: none; }
.pricing .wrap { position: relative; z-index: 1; }
.pricing h2 a, .pricing h2 a:hover { color: #fff; }
.pricing .plan { color: var(--text); }
main:has(> .pricing:last-child) + .site-foot { margin-top: 0; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--gap); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--card-y) var(--card-x); }
.card h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; color: var(--action); }
.card p:last-child { margin: 0; }
.platforms-list, .frequencies { list-style: none; padding: 0; margin: 0; display: grid; gap: .625rem; }
.platforms-list li, .frequencies li { display: flex; align-items: center; gap: .75rem; }
.frequencies .icon { color: var(--action); }
.platforms-list .logo { width: 1rem; height: 1rem; font-size: .5rem; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--gap); }
.gallery li { display: grid; gap: .5rem; text-align: center; font-weight: 600; color: var(--text-strong); }
.gallery img { display: block; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
/* A screenshot opens bigger in a window (site.js); a click beside it or Esc closes it. */
main img[src^="/assets/shots/"] { cursor: zoom-in; }
.lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 1rem; border: 0; background: transparent; cursor: zoom-out; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 16, 40, .8); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 2rem); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0, 0, 0, .5); cursor: default; }
html:has(.lightbox[open]) { overflow: hidden; }
.plans { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--gap); }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.plan h3 { color: var(--action); font-size: 1.125rem; }
.price { color: var(--muted); }
.price strong { color: var(--text-strong); font-size: 2rem; font-weight: 600; }
.plan ul { list-style: none; padding: 0; display: grid; gap: .5rem; flex: 1; align-content: start; }
.plan li { display: flex; gap: .5rem; align-items: flex-start; }
.plan li .icon { color: var(--ok); margin-top: .2rem; }

/* Pages. */
.prose { max-width: 48rem; padding-top: 2.5rem; }
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.375rem; margin-top: 2rem; }
.prose h3 { font-size: 1.125rem; margin-top: 1.5rem; }
.prose img { display: block; margin: 1rem 0; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.prose img[src^="/assets/team/"] { width: 200px; height: 200px; object-fit: cover; object-position: 50% 30%; border-radius: 50%; margin: 1rem auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; background: var(--surface); display: block; overflow-x: auto; }
.prose th, .prose td { padding: .5rem .75rem; border: 1px solid var(--border); text-align: left; }
.prose code { background: var(--off-bg); padding: .1rem .3rem; border-radius: .25rem; font-size: .875em; }

/* Notices and the contact form. */
p[role=status], p[role=alert] { display: flex; gap: .5rem; align-items: flex-start; padding: .75rem 1rem; border-radius: var(--radius-sm); }
p[role=status] { background: var(--ok-bg); color: var(--ok-fg); }
p[role=alert] { background: var(--error-bg); color: var(--error-fg); }
p[role=status] .icon, p[role=alert] .icon { margin-top: .2rem; }
.contact { display: grid; gap: 1rem; max-width: 36rem; }
.field { display: grid; gap: .375rem; font-weight: 500; font-size: .875rem; color: var(--text-strong); }
.field input, .field textarea {
  width: 100%;
  min-height: var(--control);
  padding: .4rem .75rem;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-strong);
  font: 400 .9375rem/1.5 var(--font);
}
.field input[type=file] { border-style: dashed; padding: .5rem .75rem; }
.contact .button { justify-self: start; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The cookie banner: bottom of the window until answered. */
.consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 20;
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(58, 59, 69, .15);
}
.consent p { margin: 0; flex: 1 1 16rem; }
.consent-actions { display: flex; gap: .5rem; }

@media (max-width: 40rem) {
  :root { --control: 2.5rem; --gap: 1rem; }
  .wrap { padding: 0 1rem; }
  .site-head nav { gap: .75rem 1rem; padding-bottom: .75rem; }
  .band.pricing { padding-top: 6rem; }
  .pricing::before { height: 80px; }
  .hero { padding: 2.5rem 0; }
}
@media (max-width: 68rem) {
  .hero .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .app-form { justify-self: start; }
}
@media (max-width: 44rem) {
  .app-form { justify-self: stretch; }
  .app-form .tiles, .app-form[class*=columns-] .tiles { grid-template-columns: repeat(auto-fill, minmax(min(9.25rem, 100%), 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
