/* PropOps standalone site — light "Confident Neutral" theme.
   Palette: Bone #F5F2EC (bg) · Ink #1A1D24 (text) · Steel #2B5F7C (accent)
   Steel-Light #3F7A99 (accent-2). PropOps is its own brand; Conduit dark
   tokens do not apply here. */

:root {
  --bg: #F5F2EC;
  --bg-raised: #FBF9F4;
  --surface: #FFFFFF;
  --ink: #1A1D24;
  --text: #1A1D24;
  --text-muted: #565C69;
  --line: rgba(26, 29, 36, 0.12);
  --accent: #2B5F7C;
  --accent-2: #3F7A99;
  --accent-soft: rgba(43, 95, 124, 0.08);
  --accent-glow: rgba(43, 95, 124, 0.28);
  --bone: #F5F2EC;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h5 { font-weight: 650; letter-spacing: -0.015em; line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.12rem; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 11px 20px; border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.18s ease; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-primary {
  background: linear-gradient(180deg, #356F90, var(--accent));
  color: #FFFFFF;
  box-shadow: 0 10px 26px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #3F7A99, #2F6785);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent); background: var(--accent-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 236, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand-lockup { height: 34px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.93rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg-raised); }
.mobile-menu .container { display: grid; gap: 4px; padding: 14px 24px 20px; }
.mobile-menu a { padding: 10px 0; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: none; color: var(--accent); font-weight: 600; }
.mobile-menu.open { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 85% 0%, rgba(63, 122, 153, 0.14), transparent 65%),
    radial-gradient(520px 380px at 0% 100%, rgba(43, 95, 124, 0.08), transparent 65%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(43, 95, 124, 0.2);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero .steel { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Phone mock ---------- */
.showcase { display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; border-radius: 38px;
  background: var(--ink); padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(26, 29, 36, 0.4), 0 0 0 1px rgba(26, 29, 36, 0.08);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen {
  border-radius: 26px; background: #22262F; min-height: 480px;
  padding: 40px 18px 18px; display: flex; flex-direction: column; gap: 14px;
  color: var(--bone); overflow: hidden;
}
.pa-head { display: flex; align-items: center; gap: 12px; }
.pa-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-size: 1.05rem;
  background: linear-gradient(180deg, #4E93B4, var(--accent)); color: #fff;
}
.pa-title { font-size: 0.92rem; font-weight: 600; }
.pa-sub { font-size: 0.76rem; color: rgba(245, 242, 236, 0.55); }
.pa-prog { background: rgba(245, 242, 236, 0.06); border-radius: 10px; padding: 12px 14px; }
.pa-prog-top { display: flex; justify-content: space-between; font-size: 0.74rem; color: rgba(245, 242, 236, 0.6); margin-bottom: 8px; }
.pa-prog-n { font-family: var(--font-mono); color: #6FB4D4; }
.pa-prog-bar { height: 6px; border-radius: 4px; background: rgba(245, 242, 236, 0.12); overflow: hidden; }
.pa-prog-bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent-2), #6FB4D4); transition: width 1.4s ease 0.3s; }
.phone.play .pa-prog-bar span { width: 100%; }
.pa-list { display: grid; gap: 9px; }
.pa-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(245, 242, 236, 0.05); border-radius: 9px;
  padding: 10px 12px; font-size: 0.8rem; color: rgba(245, 242, 236, 0.85);
  opacity: 0; transform: translateY(8px);
}
.phone.play .pa-item { animation: pa-in 0.4s ease forwards; animation-delay: calc(0.35s + var(--i) * 0.22s); }
@keyframes pa-in { to { opacity: 1; transform: none; } }
.pa-check {
  width: 17px; height: 17px; border-radius: 50%; flex: none; position: relative;
  border: 1.5px solid rgba(245, 242, 236, 0.3);
}
.phone.play .pa-check { animation: pa-check 0.3s ease forwards; animation-delay: calc(0.55s + var(--i) * 0.22s); }
@keyframes pa-check {
  to { border-color: var(--accent-2); background: var(--accent-2); box-shadow: inset 0 0 0 3px #22262F; }
}
.pa-cta {
  margin-top: auto; border: none; border-radius: 10px; padding: 12px;
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 600;
  background: rgba(245, 242, 236, 0.1); color: rgba(245, 242, 236, 0.45);
  transition: all 0.4s ease 1.9s; cursor: default;
}
.phone.play .pa-cta { background: linear-gradient(180deg, #4E93B4, var(--accent)); color: #fff; }

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raised); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-cell { padding: 30px 28px; border-left: 1px solid var(--line); }
.proof-cell:first-child { border-left: none; padding-left: 0; }
.proof-cell .k {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.proof-cell .v { font-size: 1rem; color: var(--text-muted); line-height: 1.5; }
.proof-cell .v b { color: var(--text); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding-top: 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .lead { margin-top: 14px; }
.eyebrow {
  display: block; font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: rgba(43, 95, 124, 0.35);
  box-shadow: 0 18px 40px -18px rgba(26, 29, 36, 0.18);
  transform: translateY(-2px);
}
.card .ico {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  margin-bottom: 18px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: var(--text-muted); }
.card p b { color: var(--text); font-weight: 600; }

/* ---------- ICP ---------- */
.icp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.icp .lead { margin-top: 14px; }
.icp ul { display: grid; gap: 14px; margin-top: 22px; }
.icp li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 1rem; line-height: 1.5; }
.icp li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: st; }
.step {
  position: relative; padding: 30px 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface);
}
.step::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.15em;
  color: var(--accent-2); display: block; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--text-muted); }

/* ---------- Early access ---------- */
.cta {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 48px;
  box-shadow: 0 30px 70px -40px rgba(26, 29, 36, 0.25);
}
.cta-copy .lead { margin-top: 14px; }
.cta-note { margin-top: 16px; font-size: 0.9rem; color: var(--text-muted); font-style: italic; }
#ea-form { display: grid; gap: 16px; }
#ea-form .hp { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#ea-form label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--text); }
#ea-form input, #ea-form select, #ea-form textarea {
  font-family: var(--font-sans); font-size: 0.95rem; color: var(--text);
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 6px;
  padding: 11px 13px; width: 100%; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#ea-form input:focus, #ea-form select:focus, #ea-form textarea:focus {
  outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft);
}
#ea-form textarea { resize: vertical; }
#ea-form .btn { justify-self: start; }
.form-status { font-size: 0.9rem; min-height: 1.2em; }
.form-status.ok { color: #2E7D4F; }
.form-status.err { color: #B3402E; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-raised); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-brand .brand-lockup { height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.94rem; color: var(--text-muted); }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 0.93rem; color: var(--text-muted); padding: 5px 0; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.88rem; color: var(--text-muted); }
.footer-bottom a { color: var(--accent); font-weight: 500; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0 48px; }
  .hero-grid, .icp { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .showcase { order: -1; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-cell { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .proof-cell:first-child { border-top: none; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-tight { padding-top: 0; }
  .cta { grid-template-columns: 1fr; padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}
