/* WorkShield.AI marketing site. Tokens copied from the app's warm theme so
   this page reads as the sibling of the app's sign-in screen. Flat: hairlines
   only, no shadows, no gradients. */

:root {
  --canvas: #FAF9F7;
  --surface: #FFFFFF;
  --surface-2: #F5F2EC;
  --ink: #1E1C19;
  --ink-2: #4A4640;
  --ink-3: #6E6963;
  --ink-4: #8C867E;
  --hairline: #E6E1D8;
  --hairline-2: #EFEBE3;
  --accent: #1D4F91;
  --accent-hover: #163D70;
  --accent-soft: #E6EDF7;
  --on-accent: #FFFFFF;
  --red: #B3261E;
  --green: #2E7D4F;
  --focus-ring: rgba(29, 79, 145, 0.28);
  --radius: 10px;
  --radius-card: 14px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
img { display: block; max-width: 100%; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); border-radius: var(--radius); }

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

/* ---- nav ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 249, 247, 0.94);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--accent); }
.brand:hover { color: var(--accent-hover); }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-name { font-weight: 650; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--ink-2); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav-link:hover { color: var(--ink); }

/* ---- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); border-color: var(--hairline); color: var(--ink); }
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* ---- hero ---------------------------------------------------------------- */
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--hairline); }
.hero-title {
  font-size: 46px; line-height: 1.12; font-weight: 650; letter-spacing: -0.02em;
  max-width: 760px;
}
.hero-sub { margin-top: 20px; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 640px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.referred { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.honest {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hairline);
  font-size: 20px; line-height: 1.4; font-weight: 550; color: var(--ink); max-width: 640px;
}

/* ---- sections -------------------------------------------------------------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-title { font-size: 30px; line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }
.section-lead { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 640px; }

/* cards */
.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card);
  padding: 22px 22px 24px;
}
.card h3 { font-size: 17px; font-weight: 650; line-height: 1.3; }
.card p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* steps */
.steps { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card);
  padding: 22px 22px 24px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 14px;
}
.step h3 { margin-top: 14px; font-size: 17px; font-weight: 650; line-height: 1.3; }
.step p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* never silent */
.panel {
  background: var(--surface); border: 1px solid var(--hairline); border-left: 4px solid var(--accent);
  border-radius: var(--radius-card); padding: 30px 32px;
}
.panel-text { margin-top: 14px; font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 820px; }

/* where it's required */
.strip { padding: 36px 0; border-top: 1px solid var(--hairline); }
.strip-title { font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.strip-list { margin-top: 12px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 32px; }
.strip-list li { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.strip-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* consultants */
.consultants { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.consultants-text p { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 640px; }

/* ---- form ---------------------------------------------------------------- */
.form {
  margin-top: 28px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-card); padding: 28px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 10px 12px; min-height: 44px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring);
}
.field .invalid { border-color: var(--red); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 15px; color: var(--ink-2); min-height: 1em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* ---- footer -------------------------------------------------------------- */
.footer { border-top: 1px solid var(--hairline); padding: 28px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; }
.footer-brand { font-size: 14px; color: var(--ink-3); }
.footer-links { display: flex; gap: 18px; font-size: 14px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { gap: 12px; }
  .step { padding: 18px 18px 20px; }
  .hero-title { font-size: 40px; }
}
@media (max-width: 720px) {
  .nav-link-section { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .honest { font-size: 18px; margin-top: 32px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 26px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .panel { padding: 22px 20px; }
  .panel-text { font-size: 17px; }
  .strip-list { grid-template-columns: 1fr; }
  .consultants { grid-template-columns: 1fr; gap: 20px; }
  .form { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .nav-links { gap: 14px; }
  .brand-name { font-size: 16px; }
  .hero-title { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
