/* SmartFlow Digital — shared foundation
   Page-specific rules live in each page's inline <style>, loaded after this file. */

:root {
  --bg-dark: #1A2B3D;
  --bg-darker: #101D2A;
  --cream: #EDE9DD;
  --cream-dim: #B8C0C9;
  --gold: #C99A3E;
  --line: rgba(237,233,221,0.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.04em; text-transform: uppercase; }
h1, h2 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.01em; }
mark { background: none; color: var(--gold); font-weight: 600; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 32px; }

section.light-panel {
  --bg-dark: #FFFFFF;
  --bg-darker: #F2EFE6;
  --cream: #22262C;
  --cream-dim: #5C6470;
  --gold: #A9782E;
  --line: rgba(34,38,44,0.12);
  background: var(--bg-dark);
  color: var(--cream);
}

/* Signal motif */
.signal { position: relative; width: 14px; height: 14px; flex: none; display: inline-block; }
.signal::before, .signal::after {
  content: ''; position: absolute; border-radius: 50%; border: 1px solid var(--gold);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.signal .dot { position: absolute; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.signal::before { width: 14px; height: 14px; opacity: 0.6; }
.signal::after { width: 26px; height: 26px; opacity: 0.3; }

/* Nav */
nav { position: sticky; top: 0; z-index: 10; background: rgba(16,29,42,0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
nav .wrap { max-width: 1040px; display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; color: var(--cream); display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-actions a { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--cream-dim); text-decoration: none; white-space: nowrap; }
.nav-actions a:hover { color: var(--gold); }
.nav-actions .nav-cta { font-family: 'Inter', sans-serif; background: var(--gold); color: #101D2A; font-weight: 600; padding: 9px 16px; border-radius: 4px; }
.nav-actions .nav-cta:hover { color: #101D2A; opacity: 0.88; }
@media (max-width: 640px) {
  .nav-actions { gap: 12px; }
  .nav-actions a.nav-collapse { display: none; }
  .nav-actions .nav-cta { padding: 8px 13px; font-size: 12px; }
}

/* Buttons + CTA helpers */
.btn-primary { display: inline-block; background: var(--gold); color: #101D2A; font-weight: 600; padding: 16px 32px; border-radius: 4px; text-decoration: none; font-size: 15px; transition: transform .15s; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary {
  display: inline-block; background: transparent; color: var(--gold); font-weight: 600; padding: 15px 30px;
  border-radius: 4px; text-decoration: none; font-size: 15px; border: 1.5px solid rgba(201,154,62,0.5);
  transition: background .15s, transform .15s;
}
.btn-secondary:hover { background: rgba(201,154,62,0.1); transform: translateY(-1px); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.message-link { display: block; margin-top: 18px; font-size: 14px; color: var(--cream-dim); text-decoration: none; }
.message-link:hover { color: var(--gold); }
.message-link u { text-decoration: underline; text-decoration-color: rgba(201,154,62,0.5); }

/* Final CTA shell */
.final-cta {
  text-align: center; padding: 130px 0; scroll-margin-top: 72px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,154,62,0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(16,29,42,0.93) 0%, rgba(16,29,42,0.9) 100%),
    url('https://images.unsplash.com/photo-1721924885411-a65796c8af48?auto=format&fit=crop&w=1800&q=70') center/cover no-repeat;
}
.final-cta h2 { font-size: 34px; margin-bottom: 14px; }
.final-cta p { color: var(--cream-dim); font-size: 16px; margin-bottom: 32px; }
.calendly-embed { max-width: 680px; margin: 0 auto 20px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 64px rgba(0,0,0,0.38); }
.calendly-inline-widget { min-width: 320px; height: 700px; }

/* Footer */
footer { padding: 36px 0; background: var(--bg-darker); }
footer .wrap { max-width: 1040px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--cream-dim); }
footer a { text-decoration: none; }
footer a:hover { color: var(--gold); }


/* ============================================================
   Page-section components — shared by the home + vertical pages.
   Page-specific bits (hero image, headline treatment, per-page
   copy widths) stay in each page's inline <style>.
   ============================================================ */

/* Who / What two-column */
.who-what { padding: 90px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who-what .wrap { max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.who-what .col-label { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 20px; letter-spacing: 0.05em; }
.who-what ul { list-style: none; }
.who-what li { padding: 11px 0; font-size: 16.5px; font-weight: 450; color: var(--cream); border-bottom: 1px solid var(--line); }
.who-what li:last-child { border-bottom: none; }
.who-what li span.mark { color: var(--gold); margin-right: 10px; font-weight: 700; }
.who-what .services-blurb { font-size: 16.5px; font-weight: 450; color: var(--cream); }
.who-what .services-blurb strong { color: var(--cream); font-weight: 600; }
.who-what .services-list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.who-what .pill { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; padding: 5px 11px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.03em; border: 1px solid transparent; }
.who-what .pill-teal { color: #2DD4BF; background: rgba(45,212,191,0.14); border-color: rgba(45,212,191,0.35); }
.who-what .pill-orange { color: #FB923C; background: rgba(251,146,60,0.14); border-color: rgba(251,146,60,0.35); }
.who-what .pill-violet { color: #A78BFA; background: rgba(167,139,250,0.16); border-color: rgba(167,139,250,0.38); }
.who-what .pill-pink { color: #F472B6; background: rgba(244,114,182,0.14); border-color: rgba(244,114,182,0.36); }
.who-what .pill-blue { color: #60A5FA; background: rgba(96,165,250,0.14); border-color: rgba(96,165,250,0.36); }

/* Personas */
.persona-section { padding: 90px 0; }
.persona-header { margin-bottom: 28px; }
.persona-label { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.persona-intro { font-size: 17px; font-weight: 500; color: var(--cream-dim); max-width: 480px; line-height: 1.5; }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.persona-card { background: var(--bg-dark); padding: 30px 24px; }
.persona-avatar {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: -0.02em; color: #101D2A; margin-bottom: 18px;
}
.persona-card:nth-child(1) .persona-avatar { background: linear-gradient(135deg, #C99A3E, #E0B85C); }
.persona-card:nth-child(2) .persona-avatar { background: linear-gradient(135deg, #A6432E, #C96348); color: #FBF8F0; }
.persona-card:nth-child(3) .persona-avatar { background: linear-gradient(135deg, #6B7F94, #8FA3B8); }
.persona-card .role { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--cream); }
.persona-card p { font-size: 14.5px; font-weight: 450; color: var(--cream-dim); }

/* Proof */
.proof { padding: 120px 0; text-align: center; }
.proof .section-label { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 16px; letter-spacing: 0.06em; }
.proof h2 { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; line-height: 1.25; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; color: var(--cream); }
.stat-row { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; margin-bottom: 36px; }
.stat-row .stat { text-align: center; }
.big-num { font-family: 'Space Grotesk', sans-serif; font-size: 92px; font-weight: 700; line-height: 1; }
.stat:nth-child(1) .big-num { color: #1E9E7E; }
.stat:nth-child(2) .big-num { color: #FB923C; }
.stat:nth-child(3) .big-num { color: #2E7DA6; }
.big-num-label { font-size: 15px; color: var(--cream-dim); margin-top: 12px; max-width: 220px; }
.proof-story { font-size: 17px; font-weight: 450; color: var(--cream); max-width: 560px; margin: 0 auto 24px; }
.proof a.link { color: var(--gold); font-size: 15px; text-decoration: none; font-weight: 500; }

/* Seasonal / order-trigger calendar */
.calendar-section { padding: 90px 0; }
.calendar-section .section-label { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 16px; text-align: center; letter-spacing: 0.06em; }
.calendar-section h2 { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; line-height: 1.25; text-align: center; margin-bottom: 48px; max-width: 620px; margin-left: auto; margin-right: auto; color: var(--cream); }
.calendar-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 64px; }
.calendar-item {
  background: var(--bg-darker); padding: 28px 20px 24px; border-radius: 6px; position: relative; overflow: hidden;
  border: 1px solid var(--line); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.calendar-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.calendar-item:nth-child(1)::before { background: linear-gradient(90deg, #C99A3E, #E0B85C); }
.calendar-item:nth-child(2)::before { background: linear-gradient(90deg, #A6432E, #C96348); }
.calendar-item:nth-child(3)::before { background: linear-gradient(90deg, #6B7F94, #8FA3B8); }
.calendar-item:nth-child(4)::before { background: linear-gradient(90deg, #C99A3E, #A6432E); }
.calendar-item:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.35); }
.calendar-item .icon { width: 30px; height: 30px; margin-bottom: 14px; }
.calendar-item .icon svg { width: 100%; height: 100%; }
.calendar-item:nth-child(1) .icon { color: #C99A3E; }
.calendar-item:nth-child(2) .icon { color: #C96348; }
.calendar-item:nth-child(3) .icon { color: #8FA3B8; }
.calendar-item:nth-child(4) .icon { color: #C99A3E; }
.calendar-item .period { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; font-weight: 500; }
.calendar-item h4 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--cream); }
.calendar-item p { font-size: 14px; font-weight: 450; color: var(--cream-dim); }

/* Planning timeline */
.timeline-caption { text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 22px; }
.timeline-track { position: relative; height: 100px; margin: 0 0 20px; }
.timeline-line { position: absolute; top: 16px; left: 3%; right: 3%; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #C99A3E, #C96348, #8FA3B8, #C99A3E); }
.timeline-node { position: absolute; top: 0; transform: translateX(-50%); text-align: center; width: 170px; }
.timeline-node .node-dot { width: 14px; height: 14px; border-radius: 50%; margin: 6px auto 12px; position: relative; z-index: 2; box-shadow: 0 0 0 5px var(--bg-dark); }
.timeline-node .node-label { font-size: 12.5px; font-weight: 500; color: var(--cream-dim); line-height: 1.4; }

/* About */
.about { padding: 90px 0; border-top: 1px solid var(--line); }
.about .wrap { max-width: 760px; }
.about .section-label { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 16px; letter-spacing: 0.06em; }
.about h2 { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; line-height: 1.28; margin-bottom: 26px; max-width: 600px; color: var(--cream); }
.about p { font-size: 16.5px; font-weight: 450; color: var(--cream); margin-bottom: 18px; }
.about ul { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.about li { padding: 11px 0 11px 26px; font-size: 16px; font-weight: 450; color: var(--cream); border-bottom: 1px solid var(--line); position: relative; }
.about li::before { content: '\2192'; position: absolute; left: 0; top: 11px; color: var(--gold); font-weight: 700; }
.about li a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,154,62,0.45); }
.about li a:hover { border-bottom-color: var(--gold); }

@media (max-width: 700px) {
  .final-cta { padding: 80px 0; }
  h1.headline { font-size: 30px; }
  .who-what { padding: 60px 0; }
  .who-what .wrap { grid-template-columns: 1fr; gap: 40px; }
  .persona-section { padding: 60px 0; }
  .persona-grid { grid-template-columns: 1fr; }
  .proof { padding: 80px 0; }
  .big-num { font-size: 72px; }
  .calendar-section { padding: 60px 0; }
  .calendar-strip { grid-template-columns: 1fr 1fr; }
  .timeline-track { display: none; }
  .about { padding: 60px 0; }
  .about h2 { font-size: 24px; }
}
