:root {
  --orange: #F47A28;
  --orange-dark: #D9661C;
  --pink: #E91E8C;
  --magenta: #D0008A;
  --blue: #00C4FF;
  --cyan: #00F5FF;
  --teal: #00C2C7;
  --purple: #7B3FE4;
  --green: #1DB87A;
  --amber: #F5A623;
  --dark: #0A0A1A;

  --nav-dark: #020810;
  --bg-page-dark: #1A2438;
  --bg-card-dark: #0A1628;
  --bg-surface-dark: #0F2040;

  --white: #FFFFFF;
  --soft: #F9FAFB;
  --cream: #FBF7F0;
  --subtle: #F3F4F6;
  --border: #E5E7EB;
  --text: #111827;
  --muted: #6B7280;

  --font-display: 'Syne', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: var(--font-body); }
body { overflow-x: hidden; color: var(--text); }
img, svg { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }

.eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; background: var(--orange); color: #fff; border: none; cursor: pointer;
}
.btn:hover { background: var(--orange-dark); }
.btn.ghost { background: transparent; border: 1.5px solid currentColor; color: var(--text); }
.btn.ghost:hover { background: rgba(0,0,0,0.04); }

/* ---- Nav (shared across pages) ---- */
.site-nav { background: var(--nav-dark); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-nav .logo { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
.site-nav .sub-note { font-size: 12px; color: #8592AA; display: block; margin-top: 1px; }
.site-nav .links { display: flex; align-items: center; gap: 26px; }
.site-nav .links a { font-size: 14px; font-weight: 600; color: #C7CEDD; }
.site-nav .links a:hover, .site-nav .links a.active { color: #fff; }
.site-nav .links .btn { padding: 10px 20px; font-size: 13.5px; }
.site-nav .menu-btn { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
@media (max-width: 760px) {
  .site-nav .links { display: none; }
  .site-nav .menu-btn { display: block; }
}

/* ---- Placeholder image blocks (no real photo assets yet) ---- */
.ph-img {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; text-align: center; border-radius: 20px;
}
.ph-img.small { font-size: 14px; padding: 12px; }
.ph-img .ph-label { font-family: var(--font-body); font-weight: 600; font-size: 12px; opacity: 0.85; }

/* ---- Page hero (used on interior pages, lighter than home hero) ---- */
.page-hero { background: var(--cream); padding: 56px 0 48px; }
.page-hero .eyebrow { color: var(--orange-dark); margin: 0 0 14px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 16px; color: var(--text); text-wrap: balance; }
.page-hero p { font-size: 16px; color: #44403C; line-height: 1.65; max-width: 60ch; margin: 0; }

/* ---- Hero (home only) ---- */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 84px 0 72px; }
.hero .glow {
  position: absolute; top: -160px; right: -260px; width: 920px; height: 920px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,122,40,0.42) 0%, rgba(233,30,140,0.26) 42%, rgba(233,30,140,0) 74%);
  pointer-events: none;
}
.hero .glow-ring { position: absolute; top: -60px; right: -140px; width: 620px; height: 620px; border-radius: 50%; border: 1.5px solid rgba(10,22,40,0.14); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--orange-dark); margin: 0 0 16px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.14; letter-spacing: -0.01em; margin: 0 0 20px; color: var(--text); text-wrap: balance; }
.hero .sub { font-size: 16.5px; color: #44403C; line-height: 1.65; max-width: 46ch; margin: 0 0 28px; }
.hero .price-note { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.quote-card { background: #fff; border-radius: 16px; border-left: 5px solid var(--orange); box-shadow: 0 8px 28px rgba(20,20,20,0.06); padding: 26px 28px; position: relative; z-index: 1; }
.quote-card p { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.45; margin: 0 0 14px; color: var(--text); }
.quote-card .who { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .hero .wrap, .page-hero .wrap { grid-template-columns: 1fr; } }

/* ---- Offers ---- */
.offers { background: #fff; padding: 64px 0; }
.offers .kicker { text-align: center; margin-bottom: 36px; }
.offers .kicker h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--text); margin: 0 0 8px; }
.offers .kicker p { color: var(--muted); font-size: 15px; margin: 0; }
.offer-card { background: var(--soft); border-radius: 16px; border: 1px solid var(--border); border-left: 5px solid var(--border); padding: 26px 28px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.offer-card.assessment { border-left-color: var(--teal); }
.offer-card.implementation { border-left-color: var(--orange); }
.offer-card.retainer { border-left-color: var(--pink); }
.offer-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 8px; color: var(--text); }
.offer-card p { font-size: 14px; color: var(--muted); margin: 0; max-width: 48ch; line-height: 1.55; }
.offer-card .go { flex: none; font-weight: 700; font-size: 13.5px; color: #fff; background: var(--dark); padding: 11px 20px; border-radius: 999px; }
@media (max-width: 700px) { .offer-card { flex-direction: column; align-items: flex-start; } }

/* ---- Quiz band ---- */
.quiz-band { background: var(--soft); padding: 56px 0; text-align: center; }
.quiz-band .lead { max-width: 480px; margin: 0 auto 26px; }
.quiz-band .lead h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 8px; color: var(--text); }
.quiz-band .lead p { font-size: 14.5px; color: var(--muted); margin: 0; }
.quiz { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; text-align: left; }
.quiz .progress { display: flex; gap: 6px; margin-bottom: 18px; }
.quiz .progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--border); }
.quiz .progress span.done { background: var(--orange); }
.quiz .q-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.quiz h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 16px; color: var(--text); }
.quiz .option { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: 12px; margin-bottom: 9px; font-size: 13.5px; color: var(--text); }
.quiz .option.picked { border-color: var(--orange); background: #FFF6EF; font-weight: 600; }
.quiz .option .radio { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--border); flex: none; }
.quiz .option.picked .radio { border-color: var(--orange); background: var(--orange); }

/* ---- Proof / credibility bar (navy) ---- */
.proof { background: linear-gradient(180deg, var(--bg-page-dark), var(--nav-dark)); padding: 60px 0; }
.proof h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 22px; color: #fff; text-align: center; }
.credbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.credbar .stat { background: var(--bg-card-dark); border-radius: 14px; padding: 18px 22px; min-width: 160px; border-left: 3px solid var(--orange); }
.credbar .stat .num { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #fff; }
.credbar .stat .label { font-size: 12px; color: #8592AA; margin-top: 2px; }
.credbar .badge { display: flex; align-items: center; gap: 8px; background: var(--bg-card-dark); color: #fff; border-radius: 14px; padding: 18px 22px; font-size: 13px; font-weight: 700; }
.credbar .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---- Generic content section ---- */
.section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.section.alt { background: var(--soft); }
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 8px; color: var(--text); }
.section .desc { font-size: 14px; color: var(--muted); max-width: 60ch; margin: 0 0 22px; }

/* ---- Activity feed ---- */
.activity-feed { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; max-width: 640px; }
.activity-row { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--border); }
.activity-row:last-child { border-bottom: none; }
.activity-row .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.activity-row.d1 .dot { background: var(--teal); }
.activity-row.d2 .dot { background: var(--orange); }
.activity-row.d3 .dot { background: var(--pink); }
.activity-row .txt { flex: 1; font-size: 13.5px; color: var(--text); }
.activity-row .txt b { font-weight: 700; }
.activity-row .when { font-size: 12px; color: var(--muted); flex: none; }

/* ---- Ava demo widget ---- */
.ava-demo { max-width: 420px; background: var(--nav-dark); border-radius: 20px; padding: 26px 22px; color: #fff; box-shadow: 0 16px 40px rgba(10,22,40,0.18); }
.ava-demo .who { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ava-demo .avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--pink)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.ava-demo .who-name { font-weight: 700; font-size: 14px; }
.ava-demo .who-sub { font-size: 11px; color: #8592AA; }
.ava-demo .bubble { background: var(--bg-card-dark); border-radius: 14px; padding: 13px 15px; font-size: 13px; line-height: 1.5; color: #C7CEDD; margin-bottom: 10px; }
.ava-demo .bubble.user { background: var(--orange); color: #fff; margin-left: 28px; }
.ava-demo .mic-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ava-demo .mic-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 0 0 6px rgba(244,122,40,0.18); }
.ava-demo .waveform { display: flex; align-items: center; gap: 3px; height: 22px; }
.ava-demo .waveform span { width: 3px; background: #8592AA; border-radius: 2px; }
.ava-demo .waveform span:nth-child(1) { height: 9px; } .ava-demo .waveform span:nth-child(2) { height: 18px; }
.ava-demo .waveform span:nth-child(3) { height: 7px; } .ava-demo .waveform span:nth-child(4) { height: 14px; }
.ava-demo .waveform span:nth-child(5) { height: 20px; } .ava-demo .waveform span:nth-child(6) { height: 11px; }

/* ---- Build log ---- */
.buildlog { max-width: 640px; }
.buildlog-item { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.buildlog-item:last-child { border-bottom: none; }
.buildlog-item .date { flex: none; width: 62px; font-family: var(--font-body); font-weight: 700; font-size: 12px; color: var(--orange-dark); padding-top: 2px; }
.buildlog-item .body h3 { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 0 0 4px; color: var(--text); }
.buildlog-item .body h3 a:hover { color: var(--orange-dark); }
.buildlog-item .body p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.buildlog-item .thumb { flex: none; width: 120px; height: 68px; border-radius: 10px; object-fit: cover; }
.post-hero-img { width: 100%; max-width: 680px; border-radius: 16px; margin: 0 0 32px; display: block; }

/* ---- Founder ---- */
.founder { background: var(--cream); padding: 64px 0; }
.founder .wrap { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 40px; align-items: center; }
.founder h2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin: 0 0 12px; color: var(--text); }
.founder p { font-size: 14.5px; color: #44403C; line-height: 1.65; margin: 0 0 12px; max-width: 56ch; }
@media (max-width: 700px) { .founder .wrap { grid-template-columns: 1fr; } .founder .ph-img { max-width: 140px; } }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 8px; color: var(--text); }
.faq-item p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; max-width: 62ch; }

/* ---- Generic content page (about/notes/post) ---- */
.prose { max-width: 680px; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 32px 0 12px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 15.5px; color: #374151; line-height: 1.7; margin: 0 0 16px; }
.prose ul { font-size: 15.5px; color: #374151; line-height: 1.7; padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ---- CTA band ---- */
.cta-band { background: var(--nav-dark); padding: 64px 0; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #fff; margin: 0 0 10px; }
.cta-band p { font-size: 15px; color: #C7CEDD; margin: 0 0 26px; }

/* ---- Footer ---- */
.site-footer { background: var(--nav-dark); color: #8592AA; padding: 32px 0; text-align: center; font-size: 13.5px; border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer a { color: #fff; font-weight: 700; }
.site-footer .links { margin-top: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.site-footer .links a { color: #8592AA; font-weight: 500; }
.site-footer .links a:hover { color: #fff; }

/* ---- Integrations strip ---- */
.integrations { display: flex; flex-wrap: wrap; gap: 12px; }
.integration-chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px 10px 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.integration-chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.integration-chip img { width: 30px; height: 30px; border-radius: 8px; }

/* ---- "The Loop" showcase section (standout visual moment) ---- */
.loop-section {
  position: relative; overflow: hidden; padding: 88px 0 96px;
  background: radial-gradient(ellipse 900px 500px at 50% -10%, rgba(0,196,255,0.28), transparent 60%),
              linear-gradient(180deg, var(--nav-dark), var(--bg-page-dark) 55%, var(--nav-dark));
}
.loop-section .kicker { text-align: center; max-width: 620px; margin: 0 auto 56px; position: relative; z-index: 1; }
.loop-section .eyebrow { color: var(--blue); }
.loop-section h2 {
  font-family: var(--font-display); font-weight: 700; color: #fff; margin: 14px 0 14px;
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1.16;
}
.loop-section .kicker p { color: #C7CEDD; font-size: 15.5px; line-height: 1.6; }
.loop-diagram { position: relative; max-width: 760px; margin: 0 auto; z-index: 1; }
.loop-diagram .ring-track {
  position: absolute; inset: 0; margin: auto; width: 460px; height: 460px; border-radius: 50%;
  border: 1.5px dashed rgba(0,196,255,0.35);
}
.loop-nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.loop-node {
  background: rgba(10,22,40,0.7); border: 1px solid rgba(0,196,255,0.25); border-radius: 18px;
  padding: 28px 22px; text-align: center; backdrop-filter: blur(2px);
}
.loop-node .glyph {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  background: rgba(0,196,255,0.14); font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--blue);
}
.loop-node h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; margin: 0 0 8px; }
.loop-node p { font-size: 13.5px; color: #9AA6BE; line-height: 1.55; margin: 0; }
.loop-center-tag {
  text-align: center; margin-top: 32px; position: relative; z-index: 1;
}
.loop-center-tag span {
  display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--nav-dark); background: var(--blue); padding: 10px 22px; border-radius: 999px;
}
@media (max-width: 760px) { .loop-nodes { grid-template-columns: 1fr; } .loop-diagram .ring-track { display: none; } }

/* ---- Resources index cards ---- */
.resource-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px; display: flex; gap: 24px; align-items: flex-start; margin-bottom: 18px;
}
.resource-card .cover {
  flex: none; width: 88px; height: 114px; border-radius: 8px; background: linear-gradient(160deg, var(--nav-dark), var(--bg-page-dark));
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(10,22,40,0.18);
}
.resource-card .cover .mark { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--blue); text-align: center; padding: 8px; line-height: 1.3; }
.resource-card.soon .cover { background: linear-gradient(160deg, #E5E7EB, #D1D5DB); }
.resource-card.soon .cover .mark { color: #9CA3AF; }
.resource-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 8px; color: var(--text); }
.resource-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.6; max-width: 56ch; }
.resource-card .tag-soon { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--subtle); padding: 5px 12px; border-radius: 999px; }

/* ---- White paper document ---- */
.wp-cover {
  position: relative; overflow: hidden; padding: 96px 0 80px;
  background: radial-gradient(ellipse 800px 500px at 20% 0%, rgba(0,196,255,0.24), transparent 60%), linear-gradient(180deg, var(--nav-dark), var(--bg-page-dark));
  color: #fff; text-align: center;
}
.wp-cover .eyebrow { color: var(--blue); }
.wp-cover h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.14; max-width: 780px; margin: 16px auto 20px; }
.wp-cover .sub { font-size: 17px; color: #C7CEDD; max-width: 560px; margin: 0 auto 32px; }
.wp-cover .byline { font-size: 13.5px; color: #8592AA; }
.wp-body { padding: 64px 0; }
.wp-body .prose { max-width: 700px; margin: 0 auto; }
.wp-body .prose h2 { border-top: 1px solid var(--border); padding-top: 32px; margin-top: 40px; }
.wp-body .prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.wp-pullquote {
  border-left: 4px solid var(--blue); padding: 4px 0 4px 22px; margin: 28px 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.4; color: var(--text);
}
.wp-checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.wp-checklist li { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; color: #374151; }
.wp-checklist li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; border: 2px solid var(--blue); }
