/* Contractor OS — Contract Control Review — Premium Redesign */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --navy:         #0B2A4A;
  --navy-mid:     #0e3460;
  --navy-deep:    #060f1a;
  --orange:       #FC952A;
  --orange-dk:    #df7f18;
  --orange-pale:  rgba(252,149,42,0.10);
  --offwhite:     #F7F8FA;
  --white:        #ffffff;
  --text:         #0F1115;
  --muted:        #5B6472;
  --border:       #E6E8ED;
  --border-dk:    #d0d4db;
  --green:        #1F9D55;
  --green-pale:   #dcfce7;
  --red-pale:     #fee2e2;
  --red:          #dc2626;

  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    14px;

  --shadow-xs:    0 1px 3px rgba(11,42,74,0.06);
  --shadow-sm:    0 2px 8px rgba(11,42,74,0.08);
  --shadow-md:    0 4px 20px rgba(11,42,74,0.10);

  --max-width:    1100px;
  --section-gap:  96px;

  --font-head:    'Sora', -apple-system, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Base ─────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section base ─────────────────────────────────────────── */
section { padding: var(--section-gap) 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.8;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.17s ease, box-shadow 0.17s ease, transform 0.1s ease;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(252,149,42,0.35);
}

.btn-primary:hover {
  background: var(--orange-dk);
  box-shadow: 0 4px 18px rgba(252,149,42,0.45);
}

.btn-primary:active { transform: scale(0.98); }

.btn-arrow::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.15s;
}

.btn-arrow:hover::after { transform: translateX(3px); }

.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: none;
  padding: 14px 28px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-secondary:active { transform: scale(0.98); }

/* ── Hero CTA group ───────────────────────────────────────── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.nav-logo span { color: var(--orange); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.17s;
  white-space: nowrap;
  box-shadow: 0 1px 6px rgba(252,149,42,0.3);
}

.nav-cta:hover { background: var(--orange-dk); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-mobile-cta {
  display: none;
  padding: 14px 32px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-mobile-cta.is-open { display: block; }

.nav-mobile-cta a {
  display: block;
  text-align: center;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 88px 0 80px;
  overflow: hidden;
  position: relative;
}

/* Subtle texture line — no blob, no gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.018) 0px,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 80px
  );
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 520px);
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.hero-copy {
  max-width: 600px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.07rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 34px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.hero-bullets li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--orange);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='7' viewBox='0 0 8 7'%3E%3Cpath d='M1 3.5l2 2L7 1' stroke='white' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Hero visual panel ────────────────────────────────────── */
.hero-visual {
  position: relative;
}

.hero-video-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  line-height: 0;
  background: var(--navy-deep);
  max-width: 520px;
  width: 100%;
}

.hero-video {
  width: 100%;
  height: auto;
  max-height: clamp(300px, 42vh, 520px);
  display: block;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 1px);
}

.hero-video-desc {
  margin-top: 10px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  text-align: center;
}

.hero-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(4px);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-panel-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-panel-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--orange-pale);
  color: var(--orange);
  border: 1px solid rgba(252,149,42,0.25);
  padding: 3px 9px;
  border-radius: 99px;
}

.job-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 13px 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.job-card:last-child { margin-bottom: 0; }

.job-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  margin-top: 4px;
}

.dot-red    { background: #f87171; box-shadow: 0 0 0 2px rgba(248,113,113,0.2); }
.dot-amber  { background: #fb923c; box-shadow: 0 0 0 2px rgba(251,146,60,0.2); }
.dot-green  { background: #34d399; box-shadow: 0 0 0 2px rgba(52,211,153,0.2); }

.job-info { flex: 1; min-width: 0; }

.job-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-meta {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.job-tag {
  font-size: 0.67rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

.tag-blocked  { background: rgba(248,113,113,0.15); color: #fca5a5; border: 1px solid rgba(248,113,113,0.2); }
.tag-approval { background: rgba(251,146,60,0.15);  color: #fdba74; border: 1px solid rgba(251,146,60,0.2); }
.tag-evidence { background: rgba(251,146,60,0.12);  color: #fdba74; border: 1px solid rgba(251,146,60,0.18); }
.tag-rework   { background: rgba(248,113,113,0.12); color: #fca5a5; border: 1px solid rgba(248,113,113,0.18); }
.tag-clear    { background: rgba(52,211,153,0.12);  color: #6ee7b7; border: 1px solid rgba(52,211,153,0.2); }

.hero-panel-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-panel-stat {
  text-align: center;
}

.hero-panel-stat-value {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
}

.hero-panel-stat-label {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Problem ──────────────────────────────────────────────── */
.problem {
  background: var(--offwhite);
}

.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 44px;
}

.problem-copy p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.problem-copy p:last-child { margin-bottom: 0; }

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 18px 15px 20px;
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.problem-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--navy);
  border-radius: 3px 0 0 3px;
}


/* ── Offer ────────────────────────────────────────────────── */
.offer { background: var(--white); }

.offer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 44px;
  align-items: start;
}

.offer-copy p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.offer-copy p:last-child { margin-bottom: 0; }

.offer-highlight {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.offer-highlight-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.offer-highlight ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.offer-highlight ul li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 500;
}

.offer-highlight ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* ── Review areas ─────────────────────────────────────────── */
.review-areas { background: var(--offwhite); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.18s, border-color 0.18s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-dk);
}

.card-number {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.card-example {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--offwhite);
  border-left: 2px solid var(--border-dk);
  padding: 9px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  margin-top: 2px;
}

/* ── What you get ─────────────────────────────────────────── */
.what-you-get { background: var(--white); }

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.deliverable {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.18s;
}

.deliverable:hover { box-shadow: var(--shadow-sm); }

.deliverable-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deliverable-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deliverable-text h3 {
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.3;
}

.deliverable-text p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Guardrails ───────────────────────────────────────────── */
.guardrails {
  background: var(--navy);
  color: var(--white);
}

.guardrails .section-label { color: rgba(252,149,42,0.85); }
.guardrails .section-title { color: var(--white); }

.guardrails-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.guardrail-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

.guardrail-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--orange-pale);
  border: 1px solid rgba(252,149,42,0.22);
  border-radius: 50%;
  margin-bottom: 14px;
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 700;
}

/* ── Who it's for ─────────────────────────────────────────── */
.who-its-for { background: var(--offwhite); }

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.fit-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
}

.fit-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.fit-header h3 {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
}

.fit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.fit-badge-yes { background: var(--green-pale); color: #065f46; }
.fit-badge-no  { background: var(--red-pale);   color: #991b1b; }

.fit-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fit-box ul li {
  font-size: 0.91rem;
  color: var(--text);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.fit-box ul li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.fit-yes li::before { content: '✓'; color: var(--green); }
.fit-no  li::before { content: '✕'; color: var(--red); }

/* ── How it works ─────────────────────────────────────────── */
.how-it-works { background: var(--white); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  position: relative;
}

/* Connector line between steps */
.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  position: relative;
  padding: 0 16px;
  text-align: center;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { background: var(--offwhite); }

.faq-list {
  margin-top: 44px;
  max-width: 760px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 26px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
  transition: background 0.15s;
}

.faq-question:hover { background: var(--offwhite); }

.faq-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--offwhite);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
  transition: transform 0.22s, background 0.15s, color 0.15s;
  font-style: normal;
  font-weight: 400;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.faq-answer {
  display: none;
  padding: 0 26px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

/* ── Final CTA ────────────────────────────────────────────── */
.final-cta {
  background: var(--navy);
  padding: 104px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 60px
  );
  pointer-events: none;
}

.final-cta-inner { position: relative; }

.final-cta .section-label { color: rgba(252,149,42,0.85); }

.final-cta .section-title {
  color: var(--white);
  max-width: 620px;
  margin: 0 auto 18px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.final-cta .section-body {
  color: rgba(255,255,255,0.65);
  margin: 0 auto 40px;
  text-align: center;
  max-width: 520px;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.footer-logo span { color: var(--orange); }

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.footer-email {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}

.footer-email:hover { color: rgba(255,255,255,0.8); }

.footer-contact {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}

.footer-contact a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

.footer-legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.85);
}

/* ── Legal pages ─────────────────────────────────────────────────────── */
.legal-page {
  background: var(--offwhite);
  min-height: 100vh;
}

.legal-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 32px 88px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.92rem;
}

.legal-title {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: 28px;
}

.legal-card h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 22px 0 8px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #28303d;
  line-height: 1.75;
}

.legal-card ul {
  margin: 8px 0 0 18px;
}

@media (max-width: 700px) {
  .legal-shell {
    padding: 28px 18px 64px;
  }

  .legal-card {
    padding: 20px;
  }
}

/* ── Divider ──────────────────────────────────────────────── */
.section-divider {
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .guardrails-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: block; width: 100%; margin-top: 36px; }
  .hero-video-card { width: 100%; }
  .hero-video { width: 100%; height: auto; }
  .problem-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps-row::before { display: none; }
  .step { text-align: left; padding: 0; }
  .step-num { margin: 0 0 16px 0; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .container { padding: 0 20px; }

  .offer-grid,
  .fit-grid { grid-template-columns: 1fr; }

  .hero { padding: 60px 0 52px; }
  .final-cta { padding: 72px 0; }

  .nav-tagline { display: none; }
}

@media (max-width: 600px) {
  .cards-grid,
  .guardrails-grid { grid-template-columns: 1fr; }

  .steps-row { grid-template-columns: 1fr; }

  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  :root { --section-gap: 52px; }

  .hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 0.98rem; }
  .btn { width: 100%; justify-content: center; }
  .hero .btn { display: flex; }
  .hero-ctas { flex-direction: column; align-items: stretch; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEW SECTIONS — Video explainer, Workflow, Inside COS, Client portal,
   Mobile view, Evidence
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Video explainer ──────────────────────────────────────────────────────── */
.video-explainer { background: var(--offwhite); }

.video-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  margin-top: 44px;
  align-items: start;
}

.video-bridge {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px 0 4px;
  margin: -16px 0 0;
}

.video-bridge-text {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Storyboard scenes */
.storyboard {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.scene {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.scene:last-child { border-bottom: none; }
.scene:hover { background: var(--offwhite); }

.scene-problem { background: rgba(248,113,113,0.03); }
.scene-problem:hover { background: rgba(248,113,113,0.05); }
.scene-found { background: rgba(52,211,153,0.03); }
.scene-found:hover { background: rgba(52,211,153,0.05); }

.scene-num {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  padding: 18px 0 0;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  background: var(--offwhite);
  border-right: 1px solid var(--border);
}

.scene-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  flex: 1;
}

.scene-visual {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.scene-visual svg { width: 40px; height: 40px; }

.scene-text { flex: 1; }

.scene-caller {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 4px;
}

.scene-quote {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
  font-style: italic;
}

.scene-subtext {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
}

.scene-status-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.scene-status-item {
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.status-done {
  background: rgba(52,211,153,0.1);
  color: #065f46;
  border: 1px solid rgba(52,211,153,0.2);
}

.status-active {
  background: rgba(252,149,42,0.1);
  color: #92400e;
  border: 1px solid rgba(252,149,42,0.2);
}

/* Video right column */
.video-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
}

.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px,
    transparent 1px, transparent 24px
  );
}

.video-card-inner {
  position: relative;
  text-align: center;
  padding: 24px;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn svg { width: 40px; height: 40px; }

.video-card-label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 5px;
}

.video-card-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}

.video-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xs);
}

.video-summary-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.video-summary-icon svg { width: 14px; height: 14px; stroke: var(--white); }

.video-summary-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.video-summary-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Workflow strip ────────────────────────────────────────────────────────── */
.workflow-strip { background: var(--navy); }
.workflow-strip .section-label  { color: rgba(252,149,42,0.85); }
.workflow-strip .section-title  { color: var(--white); }
.workflow-strip .section-divider { background: var(--orange); }

.workflow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  min-width: 90px;
}

.workflow-step.wf-final .wf-icon {
  background: var(--orange);
  border-color: var(--orange);
}

.wf-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
}

.wf-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.workflow-step.wf-final .wf-icon svg { stroke: var(--white); }

.wf-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.workflow-step.wf-final .wf-label { color: var(--orange); }

.workflow-arrow {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  line-height: 44px;
  margin-bottom: 24px;
}

.workflow-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── Inside Contractor OS (product screens) ───────────────────────────────── */
.inside-cos { background: var(--offwhite); }

.product-screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.product-screen {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, border-color 0.18s;
}

.product-screen:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-dk);
}

.ps-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ps-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ps-header h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
}

.ps-body {
  padding: 16px 20px 18px;
}

.ps-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.ps-field-row:last-child { border-bottom: none; }

.ps-row-alert { background: rgba(248,113,113,0.03); margin: 0 -20px; padding: 8px 20px; }

.ps-field-key {
  font-size: 0.77rem;
  color: var(--muted);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 72px;
}

.ps-field-val {
  font-size: 0.83rem;
  color: var(--text);
  text-align: right;
  font-weight: 500;
}

.ps-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}

.ps-badge-active { background: rgba(252,149,42,0.12); color: #92400e; border: 1px solid rgba(252,149,42,0.25); }
.ps-badge-amber  { background: rgba(251,146,60,0.12);  color: #92400e; border: 1px solid rgba(251,146,60,0.25); }
.ps-badge-red    { background: rgba(248,113,113,0.12); color: #991b1b; border: 1px solid rgba(248,113,113,0.25); }
.ps-badge-green  { background: rgba(52,211,153,0.12);  color: #065f46; border: 1px solid rgba(52,211,153,0.25); }

.ps-divider { height: 1px; background: var(--border); margin: 12px 0; }

.ps-next-action {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--offwhite);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.ps-next-label {
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ps-next-val {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
}

/* Materials rows */
.ps-materials { display: flex; flex-direction: column; gap: 8px; }

.ps-mat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.ps-mat-row:last-child { border-bottom: none; }

.ps-mat-item { font-size: 0.82rem; color: var(--text); }

.ps-mat-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mat-ordered  { background: rgba(52,211,153,0.1);  color: #065f46; border: 1px solid rgba(52,211,153,0.2); }
.mat-awaiting { background: rgba(251,146,60,0.1);  color: #92400e; border: 1px solid rgba(251,146,60,0.2); }
.mat-pending  { background: rgba(248,113,113,0.1); color: #991b1b; border: 1px solid rgba(248,113,113,0.2); }

.ps-approval-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ps-approval-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* Client portal fields */
.ps-client-site { margin-bottom: 10px; }
.ps-cs-name { font-family: var(--font-head); font-size: 0.97rem; font-weight: 700; color: var(--navy); }
.ps-cs-ref  { font-size: 0.73rem; color: var(--muted); margin-top: 2px; }

/* Evidence list */
.ps-evidence-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 4px; }

.ps-ev-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.ev-done    { background: rgba(52,211,153,0.07);  color: var(--text); border-color: rgba(52,211,153,0.15); }
.ev-missing { background: rgba(248,113,113,0.07); color: var(--text); border-color: rgba(248,113,113,0.15); }
.ev-pending { background: var(--offwhite);         color: var(--muted); border-color: var(--border); }

.ps-ev-icon {
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ev-done    .ps-ev-icon { background: rgba(52,211,153,0.2);  color: #065f46; }
.ev-missing .ps-ev-icon { background: rgba(248,113,113,0.2); color: #991b1b; }
.ev-pending .ps-ev-icon { background: var(--border); color: var(--muted); }

/* Handover progress bar */
.ps-handover-status { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }

.ps-hs-label {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ps-hs-bar {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.ps-hs-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 99px;
}

.ps-hs-pct {
  font-size: 0.76rem;
  color: var(--muted);
}

/* ── Client portal preview ────────────────────────────────────────────────── */
.client-portal { background: var(--white); }

.portal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 44px;
}

.portal-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.portal-points li {
  font-size: 0.91rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.portal-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Browser chrome mockup */
.portal-chrome {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.portal-chrome-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
}

.portal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-dk);
  display: inline-block;
}

.portal-url {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  flex: 1;
  text-align: center;
}

.portal-screen { padding: 20px; }

.portal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.portal-site-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.portal-site-ref {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 3px;
}

.portal-stage-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(252,149,42,0.1);
  color: #92400e;
  border: 1px solid rgba(252,149,42,0.25);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.portal-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.83rem;
}

.portal-row:last-of-type { border-bottom: none; }

.portal-row-amber { background: rgba(252,149,42,0.04); margin: 0 -20px; padding: 8px 20px; }

.portal-row-key {
  color: var(--muted);
  font-weight: 500;
  min-width: 96px;
  flex-shrink: 0;
}

.portal-row-val { color: var(--text); text-align: right; }

.portal-approval-card {
  margin-top: 14px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.portal-approval-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
}

.portal-approval-ref {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.portal-approval-actions { display: flex; gap: 8px; }

.portal-btn-approve,
.portal-btn-query {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: not-allowed;
  border: none;
  opacity: 0.7;
}

.portal-btn-approve { background: var(--navy); color: var(--white); }
.portal-btn-query   { background: var(--border); color: var(--muted); }

/* ── Mobile operative view ────────────────────────────────────────────────── */
.mobile-view { background: var(--offwhite); }

.mobile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 44px;
}

.mobile-copy .section-label { display: block; }

.mobile-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.mobile-points li {
  font-size: 0.91rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.mobile-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Phone frame */
.mobile-phone { display: flex; justify-content: center; }

.phone-frame {
  width: 260px;
  background: var(--navy);
  border-radius: 32px;
  padding: 14px 10px;
  box-shadow: 0 24px 60px rgba(11,42,74,0.25), 0 4px 16px rgba(11,42,74,0.15);
  border: 2px solid rgba(255,255,255,0.08);
  position: relative;
}

.phone-notch {
  width: 72px;
  height: 20px;
  background: var(--navy-deep);
  border-radius: 0 0 12px 12px;
  margin: 0 auto 6px;
}

.phone-screen {
  background: var(--offwhite);
  border-radius: 22px;
  overflow: hidden;
  padding: 0 0 12px;
  min-height: 460px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px 4px;
  background: var(--navy);
}

.phone-time {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
}

.phone-network {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
}

.phone-header {
  background: var(--navy);
  padding: 6px 16px 14px;
  margin-bottom: 14px;
}

.phone-greeting {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.phone-date {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.phone-section-title {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding: 0 14px 6px;
}

.phone-job-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  cursor: default;
}

.phone-job-row:last-of-type { border-bottom: none; }

.phone-job-active { background: rgba(252,149,42,0.04); }

.phone-job-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
}

.phone-job-info { flex: 1; min-width: 0; }

.phone-job-name {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-job-stage {
  font-size: 0.67rem;
  color: var(--muted);
  margin-top: 1px;
}

.phone-job-arrow {
  font-size: 1rem;
  color: var(--muted);
  flex-shrink: 0;
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 14px;
  margin-top: 4px;
}

.phone-action {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--navy);
  cursor: default;
}

.phone-action svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy);
  flex-shrink: 0;
}

.phone-action-flag {
  background: rgba(248,113,113,0.06);
  border-color: rgba(248,113,113,0.2);
  color: #991b1b;
}

.phone-action-flag svg { stroke: #991b1b; }

/* ── Responsive additions ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-screens { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .video-layout     { grid-template-columns: 1fr; }
  .video-right      { display: none; }
  .portal-layout    { grid-template-columns: 1fr; gap: 36px; }
  .mobile-layout    { grid-template-columns: 1fr; }
  .mobile-phone     { display: none; }
  .workflow-row     { gap: 4px; }
  .workflow-step    { min-width: 70px; padding: 0 6px; }
}

@media (max-width: 768px) {
  .product-screens  { grid-template-columns: 1fr; }
  .workflow-arrow   { display: none; }
  .workflow-row     { gap: 8px; }
  .workflow-step    { min-width: 80px; }
}

@media (max-width: 480px) {
  .workflow-row     { flex-direction: column; align-items: flex-start; padding: 20px; gap: 12px; }
  .workflow-step    { flex-direction: row; min-width: auto; }
  .workflow-arrow   { display: none; }
}

/* ── Free Tracker section ─────────────────────────────────────────────────── */
.free-tracker {
  background: var(--white);
  padding: 80px 0;
}

.tracker-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin: 32px 0 36px;
  list-style: none;
  padding: 0;
}

.tracker-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

.tf-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 6px;
  flex-shrink: 0;
  color: #fff;
}

.tf-icon svg {
  width: 14px;
  height: 14px;
}

.tracker-cta-row {
  text-align: center;
  margin-bottom: 40px;
}

.tracker-bridge {
  background: var(--navy);
  border-radius: var(--radius-lg, 12px);
  padding: 28px 32px;
  text-align: center;
}

.tracker-bridge p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.5;
}

.tracker-bridge span {
  color: var(--orange);
}

/* ── Final CTA secondary review link ─────────────────────────────────────── */
.final-cta-review-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color 0.2s, border-color 0.2s;
}

.final-cta-review-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

/* ── Tracker video ───────────────────────────────────────────────────────── */

.tracker-video-card {
  margin: 40px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tracker-video-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy);
  line-height: 0;
  position: relative;
}

.tracker-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Show desktop video by default; hide mobile video */
.tracker-video--desktop { display: block; }
.tracker-video--mobile  { display: none; }

.tracker-video-caption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  padding: 0 8px;
}

.tracker-video-desc {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ── Tracker screenshot grid ─────────────────────────────────────────────── */

.tracker-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0 32px;
}

.tracker-screen-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tracker-screen-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  line-height: 0;
}

.tracker-screen-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 1px);
}

.tracker-screen-card figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  padding: 0 8px;
}

/* ── Tracker workflow stages block ───────────────────────────────────────── */

.tracker-stages-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
  margin: 12px 0 40px;
  padding: 36px 0 8px;
  border-top: 1px solid var(--border);
}

.tracker-stages-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.tracker-stages-body {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.7;
}

.tracker-screen-card--stages .tracker-screen-frame {
  box-shadow: var(--shadow-md);
}

/* ── Mobile responsive overrides for screenshots ─────────────────────────── */

@media (max-width: 768px) {
  .tracker-features     { grid-template-columns: 1fr; }
  .tracker-bridge       { padding: 24px 20px; }
  .tracker-bridge p     { font-size: 1rem; }
  .tracker-screens      { grid-template-columns: 1fr; gap: 20px; }
  .tracker-stages-block { grid-template-columns: 1fr; gap: 20px; }
  /* Swap to mobile video on small screens */
  .tracker-video--desktop { display: none; }
  .tracker-video--mobile  { display: block; }
}

@media (max-width: 480px) {
  .tracker-screen-frame { border-radius: var(--radius); }
  .tracker-screen-frame img { border-radius: calc(var(--radius) - 1px); }
  .tracker-video-frame  { border-radius: var(--radius); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   NEW SECTION STYLES — REDESIGN
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero CTA sub-note ─────────────────────────────────────────────────────── */
.hero-cta-sub {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Problem truth statement ───────────────────────────────────────────────── */
.problem-truth {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  font-style: italic;
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--orange-pale);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
}

/* ── Broken workflow diagram ───────────────────────────────────────────────── */
.broken-workflow {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.broken-workflow-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.broken-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.broken-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  min-width: 80px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.bt-icon {
  width: 28px;
  height: 28px;
  color: var(--muted);
}

.bt-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.broken-connector {
  font-size: 1rem;
  font-weight: 700;
  color: var(--border-dk);
  flex-shrink: 0;
}

.broken-result {
  margin-top: 20px;
}

.broken-result-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--red-pale);
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: var(--radius);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--red);
  line-height: 1.5;
}

.broken-result-inner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--red);
}

/* ── What Contractor OS Controls ──────────────────────────────────────────── */
.what-cos-controls {
  background: var(--white);
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.control-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.control-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-dk);
}

.control-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}

.control-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.control-text h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.control-text p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Offer section: inline CTA spacing ────────────────────────────────────── */
.offer-cta {
  margin-top: 24px;
  display: inline-flex;
}

/* ── Offer stack ───────────────────────────────────────────────────────────── */
.offer-stack {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.offer-stack-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.offer-stack-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-stack-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.offer-stack-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  padding: 2px;
  background: var(--green-pale);
  border-radius: 50%;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-stack-icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

.offer-stack-icon-opt {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  padding: 2px;
  background: var(--orange-pale);
  border-radius: 50%;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-stack-icon-opt svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

.offer-stack-optional {
  color: var(--muted);
  font-style: italic;
}

/* ── Final CTA note ────────────────────────────────────────────────────────── */
.final-cta-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ── Responsive: controls grid ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .controls-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .broken-workflow {
    padding: 22px 20px;
  }

  .broken-tools {
    gap: 6px;
  }

  .broken-tool {
    padding: 10px 12px;
    min-width: 68px;
    font-size: 0.73rem;
  }
}

@media (max-width: 768px) {
  .controls-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .offer-stack {
    padding: 22px 20px;
  }
}

@media (max-width: 600px) {
  .controls-grid {
    grid-template-columns: 1fr;
  }

  .broken-tools {
    flex-wrap: wrap;
    gap: 8px;
  }

  .broken-tool {
    flex-direction: row;
    min-width: auto;
    padding: 8px 12px;
    gap: 8px;
  }

  .bt-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .broken-workflow {
    padding: 18px 16px;
  }

  .problem-truth {
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  .offer-stack {
    padding: 18px 16px;
  }

  .control-item {
    padding: 18px;
    gap: 12px;
  }
}
