/* ============================================================
   BackOfficeBoss.ai — landing page styles
   Clean, modern, premium. Light primary with dark accent sections.
   ============================================================ */

:root {
  /* Palette */
  --bg:           #ffffff;
  --bg-soft:      #f6f5f1;   /* warm off-white for alt sections */
  --bg-alt:       #fafaf7;
  --bg-dark:      #0b1020;   /* deep navy for dark sections */
  --bg-dark-2:    #131a2e;

  --text:         #0b1020;
  --text-muted:   #5b647a;
  --text-light:   #f4f5f9;
  --text-light-muted: #b6becf;

  --border:       #e7e6df;
  --border-dark:  #1f2742;

  --accent:       #4f46e5;   /* indigo — modern, confident */
  --accent-hover: #4338ca;
  --accent-soft:  #eef0ff;
  --gold:         #c8a25c;   /* subtle premium accent */

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section-light { background: var(--bg); }
.section-soft  { background: var(--bg-soft); }
.section-dark  { background: var(--bg-dark); color: var(--text-light); }
.section-dark .h2, .section-dark .eyebrow.light, .section-dark .section-sub.light { color: var(--text-light); }
.section-dark .section-sub.light { color: var(--text-light-muted); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow.light { color: var(--gold); }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
}
p { margin: 0 0 14px; color: var(--text-muted); }
.section-dark p { color: var(--text-light-muted); }
.accent-text {
  background: linear-gradient(120deg, var(--accent) 0%, #7c83ff 60%, var(--gold) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}
.section-head { max-width: 760px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-sub {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 22px -8px rgba(79, 70, 229, 0.55);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(79, 70, 229, 0.6); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.section-dark .btn-ghost { color: var(--text-light); border-color: rgba(255,255,255,.18); }
.btn-ghost:hover { border-color: var(--text); }
.section-dark .btn-ghost:hover { border-color: var(--text-light); background: rgba(255,255,255,.04); }
.btn-large { padding: 16px 28px; font-size: 16px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(255,255,255,.92);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.brand-mark { height: 54px; width: auto; flex-shrink: 0; display: block; }
.brand-mark.small { height: 40px; width: auto; flex-shrink: 0; display: block; }
.brand-dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  opacity: .82;
  white-space: nowrap;
  transition: opacity .15s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta {
  background: var(--text);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  opacity: 1;
  font-weight: 600;
  font-size: 14px;
}
.nav-links .nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(79,70,229,.10) 0%, transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(200,162,92,.10) 0%, transparent 70%),
    linear-gradient(180deg, #fafaf7 0%, #ffffff 70%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 60px);
  justify-items: center;
  text-align: center;
}
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-bullets .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.hero-visual { position: relative; width: 100%; max-width: 1080px; margin: 0 auto; }
/* soft colored glow so a white-background image reads as a framed card, not a plain white box */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -8% -14% -8%;
  z-index: 0;
  background:
    radial-gradient(48% 48% at 28% 24%, rgba(79,70,229,.34) 0%, transparent 70%),
    radial-gradient(46% 46% at 82% 82%, rgba(200,162,92,.30) 0%, transparent 70%);
  filter: blur(36px);
  border-radius: 50%;
}

.hero-visual-frame, .showcase-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 2px 6px -2px rgba(11,16,32,.10),
    0 30px 60px -28px rgba(11,16,32,.35);
}
.hero-visual-frame { aspect-ratio: auto; }
.showcase-frame { aspect-ratio: 14/9; }
.hero-visual-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* keep the gradient look only behind the placeholder state */
.hero-visual-frame.is-placeholder, .showcase-frame.is-placeholder {
  background: linear-gradient(135deg, #eceaff 0%, #f6f5f1 60%, #fcf2dd 100%);
}
.hero-visual-frame.is-placeholder { aspect-ratio: 1693/929; }
.hero-visual-frame .placeholder-inner,
.showcase-frame .placeholder-inner {
  display: none;
}
.hero-visual-frame.is-placeholder .placeholder-inner,
.showcase-frame.is-placeholder .placeholder-inner {
  display: flex;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}
.placeholder-badge {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  background: rgba(11,16,32,.06);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text);
}
.placeholder-size {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item:last-child { border-right: 0; }
.trust-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.trust-item span {
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Problem grid ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(11,16,32,.25);
}
.card-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: 16px;
  font-weight: 600;
}

/* ---------- Pillars (dark section) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.pillar {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.pillar:hover {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  transform: translateY(-3px);
}
.pillar h3 { color: var(--text-light); }
.pillar p { color: var(--text-light-muted); }
.pillar-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79,70,229,.25), rgba(200,162,92,.15));
  color: #fff;
  margin-bottom: 18px;
}
.pillar-icon svg { width: 22px; height: 22px; }

/* ---------- Showcase ---------- */
.showcase-grid {
  display: block;
}
.showcase-copy { max-width: 820px; margin: 0 auto clamp(36px, 5vw, 56px); }
.showcase-visual { width: 100%; max-width: 1080px; margin: 0 auto; }
/* match the hero image: natural ratio, full content size, no crop */
.showcase-frame { aspect-ratio: auto; }
.showcase-frame img { width: 100%; height: auto; object-fit: initial; }
.callout {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  margin: 24px 0 28px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
}
.callout-icon {
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}
.callout h4 { margin-bottom: 6px; }
.callout p { margin: 0; color: var(--text); }
.showcase-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Meet the Bosses ---------- */
.boss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.boss-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.boss-card:hover {
  transform: translateY(-3px);
  border-color: #d8d6c9;
  box-shadow: 0 18px 36px -24px rgba(11,16,32,.28);
}
.boss-role {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.boss-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.boss-card > p { font-size: 15px; margin: 0 0 14px; }
.boss-points {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.boss-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
.boss-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}
.boss-footnote {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.boss-footnote strong { color: var(--text); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: .08em;
}

/* ---------- Two-col (why local) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-light-muted);
  font-size: 16.5px;
  line-height: 1.6;
}
.check-list li strong { color: var(--text-light); font-weight: 600; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.industry-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.industry-card:hover {
  transform: translateY(-3px);
  border-color: #d8d6c9;
  box-shadow: 0 18px 36px -24px rgba(11,16,32,.25);
}
.industry-card h4 { font-size: 17px; margin-bottom: 6px; }
.industry-card p { font-size: 14px; margin: 0; }
.industry-card.is-served {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.industry-served-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.industries-note {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--bg);
  border: 1px dashed #cfcdc1;
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.industries-note strong { color: var(--text); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.about-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #eceaff 0%, #f6f5f1 60%, #fcf2dd 100%);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(11, 16, 32, 0.28);
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-frame .placeholder-inner { display: none; }
.about-frame.is-placeholder .placeholder-inner {
  display: flex;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.about-highlights li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 2px solid var(--accent);
}
.about-highlights strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.about-highlights span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.35;
}
.about-sign {
  margin-top: 24px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Why local: list + Mac mini visual ---------- */
.local-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.local-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: transparent;
  border: 0;
}
.local-frame.is-placeholder {
  background: rgba(255,255,255,.03);
  border-radius: var(--radius-lg);
}
.local-frame img { width: 100%; height: 100%; object-fit: contain; }
.local-frame .placeholder-inner { display: none; }
.local-frame.is-placeholder .placeholder-inner {
  display: flex;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}
.local-frame.is-placeholder .placeholder-badge {
  background: rgba(255,255,255,.1);
  color: var(--text-light);
}
.local-frame.is-placeholder .placeholder-size { color: var(--text-light-muted); }

/* ---------- Savings calculator ---------- */
.calc {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px);
}
.calc-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  counter-reset: cstep;
  flex-wrap: wrap;
}
.calc-steps li {
  flex: 1;
  min-width: 110px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light-muted);
  padding-top: 12px;
  border-top: 2px solid var(--border-dark);
  counter-increment: cstep;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.calc-steps li::before { content: counter(cstep) ".  "; opacity: .7; }
.calc-steps li.is-active, .calc-steps li.is-done {
  color: var(--text-light);
  border-top-color: var(--accent);
}
.calc-panel { display: none; }
.calc-panel.is-active { display: block; animation: calcfade .35s var(--ease); }
@keyframes calcfade { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform:none; } }

.calc-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text-light);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.calc-lead { color: var(--text-light-muted); margin: 0 0 22px; }

.calc label { display: block; font-size: 14px; font-weight: 600; color: var(--text-light); margin-bottom: 8px; }
.calc input[type="number"], .calc input[type="text"], .calc select {
  font: inherit;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  border-radius: 10px;
  padding: 11px 13px;
}
.calc input::placeholder { color: rgba(255,255,255,.35); }
.calc select { cursor: pointer; }
.calc input:focus, .calc select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79,70,229,.25);
}
.calc-rate-toggle {
  display: inline-flex;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}
.calc-rate-toggle button {
  border: 0; background: transparent;
  color: var(--text-light-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.calc-rate-toggle button.is-active { background: var(--accent); color: #fff; }
.calc-input-money { display: flex; align-items: center; gap: 10px; }
.calc-input-money span { font-size: 20px; color: var(--text-light-muted); }
.calc-input-money input { width: 220px; max-width: 100%; font-size: 18px; }
.calc-hint { font-size: 13px; color: var(--text-light-muted); margin: 8px 0 0; }
.calc-rate-result { margin-top: 22px; font-size: 15px; color: var(--text-light-muted); }
.calc-rate-result strong { color: var(--text-light); font-size: 19px; font-family: var(--font-display); font-weight: 500; }

.calc-tasks { display: flex; flex-direction: column; gap: 12px; }
.calc-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  flex-wrap: wrap;
}
.calc-task-label strong { display: block; color: var(--text-light); font-size: 15px; }
.calc-task-label span { font-size: 13px; color: var(--text-light-muted); }
.calc-task-inputs { display: flex; align-items: center; gap: 8px; }
.calc-task-inputs .calc-hours { width: 76px; }
.calc-unit { color: var(--text-light-muted); font-size: 14px; }
.calc-custom-row .calc-clabel { flex: 1; min-width: 200px; }
.calc-remove {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 18px; line-height: 1;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.calc-remove:hover { border-color: #d05a5a; color: #e08585; }
.calc-add {
  margin-top: 16px;
  width: 100%;
  background: transparent;
  border: 1px dashed rgba(255,255,255,.25);
  color: var(--text-light);
  padding: 13px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.calc-add:hover { border-color: var(--accent); background: rgba(255,255,255,.03); }

.calc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.calc-nav .btn { min-width: 130px; }
.calc-disclaimer { text-align: center; font-size: 12.5px; color: var(--text-light-muted); margin: 16px 0 0; opacity: .8; }

/* results */
.calc-results { text-align: center; padding: 8px 0; }
.calc-sub { color: var(--text-light-muted); margin: 0; font-size: 16px; }
.calc-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 80px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 10px 0;
}
.calc-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}
.calc-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 18px 26px;
  min-width: 150px;
}
.calc-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--text-light);
  letter-spacing: -0.01em;
}
.calc-stat span { font-size: 13px; color: var(--text-light-muted); }
.calc-framing {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--text-light-muted);
  font-size: 16px;
  line-height: 1.65;
}
.calc-framing strong { color: var(--text-light); }
.calc-results-cta { margin-top: 28px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.contact-perks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-perks li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-weight: 500;
}
.contact-perks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: 13px; color: var(--text-muted); }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
}
.field input, .field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-status { grid-column: 1 / -1; font-size: 14px; color: var(--text-muted); min-height: 18px; }
.form-status.is-success { color: #186b3a; }
.form-status.is-error   { color: #b03030; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: -0.01em;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.footer-links a:hover { color: var(--text); }
.footer-meta { font-size: 13px; color: var(--text-muted); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .showcase-grid, .two-col, .contact-grid, .about-grid, .local-split {
    grid-template-columns: 1fr;
  }
  .about-visual { max-width: 420px; }
  .about-highlights { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .contact-form { padding: 26px; }
}

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-row { height: 64px; }
  .site-header.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: #fff;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--border);
    align-items: stretch;
    gap: 16px;
  }
  .site-header.is-open .nav-links a {
    padding: 8px 0;
    font-size: 16px;
  }
  .site-header.is-open .nav-links .nav-cta { text-align: center; padding: 12px 18px; }

  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
