/* skipops.app marketing page.
   Brand tokens: skipops-mobile design/tokens.ts (Nocturne ramps) — keep in sync.
   Light-first (the trade works in daylight); ink bands for weight; one blurple action colour. */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;600;700;800&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  /* backgrounds */
  --bg: #e4e7f5;
  --surface: #f3f5fe;
  --raised: #fbfcff;
  --sunken: #cfd3e5;
  /* ink set (dark bands + footer, from the dark theme) */
  --ink-bg: #161826;
  --ink-surface: #232532;
  --ink-text: #e9e9ed;
  --ink-soft: #cfd3e5;
  --ink-muted: #9397ab;
  --ink-link: #b5abfc;
  --ink-action: #796cbf;
  /* text on light */
  --text: #161826;
  --soft: #3f424d;
  --muted: #595d6c;
  /* borders */
  --hairline: rgba(22, 24, 38, 0.16);
  --border-strong: #9397ab;
  --focus: #796cbf;
  /* action — one job: the thing to do next */
  --action: #5d5294;
  --action-hover: #675ca3;
  --action-pressed: #423a6a;
  --action-text: #796cbf;
  --action-tint: #e7e5fe;
  --on-action: #f5f4ff;
  /* state */
  --done: #2e7d4f;
  --done-tint: #d9f0e2;
  --on-done-tint: #14432a;
  --problem: #b3261e;
  /* waste materials (stable everywhere) */
  --w-gen: #5c6672;
  --w-gen-tint: #e2e5ea;
  --w-wood: #8a5a2b;
  --w-wood-tint: #f0e4d5;
  --w-metal: #46708e;
  --w-metal-tint: #dde8f0;
  /* type */
  --font-body: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  /* motion: tokens.ts standard easing */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  /* radii: cards+buttons 8, photos 14, sheets 20, chips pill */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-sheet: 20px;
  /* elevation: hairline edge + soft ink shadow, never stacked heavy */
  --e1: 0 1px 2px rgba(22, 24, 38, 0.06), 0 2px 8px rgba(22, 24, 38, 0.10);
  --e2: 0 2px 4px rgba(22, 24, 38, 0.08), 0 6px 18px rgba(22, 24, 38, 0.16);
  --e3: 0 4px 8px rgba(22, 24, 38, 0.10), 0 16px 40px rgba(22, 24, 38, 0.22);
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--action-tint); color: var(--text); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- type ---------- */
h1, h2 { font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.3rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
p { max-width: 62ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--soft); }
.figure { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; border-radius: var(--r-md);
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem;
  text-decoration: none; cursor: pointer; border: 0;
  transition: background-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn { background: var(--action); color: var(--on-action); }
.btn:hover { background: var(--action-hover); }
.btn:active { background: var(--action-pressed); transform: scale(0.985); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); min-height: 52px; }
.btn-ghost:hover { background: var(--surface); }
.btn-ghost:active { transform: scale(0.985); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mark {
  font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em;
  text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.mark i { width: 14px; height: 14px; background: var(--action); border-radius: var(--r-sm); }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: 0.95rem; }

/* ---------- hero ---------- */
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-top: clamp(44px, 7vh, 92px); padding-bottom: clamp(44px, 7vh, 84px);
}
.hero .lede { margin-top: 18px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* phone mock: the boss's Today board, drawn in the product's own system */
.phone { width: min(330px, 100%); margin-left: auto; }
.phone-frame {
  background: var(--ink-bg); border-radius: 36px; padding: 10px;
  box-shadow: var(--e3);
}
.phone-screen {
  background: var(--bg); border-radius: 27px; padding: 20px 14px 16px;
  min-height: 430px; display: flex; flex-direction: column; gap: 9px;
}
.pb-head { display: flex; justify-content: space-between; align-items: baseline; }
.pb-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.pb-meta { font-size: 0.78rem; color: var(--muted); }
.pb-van {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 6px; padding: 0 2px 2px;
  font-weight: 700; font-size: 0.95rem;
}
.pb-van .figure { font-size: 0.85rem; color: var(--muted); }
.pb-stop {
  min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  font-weight: 600; font-size: 0.92rem;
}
.pb-n {
  flex: none; width: 28px; height: 28px; display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--sunken); border-radius: var(--r-sm); font-size: 0.85rem;
}
.pb-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-stop .tick { margin-left: auto; width: 20px; height: 20px; }
.pb-stop.is-done { opacity: 0.55; }
.pb-stop.is-done .pb-what { text-decoration: line-through; }
.pb-stop.is-live {
  background: var(--action-tint); border: 2px solid var(--focus); padding: 0 11px;
}
.pb-badge {
  margin-left: auto; flex: none;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--action); background: var(--raised);
  border-radius: 999px; padding: 4px 9px;
}
.pb-plan {
  margin-top: auto; min-height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--action); color: var(--on-action);
  border-radius: var(--r-md); font-weight: 700; font-size: 1rem;
}
.phone figcaption { font-size: 0.85rem; color: var(--muted); text-align: center; padding: 12px 6px 0; }

/* hero load-in: one orchestrated stagger, ease-out, fixed duration */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-load] { animation: rise 0.7s var(--ease) both; }
  .hero [data-load='2'] { animation-delay: 90ms; }
  .hero [data-load='3'] { animation-delay: 180ms; }
  .hero [data-load='4'] { animation-delay: 300ms; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */
section { padding-block: clamp(56px, 9vh, 104px); }
main > section + section { border-top: 1px solid var(--hairline); }
main > section.ink + section, main > section + section.ink { border-top: 0; }

/* how it works: three moves, order numbers in square wells (the app's list-row motif) */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px); margin-top: 36px; counter-reset: step;
}
.steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--hairline); }
.steps li::before {
  content: counter(step);
  font-family: var(--font-mono); font-weight: 500; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px;
  background: var(--sunken); border-radius: var(--r-sm); color: var(--text);
}
.steps p { color: var(--soft); }

/* load band */
.band { background: var(--surface); }
.band .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.band p { color: var(--soft); }
.loadstrip {
  background: var(--raised); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 22px 24px 20px; box-shadow: var(--e2);
}
.strip-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.strip-van { font-weight: 700; }
.strip-count { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text); }
.strip-cells { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px; height: 40px; }
.strip-cells i { border-radius: 2px; background: var(--sunken); transform-origin: bottom; }
.strip-cells i[data-w='gen'] { background: var(--w-gen); }
.strip-cells i[data-w='wood'] { background: var(--w-wood); }
.strip-cells i[data-w='metal'] { background: var(--w-metal); }
.strip-legend { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.strip-legend li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
}
.strip-legend .n { font-family: var(--font-mono); font-weight: 500; }
.strip-legend .l-gen { background: var(--w-gen-tint); }
.strip-legend .l-wood { background: var(--w-wood-tint); }
.strip-legend .l-metal { background: var(--w-metal-tint); }
.sw { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; }
.sw-gen { background: var(--w-gen); }
.sw-wood { background: var(--w-wood); }
.sw-metal { background: var(--w-metal); }
@media (prefers-reduced-motion: no-preference) {
  html.js .loadstrip.reveal i[data-w] { transform: scaleY(0); opacity: 0; }
  html.js .loadstrip.reveal.in i[data-w] {
    transform: none; opacity: 1;
    transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
    transition-delay: calc(var(--i) * 55ms);
  }
}

/* proof grid: three unequal panels */
.proof-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 36px; }
.panel { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); }
.panel p { color: var(--soft); }
.panel-a {
  grid-row: span 2; background: var(--raised); border: 1px solid var(--hairline);
  box-shadow: var(--e1);
  display: flex; flex-direction: column; gap: 20px;
}
.panel-b { background: var(--surface); border: 1px solid var(--hairline); }
.panel-c { background: var(--surface); border: 1px solid var(--hairline); }
.panel-a .big-line {
  margin-top: auto; font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.15; color: var(--action);
}
/* checklist mock inside panel A */
.check-list { list-style: none; display: grid; gap: 8px; margin-top: auto; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 11px 14px; font-size: 0.95rem; font-weight: 600;
}
.check-list .n { margin-left: auto; font-family: var(--font-mono); font-weight: 500; font-size: 0.88rem; color: var(--muted); }
.tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--done); color: #f1f8f0;
}
/* sms mock inside panel B */
.panel p.sms { color: var(--ink-text); }
.sms {
  margin-top: 16px; max-width: 34ch;
  background: var(--ink-bg); color: var(--ink-text);
  border-radius: var(--r-lg); border-bottom-left-radius: var(--r-sm);
  padding: 12px 16px; font-size: 0.92rem; box-shadow: var(--e1);
}
.sms + .sms-meta { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* finished jobs sell the next ones: reviews + the Studio */
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.panel-n {
  background: var(--raised); border: 1px solid var(--hairline); box-shadow: var(--e1);
  display: flex; flex-direction: column; gap: 22px;
}
.qr-card {
  margin-top: auto; display: flex; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 16px;
}
.qr { flex: none; border: 1px solid var(--hairline); border-radius: var(--r-sm); }
.qr-line { font-weight: 700; font-size: 0.98rem; }
.panel p.qr-sub { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.post-mock { margin-top: auto; display: flex; gap: 18px; align-items: flex-start; }
.post-frame {
  position: relative; flex: none; width: 168px; aspect-ratio: 9 / 16;
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--e2);
  display: flex; flex-direction: column;
}
.post-before, .post-after {
  flex: 1; display: flex; align-items: flex-start; padding: 10px 12px;
}
.post-before { background: var(--ink-surface); }
.post-after { background: var(--sunken); justify-content: flex-end; }
.post-before span, .post-after span {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.post-before span { color: var(--ink-muted); }
.post-after span { color: var(--muted); }
.post-tag {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; background: var(--raised); color: var(--text);
  font-size: 0.66rem; font-weight: 700; padding: 5px 9px; border-radius: 999px;
  box-shadow: var(--e1);
}
.post-brand {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--ink-bg); color: var(--ink-text);
  font-size: 0.62rem; font-weight: 600; text-align: center; padding: 7px 6px;
}
.post-caption { font-size: 0.92rem; color: var(--soft); max-width: 26ch; }
.post-caption span { display: block; margin-top: 6px; color: var(--action-text); font-weight: 600; font-size: 0.85rem; }

/* pays for itself: the ink band, the hard-truth moment */
.ink { background: var(--ink-bg); color: var(--ink-soft); }
.ink h2 { color: var(--ink-text); }
.sums p { color: var(--ink-soft); margin-bottom: 14px; }
.sums .verdict { color: var(--ink-text); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 54ch; }

/* price */
.price .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.price-figure {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.04em;
  font-size: clamp(3.4rem, 7.5vw, 5.6rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.price-figure small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--muted); margin-top: 12px; letter-spacing: 0; }
.includes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 8px 0 32px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); }
.includes svg { flex: none; margin-top: 2px; color: var(--done); }

/* form */
.get { background: var(--surface); }
.get .wrap { max-width: 620px; }
.get p.sub { color: var(--soft); margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; }
.field input {
  width: 100%; min-height: 56px; padding: 0 16px;
  background: var(--raised); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--r-md);
  font: inherit;
}
.field input::placeholder { color: var(--muted); }
.field input:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px var(--action-tint); }
.get .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.92rem; color: var(--muted); margin-top: 14px; }
.form-error { display: none; color: var(--problem); font-weight: 600; margin-top: 14px; }
.form-error.show { display: block; }
.sorted {
  display: none; background: var(--done-tint); border: 1px solid rgba(46, 125, 79, 0.35);
  border-radius: var(--r-lg); padding: 34px; color: var(--on-done-tint);
}
.sorted.show { display: block; }
.sorted h3 { font-size: 1.4rem; }
.sorted p { color: var(--on-done-tint); }

/* footer */
footer { background: var(--ink-bg); color: var(--ink-muted); padding-block: 48px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
footer p, footer a { color: var(--ink-muted); font-size: 0.95rem; }
footer a { color: var(--ink-link); text-underline-offset: 3px; }
footer .mark { font-size: 1rem; margin-bottom: 8px; color: var(--ink-text); }
footer .mark i { background: var(--ink-action); }

/* ---------- scroll reveals (JS adds html.js; no JS = everything visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); }
  html.js .reveal.in {
    opacity: 1; transform: none;
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--d, 0ms);
  }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .panel-a { grid-row: auto; }
  .next-grid { grid-template-columns: 1fr; }
  .price .wrap { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr; }
}
