/* CounterHR — landing pages */
:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --ink: #141414;
  --ink-2: #3f3d39;
  --muted: #76716a;
  --line: #e4dfd4;
  --accent: #c6f135;
  --accent-ink: #141414;
  --brand: #0f3b2e;
  --brand-ink: #f2f7ea;
  --bad: #c8412a;
  --bad-bg: #fbe9e5;
  --warn: #9a6a00;
  --warn-bg: #fdf3d8;
  --good: #1d7a45;
  --good-bg: #e4f4ea;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 8px 30px rgba(20, 20, 20, .06);
  --font-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }
.header-link { font-size: .95rem; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.header-link:hover { background: var(--ink); color: var(--bg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font-body);
  padding: 16px 24px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--ink), 0 4px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { padding: 28px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 12px; margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1.5px var(--ink); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.hero-points li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23141414' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 900px) { .hide-mobile { display: none; } .hero .lede { margin-bottom: 0; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tagline { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }

/* Cards & tool */
.card { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 6px 6px 0 var(--ink); }
@media (max-width: 480px) { .card { padding: 20px; box-shadow: 4px 4px 0 var(--ink); } }
.tool-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tool-title h2 { font-size: 1.35rem; margin: 0; }
.badge { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); white-space: nowrap; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-size: .9rem; font-weight: 600; }
.field .hint { font-size: .82rem; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row-2 { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="number"], input[type="date"], select {
  width: 100%; font: 500 1rem var(--font-body); color: var(--ink);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198, 241, 53, .55); }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.input-prefix input { padding-left: 28px; }
.input-suffix { position: relative; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; font-size: .92rem; font-weight: 600; padding: 9px 6px; border-radius: 9px; cursor: pointer; }
.seg input:checked + label { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + label { box-shadow: 0 0 0 3px rgba(198, 241, 53, .8); }

/* Result */
.result { margin-top: 18px; border-radius: var(--radius-sm); padding: 18px; background: var(--brand); color: var(--brand-ink); display: none; }
.result.show { display: block; animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.result .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1; color: var(--accent); margin: 4px 0 8px; letter-spacing: -0.03em; }
.result p { margin: 0 0 .6em; font-size: .98rem; }
.result p:last-child { margin-bottom: 0; }
.result .small { font-size: .82rem; opacity: .75; }
.result .result-cta { margin-top: 14px; }

.flags { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.flag { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .94rem; background: var(--surface); color: var(--ink); border-left: 5px solid var(--muted); }
.flag strong { display: block; margin-bottom: 2px; }
.flag.bad { border-color: var(--bad); }
.flag.warn { border-color: #e0a400; }
.flag.good { border-color: var(--good); }
.verdict { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.verdict.bad { background: var(--bad-bg); color: var(--bad); }
.verdict.warn { background: var(--warn-bg); color: var(--warn); }
.verdict.good { background: var(--good-bg); color: var(--good); }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 44em; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.alt { background: var(--surface); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.dark { background: var(--ink); color: var(--bg); }
.dark .section-head p { color: #c9c5bd; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

.feature { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .feature { background: var(--bg); }
.feature .num { font-family: var(--font-head); font-weight: 800; font-size: .95rem; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--ink); margin-bottom: 14px; }
.feature p { color: var(--ink-2); margin: 0; font-size: .98rem; }

.path-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 5px 5px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.path-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.path-card .kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.path-card h3 { font-size: 1.5rem; margin: 0; }
.path-card p { color: var(--ink-2); margin: 0; }
.path-card .go { margin-top: auto; padding-top: 10px; font-weight: 700; }

.perk-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 700px) { .perk-list { grid-template-columns: 1fr; } }
.perk-list li { background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.perk-list strong { display: block; }
.perk-list span { color: var(--ink-2); font-size: .94rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr; } }
.stat { border-top: 2px solid var(--accent); padding-top: 14px; }
.stat .n { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
.stat p { color: #c9c5bd; margin: 8px 0 0; font-size: .95rem; }
.stat .src { font-size: .78rem; color: #8f8a82; }

/* Signup */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; gap: 24px; } }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.price-line .was { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; text-decoration: line-through; color: var(--muted); }
.price-line .now { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.price-line .note { font-size: .95rem; color: var(--ink-2); }
.pay-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (max-width: 420px) { .pay-options { grid-template-columns: repeat(2, 1fr); } }
.pay-options input { position: absolute; opacity: 0; pointer-events: none; }
.pay-options label { text-align: center; font-weight: 700; font-size: .95rem; padding: 11px 4px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; }
.pay-options input:checked + label { border-color: var(--ink); background: var(--accent); }
.pay-options input:focus-visible + label { box-shadow: 0 0 0 3px rgba(198, 241, 53, .8); }
.form-note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.form-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bad-bg); color: var(--bad); font-size: .92rem; }
.form-error.show { display: block; }
.hidden-field { display: none; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* Footer */
.site-footer { padding: 36px 0 48px; font-size: .88rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 10px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.disclaimer { max-width: 60em; }

/* Prose (privacy) */
.prose { max-width: 760px; padding: 24px 0 64px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }

/* Thanks */
.thanks { padding: 40px 0 80px; text-align: center; }
.thanks .card { max-width: 620px; margin: 0 auto; text-align: left; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

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