/* ==========================================================================
   JobAce marketing site.
   Brand tokens mirror client/src/index.css so the site and the app look like
   the same company. --primary is #ea6622, the same orange an owner sets as
   their default in Settings.
   ========================================================================== */

:root {
  --ink: #221e1b;
  --ink-2: #57504a;
  --ink-3: #8b827a;
  --paper: #ffffff;
  --paper-2: #faf8f6;
  --paper-3: #f3efea;
  --line: #e7e0d8;
  --primary: #ea6622;
  --primary-dark: #c8511a;
  --primary-tint: #fdf0e8;
  --green: #1f7a52;
  --radius: 14px;
  --max: 1140px;
  --font-sans: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Cabinet Grotesk', 'Satoshi', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #f3efea; }
.section--ink h2 { color: #fff; }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 2px 0 var(--primary-dark); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-3); }
.btn--onink { background: #fff; color: var(--ink); }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; flex: none; }
.nav__links { display: flex; gap: 24px; margin-left: auto; font-size: 0.95rem; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav__links { display: none; } .nav__in { gap: 12px; } .nav .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding: clamp(52px, 8vw, 96px) 0 clamp(48px, 7vw, 84px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin-top: 16px; font-size: 0.92rem; color: var(--ink-3); }
.trades { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.trade {
  font-size: 0.8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-dark);
}

/* ---------- price card ---------- */
.pricecard {
  background: var(--ink); color: #f3efea; border-radius: 20px; padding: 32px;
  box-shadow: 0 24px 60px -24px rgba(34,30,27,.5);
}
.pricecard__amt { font-family: var(--font-display); font-size: 3.4rem; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.03em; }
.pricecard__per { color: #b7ada3; font-size: 1rem; }
.pricecard ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.pricecard li { display: flex; gap: 10px; font-size: 0.98rem; color: #ddd5cc; }
.pricecard li svg { flex: none; margin-top: 4px; color: var(--primary); }
.pricecard__rule { height: 1px; background: rgba(255,255,255,.14); margin: 24px 0; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; gap: 28px; } }
.calc__panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.calc__n { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
input[type=range] { width: 100%; accent-color: var(--primary); height: 28px; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.stat { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat__k { font-size: 0.76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stat__v { font-family: var(--font-display); font-size: 1.85rem; font-weight: 800; margin-top: 4px; line-height: 1.1; }
.stat--hero .stat__v { color: var(--primary); }
.verdict { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; line-height: 1.5; }
.verdict--good { background: #eaf6f0; border: 1px solid #bfe3d1; color: #14563a; }
.verdict--warn { background: #fdf3e6; border: 1px solid #f2d6ae; color: #7d4a12; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.panel h3 { margin-bottom: 6px; }
.panel__tag { font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.panel ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.panel li { display: flex; gap: 10px; font-size: 0.97rem; color: var(--ink-2); }
.panel li svg { flex: none; margin-top: 5px; color: var(--primary); }

/* ---------- features ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .feats { grid-template-columns: 1fr; } }
.feat { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.feat__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-tint); color: var(--primary-dark); display: grid; place-items: center; margin-bottom: 16px; }
.feat p { color: var(--ink-2); font-size: 0.97rem; margin: 8px 0 0; }

/* ---------- devices ---------- */
.devs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 800px) { .devs { grid-template-columns: 1fr; } }
.dev { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 26px; background: rgba(255,255,255,.04); }
.dev h3 { color: #fff; margin-bottom: 8px; }
.dev p { color: #c4bbb1; font-size: 0.97rem; margin: 0; }

/* ---------- fit ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
@media (max-width: 800px) { .fit { grid-template-columns: 1fr; } }
.fit__col { border-radius: 18px; padding: 28px; border: 1px solid var(--line); }
.fit__col--yes { background: #f1f9f5; border-color: #cbe7d8; }
.fit__col--no { background: var(--paper-2); }
.fit__col ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 11px; }
.fit__col li { display: flex; gap: 10px; font-size: 0.98rem; color: var(--ink-2); }
.fit__col li svg { flex: none; margin-top: 4px; }
.fit__col--yes li svg { color: var(--green); }
.fit__col--no li svg { color: var(--ink-3); }

/* ---------- faq ---------- */
.faq { margin-top: 38px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.05rem;
  list-style: none; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--primary); line-height: 1;
}
details[open] summary::after { content: '\2212'; }
details p { color: var(--ink-2); margin: 0 0 22px; max-width: 72ch; font-size: 1rem; }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta .lede { margin: 16px auto 0; }
.cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0; font-size: 0.92rem; color: var(--ink-3); }
.foot__in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot a { color: var(--ink-2); text-decoration: none; margin-right: 18px; }
.foot a:hover { color: var(--primary); }

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