/* ==========================================================================
   Ownify — corporate homepage
   Vanilla CSS, no build step, no external fonts. System font stacks only.
   ========================================================================== */

:root {
  --bg: #f8f7f4;
  --bg-raised: #ffffff;
  --ink: #1a1c1f;
  --ink-soft: #4a4e55;
  --ink-faint: #7a7e85;
  --rule: #e3e1da;
  --rule-strong: #d2cfc5;
  --navy: #16233f;
  --navy-soft: #2c3c5e;
  --bronze: #9c7a45;
  --bronze-bg: #f4ede0;
  --sim-bg: #f3e9e4;
  --sim-text: #8a4a2f;
  --toolkit-bg: #eef1ec;
  --toolkit-text: #45624c;
  --active-bg: #eaeef4;
  --active-text: #2c3c5e;
  --proto-bg: #eef1f7;
  --proto-text: #34405c;
  --max: 1120px;
  --max-narrow: 720px;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --bg-raised: #1b1e23;
    --ink: #ece9e2;
    --ink-soft: #b7b4ac;
    --ink-faint: #85837c;
    --rule: #2b2d33;
    --rule-strong: #3a3d44;
    --navy: #cfd8ea;
    --navy-soft: #a9b6d1;
    --bronze: #d3b076;
    --bronze-bg: #2a2418;
    --sim-bg: #2c211c;
    --sim-text: #e2a583;
    --toolkit-bg: #1e2620;
    --toolkit-text: #9cc2a4;
    --active-bg: #1b2130;
    --active-text: #adbedd;
    --proto-bg: #1c212c;
    --proto-text: #a9b8d8;
  }
}

:root[data-theme="dark"] {
  --bg: #14161a;
  --bg-raised: #1b1e23;
  --ink: #ece9e2;
  --ink-soft: #b7b4ac;
  --ink-faint: #85837c;
  --rule: #2b2d33;
  --rule-strong: #3a3d44;
  --navy: #cfd8ea;
  --navy-soft: #a9b6d1;
  --bronze: #d3b076;
  --bronze-bg: #2a2418;
  --sim-bg: #2c211c;
  --sim-text: #e2a583;
  --toolkit-bg: #1e2620;
  --toolkit-text: #9cc2a4;
  --active-bg: #1b2130;
  --active-text: #adbedd;
  --proto-bg: #1c212c;
  --proto-text: #a9b8d8;
}

:root[data-theme="light"] {
  --bg: #f8f7f4;
  --bg-raised: #ffffff;
  --ink: #1a1c1f;
  --ink-soft: #4a4e55;
  --ink-faint: #7a7e85;
  --rule: #e3e1da;
  --rule-strong: #d2cfc5;
  --navy: #16233f;
  --navy-soft: #2c3c5e;
  --bronze: #9c7a45;
  --bronze-bg: #f4ede0;
  --sim-bg: #f3e9e4;
  --sim-text: #8a4a2f;
  --toolkit-bg: #eef1ec;
  --toolkit-text: #45624c;
  --active-bg: #eaeef4;
  --active-text: #2c3c5e;
  --proto-bg: #eef1f7;
  --proto-text: #34405c;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.wrap-narrow {
  max-width: var(--max-narrow);
}

a { color: inherit; }

code {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 0.9em;
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--navy);
}

.wordmark-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-faint);
  margin-left: 4px;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--navy); }

/* ---------------- Hero ---------------- */

.hero {
  padding: 108px 0 88px;
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bronze);
  font-weight: 600;
  margin: 0 0 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  max-width: 18ch;
  color: var(--ink);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-faint);
}

.hero-meta .dot { color: var(--rule-strong); }

/* ---------------- Sections (generic) ---------------- */

.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--rule);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 32px);
  margin: 0 0 16px;
  color: var(--ink);
}

.section-lede {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 68ch;
  margin: 0 0 48px;
}

/* ---------------- The Shift ---------------- */

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.signal {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.signal-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--bronze);
  font-weight: 700;
  margin: 0 0 14px;
}

.signal h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 14px;
  color: var(--ink);
}

.signal p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.signal-source {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--rule-strong);
}

.shift-synthesis {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 78ch;
  padding: 28px 30px;
  background: var(--bronze-bg);
  border-left: 3px solid var(--bronze);
  border-radius: 4px;
}

/* ---------------- What We Build ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.product {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 30px 28px;
}

.product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.product-head h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  color: var(--ink);
}

.status-pill {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: 100px;
  white-space: nowrap;
  margin-top: 2px;
}

.status-prototype { background: var(--proto-bg); color: var(--proto-text); }
.status-toolkit { background: var(--toolkit-bg); color: var(--toolkit-text); }
.status-sim { background: var(--sim-bg); color: var(--sim-text); }
.status-active { background: var(--active-bg); color: var(--active-text); }

.product p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.product-honest {
  font-size: 14.5px;
  color: var(--ink-faint);
  font-style: italic;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

/* ---------------- Proof of Execution ---------------- */

.proof-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.proof-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}

.proof-index {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--rule-strong);
  line-height: 1.2;
}

.proof-item h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--ink);
}

.proof-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 74ch;
}

/* ---------------- Status ---------------- */

.status-section {
  border-bottom: none;
  padding-bottom: 96px;
}

.status-section p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.status-section p:last-child { margin-bottom: 0; }

/* ---------------- Footer ---------------- */

.site-footer {
  padding: 32px 0 48px;
}

.site-footer p {
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
  .signal-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero { padding: 72px 0 56px; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .proof-item { grid-template-columns: 1fr; gap: 8px; }
  .proof-index { display: none; }
}
