/* Stimo Systems — landing page
   Tokens from Brand Identity/assets/colors.css; structure from Stimo Landing Page.dc.html */

:root {
  --signal: #ff3d81;
  --ember: #ff7a3d;
  --marigold: #ffc53d;
  --ink: #23111a;
  --blush: #fff3ec;
  --mauve-60: #6e5f66;
  --mauve-30: #c9b9bf;
  --go: #22c58b;
  --white: #ffffff;
  --sunrise: linear-gradient(135deg, #ff3d81 0%, #ff7a3d 55%, #ffc53d 100%);
  --font: 'Gabarito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pill: 1440px;
  --r-card: 24px;
  --r-band: 32px;
  --r-tile: 12px;
  --max: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  margin: 0;
  padding: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100vh; overflow-x: hidden; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--signal); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.band { background: var(--white); }
.mono { font-family: var(--mono); }
.muted { color: var(--mauve-60); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill);
}
.skip:focus { top: 16px; color: #fff; }

/* ---------- Type ---------- */
h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.lead { font-size: 20px; line-height: 1.45; color: var(--mauve-60); max-width: 520px; text-wrap: pretty; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--mauve-60);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.grad-text {
  background: var(--sunrise);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--pill); border: 0;
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1.2;
  cursor: pointer; white-space: nowrap; transition: opacity .15s ease, background-color .15s ease;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3a2430; color: #fff; }
.btn-grad { background: var(--sunrise); color: #fff; }
.btn-grad:hover { opacity: .9; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 16px 24px; padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; border-radius: 8px; }
.brand span { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--mauve-60); }
.nav-links {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  order: 3; flex: 1 1 100%;
}
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; order: 2; flex-wrap: wrap; }
@media (min-width: 1000px) {
  .nav-links { order: 2; flex: 1 1 auto; justify-content: center; }
  .nav-cta { order: 3; }
}
@media (max-width: 560px) {
  .nav-cta { margin-left: 0; flex: 1 1 100%; order: 3; }
  .nav-links { order: 4; }
  .nav-cta .btn { flex: 1 1 auto; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 48px; padding-bottom: 80px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: #fff; border: 1px solid var(--mauve-30); border-radius: var(--pill);
  padding: 8px 14px 8px 10px; font-family: var(--mono); font-size: 12px; color: var(--ink);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #ff3d81, #ffc53d); }
.hero-notes { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--mauve-60); }

/* Email capture */
.capture { display: flex; gap: 8px; max-width: 520px; flex-wrap: wrap; position: relative; }
.capture input[type="email"] {
  flex: 1 1 220px; min-width: 0; background: #fff; border: 1px solid var(--ink);
  border-radius: var(--pill); padding: 14px 22px; font-size: 16px; font-family: var(--font);
  color: var(--ink); outline: none;
}
.capture input::placeholder { color: var(--mauve-60); }
.capture input[aria-invalid="true"] { border-color: var(--signal); }
.capture .btn { padding: 14px 24px; font-size: 16px; }
.capture .btn[disabled] { opacity: .7; cursor: default; }
.capture-msg { flex: 1 1 100%; font-size: 14px; color: var(--mauve-60); min-height: 0; }
.capture-msg:empty { display: none; }
.capture-msg.ok { color: var(--ink); }
.capture-msg.err { color: var(--signal); }
.capture.sent input, .capture.sent button { display: none; }
.capture.sent .capture-msg { font-size: 18px; font-weight: 600; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Hero visual */
.hero-visual { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; }
.blob-1 { left: -6%; top: 6%; width: 62%; height: 58%; background: var(--signal); border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%; opacity: .9; }
.blob-2 { right: -8%; top: -4%; width: 58%; height: 54%; background: var(--marigold); border-radius: 44% 56% 40% 60% / 60% 42% 58% 40%; }
.blob-3 { left: 14%; bottom: -6%; width: 70%; height: 50%; background: var(--ember); border-radius: 55% 45% 62% 38% / 42% 58% 40% 60%; }
.blob-4 { right: 2%; bottom: 10%; width: 26%; height: 30%; background: var(--ink); border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }

.mock {
  position: relative; width: min(100%, 540px); background: #fff; border-radius: var(--r-card);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 1px 0 rgba(35, 17, 26, .06);
}
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mock-title img { flex: 0 0 auto; }
.mock-addr { font-size: 14px; font-weight: 700; white-space: nowrap; }
.mock-title .mono { font-size: 11px; white-space: nowrap; }
.mock-rules { background: var(--blush); border-radius: var(--pill); padding: 4px 10px; font-size: 11px; white-space: nowrap; }
.mock-body { display: grid; grid-template-columns: minmax(96px, 120px) minmax(0, 1fr); gap: 14px; }
.mock-side { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.mock-side span { padding: 7px 10px; color: var(--mauve-60); }
.mock-side .active { background: var(--ink); color: #fff; border-radius: var(--pill); }
.mock-main { display: flex; flex-direction: column; gap: 10px; }
.mock-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: var(--blush); border-radius: var(--r-tile); padding: 10px 12px; }
.stat .k { font-size: 10px; color: var(--mauve-60); }
.stat .v { font-size: 16px; font-weight: 700; }
.mock-req { border: 1px solid var(--mauve-30); border-radius: var(--r-tile); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.mock-req-head { display: flex; justify-content: space-between; font-size: 12px; }
.mock-req-head .met { font-size: 10px; color: var(--go); }
.mock-req-body { font-size: 13px; line-height: 1.4; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.thumbs { display: flex; gap: 6px; }
.thumbs span { width: 44px; height: 32px; border-radius: 8px; background: repeating-linear-gradient(135deg, #c9b9bf 0 2px, #fff3ec 2px 8px); }

@media (max-width: 480px) {
  .hero-visual { min-height: 440px; }
  .mock-body { grid-template-columns: minmax(84px, 100px) minmax(0, 1fr); }
  .mock-side span { padding: 6px 8px; font-size: 12px; }
  .mock-addr { font-size: 13px; }
  .mock-head { flex-wrap: wrap; }
  .mock-title .mono { display: none; }
  .thumbs span { width: 36px; height: 28px; }
}

/* ---------- Status strip ---------- */
.strip { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.strip > div { display: flex; flex-direction: column; gap: 6px; }
.strip .eyebrow { font-size: 11px; }
.strip-v { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Approach ---------- */
.approach {
  padding-top: 96px; padding-bottom: 64px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start;
}
.approach-head { display: flex; flex-direction: column; gap: 16px; }
.approach-body { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.5; color: var(--mauve-60); text-wrap: pretty; }

/* ---------- Features / Products ---------- */
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.features { padding-top: 32px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.card .num { font-size: 12px; color: var(--ember); }
.card p { font-size: 16px; line-height: 1.5; color: var(--mauve-60); text-wrap: pretty; }

.products { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.product { background: var(--blush); border-radius: var(--r-card); padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.product h3 { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.product-role { font-size: 15px; font-weight: 600; margin-top: -8px; }
.product p { font-size: 16px; line-height: 1.5; color: var(--mauve-60); }
.bar { height: 6px; width: 72px; border-radius: var(--pill); background: var(--mauve-30); }
.bar-grad { background: var(--sunrise); }
.pill { font-size: 11px; color: var(--ink); background: #fff; border-radius: var(--pill); padding: 4px 10px; align-self: flex-start; }

/* ---------- Contact ---------- */
.contact { padding-top: 96px; padding-bottom: 96px; }
.cta-band {
  background: var(--ink); border-radius: var(--r-band); padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.glow {
  position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: var(--sunrise); opacity: .35; filter: blur(40px); pointer-events: none;
}
.cta-copy { position: relative; display: flex; flex-direction: column; gap: 16px; color: #fff; }
.cta-copy img { height: 36px; width: auto; align-self: flex-start; }
.cta-copy h2 { color: #fff; }
.cta-copy p { font-size: 18px; line-height: 1.5; color: var(--mauve-30); text-wrap: pretty; }
.cta-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: var(--r-card); padding: 28px; }
.cta-card .eyebrow { font-size: 11px; }
.cta-email { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.cta-card .muted { font-size: 15px; }
.cta-card .btn { margin-top: 8px; align-self: flex-start; font-size: 16px; }

/* ---------- Footer ---------- */
.footer {
  padding-bottom: 40px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--mauve-60);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.disclaimer { font-size: 11px; }
