/* ============================================================
   WorkAudit landing — modern, calm, owner-friendly
   ============================================================ */

:root {
  --bg: #0B1220;
  --bg-2: #0F172A;
  --ink: #0B1220;
  --ink-2: #1E293B;
  --slate: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --soft: #F1F5F9;
  --paper: #FFFFFF;
  --accent: #3B82F6;
  --accent-2: #2563EB;
  --accent-soft: #DBEAFE;
  --ok: #10B981;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .25);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1120px;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.skip {
  position: absolute; left: -9999px; top: auto;
}
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow-md); z-index: 100; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-1px); background: #000; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--soft); }
.btn--lg { padding: 16px 24px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ink);
  letter-spacing: -.01em;
}
.brand img { border-radius: 6px; }
.nav__links {
  display: flex; gap: 22px; margin-left: 12px; flex: 1;
}
.nav__links a {
  color: var(--slate); font-weight: 500; font-size: 14.5px;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { font-size: 14px; padding: 10px 14px; }

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 80% -10%, #EEF2FF 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 10%, #F1F5F9 0%, transparent 55%),
    linear-gradient(#FFFFFF, #FFFFFF);
}
.hero__bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 80%);
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .55;
  animation: float 14s ease-in-out infinite;
}
.orb--a { width: 420px; height: 420px; left: -120px; top: -80px; background: #BFDBFE; }
.orb--b { width: 360px; height: 360px; right: -120px; top: 80px; background: #DDD6FE; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-22px,0); }
}

.hero__inner { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
  color: var(--slate); font-size: 13.5px; font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }

.hero__title {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 22px auto 18px;
  max-width: 16ch;
  font-weight: 700;
}
.hero__title em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent-2);
}
.hero__sub {
  max-width: 62ch; margin: 0 auto;
  color: var(--slate); font-size: 18px;
}
.hero__cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin: 30px 0 18px;
}
.hero__bullets {
  display: inline-flex; flex-wrap: wrap; gap: 22px;
  list-style: none; padding: 0; margin: 14px 0 0;
  color: var(--muted); font-size: 14.5px;
}
.hero__bullets span { color: var(--ok); margin-right: 6px; font-weight: 700; }

/* ---------- Trust strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.strip__inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 22px 24px;
  color: var(--slate); font-size: 14.5px;
}
.strip__item strong { color: var(--ink); margin-right: 4px; }
@media (max-width: 740px) {
  .strip__inner { grid-template-columns: 1fr; gap: 8px; padding: 18px 24px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: linear-gradient(180deg, #FAFBFD, #FFFFFF); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__sub { color: var(--slate); margin-top: 10px; }

.kicker {
  display: inline-block;
  text-transform: uppercase;
  font-size: 12.5px; letter-spacing: .14em;
  color: var(--accent-2); font-weight: 700;
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin: 0; font-weight: 700;
}
.lead { font-size: 17px; color: var(--slate); }

.two-col {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
  align-items: center;
}
.two-col--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse > :first-child { order: 0; }
}

/* ---------- Mini cards (Why) ---------- */
.card-stack { display: grid; gap: 14px; }
.mini-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #CBD5E1; }
.mini-card__num {
  font-family: var(--serif); font-style: italic; font-size: 28px;
  color: var(--accent-2);
  background: var(--accent-soft);
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
}
.mini-card h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.mini-card p { margin: 0; color: var(--slate); font-size: 14.5px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: step;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #CBD5E1; }
.step__num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; color: var(--ink); font-size: 17px; }
.step p { margin: 0; color: var(--slate); font-size: 14.5px; }

/* ---------- Tiers ---------- */
.tiers {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 980px; margin: 0 auto;
}
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } }

.tier {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #CBD5E1; }
.tier--feature {
  background: linear-gradient(180deg, #0B1220 0%, #111B33 100%);
  color: #E5EDFB;
  border-color: #0B1220;
}
.tier--feature .tier__name,
.tier--feature .tier__amt,
.tier--feature .tier__list strong,
.tier--feature .tier__pitch { color: #fff; }
.tier--feature .tier__label { color: #93C5FD; }
.tier--feature .tier__per { color: #94A3B8; }
.tier--feature .tier__list li { color: #CBD5E1; }
.tier--feature .tier__list li::before { background: #93C5FD; }
.tier--feature .tier__best { color: #94A3B8; }
.tier--feature .tier__best strong { color: #fff; }
.tier--feature .tier__cta { background: #fff; color: var(--ink); }
.tier--feature .tier__cta:hover { background: #F8FAFC; }

.tier__flag {
  position: absolute; top: -12px; right: 22px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.tier__label {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: 12.5px; font-weight: 700; color: var(--accent-2);
  margin: 0;
}
.tier__name { margin: 4px 0 8px; font-size: 22px; color: var(--ink); }
.tier__price { margin: 0; }
.tier__amt {
  font-size: 44px; font-weight: 700; color: var(--ink);
  letter-spacing: -.02em;
}
.tier__per { color: var(--muted); margin-left: 6px; font-size: 14px; }
.tier__pitch { color: var(--slate); margin: 0; }
.tier__list {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: grid; gap: 10px;
}
.tier__list li {
  position: relative;
  padding-left: 26px;
  color: var(--slate); font-size: 15px;
}
.tier__list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); opacity: .9;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.4 11.2 3.2 8l1.4-1.4 1.8 1.8 4.2-4.2L12 5.6z'/></svg>") no-repeat center / 14px 14px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.4 11.2 3.2 8l1.4-1.4 1.8 1.8 4.2-4.2L12 5.6z'/></svg>") no-repeat center / 14px 14px;
}
.tier__best { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.tier__best strong { color: var(--ink); }
.tier__cta { align-self: flex-start; margin-top: 4px; }

/* ---------- Sample report mock ---------- */
.report-mock {
  position: relative;
  height: 420px;
  perspective: 1200px;
}
.report-mock__page {
  position: absolute; inset: 0;
  margin: auto;
  width: 320px; height: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transform: rotate(-3deg);
  transition: transform .4s ease;
}
.report-mock:hover .report-mock__page { transform: rotate(-1deg) translateY(-4px); }
.report-mock__page--back {
  transform: rotate(4deg) translate(20px, 12px);
  background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
  z-index: -1;
}
.report-mock__brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink);
  font-size: 14px;
}
.report-mock__title {
  margin-top: 28px;
  font-family: var(--serif); font-style: italic;
  font-size: 28px; color: var(--ink);
}
.report-mock__sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.report-mock__bars {
  display: grid; gap: 8px; margin-top: 28px;
}
.report-mock__bars span {
  display: block; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  width: var(--w);
}
.report-mock__rows {
  margin-top: 22px; display: grid; gap: 10px;
}
.report-mock__rows > div {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--soft); border-radius: 10px; padding: 10px 12px;
  font-size: 12.5px;
}
.report-mock__rows em { color: var(--muted); font-style: normal; }
.report-mock__rows strong { color: var(--ink); }

.small { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px; margin: 0 auto;
  display: grid; gap: 10px;
}
details {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
details[open] { border-color: #CBD5E1; }
summary {
  cursor: pointer; font-weight: 600; color: var(--ink);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-weight: 400; font-size: 22px;
  color: var(--muted);
  transition: transform .2s ease;
}
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--slate); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta {
  background: radial-gradient(900px 400px at 50% 0%, #1E3A8A 0%, var(--bg) 60%);
  color: #E5EDFB;
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid #0F172A;
}
.cta__inner h2 { color: #fff; max-width: 18ch; margin: 0 auto 16px; }
.cta__inner p { color: #CBD5E1; max-width: 56ch; margin: 0 auto 28px; }
.cta .btn--primary {
  background: #fff; color: var(--ink); border: 0;
}
.cta .btn--primary:hover { background: #F1F5F9; }
.cta .small { color: #94A3B8; }

/* ---------- Footer ---------- */
.foot { background: #0B1220; color: #94A3B8; padding: 28px 0; }
.foot__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 14px;
}
.foot__brand { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-weight: 700; }
.foot__line { margin: 0; }
.foot__links { display: inline-flex; gap: 18px; }
.foot__links a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}
