/* ContractorCost Pro — marketing site (contractorcostpro.com).
   Same colors and type as the app: construction orange + steel, Inter. */
:root {
  --orange: #f59e0b;
  --orange-dk: #ea580c;
  --steel: #334155;
  --steel-dk: #1e293b;
  --ink: #1f2933;
  --muted: #52606d;
  --line: #e2e8f0;
  --bg: #ffffff;
  --panel: #f8fafc;
  --cream: #fef3c7;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dk); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-weight: 800; font-size: 21px; color: var(--steel); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand span { color: var(--orange); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--steel); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-dk); }
.nav a.signin { color: var(--muted); }
.btn { display: inline-block; background: var(--orange); color: #fff !important; text-decoration: none;
  font-weight: 700; padding: 12px 22px; border-radius: 8px; transition: background .15s, transform .15s; border: 0; font-size: 16px; }
.btn:hover { background: var(--orange-dk); transform: translateY(-1px); }
.btn.small { padding: 8px 16px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--steel) !important; border: 2px solid var(--line); }
.btn.ghost:hover { border-color: var(--orange); background: transparent; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px; font-size: 15px; color: var(--steel); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--steel-dk) 0%, var(--steel) 70%); color: #fff; padding: 72px 0 0; overflow: hidden; }
.hero h1 { font-size: 48px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; max-width: 16em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: 20px; color: #cbd5e1; max-width: 36em; margin: 0 0 28px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .ctas .note { color: #94a3b8; font-size: 15px; }
.hero .shot { margin-top: 48px; }
.hero .shot .frame { border-radius: 12px 12px 0 0; border-bottom: 0; }

/* Screenshot frame */
.frame { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(15,23,42,.35); }
.frame .bar { height: 28px; background: #f1f5f9; border-bottom: 1px solid var(--line); display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 20px;
  background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 14px, #f1f5f9 14px, #f1f5f9 28px);
  color: var(--muted); font-size: 15px; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--orange-dk); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: 34px; line-height: 1.2; letter-spacing: -.015em; color: var(--steel); margin: 0 0 14px; }
h3 { font-size: 20px; color: var(--steel); margin: 0 0 8px; }
.sub { color: var(--muted); font-size: 19px; max-width: 40em; margin: 0 0 40px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Flow strip: lead → closeout */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; margin-top: 8px; }
.flow div { padding: 18px 14px; border-top: 4px solid var(--orange); position: relative; }
.flow div + div { border-left: 1px solid var(--line); }
.flow b { display: block; color: var(--steel); font-size: 17px; margin-bottom: 4px; }
.flow span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }

/* Feature rows (text beside a screenshot) */
.row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin: 0 0 88px; }
.row:last-child { margin-bottom: 0; }
.row.flip { grid-template-columns: 1.25fr 1fr; }
.row.flip .text { order: 2; }
.row ul { padding-left: 0; list-style: none; margin: 16px 0 0; }
.row li { padding-left: 26px; position: relative; margin: 8px 0; color: var(--ink); }
.row li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }
.row p { color: var(--muted); margin: 0; }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; border-top: 4px solid var(--orange); }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card .ic { font-size: 26px; line-height: 1; margin-bottom: 12px; display: block; }

/* QuickBooks table */
.qbo { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 16px; }
.qbo th, .qbo td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.qbo th { background: var(--cream); color: var(--steel); font-weight: 700; }
.qbo tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.tag.send { background: #ffedd5; color: #9a3412; }
.tag.read { background: #e0f2fe; color: #075985; }

/* Feature page: module index + lists */
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.toc a { text-decoration: none; color: var(--steel); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 500; }
.toc a:hover { border-color: var(--orange); color: var(--orange-dk); }
.module { scroll-margin-top: 80px; }
.flist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin: 28px 0 0; padding: 0; list-style: none; }
.flist li { padding-left: 26px; position: relative; color: var(--muted); font-size: 16px; }
.flist li b { color: var(--ink); }
.flist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--orange); box-shadow: 0 18px 40px -22px rgba(234,88,12,.5); }
.plan .price { font-size: 40px; font-weight: 800; color: var(--steel); margin: 8px 0 0; letter-spacing: -.02em; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan .for { color: var(--muted); margin: 4px 0 18px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; font-size: 15px; border-bottom: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-dk); font-weight: 800; }
.plan .btn { text-align: center; }
.badge { display: inline-block; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; color: var(--steel); cursor: pointer; font-size: 18px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Call to action band */
.band { background: var(--orange); color: #fff; padding: 56px 0; }
.band .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0; }
.band p { margin: 6px 0 0; color: #fff7ed; }
.band .btn { background: var(--steel-dk); }
.band .btn:hover { background: #0f172a; }

/* Video slot */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--steel-dk); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
footer { background: var(--steel-dk); color: #94a3b8; padding: 48px 0 32px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer b { color: #fff; display: block; margin-bottom: 8px; }
footer a { color: #cbd5e1; text-decoration: none; display: block; margin: 4px 0; }
footer a:hover { color: var(--orange); }
footer .brand { color: #fff; }
footer .legal { border-top: 1px solid #334155; margin-top: 32px; padding-top: 20px; font-size: 13px; }

/* Phones and tablets */
@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 18px; }
  h2 { font-size: 28px; }
  section { padding: 56px 0; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .row.flip .text { order: 0; }
  .cards, .plans { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow div + div { border-left: 0; }
  .flist { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { text-align: center; margin-top: 8px; }
  .qbo { font-size: 14px; }
  .qbo th, .qbo td { padding: 10px; }
}

/* A feature row whose picture isn't ready yet: the text takes the full width. */
.row > div:empty { display: none; }
.row:has(> div:empty) { grid-template-columns: 1fr; }
.row:has(> div:empty) .text { max-width: 760px; }

/* The logo is the app's own image (with ™ and ©), almost twice the old wordmark. */
.top .wrap { height: 84px; }
.brand img { height: 60px; width: auto; display: block; }
footer .brand img { height: 40px; }
@media (max-width: 900px) {
  .top .wrap { height: 68px; }
  .brand img { height: auto; width: min(260px, 62vw); }
  .nav { top: 68px; }
  footer .brand img { height: auto; width: 240px; }
}

/* pricing: billing switch and early-subscriber offer */
.earlybox { display: inline-block; background: #fff7ed; border: 1px solid #fdba74; color: #7c2d12; border-radius: 10px; padding: 10px 16px; margin: 6px 0 18px; font-size: 15px; }
.billing { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #fff; margin-bottom: 28px; }
.billing button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.billing button.on { background: var(--steel); color: #fff; }
.billing button span { font-size: 12px; font-weight: 700; color: var(--orange-dk); margin-left: 4px; }
.billing button.on span { color: #fed7aa; }
.plan .early { margin: 6px 0 0; font-size: 14px; color: #9a3412; }
.fine { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* See it work: player + clip tiles */
.pageh { font-size: 44px; color: var(--steel); margin: 0 0 12px; letter-spacing: -.02em; line-height: 1.15; }
.watch { padding-bottom: 56px; }
.watch .sub { margin-bottom: 28px; }
.player { background: var(--steel-dk); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(15,23,42,.6); scroll-margin-top: 80px; }
.player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0f172a; }
.player .now { padding: 14px 20px 16px; color: #e2e8f0; display: flex; flex-direction: column; gap: 2px; }
.player .now b { color: #fff; font-size: 19px; }
.player .now span { font-size: 15px; color: #cbd5e1; }
.clipsec { padding-top: 48px; }
.cliphead { font-size: 24px; margin: 36px 0 14px; }
.cliphead:first-child { margin-top: 0; }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.clip { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; padding-bottom: 14px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.clip:hover, .clip:focus-visible { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(15,23,42,.45); }
.clip.on { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange) inset; }
.clip .thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #e2e8f0; border-bottom: 1px solid var(--line); }
.clip .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip .len { position: absolute; right: 8px; bottom: 8px; background: rgba(15,23,42,.85); color: #fff; font-size: 13px; font-weight: 600; padding: 2px 7px; border-radius: 6px; }
.clip .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(234,88,12,.92);
  box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.clip .play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.clip b { padding: 4px 16px 0; color: var(--steel); font-size: 17px; }
.clip .num { display: inline-block; min-width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: var(--cream); color: var(--orange-dk); font-size: 13px; margin-right: 4px; }
.clip .d { padding: 0 16px; color: var(--muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .clips { grid-template-columns: repeat(2, 1fr); } .pageh { font-size: 34px; } }
@media (max-width: 560px) { .clips { grid-template-columns: 1fr; } }

/* Take a Look: the full-tour video in a player over the page (11-14) */
.flow-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 26px 0 0; }
.flow-cta span { color: var(--muted); font-size: 15px; }
.tour-ov { position: fixed; inset: 0; background: rgba(15, 23, 42, .82); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.tour-box { position: relative; width: min(1100px, 100%); }
.tour-box .tour-frame { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.tour-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-close { position: absolute; top: -44px; right: 0; background: #fff; color: #0f172a; border: 0; border-radius: 8px; padding: 8px 14px; font: 600 14px/1 Inter, system-ui, sans-serif; cursor: pointer; }
