/* WeProfitWhenYouDo.com — shared design system
   One stylesheet for every page. Edit here once, the whole site changes. */

:root {
  --ink: #0e1b2b;          /* deepest navy, dark sections + headings */
  --ink-2: #16293f;        /* raised navy */
  --ink-3: #21374f;        /* navy lines on dark */
  --paper: #ffffff;
  --paper-soft: #f4f7fa;   /* page background */
  --paper-soft-2: #eef2f7;
  --brand: #ff5a3c;        /* coral accent (logo "YouDo") */
  --brand-ink: #e8431f;
  --brand-soft: #fff1ed;
  --text: #17232f;         /* body text on light */
  --muted: #566677;        /* secondary text on light */
  --muted-dark: #9fb2c6;   /* secondary text on dark */
  --line: #dde4ec;
  --ok: #1f9d6b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14,27,43,.08);
  --shadow-lg: 0 24px 60px rgba(14,27,43,.16);
  --wrap: 1140px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper-soft);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--dark { background: var(--ink); color: #e9eff6; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--soft { background: var(--paper-soft-2); }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--dark .lead { color: var(--muted-dark); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--brand-ink); margin: 0 0 .7rem; }
.section--dark .eyebrow { color: var(--brand); }
.measure { max-width: 680px; }
.measure.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(255,90,60,.35); }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.section--dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.08rem; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -0.03em; text-decoration: none; }
.brand b { color: var(--brand); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #cdd8e4; font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { background: radial-gradient(1200px 520px at 72% -10%, rgba(255,90,60,.22) 0%, transparent 60%), linear-gradient(160deg, #0e1b2b 0%, #16293f 55%, #1b3350 100%); color: #fff; padding: 92px 0 84px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #c7d4e2; max-width: 56ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--muted-dark); }

/* Grid + cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; margin-bottom: 14px; }
.section--dark .card { background: var(--ink-2); border-color: var(--ink-3); box-shadow: none; color: #d8e2ee; }
.section--dark .card h3 { color: #fff; }

/* Pricing — two models */
.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.model { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.model--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.model .tag { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.model h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.model .model-sub { color: var(--muted); font-weight: 600; margin-bottom: 1.1rem; }
.model ul { list-style: none; margin: 1rem 0 1.4rem; padding: 0; }
.model li { padding: .5rem 0 .5rem 30px; position: relative; border-top: 1px solid var(--line); }
.model li:first-child { border-top: 0; }
.model li::before { content: "✓"; position: absolute; left: 0; top: .5rem; color: var(--ok); font-weight: 800; }

/* Steps / list with checks on dark */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: .45rem 0 .45rem 32px; position: relative; }
.checks li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-ink); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding-bottom: 16px; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-ink) 100%); color: #fff; border-radius: 20px; padding: 48px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--brand-ink); box-shadow: none; }

/* Stat / proof strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .big { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.section--dark .stat .big { color: #fff; }
.stat .cap { color: var(--muted); font-size: .95rem; }
.section--dark .stat .cap { color: var(--muted-dark); }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

/* chips / tags */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; color: var(--text); box-shadow: var(--shadow); }
.chips a:hover { border-color: var(--brand); color: var(--brand-ink); text-decoration: none; }

/* breadcrumb */
.crumb { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }

/* prose (generated vertical pages) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }

/* Footer */
.site-footer { background: var(--ink); color: #aebccd; padding: 56px 0 28px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; letter-spacing: 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 8px 0; }
.foot-grid a { color: #aebccd; font-weight: 500; }
.foot-grid a:hover { color: #fff; text-decoration: none; }
.foot-brand { font-weight: 800; font-size: 1.25rem; color: #fff; }
.foot-brand b { color: var(--brand); }
.foot-bottom { border-top: 1px solid var(--ink-3); margin-top: 36px; padding-top: 20px; font-size: .88rem; color: #7f91a5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 18px; display: none; border-top: 1px solid var(--ink-3); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .models, .stats { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 34px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* Industry page hero (category image + navy overlay; gradient fallback) */
.page-hero { position: relative; color: #fff; padding: 72px 0 60px;
  background: linear-gradient(160deg, #0e1b2b 0%, #16293f 60%, #1b3350 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(120deg, rgba(14,27,43,.92) 0%, rgba(14,27,43,.72) 55%, rgba(27,51,80,.6) 100%), var(--cat-img, none);
  background-size: cover; background-position: center; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #cdd9e6; max-width: 60ch; }
.page-hero .crumb, .page-hero .crumb a { color: #9fb2c6; }

/* Industry hub */
.hubcat { margin-bottom: 40px; }
.hubcat h3 { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--line); padding-bottom: 10px; }
.hubcat .cnt { font-size: .8rem; background: var(--brand-soft); color: var(--brand-ink); border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.hubcat .chips { margin-top: 16px; }

/* prose tables (guide ROI tables) */
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--paper-soft-2); }

/* prevent any stray horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }
.prose table { display: block; overflow-x: auto; }

/* two-column hero with media */
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-media { display: flex; justify-content: center; align-items: center; }
.hero-media img { width: 100%; max-width: 440px; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.img-frame { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (max-width: 860px){ .hero-grid { grid-template-columns: 1fr; } .hero-media { display:none; } }

/* Bespoke hero visual (CSS, no stock imagery) */
.hero-viz { display:flex; justify-content:center; }
.viz-card { width:100%; max-width:420px; background:linear-gradient(180deg,#16293f,#122238); border:1px solid #294055;
  border-radius:20px; padding:22px; box-shadow:var(--shadow-lg); }
.viz-head { display:flex; justify-content:space-between; align-items:center; color:#cdd9e6; font-weight:700; font-size:.95rem; margin-bottom:14px; }
.viz-pill { background:#33465b; color:#9fb2c6; font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; padding:4px 10px; border-radius:999px; }
.viz-lead { display:flex; justify-content:space-between; align-items:center; padding:13px 14px; border-radius:12px; margin-bottom:10px; font-size:.95rem; }
.viz-lead span { color:#aebccd; } .viz-lead b { color:#fff; }
.viz-lead.off { background:#0f1f30; opacity:.6; }
.viz-lead.off b { text-decoration:line-through; color:#7f91a5; }
.viz-lead.on { background:rgba(255,90,60,.14); border:1px solid rgba(255,90,60,.5); }
.viz-lead.on span { color:#fff; } .viz-lead.on b { color:var(--brand); }
.viz-foot { display:flex; justify-content:space-between; align-items:center; margin-top:16px; padding-top:16px; border-top:1px solid #294055; }
.viz-foot span { color:#9fb2c6; font-weight:600; }
.viz-total { color:var(--brand); font-size:1.7rem; font-weight:800; letter-spacing:-0.02em; }
