/*
 * HelpClean marketing site.
 *
 * Brand v2 — the mop-and-bucket mark. Colours are sampled from the artwork
 * (apps/employer-app/assets/brand-v2/helpclean-lockup-v2.png): forest green
 * #064E30 and coral #F66036, on the cream canvas the apps use (#FBF5EC).
 * These match the app design system in apps/employer-app/src/ui/tokens.ts.
 *
 * Coral is ~3.3:1 on white, so it is used for accents, chips and marks only —
 * never for body text or small text on a coral fill. Body copy and links are
 * forest green or ink.
 */

:root {
  --green: #064E30;
  --green-deep: #04351F;
  --green-mid: #176B5B;
  --green-soft: #DFF0E6;
  --green-fixed: #DDF1EA;
  --coral: #F66036;
  --coral-deep: #B23F1B;
  --coral-soft: #FDE3D9;
  --coral-light: #FF9B7F;
  --cream: #FBF5EC;
  --cream-deep: #F4EADB;
  --ink: #17201D;
  --muted: #66706C;
  --line: #E5DED4;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(6, 78, 48, .06), 0 8px 24px rgba(6, 78, 48, .08);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--green); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--green); text-decoration-color: rgba(6, 78, 48, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--green); }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.logo img { width: 50px; height: 50px; object-fit: contain; }
.logo .h { color: var(--green); }
.logo .c { color: var(--coral); }
nav.links { display: flex; align-items: center; gap: 26px; }
nav.links a { font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--green); }
nav.links a:hover { color: var(--coral-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-green { background: var(--coral); color: #fff; }
.btn-green:hover { background: var(--coral-deep); }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green-soft); }

/* ---------- hero ---------- */
.hero { background: linear-gradient(170deg, var(--cream) 0%, #fff 78%); padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: var(--coral-soft); color: var(--coral-deep);
  padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.lede { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { display: flex; justify-content: center; }
.hero-art picture { display: block; width: 100%; max-width: 340px; }
.hero-art img { width: 100%; height: auto; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
section.tint { background: var(--cream); }
.section-head { max-width: 40em; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 0; }

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

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: var(--green); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.card.green .step-num { background: var(--coral); }

.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.check li b { color: var(--ink); font-weight: 700; }

/* ---------- callout / banner ---------- */
.banner {
  background: var(--green); color: #fff; border-radius: 22px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.banner h2 { color: #fff; margin-bottom: .3em; }
.banner p { color: #C3DACB; margin: 0; max-width: 34em; }

/* ---------- document pages ---------- */
.page-head { background: var(--cream); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); margin: 0; max-width: 40em; }
.doc { padding: 56px 0 84px; }
.doc-wrap { max-width: 760px; }
.doc h2 { margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 1.4rem; }
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.doc p, .doc li { color: #333D44; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .5em; }

.callout {
  background: var(--green-soft); border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; margin: 28px 0;
}
.callout h3 { color: var(--green); margin-bottom: .4em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); background: #fff;
}
.contact-card .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.contact-card .value { font-size: 1.35rem; font-weight: 800; color: var(--green); letter-spacing: -.02em; }
.contact-card .value a { text-decoration: none; }
.contact-card .note { font-size: .92rem; color: var(--muted); margin: 8px 0 0; }

/* ---------- footer ---------- */
footer { background: #04351F; color: #B7CCBF; padding: 56px 0 32px; font-size: .94rem; }
footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
footer a { color: #B7CCBF; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.foot-logo img { width: 38px; height: 38px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; }
.foot-logo .h { color: #fff; }
.foot-logo .c { color: var(--coral-light); }
.foot-note { max-width: 26em; margin: 0; color: #93A99B; font-size: .9rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #93A99B; font-size: .88rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .hero-art picture { max-width: 220px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav.links { display: none; }
  .banner { padding: 32px; }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .bar { height: 64px; }
}
