/* Crewtility marketing site. Palette and type follow the app: orange actions, navy accents,
   Montserrat headings, Open Sans text. */
:root {
  --bg: #ffffff; --bg-alt: #f6f7f9; --ink: #1b1f2e; --text: #4a4f5c; --muted: #7d828e; --line: #e7e9ee;
  --brand: #ff5000; --brand-hover: #e64800; --brand-soft: #fff0e8;
  --navy: #232a52; --navy-2: #2e3768; --navy-ink: #c9cee6;
  --ok: #1f8a4c; --ok-soft: #e3f6ea; --warn: #b45309; --warn-soft: #fef3c7; --bad: #e02500; --bad-soft: #fde7e6;
  --radius: 14px; --shadow: 0 1px 2px rgba(27,31,46,.06), 0 8px 24px rgba(27,31,46,.08);
  --head: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff;
  font: 600 15px/1 var(--head); text-decoration: none; border-radius: 8px; padding: 12px 18px; border: 2px solid var(--brand);
  transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #ffb38f; outline-offset: 2px; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); border-color: #d5d8df; }
.btn-white { background: #fff; color: var(--brand); border-color: #fff; }
.btn-white:hover { background: #fff4ee; border-color: #fff4ee; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; }
.brand span { font: 800 21px/1 var(--head); color: var(--navy); letter-spacing: -.03em; }
.brand-sm span { font-size: 17px; }
.links { display: flex; align-items: center; gap: 28px; }
.links a:not(.btn) { text-decoration: none; font: 600 15px/1 var(--head); color: var(--text); }
.links a:not(.btn):hover { color: var(--ink); }
.menu { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }
.menu svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 860px) {
  .menu { display: block; }
  .links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(27,31,46,.08);
    display: none; }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .links .btn { margin-top: 14px; padding: 14px; }
}

/* Hero */
.eyebrow { font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 14px; }
.eyebrow-light { color: #ff8a52; }
.hero { padding: 64px 0 80px; background:
  radial-gradient(900px 480px at 85% 10%, #fff3ec 0%, rgba(255,243,236,0) 70%),
  radial-gradient(700px 400px at 0% 100%, #eef0f8 0%, rgba(238,240,248,0) 70%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 60px); font-weight: 800; letter-spacing: -.035em; }
.hl { color: var(--brand); }
.lede { font-size: 19px; margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231f8a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 980px) {
  .hero { padding: 40px 0 56px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
}

/* Hero art: app mocks */
.hero-art { position: relative; padding-bottom: 40px; padding-right: 104px; }
.screen { background: #fff; border-radius: 14px; box-shadow: 0 2px 4px rgba(27,31,46,.06), 0 24px 60px rgba(35,42,82,.18);
  overflow: hidden; border: 1px solid var(--line); font-size: 12px; }
.scr-bar { display: flex; gap: 6px; padding: 10px 12px; background: #f3f4f6; border-bottom: 1px solid var(--line); }
.scr-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dce2; }
.scr-body { display: grid; grid-template-columns: 132px 1fr; min-height: 330px; }
.scr-side { border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.scr-logo { display: flex; align-items: center; gap: 7px; margin: 0 0 12px 4px; }
.scr-logo img { width: 20px; height: 20px; border-radius: 5px; }
.scr-logo b { font: 800 13px/1 var(--head); color: var(--navy); }
.scr-side span { padding: 7px 9px; border-radius: 6px; color: var(--text); font-weight: 600; display: flex; justify-content: space-between; }
.scr-side span.on { background: #e3e6e8; color: var(--ink); }
.scr-side em { font-style: normal; background: var(--brand); color: #fff; border-radius: 9px; font-size: 10px; padding: 0 6px; line-height: 16px; }
.scr-main { padding: 14px 16px; background: #fafafa; min-width: 0; }
.scr-head { display: flex; justify-content: space-between; align-items: center; }
.scr-head b { font: 700 17px/1 var(--head); color: var(--ink); }
.scr-btn { background: var(--brand); color: #fff; font-weight: 600; padding: 6px 10px; border-radius: 4px; }
.scr-search { margin: 12px 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; color: var(--muted); }
.scr-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(27,31,46,.05); }
.scr-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.scr-table td { padding: 8px 10px; border-bottom: 1px solid #f1f2f5; color: var(--ink); white-space: nowrap; }
.scr-table tr:last-child td { border-bottom: 0; }
.scr-table td:first-child { font-weight: 600; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.scr-table td:nth-child(2) { font-weight: 700; }
.scr-table th:not(:first-child), .scr-table td:not(:first-child) { text-align: right; }
.pill { text-decoration: none; font-weight: 700; font-size: 10.5px; padding: 2px 7px; border-radius: 10px; }
.pill.low { background: var(--warn-soft); color: var(--warn); }
.pill.out { background: var(--bad-soft); color: var(--bad); }

.phone { position: absolute; right: 0; bottom: 0; width: 196px; background: #11131c; border-radius: 30px; padding: 9px;
  box-shadow: 0 30px 60px rgba(35,42,82,.28), 0 4px 10px rgba(0,0,0,.12); }
.ph-notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 56px; height: 14px; background: #11131c; border-radius: 8px; z-index: 2; }
.ph-body { background: #fff; border-radius: 22px; padding: 38px 14px 16px; font-size: 11.5px; }
.ph-kicker { font: 700 10px/1 var(--head); color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.ph-title { font: 700 16px/1.2 var(--head); color: var(--ink); margin-top: 6px; }
.ph-sub { color: var(--muted); margin-top: 3px; font-size: 10.5px; }
.ph-field { border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; margin-top: 9px; color: var(--ink); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-field small { display: block; font-weight: 400; color: var(--muted); font-size: 9.5px; }
.ph-qty { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; border: 1px solid var(--line); border-radius: 7px; }
.ph-qty span { width: 34px; text-align: center; font-size: 16px; color: var(--navy); padding: 4px 0; }
.ph-qty b { font: 700 15px/1 var(--head); color: var(--ink); }
.ph-go { margin-top: 10px; background: var(--brand); color: #fff; text-align: center; font: 700 13px/1 var(--head); padding: 10px; border-radius: 7px; }
.ph-note { margin-top: 9px; text-align: center; color: var(--ok); font-weight: 600; font-size: 10.5px; }
@media (max-width: 600px) {
  .hero-art { padding-right: 0; padding-bottom: 0; }
  .scr-body { grid-template-columns: 1fr; }
  .scr-side { display: none; }
  .scr-table th:nth-child(n+4), .scr-table td:nth-child(n+4) { display: none; }
  .phone { position: relative; right: auto; bottom: auto; width: 180px; margin: -56px 12px 0 auto; }
}

/* Trades strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; padding-top: 22px; padding-bottom: 22px; }
.strip span { font: 700 14px/1.2 var(--head); color: #9aa0ab; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 600px) { .strip-in { gap: 10px 22px; } .strip span { font-size: 12px; } }

/* Sections */
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.sec-head > p:not(.eyebrow) { margin-top: 14px; font-size: 18px; }
@media (max-width: 600px) { .sec { padding: 64px 0; } .sec-head { margin-bottom: 36px; } }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p, .mini p { margin-top: 10px; font-size: 15.5px; }
.ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); margin-bottom: 18px; }
.ic svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini { border-top: 3px solid var(--brand); padding-top: 20px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 1px 2px rgba(27,31,46,.05); }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 16px/1 var(--head); margin-bottom: 18px; }
.steps p { margin-top: 10px; font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split h2 { font-size: clamp(26px, 3.2vw, 34px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 48px; } }
.list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.list li { position: relative; padding-left: 30px; }
.list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23ff5000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Fleet (navy band) */
.sec-navy { background: var(--navy); color: var(--navy-ink); }
.sec-navy h2 { color: #fff; }
.fleet { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.fleet-copy > p:not(.eyebrow) { margin-top: 14px; font-size: 18px; }
.list-light li::before { background-color: rgba(255,255,255,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23ff8a52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fleet-card { background: #fff; color: var(--text); border-radius: 16px; padding: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.fc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fc-head b { font: 700 20px/1 var(--head); color: var(--ink); }
.fc-head span { color: var(--muted); font-size: 14px; }
.fc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 16px; }
.fc-stats div { background: var(--bg-alt); border-radius: 10px; padding: 12px; }
.fc-stats small { display: block; font-size: 12px; color: var(--muted); }
.fc-stats b { font: 700 19px/1.3 var(--head); color: var(--ink); }
.fc-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); font-weight: 600; }
.fc-row em { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 10px; white-space: nowrap; align-self: center; }
.fc-row.due em { background: var(--warn-soft); color: var(--warn); }
.fc-row.ok em { background: var(--ok-soft); color: var(--ok); }
.fc-row.bad em { background: var(--bad-soft); color: var(--bad); }
@media (max-width: 860px) { .fleet { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 420px) { .fc-stats b { font-size: 16px; } .fc-stats div { padding: 10px; } }

/* CTA */
.cta { background: var(--brand); color: #fff; padding: 72px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; font-size: 18px; max-width: 36em; color: #fff3ec; }
@media (max-width: 760px) { .cta-in { flex-direction: column; align-items: flex-start; } }

/* Footer */
.foot { padding: 36px 0; background: #fff; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; font-size: 14.5px; color: var(--text); }
.foot nav a:hover { color: var(--ink); }
.foot small { color: var(--muted); font-size: 13.5px; }

/* 404 */
.nf { min-height: calc(100vh - 68px - 100px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.nf p { margin: 14px 0 28px; font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
