/* estiM8r — estim8r.aioc.com.au */
:root {
  --bg: #0d1117;
  --bg-card: #161c26;
  --bg-raised: #1c2430;
  --text: #e6edf3;
  --text-dim: #9aa7b4;
  --cyan: #35d0e0;
  --green: #3fd68f;
  --orange: #f0a83c;
  --red: #ef5b5b;
  --border: #2a3441;
  --max: 960px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(10px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.brands { display: flex; align-items: center; gap: 16px; }
.aioc-mark {
  font-size: 1.35rem; font-weight: 700; letter-spacing: 2px;
  text-decoration: none; color: var(--text); line-height: 1;
}
.aioc-mark span { color: #3b82f6; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), #1f8fd0);
  display: grid; place-items: center; font-size: 1.05rem; color: #04222a; font-weight: 800;
}
.brand-logo {
  width: 36px; height: 36px; border-radius: 9px; object-fit: cover; display: block;
}
nav.links { display: flex; gap: 22px; }
nav.links a { color: var(--text-dim); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
nav.links a:hover, nav.links a[aria-current] { color: var(--text); }

.pitch {
  margin: 20px 0 28px; padding: 20px 22px;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg-card);
}
.pitch h2 { font-size: 1.15rem; margin-bottom: 12px; color: var(--text); border: 0; padding: 0; }
.pitch-list { margin: 0 0 14px 1.1em; color: var(--text-dim); }
.pitch-list li { margin: 10px 0; }
.pitch-list strong { color: var(--text); }
.pitch-note { font-size: 0.9rem; color: var(--text-dim); margin: 0; }

/* Hero */
.hero { padding: 28px 0 60px; text-align: center; }

/* Interactive logo demo — the landing page IS the app demo. */
.logo-stage {
  position: relative;
  width: min(92vw, 36vh, 360px);
  aspect-ratio: 1 / 1;
  margin: 26px auto 34px;
  border-radius: 24px;
  overflow: hidden;
  cursor: crosshair;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  border: 1px solid var(--border);
  box-shadow: 0 12px 70px rgba(53, 208, 224, 0.14);
}
.logo-stage img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  pointer-events: none;
}
.logo-stage svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.stage-hint {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  background: rgba(13, 17, 23, 0.82); color: var(--text);
  font-size: 0.78rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border);
  pointer-events: none; white-space: nowrap; max-width: 94%;
  overflow: hidden; text-overflow: ellipsis;
  z-index: 2;
}
.stage-reset {
  position: absolute; top: 10px; right: 10px;
  background: rgba(13, 17, 23, 0.82); color: var(--text);
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border);
  z-index: 2;
}
.stage-reset:hover { border-color: var(--cyan); color: var(--cyan); }
/* display:flex would override the hidden attribute — without this the
   verdict pill survived Reset. */
.stage-popup[hidden] { display: none; }
.stage-popup {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  background: rgba(13, 17, 23, 0.88); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  justify-content: center; max-width: 94%;
  pointer-events: none;
  z-index: 2;
}
.stage-popup .v {
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 3px 12px; border-radius: 999px;
}
.stage-popup .v.green { background: rgba(63, 214, 143, 0.16); color: var(--green); border: 1px solid rgba(63, 214, 143, 0.5); }
.stage-popup .v.orange { background: rgba(240, 168, 60, 0.16); color: var(--orange); border: 1px solid rgba(240, 168, 60, 0.5); }
.stage-popup .v.red { background: rgba(239, 91, 91, 0.16); color: var(--red); border: 1px solid rgba(239, 91, 91, 0.5); }
.stage-popup .detail { color: var(--text); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
@keyframes pinPop {
  0% { transform: scale(0); } 60% { transform: scale(1.5); } 100% { transform: scale(1); }
}
.hero .decide {
  margin-top: 14px; color: var(--cyan); font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.02em;
  max-width: 21ch; margin: 0 auto;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .sub {
  margin: 22px auto 0; max-width: 52ch; color: var(--text-dim);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}
.cta-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
}
.btn-primary { background: var(--cyan); color: #04222a; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-dim); }
.hero .note { margin-top: 16px; font-size: 0.85rem; color: var(--text-dim); }

/* Verdict strip */
.verdicts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.verdict {
  padding: 10px 20px; border-radius: 999px; font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.verdict.green { background: rgba(63, 214, 143, 0.14); color: var(--green); border: 1px solid rgba(63, 214, 143, 0.4); }
.verdict.orange { background: rgba(240, 168, 60, 0.14); color: var(--orange); border: 1px solid rgba(240, 168, 60, 0.4); }
.verdict.red { background: rgba(239, 91, 91, 0.14); color: var(--red); border: 1px solid rgba(239, 91, 91, 0.4); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.lede { color: var(--text-dim); max-width: 62ch; margin-bottom: 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
}
.card .icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card p { color: var(--text-dim); font-size: 0.93rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { position: relative; padding: 22px 22px 22px 22px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 14px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--cyan); color: #04222a; font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 0.92rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; max-width: 720px; margin: 0 auto; }
.price-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.price-card.pro { border-color: var(--cyan); box-shadow: 0 0 40px rgba(53, 208, 224, 0.08); }
.price-card .tier { font-weight: 800; font-size: 1.15rem; }
.price-card .price { font-size: 2rem; font-weight: 800; margin: 8px 0 2px; }
.price-card .per { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 18px; }
.price-card ul { list-style: none; }
.price-card li { padding: 6px 0 6px 26px; position: relative; color: var(--text-dim); font-size: 0.94rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* FAQ */
details {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 10px;
}
details summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; color: var(--text-dim); font-size: 0.95rem; }

/* Docs pages */
.doc { padding: 56px 0 72px; max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.doc .meta { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 34px; }
.doc h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.doc h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--text-dim); font-size: 0.98rem; }
.doc ul, .doc ol { padding-left: 24px; margin: 10px 0; }
.doc li { margin: 5px 0; }
.doc strong { color: var(--text); }
.doc a { color: var(--cyan); }
.doc blockquote {
  border-left: 3px solid var(--orange); padding: 10px 16px; margin: 16px 0;
  background: rgba(240, 168, 60, 0.06); border-radius: 0 8px 8px 0;
}
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.doc th, .doc td { text-align: left; padding: 9px 12px; border: 1px solid var(--border); color: var(--text-dim); }
.doc th { color: var(--text); background: var(--bg-raised); }

details.full-legal {
  margin-top: 36px; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-card); color: var(--text-dim); font-size: 0.92rem;
}
details.full-legal summary {
  cursor: pointer; color: var(--text); font-weight: 600; list-style: none;
}
details.full-legal summary::-webkit-details-marker { display: none; }
details.full-legal summary::before { content: "▸ "; color: var(--cyan); }
details.full-legal[open] summary::before { content: "▾ "; }
details.full-legal ul { margin: 12px 0 8px 1.2em; }
details.full-legal a { color: var(--cyan); }

/* Disclaimer / counsel callouts */
.disclaimer {
  margin: 20px 0 28px; padding: 16px 18px;
  border: 1px solid rgba(240, 168, 60, 0.45);
  background: rgba(240, 168, 60, 0.08);
  border-radius: 12px; color: var(--text-dim); font-size: 0.92rem;
}
.disclaimer strong { color: var(--orange); }
.legal-q { margin: 12px 0 0 1.2em; color: var(--text-dim); }
.legal-q li { margin: 10px 0; }
.legal-q strong { color: var(--text); }

.draft-banner {
  margin: 0 0 20px; padding: 12px 16px;
  border: 1px solid rgba(240, 168, 60, 0.45);
  background: rgba(240, 168, 60, 0.08);
  border-radius: 10px; font-size: 0.9rem; color: var(--text-dim);
}
.draft-banner strong { color: var(--orange); }
.draft-banner a { color: var(--cyan); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 48px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--text-dim); font-size: 0.88rem; }
.foot a { color: var(--text-dim); text-decoration: none; margin-right: 18px; }
.foot a:hover { color: var(--text); }

@media (max-width: 560px) {
  nav.links { gap: 14px; font-size: 0.9rem; }
  .hero { padding: 56px 0 40px; }
}

.faq-narrow{max-width:760px}
.legal-link{color:var(--orange)}
.logo-round{border-radius:16px}
