/* AI Operating Systems — company site
   Warm paper, ink type, forest and gold. Product-first. */

:root {
  --bg: #f4f0e6;
  --bg-2: #ebe4d6;
  --paper: #fffdf8;
  --ink: #141816;
  --ink-soft: #2a312c;
  --muted: #5c655e;
  --line: rgba(20, 24, 22, 0.1);
  --line-strong: rgba(20, 24, 22, 0.18);
  --forest: #1d4a34;
  --forest-2: #163828;
  --moss: #2f6b4a;
  --gold: #a6843d;
  --gold-2: #c6a15a;
  --cream: #f7f1e4;
  --danger: #9c3b3b;
  --ok: #1d6b45;
  --shadow: 0 24px 60px rgba(20, 24, 22, 0.08);
  --shadow-lg: 0 30px 80px rgba(20, 24, 22, 0.16);
  --r: 18px;
  --r-lg: 28px;
  --max: 1160px;
  --nav-h: 76px;
  --font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 560; letter-spacing: -0.03em; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: #e7d7a4; color: var(--ink); }

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 92% -10%, rgba(198, 161, 90, 0.28), transparent 60%),
    radial-gradient(700px 420px at -10% 8%, rgba(47, 107, 74, 0.16), transparent 55%),
    radial-gradient(800px 500px at 50% 120%, rgba(198, 161, 90, 0.12), transparent 50%),
    linear-gradient(180deg, #f7f3ea 0%, #f4f0e6 40%, #efe7d8 100%);
}

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 200;
}
.skip-link:focus { top: 0.7rem; color: white; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
}
.nav.is-solid {
  background: rgba(244, 240, 230, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(20, 24, 22, 0.08);
  flex: none;
}
.brand-mark img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin-left: 0.6rem;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: rgba(20, 24, 22, 0.06);
  color: var(--ink);
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 13px;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(244, 240, 230, 0.98);
  z-index: 40;
  padding: 1rem 1.25rem 2rem;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-panel.open { display: flex; }
.mobile-panel a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.25rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  padding: 0.72rem 1.05rem;
  line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: #f7f3ea; box-shadow: 0 10px 24px rgba(29, 74, 52, 0.22); }
.btn-primary:hover { background: var(--forest-2); color: white; }
.btn-phone { background: var(--ink); color: #f7f3ea; }
.btn-phone:hover { background: #000; color: white; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--paper); color: var(--ink); }
.btn-lg { padding: 0.95rem 1.25rem; font-size: 1.02rem; }
.btn-sm { padding: 0.55rem 0.85rem; font-size: 0.88rem; }
.btn-block { width: 100%; }
.phone-short { display: none; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.2rem 0 1.2rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(198, 161, 90, 0.25);
}
.display {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.display em, .grad {
  font-style: italic;
  font-weight: 520;
  color: var(--forest);
}
.lead { margin-top: 1.15rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

.hero-stage {
  background:
    radial-gradient(400px 180px at 80% 0%, rgba(198, 161, 90, 0.28), transparent 60%),
    linear-gradient(165deg, #24382e 0%, #121916 70%);
  color: #f4f0e6;
  border-radius: 30px;
  padding: 1rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.08);
}
.stage-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem 0.8rem;
  color: rgba(244, 240, 230, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stage-top i {
  width: 8px; height: 8px; border-radius: 50%; display: block; background: #6d7a70;
}
.stage-top i:first-child { background: #e0b15a; }
.stage-top em { margin-left: auto; font-style: normal; color: #e7d7a4; }
.hero > *, .page-hero, .section, .form-shell > *, .card, .stat, .compare > * { min-width: 0; }
.board {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 0.7rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 0.7rem;
}
.side {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.35rem;
}
.side span {
  border-radius: 10px;
  padding: 0.48rem 0.6rem;
  color: rgba(244, 240, 230, 0.62);
  font-size: 0.86rem;
}
.side span.on { background: rgba(255,255,255,0.08); color: white; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.col {
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 0.55rem;
  min-height: 220px;
}
.col h3 {
  color: rgba(244, 240, 230, 0.55);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0.2rem 0.3rem 0.55rem;
}
.deal {
  background: #f7f3ea;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.7rem 0.7rem 0.6rem;
  margin-bottom: 0.45rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.deal strong { display: block; font-size: 0.88rem; letter-spacing: -0.02em; }
.deal small { color: var(--muted); font-size: 0.75rem; }
.deal .tag {
  display: inline-block;
  margin-top: 0.45rem;
  background: #e7f2ea;
  color: var(--forest);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.stage-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0.4rem 0.25rem;
  font-size: 0.82rem;
  color: rgba(244, 240, 230, 0.78);
}
.stage-foot b { color: #f3e2b4; font-weight: 650; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 0.6rem 0 2.2rem;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}
.stat span { color: var(--muted); font-size: 0.95rem; }

.section { padding: 1.2rem 0 2.6rem; }
.section-head { max-width: 44rem; margin-bottom: 1.4rem; }
.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
  font-weight: 560;
}
.h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 560; }
.sub { margin-top: 0.75rem; color: var(--muted); font-size: 1.05rem; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pile, .one {
  border-radius: var(--r-lg);
  padding: 1.4rem 1.35rem 1.3rem;
}
.pile {
  background: transparent;
  border: 1px dashed rgba(20, 24, 22, 0.22);
}
.pile h3, .one h3 { margin-bottom: 0.85rem; }
.pile ul { list-style: none; display: grid; gap: 0.55rem; }
.pile li {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(166, 132, 61, 0.7);
  font-size: 1.02rem;
}
.one {
  background: var(--forest);
  color: #f6f1e6;
  box-shadow: var(--shadow);
}
.one h3, .one p { color: #f6f1e6; }
.one p { font-size: 1.08rem; max-width: 32rem; }
.one .btn { margin-top: 1.15rem; background: #f6f1e6; color: var(--forest-2); }
.one .btn:hover { color: var(--ink); }

.grid-3, .grid-2 { display: grid; gap: 0.9rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.card p, .prose p { color: var(--ink-soft); }
.card p + p { margin-top: 0.7rem; }
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  counter-reset: step;
}
.flow li {
  background: var(--paper);
  border-radius: var(--r);
  padding: 1.1rem 1rem 1.15rem;
  border: 1px solid var(--line);
  min-height: 100%;
}
.flow li span {
  display: block;
  font-family: var(--display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}
.flow h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.flow p { color: var(--muted); font-size: 0.95rem; }

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(198, 161, 90, 0.28), transparent 55%),
    linear-gradient(160deg, #1c382b, #121916);
  color: #f6f1e6;
  border-radius: 32px;
  padding: 2rem 2rem;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  font-family: var(--display);
  font-weight: 540;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #f6f1e6;
  line-height: 1.05;
  max-width: 16ch;
}
.cta-band p { color: rgba(246, 241, 230, 0.78); margin-top: 0.55rem; max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cta-band .btn-primary { background: #f6f1e6; color: var(--forest-2); }
.cta-band .btn-phone { background: transparent; color: #f6f1e6; border-color: rgba(246,241,230,0.35); }

.page-hero { padding: 2.4rem 0 0.4rem; max-width: 46rem; }
.page-hero .lead { font-size: 1.15rem; }

.nap { display: grid; gap: 0.25rem; margin-top: 0.4rem; }
.nap strong { font-family: var(--display); font-size: 1.55rem; font-weight: 560; }
.nap a { font-size: 1.15rem; font-weight: 650; text-decoration: none; }
.phone-xl {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.phone-xl:hover { color: var(--forest); }

.form-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.2rem;
  align-items: start;
  padding-bottom: 2rem;
}
.stack { display: grid; gap: 0.9rem; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.3rem 1.25rem 1.2rem;
  box-shadow: var(--shadow);
}
.form-card label { display: block; font-size: 0.86rem; font-weight: 600; margin: 0.75rem 0 0.3rem; }
.form-card label:first-of-type { margin-top: 0; }
.req { color: var(--gold); }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  outline: none;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(29, 74, 52, 0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.form-status { min-height: 1.3rem; margin-top: 0.75rem; font-size: 0.95rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }
.form-fine { margin-top: 0.7rem; color: var(--muted); font-size: 0.9rem; }
.hp {
  position: absolute !important;
  left: -10000px !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

.portrait {
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.prose { max-width: 44rem; padding-bottom: 2.5rem; }
.prose h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin: 1.5rem 0 0.45rem;
}
.prose ul { margin: 0.4rem 0 0.8rem 1.1rem; color: var(--ink-soft); }
.prose li { margin: 0.25rem 0; }
.notice {
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 1.2rem 1.25rem;
}

.footer { padding: 1rem 0 2.4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.7rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 12px; }
.footer-brand strong { letter-spacing: 0.08em; font-size: 0.82rem; }
.footer h4 {
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.footer ul { list-style: none; display: grid; gap: 0.35rem; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.legal-note { margin-top: 0.8rem; color: var(--muted); font-size: 0.82rem; max-width: 46rem; }

.hero.hero-solo {
  display: block;
  max-width: 46rem;
  padding-top: 2.8rem;
  padding-bottom: 0.2rem;
}
.hero-solo .display { max-width: 10em; text-wrap: balance; }
.promise { margin-top: 1rem; color: var(--muted); font-size: 0.98rem; }
.tight { padding-top: 0; }
.more-link { margin-top: 1rem; }
.gap-top { margin-top: 1.15rem; }
.sample-note { color: var(--muted); font-size: 0.88rem; margin: 0.15rem 0 0.2rem; }
.shots { display: grid; gap: 1rem; }
.shot {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.shot img { width: 100%; height: auto; background: #ece7dc; }
.shot figcaption {
  padding: 0.9rem 1.05rem 1.05rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.shot figcaption b { color: var(--ink); font-weight: 650; }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.faq { display: grid; gap: 0.55rem; max-width: 46rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1.05rem 1rem;
}
.faq summary { cursor: pointer; font-weight: 650; letter-spacing: -0.02em; }
.faq summary:hover { color: var(--forest); }
.faq details p { margin-top: 0.55rem; color: var(--ink-soft); }
.footer-tag { color: var(--muted); font-size: 0.88rem; }
.footer-blurb { max-width: 28rem; }
.btn-submit { margin-top: 1.1rem; }
@media (max-width: 1100px) {
  .brand-text span { display: none; }
}

.reveal { opacity: 0; transform: translateY(10px); animation: rise .7s var(--ease) forwards; }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .nav-actions .btn-primary { display: none; }
  .hero, .compare, .grid-3, .flow, .form-shell, .footer-grid, .grid-2, .shot-grid { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .side { flex-direction: row; flex-wrap: wrap; }
  .stats { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .phone-long { display: none; }
  .phone-short { display: inline; }
  .brand-text span { display: none; }
  .cols { grid-template-columns: 1fr; }
  .col { min-height: 0; }
  .hero { padding-top: 1.2rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}
