:root {
  --ink: #f4f1ea;
  --ink-deep: #e9e3d8;
  --panel: #fbf9f4;
  --panel-2: #f1ece3;
  --line: rgba(21, 24, 28, 0.13);
  --line-soft: rgba(21, 24, 28, 0.06);
  --bone: #1b1e23;
  --bone-dim: #555c65;
  --steel: #6c7682;
  --steel-dim: #98a0a8;
  --accent: #e8a33c;
  --accent-ink: #15181c;
  --accent-soft: rgba(232, 163, 60, 0.16);
  --accent-line: rgba(232, 163, 60, 0.38);
  --success: #2f7d4e;
  --radius: 16px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --shadow: 0 28px 90px -46px rgba(21, 24, 28, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(232,163,60,0.08), transparent 58%),
    radial-gradient(780px 540px at 6% 3%, rgba(126,136,147,0.09), transparent 56%);
  background-attachment: fixed;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.026em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.mono {
  font-family: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 500;
  color: var(--steel);
}
.dot { color: var(--accent); }
.highlight { color: var(--accent); }
.muted { color: var(--bone-dim); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21,24,28,0.80);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-weight: 760;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--bone-dim); font-size: 15px; }
.nav-links a { transition: color .18s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--bone); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--bone); border-radius: 10px; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--bone); margin: 4px auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 20px;
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-secondary { border-color: var(--line); color: var(--bone); background: rgba(236,232,225,0.035); }
.btn-secondary:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn-text { padding: 0; border: 0; color: var(--accent); background: transparent; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 84px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.hero h1 { font-size: clamp(52px, 7.6vw, 106px); line-height: 0.92; letter-spacing: -0.055em; max-width: 10.5ch; }
.hero-lede {
  margin-top: 30px;
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: clamp(21px, 2.25vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 31ch;
}
.hero-body { margin-top: 22px; max-width: 59ch; color: var(--bone-dim); }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
  max-width: 740px;
}
.meta-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(27,31,36,0.6); }
.meta-card strong { display: block; color: var(--bone); font-family: "Schibsted Grotesk"; font-size: 16px; margin-top: 7px; letter-spacing: -0.01em; }

.device-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.device-stage::before {
  content:"";
  position:absolute;
  inset: 54px 0 auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(232,163,60,0.18), transparent 68%);
  filter: blur(2px);
}
.dashboard-card, .phone-card, .social-card {
  position: absolute;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent 42%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.dashboard-card { width: min(520px, 100%); padding: 22px; top: 46px; right: 0; }
.phone-card { width: 270px; padding: 13px; left: 8px; bottom: 36px; border-radius: 38px; background: linear-gradient(160deg,#2a3038,#0d0f12); }
.social-card { width: 310px; right: 30px; bottom: 0; padding: 18px; transform: rotate(2deg); }
.card-top { display:flex; align-items:center; justify-content:space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.status-pill::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.job-list { display:grid; gap: 10px; padding-top: 18px; }
.job-row { display:grid; grid-template-columns: 1fr auto; gap: 12px; align-items:center; padding: 14px; border:1px solid var(--line-soft); background: rgba(14,16,19,0.34); border-radius: 14px; }
.job-row h4 { font-size: 17px; letter-spacing: -0.015em; margin-bottom: 3px; }
.progress { height: 6px; background: rgba(236,232,225,0.08); border-radius: 99px; overflow:hidden; margin-top: 10px; }
.progress span { display:block; height:100%; background: var(--accent); border-radius: 99px; }
.phone-screen { border-radius: 28px; background: var(--ink-deep); overflow:hidden; min-height: 470px; }
.phone-head { display:flex; justify-content:space-between; padding: 16px 20px 10px; font-size: 11px; color: var(--steel); }
.phone-body { padding: 18px 20px 22px; }
.photo-placeholder { height: 118px; border-radius: 16px; border:1px solid var(--line); background: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 12px, transparent 12px 24px), linear-gradient(160deg,#242a32,#15191e); display:flex; align-items:flex-end; padding: 12px; margin: 16px 0 18px; }
.tag { font-family:"Spline Sans Mono"; font-size: 10px; letter-spacing: .11em; color: var(--steel); text-transform: uppercase; background: rgba(14,16,19,.72); border:1px solid var(--line); border-radius: 7px; padding: 5px 8px; }
.timeline { display:grid; gap: 12px; }
.tl { display:grid; grid-template-columns: 18px 1fr; gap: 10px; align-items:start; }
.tl-dot { margin-top: 4px; width:12px; height:12px; border-radius:50%; border:2px solid var(--steel-dim); }
.tl.done .tl-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl.active .tl-dot { border-color: var(--accent); }
.tl-title { font-weight: 700; font-size: 14px; color: var(--bone); line-height: 1.25; }
.tl-copy { font-size: 12px; color: var(--steel); }
.social-image { height: 154px; border-radius: 16px; border:1px solid var(--line); background: linear-gradient(90deg,#232933 0 50%, #101317 50% 100%); position: relative; overflow:hidden; }
.social-image::after { content:"Before / After"; position:absolute; left:12px; bottom:12px; font-family:"Spline Sans Mono"; font-size:10px; letter-spacing:.13em; text-transform:uppercase; color:var(--bone); background:rgba(0,0,0,.45); padding:6px 8px; border-radius:7px; }
.social-card h4 { margin-top: 14px; font-size: 17px; }
.social-card p { color: var(--bone-dim); font-size: 14px; margin-top: 6px; }

section { border-bottom: 1px solid var(--line); }
.section-pad { padding: 92px 0; }
.section-head { display:grid; grid-template-columns: 220px 1fr; gap: 40px; align-items:baseline; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(34px, 4vw, 56px); max-width: 13ch; }
.section-head .lede { color: var(--bone-dim); max-width: 62ch; font-size: 18px; }
.grid-2 { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.016), transparent 48%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.ticks::before, .ticks::after, .ticks .tick-bl, .ticks .tick-br {
  content:"";
  position:absolute;
  width: 9px;
  height: 9px;
  opacity: .52;
  border-color: var(--steel);
  border-style: solid;
  border-width: 0;
}
.ticks::before { top: 10px; left: 10px; border-top-width:1px; border-left-width:1px; }
.ticks::after { top: 10px; right: 10px; border-top-width:1px; border-right-width:1px; }
.ticks .tick-bl { bottom: 10px; left: 10px; border-bottom-width:1px; border-left-width:1px; }
.ticks .tick-br { bottom: 10px; right: 10px; border-bottom-width:1px; border-right-width:1px; }
.card h3 { font-size: 24px; margin-bottom: 12px; }
.card p { color: var(--bone-dim); }
.card .mono { margin-bottom: 18px; }
.problem-card { min-height: 310px; display:flex; flex-direction:column; justify-content:space-between; }
.problem-card .big { font-family:"Schibsted Grotesk"; font-size: clamp(30px, 4vw, 48px); line-height:1; letter-spacing:-.04em; color: var(--bone); }
.solution-band { padding: 42px; border-radius: var(--radius-lg); border:1px solid var(--accent-line); background: linear-gradient(135deg, var(--accent-soft), rgba(27,31,36,.75) 44%), var(--panel); display:grid; grid-template-columns: 1fr auto; gap: 28px; align-items:center; }
.solution-band h2 { font-size: clamp(32px, 4.2vw, 58px); max-width: 16ch; }
.solution-band p { color: var(--bone-dim); max-width: 66ch; margin-top: 16px; }

.steps { display:grid; gap: 14px; counter-reset: step; }
.step { display:grid; grid-template-columns: 82px 1fr; gap: 22px; padding: 24px; border:1px solid var(--line); border-radius: var(--radius); background: rgba(27,31,36,.64); counter-increment: step; }
.step-num { width:56px; height:56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display:grid; place-items:center; font-family:"Spline Sans Mono"; font-weight:700; }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--bone-dim); max-width: 74ch; }

.feature-card { min-height: 230px; }
.icon-box { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); border:1px solid var(--accent-line); display:grid; place-items:center; margin-bottom: 22px; color: var(--accent); }
.industry-card { padding: 22px; min-height: 138px; }
.industry-card h3 { font-size: 20px; }
.industry-card p { font-size: 15px; }
.check-list { list-style:none; padding:0; margin:0; display:grid; gap: 14px; }
.check-list li { display:grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--bone-dim); }
.check-list li::before { content:""; margin-top: 8px; width: 9px; height: 9px; border-radius:50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.quote-card { padding: 42px; border-radius: var(--radius-lg); background: var(--panel-2); border: 1px solid var(--line); }
.quote-card blockquote { margin:0; font-family:"Schibsted Grotesk"; font-size: clamp(30px, 4vw, 54px); line-height:1.07; letter-spacing:-.034em; }
.quote-card p { margin-top: 20px; color: var(--bone-dim); max-width: 72ch; }

.cta-section { border-bottom: 0; }
.cta-card { padding: 56px; border-radius: var(--radius-lg); background: radial-gradient(700px 260px at 82% 0%, rgba(232,163,60,.18), transparent 65%), var(--panel); border:1px solid var(--accent-line); display:grid; grid-template-columns: 1fr auto; gap: 32px; align-items:center; }
.cta-card h2 { font-size: clamp(36px, 5vw, 66px); max-width: 12ch; }
.cta-card p { color: var(--bone-dim); margin-top: 16px; max-width: 62ch; }

.page-hero { padding: 86px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(48px, 6.5vw, 92px); max-width: 12ch; }
.page-hero p { margin-top: 24px; max-width: 66ch; color: var(--bone-dim); font-size: 20px; }
.page-hero .eyebrow { margin-bottom: 22px; }
.two-col { display:grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items:start; }
.copy h2 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 20px; }
.copy h3 { font-size: 26px; margin: 32px 0 12px; }
.copy p + p { margin-top: 16px; }
.copy p { color: var(--bone-dim); }
.copy strong { color: var(--bone); }

.price-card { padding: 36px; border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent 45%), var(--panel); }
.price { font-family:"Schibsted Grotesk"; font-size: 48px; line-height:1; letter-spacing:-.04em; margin: 22px 0 8px; }
.price-note { color: var(--bone-dim); font-size: 15px; }
.faq { display:grid; gap: 12px; }
.faq-item { border:1px solid var(--line); border-radius: 14px; background: var(--panel); overflow:hidden; }
.faq-q { width:100%; padding: 20px 22px; color: var(--bone); background: transparent; border:0; text-align:left; display:flex; align-items:center; justify-content:space-between; gap: 16px; font: 700 18px "Schibsted Grotesk"; cursor:pointer; }
.faq-q::after { content:"+"; color: var(--accent); font-size: 24px; line-height:1; }
.faq-item.open .faq-q::after { content:"–"; }
.faq-a { display:none; padding: 0 22px 22px; color: var(--bone-dim); }
.faq-item.open .faq-a { display:block; }

.footer { border-top: 1px solid var(--line); padding: 54px 0; background: var(--ink-deep); }
.footer-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.footer p { color: var(--bone-dim); max-width: 56ch; margin-top: 16px; }
.footer-links { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; color: var(--bone-dim); }
.footer-links a:hover { color: var(--accent); }
.legal { display:flex; justify-content:space-between; gap: 20px; flex-wrap:wrap; margin-top: 38px; padding-top: 24px; border-top:1px solid var(--line); color: var(--steel); font-size: 14px; }

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .device-stage { min-height: 700px; }
  .dashboard-card { right: 4%; }
  .phone-card { left: 4%; }
  .social-card { right: 12%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .solution-band, .cta-card { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .wrap { padding: 0 22px; }
  .nav { height: 70px; }
  .nav-toggle { display:block; }
  .nav-links, .nav-actions { display:none; }
  body.nav-open .nav-links, body.nav-open .nav-actions {
    display:flex;
    position:absolute;
    left: 22px;
    right: 22px;
    flex-direction:column;
    align-items:stretch;
    background: var(--panel);
    border:1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
  }
  body.nav-open .nav-links { top: 82px; gap: 16px; }
  body.nav-open .nav-actions { top: 342px; }
  .hero-inner { padding-top: 56px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .hero-meta { grid-template-columns: 1fr; }
  .device-stage { min-height: 610px; transform: scale(.9); transform-origin: top center; margin-bottom: -80px; }
  .dashboard-card { width: 460px; right: -34px; }
  .phone-card { left: -10px; }
  .social-card { right: -6px; }
  .section-pad { padding: 66px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .section-head h2 { max-width: none; }
  .grid-2, .grid-3, .grid-4, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .quote-card, .cta-card, .solution-band { padding: 30px; }
  .page-hero { padding: 64px 0 52px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .hero-ctas { align-items: stretch; }
  .device-stage { min-height: 560px; transform: scale(.78); margin-left: -28px; margin-right: -28px; margin-bottom: -130px; }
  .dashboard-card { width: 430px; right: -90px; }
  .phone-card { left: -34px; bottom: 42px; }
  .social-card { width: 285px; right: -70px; bottom: 4px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ==============================
   Bailee light theme update
   Based on the standalone brand identity light palette.
   Dark product/UI mockups are deliberately pinned below so the customer app still feels premium.
   ============================== */
:root {
  --ink: #f4f1ea;
  --ink-deep: #e9e3d8;
  --panel: #fbf9f4;
  --panel-2: #f1ece3;
  --line: rgba(21, 24, 28, 0.13);
  --line-soft: rgba(21, 24, 28, 0.06);
  --bone: #1b1e23;
  --bone-dim: #555c65;
  --steel: #6c7682;
  --steel-dim: #98a0a8;
  --accent: #e8a33c;
  --accent-ink: #15181c;
  --accent-soft: rgba(232, 163, 60, 0.16);
  --accent-line: rgba(232, 163, 60, 0.38);
  --shadow: 0 28px 90px -46px rgba(21, 24, 28, 0.32);
}

body {
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(232,163,60,0.12), transparent 58%),
    radial-gradient(780px 540px at 6% 3%, rgba(108,118,130,0.12), transparent 56%);
}

.site-header {
  background: rgba(244, 241, 234, 0.82);
  box-shadow: 0 10px 34px -30px rgba(21,24,28,0.45);
}

.btn-secondary {
  background: rgba(255,255,255,0.42);
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

.meta-card,
.job-row {
  background: rgba(255,255,255,0.52);
}

.progress {
  background: rgba(21,24,28,0.09);
}

.card,
.dashboard-card,
.social-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), transparent 52%), var(--panel);
  box-shadow: var(--shadow);
}

.device-stage::before {
  background: radial-gradient(circle, rgba(232,163,60,0.20), transparent 68%);
}

/* Keep the phone/product progress UI dark. It gives the light site contrast and matches the brand app mockup. */
.phone-card,
.phone-screen,
.phone-card * {
  --ink: #15181c;
  --ink-deep: #0e1013;
  --panel: #1b1f24;
  --panel-2: #20252b;
  --line: rgba(236,232,225,0.10);
  --line-soft: rgba(236,232,225,0.055);
  --bone: #ece8e1;
  --bone-dim: #b6b3ac;
  --steel: #7e8893;
  --steel-dim: #5a626b;
}

.phone-card {
  background: linear-gradient(160deg,#2a3038,#0d0f12);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.66), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.phone-screen {
  background: var(--ink-deep);
}

.phone-card .progress,
.phone-screen .progress {
  background: rgba(236,232,225,0.08);
}

.phone-card .tag {
  background: rgba(14,16,19,.72);
}

.social-image,
.photo-placeholder {
  border-color: rgba(21,24,28,0.10);
}

.ticks::before,
.ticks::after,
.ticks .tick-bl,
.ticks .tick-br {
  opacity: 0.42;
}

.faq-item,
.pricing-card,
.feature-card,
.sector-card,
.step-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), transparent 58%), var(--panel);
}

.footer {
  background: var(--panel-2);
}


/* HARD LIGHT THEME OVERRIDES — v2 */
html, body { background: #f4f1ea !important; color: #1b1e23 !important; }
body {
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(232,163,60,0.14), transparent 58%),
    radial-gradient(780px 540px at 6% 3%, rgba(108,118,130,0.12), transparent 56%) !important;
}
.site-header { background: rgba(244,241,234,0.88) !important; border-bottom-color: rgba(21,24,28,0.13) !important; }
.hero, section, .page-hero, .footer { border-color: rgba(21,24,28,0.13) !important; }
.card, .dashboard-card, .social-card, .quote-card, .cta-card, .solution-band, .faq-item, .pricing-card, .feature-card, .sector-card, .step-card, .meta-card, .job-row {
  background: linear-gradient(180deg, rgba(255,255,255,0.64), rgba(255,255,255,0.26) 52%), #fbf9f4 !important;
  border-color: rgba(21,24,28,0.13) !important;
  box-shadow: 0 28px 90px -46px rgba(21,24,28,0.32) !important;
}
.cta-card, .price-card { background: radial-gradient(700px 260px at 82% 0%, rgba(232,163,60,.22), transparent 65%), #fbf9f4 !important; border-color: rgba(232,163,60,0.38) !important; }
.footer { background: #f1ece3 !important; }
.nav-links, .muted, .card p, .section-head p, .hero-body, .footer p, .footer-links a { color: #555c65 !important; }
.nav-links a:hover, .nav-links a.active, h1, h2, h3, h4, .logo, .meta-card strong, .problem-card .big { color: #1b1e23 !important; }
.btn-secondary { background: rgba(255,255,255,0.55) !important; color: #1b1e23 !important; border-color: rgba(21,24,28,0.13) !important; }
.progress { background: rgba(21,24,28,0.09) !important; }
/* Preserve intentionally dark product/app mockups */
.phone-card, .phone-screen, .phone-card *, .phone-screen * {
  --ink: #15181c; --ink-deep: #0e1013; --panel: #1b1f24; --panel-2: #20252b; --line: rgba(236,232,225,0.10); --bone: #ece8e1; --bone-dim: #b6b3ac; --steel: #7e8893;
}
.phone-card { background: linear-gradient(160deg,#2a3038,#0d0f12) !important; color: #ece8e1 !important; }
.phone-screen { background: #0e1013 !important; color: #ece8e1 !important; }
.phone-card .muted, .phone-screen .muted, .phone-card p, .phone-screen p { color: #b6b3ac !important; }
.phone-card h3, .phone-screen h3, .phone-card .tl-title, .phone-screen .tl-title { color: #ece8e1 !important; }
.phone-card .progress, .phone-screen .progress { background: rgba(236,232,225,0.08) !important; }
.phone-card .tag { background: rgba(14,16,19,.72) !important; color: #ece8e1 !important; }

/* ==============================
   Light / dark theme toggle
   Light is the default. Dark restores the original graphite Bailee identity.
   ============================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.45);
  color: var(--bone);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s ease, border .18s ease, color .18s ease, transform .18s ease;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--accent-line); background: var(--accent-soft); }
.theme-toggle__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
  flex: none;
}
.theme-toggle__icon::after {
  content: "";
  position: absolute;
  inset: 3px 0 3px 8px;
  border-radius: 999px;
  background: currentColor;
}

html[data-theme="dark"] {
  --ink: #15181c !important;
  --ink-deep: #0e1013 !important;
  --panel: #1b1f24 !important;
  --panel-2: #20252b !important;
  --line: rgba(236,232,225,0.10) !important;
  --line-soft: rgba(236,232,225,0.055) !important;
  --bone: #ece8e1 !important;
  --bone-dim: #b6b3ac !important;
  --steel: #7e8893 !important;
  --steel-dim: #5a626b !important;
  --accent: #e8a33c !important;
  --accent-ink: #15181c !important;
  --accent-soft: rgba(232, 163, 60, 0.16) !important;
  --accent-line: rgba(232, 163, 60, 0.38) !important;
  --shadow: 0 28px 90px -46px rgba(0,0,0,0.82) !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #15181c !important;
  color: #ece8e1 !important;
}
html[data-theme="dark"] body {
  background-image:
    radial-gradient(1200px 700px at 78% -8%, rgba(232,163,60,0.07), transparent 60%),
    radial-gradient(900px 600px at 8% 4%, rgba(126,136,147,0.08), transparent 55%) !important;
}
html[data-theme="dark"] .site-header {
  background: rgba(21,24,28,0.84) !important;
  border-bottom-color: rgba(236,232,225,0.10) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .theme-toggle {
  background: rgba(236,232,225,0.035) !important;
  color: #ece8e1 !important;
  border-color: rgba(236,232,225,0.10) !important;
}
html[data-theme="dark"] .theme-toggle__icon::after {
  inset: 2px 2px 2px 2px;
  transform: translateX(4px);
  background: #15181c;
  box-shadow: -5px 0 0 #ece8e1;
}
html[data-theme="dark"] .hero,
html[data-theme="dark"] section,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .footer {
  border-color: rgba(236,232,225,0.10) !important;
}
html[data-theme="dark"] .card,
html[data-theme="dark"] .dashboard-card,
html[data-theme="dark"] .social-card,
html[data-theme="dark"] .quote-card,
html[data-theme="dark"] .cta-card,
html[data-theme="dark"] .solution-band,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .sector-card,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .meta-card,
html[data-theme="dark"] .job-row {
  background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent 42%), #1b1f24 !important;
  border-color: rgba(236,232,225,0.10) !important;
  box-shadow: 0 28px 90px -46px rgba(0,0,0,0.82) !important;
}
html[data-theme="dark"] .cta-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .solution-band {
  background: radial-gradient(700px 260px at 82% 0%, rgba(232,163,60,.13), transparent 65%), #1b1f24 !important;
  border-color: rgba(232,163,60,0.38) !important;
}
html[data-theme="dark"] .footer { background: #20252b !important; }
html[data-theme="dark"] .nav-links,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .hero-body,
html[data-theme="dark"] .footer p,
html[data-theme="dark"] .footer-links a {
  color: #b6b3ac !important;
}
html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a.active,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] .logo,
html[data-theme="dark"] .meta-card strong,
html[data-theme="dark"] .problem-card .big {
  color: #ece8e1 !important;
}
html[data-theme="dark"] .btn-secondary {
  background: rgba(236,232,225,0.035) !important;
  color: #ece8e1 !important;
  border-color: rgba(236,232,225,0.10) !important;
}
html[data-theme="dark"] .meta-card,
html[data-theme="dark"] .job-row,
html[data-theme="dark"] .step {
  background: rgba(27,31,36,0.64) !important;
}
html[data-theme="dark"] .progress { background: rgba(236,232,225,0.08) !important; }
html[data-theme="dark"] .device-stage::before { background: radial-gradient(circle, rgba(232,163,60,0.18), transparent 68%) !important; }

@media (max-width: 920px) {
  .nav-actions { gap: 8px; }
  .theme-toggle { padding: 0 11px; }
  .theme-toggle__text { display: none; }
}

/* ==============================
   Step section light-theme fix — v3
   Steps are content cards, not dark product mockups.
   ============================== */
html[data-theme="light"] .step,
html:not([data-theme="dark"]) .step {
  background: linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.30) 58%), #fbf9f4 !important;
  border-color: rgba(21,24,28,0.13) !important;
  box-shadow: 0 18px 58px -42px rgba(21,24,28,0.30) !important;
  color: #1b1e23 !important;
}

html[data-theme="light"] .step h3,
html:not([data-theme="dark"]) .step h3 {
  color: #1b1e23 !important;
}

html[data-theme="light"] .step p,
html:not([data-theme="dark"]) .step p {
  color: #555c65 !important;
}

html[data-theme="light"] .step-num,
html:not([data-theme="dark"]) .step-num {
  background: #e8a33c !important;
  color: #15181c !important;
  box-shadow: 0 10px 26px -16px rgba(232,163,60,0.75) !important;
}

html[data-theme="dark"] .step {
  background: rgba(27,31,36,0.64) !important;
  border-color: rgba(236,232,225,0.10) !important;
  color: #ece8e1 !important;
}

html[data-theme="dark"] .step p { color: #b6b3ac !important; }
