/* SupplySync marketing + SaaS shell styling.
   Conversion-aware, modern, clean. Shares the app's navy brand but is its own
   system (the app stylesheet stays accessibility-first; this is the website). */

:root {
  --navy: #15233f;
  --navy-700: #1d3157;
  --navy-900: #0d172b;
  --navy-50: #eef2f9;
  --ink: #16203a;
  --muted: #5a6781;
  --paper: #f6f8fc;
  --card: #ffffff;
  --line: #e2e7f1;

  --accent: #f5a524;        /* warm hi-vis amber — the trades' colour */
  --accent-700: #c9821a;
  --take: #c4361f;
  --put: #1f8a4c;
  --put-700: #166c3a;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(21,35,63,.06);
  --shadow: 0 10px 30px rgba(21,35,63,.10);
  --shadow-lg: 0 24px 60px rgba(13,23,43,.18);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 17px; line-height: 1; cursor: pointer;
  padding: 16px 26px; border-radius: 14px; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--navy-900); box-shadow: 0 8px 22px rgba(245,165,36,.32); }
.btn-primary:hover { background: var(--accent-700); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-lg { padding: 19px 34px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,248,252,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; color: var(--navy); letter-spacing: -.3px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: var(--accent); font-size: 19px;
}
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav .links a { color: var(--muted); font-weight: 600; }
.nav .links a:hover { color: var(--navy); }
.nav .links .btn { margin-left: 6px; padding: 11px 20px; }
@media (max-width: 760px) { .nav .links a.navlink { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 80% -10%, #25406f 0%, var(--navy) 45%, var(--navy-900) 100%); color: #fff; }
.hero .wrap { padding-top: 84px; padding-bottom: 96px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; } }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; letter-spacing: .4px; text-transform: uppercase; color: var(--accent); background: rgba(245,165,36,.12); border: 1px solid rgba(245,165,36,.3); padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -1.4px; margin: 22px 0 18px; font-weight: 800; }
.hero h1 .hl { color: var(--accent); }
.hero p.lede { font-size: 20px; color: #c7d2e8; max-width: 540px; margin: 0 0 32px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .reassure { margin-top: 18px; color: #97a6c4; font-size: 15px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero .reassure span { display: inline-flex; align-items: center; gap: 7px; }

/* hero device mockup */
.device {
  background: #fff; border-radius: 28px; padding: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5); transform: rotate(-1.2deg);
}
.device .scr { background: var(--paper); border-radius: 18px; overflow: hidden; }
.device .scr .bar { background: var(--navy); color: #fff; padding: 13px 16px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.device .scr .bar .dot { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: var(--navy); display: grid; place-items: center; font-size: 15px; }
.device .scr .body { padding: 16px; display: grid; gap: 11px; }
.mockbtn { border-radius: 14px; padding: 16px; color: #fff; font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 12px; }
.mockbtn small { display: block; font-weight: 600; opacity: .9; font-size: 13px; }
.mockbtn.take { background: linear-gradient(135deg, var(--take), #9c2917); }
.mockbtn.put { background: linear-gradient(135deg, var(--put), var(--put-700)); }
.mockrow { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 11px; font-weight: 700; }
.mockrow .pill { margin-left: auto; background: var(--navy-50); color: var(--navy); border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 800; }
.mockrow .pill.low { background: #fff5e3; color: #b9791a; }

/* ---------- logo strip / social proof ---------- */
.proof { padding: 34px 0; border-bottom: 1px solid var(--line); background: var(--card); }
.proof .wrap { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.proof .label { color: var(--muted); font-size: 14px; font-weight: 600; }
.proof .ph { color: #aab4c9; font-weight: 800; font-size: 19px; letter-spacing: .5px; opacity: .8; }

/* ---------- sections ---------- */
section.block { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker { color: var(--accent-700); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1px; margin: 12px 0 14px; line-height: 1.1; }
.section-head p { font-size: 19px; color: var(--muted); margin: 0; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 25px; background: var(--navy-50); margin-bottom: 18px; }
.feat h3 { font-size: 21px; margin: 0 0 9px; letter-spacing: -.3px; }
.feat p { color: var(--muted); margin: 0; font-size: 16px; }

/* how it works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 10px; }
.step .num { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--accent); font-weight: 800; font-size: 24px; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--shadow); }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { color: var(--muted); margin: 0; }

/* split band */
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split h2 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.8px; margin: 0 0 16px; line-height: 1.12; }
.split p { color: var(--muted); font-size: 18px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist li .tick { color: var(--put); font-weight: 900; flex: none; }
.panel { background: var(--navy); border-radius: var(--radius-lg); padding: 34px; color: #fff; box-shadow: var(--shadow); }
.panel .stat { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.panel .stat:last-child { border-bottom: none; }
.panel .stat b { font-size: 34px; color: var(--accent); letter-spacing: -1px; }
.panel .stat span { color: #c7d2e8; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 17px; margin: 0 0 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-50); display: grid; place-items: center; font-weight: 800; color: var(--navy); }
.quote .who .nm { font-weight: 700; }
.quote .who .rl { color: var(--muted); font-size: 14px; }
.ph-note { text-align: center; color: #aab4c9; font-size: 13px; margin-top: 26px; font-style: italic; }

/* big CTA */
.cta { background: radial-gradient(120% 140% at 50% -20%, #25406f 0%, var(--navy) 55%, var(--navy-900) 100%); color: #fff; text-align: center; }
.cta .wrap { padding: 84px 24px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -1px; margin: 0 0 16px; }
.cta p { font-size: 20px; color: #c7d2e8; max-width: 560px; margin: 0 auto 30px; }

/* footer */
footer.site { background: var(--navy-900); color: #9fb0cc; padding: 52px 0 40px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
footer.site .brand { color: #fff; }
footer.site a { color: #9fb0cc; }
footer.site a:hover { color: #fff; }
footer.site .cols { display: flex; gap: 56px; flex-wrap: wrap; }
footer.site .col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .8px; margin: 0 0 14px; }
footer.site .col a { display: block; margin-bottom: 9px; font-size: 15px; }
footer.site .legal { width: 100%; border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 22px; font-size: 14px; color: #6e80a0; }

/* ---------- pricing page ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); transform: scale(1.02); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--navy-900); font-weight: 800; font-size: 13px; padding: 6px 16px; border-radius: 999px; letter-spacing: .3px; }
.plan h3 { font-size: 24px; margin: 0 0 4px; }
.plan .for { color: var(--muted); font-size: 15px; margin: 0 0 20px; min-height: 22px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-size: 50px; font-weight: 800; letter-spacing: -2px; }
.plan .price .per { color: var(--muted); font-weight: 600; }
.plan .sub { color: var(--muted); font-size: 14px; margin: 6px 0 4px; min-height: 20px; }
.plan .save { color: var(--put-700); font-weight: 700; font-size: 14px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan ul li .tk { color: var(--put); font-weight: 900; flex: none; }
.plan .btn { margin-top: auto; }

.bill-toggle { display: inline-flex; background: var(--navy-50); border-radius: 999px; padding: 5px; gap: 4px; margin: 0 auto 14px; }
.bill-toggle button { border: none; background: transparent; padding: 11px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted); font-size: 15px; }
.bill-toggle button.on { background: var(--navy); color: #fff; }
.bill-toggle .tag { color: var(--put-700); font-weight: 800; font-size: 13px; }
.bill-center { text-align: center; margin-bottom: 40px; }

/* feature comparison table */
.cmp { width: 100%; border-collapse: collapse; margin-top: 64px; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.cmp th, .cmp td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp th { background: var(--navy); color: #fff; font-size: 16px; }
.cmp td:first-child, .cmp th:first-child { text-align: left; font-weight: 600; }
.cmp tr:last-child td { border-bottom: none; }
.cmp .yes { color: var(--put); font-weight: 900; }
.cmp .no { color: #c2cad8; }
.cmp .featured-col { background: rgba(245,165,36,.06); }
@media (max-width: 700px) { .cmp { font-size: 13px; } .cmp th, .cmp td { padding: 11px 8px; } }

/* ---------- onboarding wizard ---------- */
.wiz { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.wiz-top { background: var(--card); border-bottom: 1px solid var(--line); }
.wiz-top .wrap { display: flex; align-items: center; height: 68px; gap: 16px; }
.wiz-progress { height: 6px; background: var(--navy-50); }
.wiz-progress .fill { height: 100%; background: var(--accent); transition: width .35s ease; border-radius: 0 4px 4px 0; }
.wiz-body { flex: 1; max-width: 720px; width: 100%; margin: 0 auto; padding: 44px 24px 130px; }
.wiz .step-eyebrow { color: var(--accent-700); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.wiz h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; margin: 8px 0 8px; }
.wiz .hint { color: var(--muted); font-size: 18px; margin: 0 0 30px; }
.wiz label.fld { display: block; font-weight: 700; margin: 18px 0 8px; }
.wiz input[type=text], .wiz textarea {
  width: 100%; font-size: 19px; padding: 16px 18px; border: 2px solid var(--line);
  border-radius: 14px; background: var(--card); font-family: inherit;
}
.wiz input:focus, .wiz textarea:focus { outline: 4px solid #cfe0ff; border-color: var(--navy); }
.wiz .pickbar { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.wiz .pickbar input { flex: 1; min-width: 200px; }
.cat-tabs { display: flex; gap: 10px; margin: 6px 0 18px; flex-wrap: wrap; }
.cat-tabs button { border: 2px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 18px; font-weight: 700; cursor: pointer; color: var(--muted); }
.cat-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .pick-grid { grid-template-columns: 1fr; } }
.pick { display: flex; align-items: center; gap: 12px; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; text-align: left; font-size: 16px; }
.pick .em { font-size: 24px; }
.pick .nm { font-weight: 700; flex: 1; }
.pick .ck { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 900; color: transparent; }
.pick.on { border-color: var(--put); background: #f1faf4; }
.pick.on .ck { background: var(--put); border-color: var(--put); color: #fff; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.review-card .ln { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.review-card .ln:last-child { border-bottom: none; }
.review-card .ln b { font-weight: 800; }
.chiplist { display: flex; flex-wrap: wrap; gap: 8px; }
.chiplist .c { background: var(--navy-50); color: var(--navy); border-radius: 999px; padding: 6px 13px; font-weight: 700; font-size: 14px; }
.wiz-foot { position: fixed; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(246,248,252,0), var(--paper) 30%); padding: 18px 0 24px; }
.wiz-foot .wrap { max-width: 720px; display: flex; gap: 14px; align-items: center; }
.wiz-foot .err { color: var(--take); font-weight: 700; }
.done-hero { text-align: center; padding: 30px 0; }
.done-hero .big { font-size: 80px; }
.done-hero h1 { margin: 6px 0; }

/* small print / utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
