/* ---------- Brand (same colours as the Tax Accountant logo) ---------- */
:root {
  --red: #CF1A24;
  --red-dark: #A8141C;
  --ink: #303030;
  --ink-dark: #1F1F1F;
  --text: #2B2B2B;
  --muted: #666;
  --line: #E6E6E6;
  --bg: #FFFFFF;
  --bg-soft: #F6F6F6;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Lato, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.65; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; font-weight: 700; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.15rem; font-family: Lato, sans-serif; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--red); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.eyebrow { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 10px; }
.red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 28px; border-radius: var(--radius); border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .15s; }
.btn:hover { background: var(--red-dark); }
.btn-small { padding: 9px 18px; font-size: .95rem; color: #fff !important; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand img { display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: #fff; padding: 72px 0 80px; }
.hero-grid { display: grid; gap: 56px; grid-template-columns: 1.2fr 1fr; align-items: center; }
.hero h1 { font-size: 2.5rem; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.hc-title { font-family: Cinzel, serif; font-weight: 700; color: var(--ink); margin-bottom: 14px; font-size: 1.05rem; }
.hc-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.hc-steps li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.hc-steps li:last-child { border-bottom: 0; }
.hc-steps li::before { counter-increment: s; content: counter(s); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.hc-steps li.gate::before { background: var(--red); }
.hc-steps li.gate span { font-weight: 700; color: var(--red); }
.hc-steps li span { flex: 1; }
.hc-steps li em { font-style: normal; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section.join { background: #fff; border-top: 4px solid var(--red); }
.actions.centre { justify-content: center; display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.centre { text-align: center; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .lead { margin: 0 auto; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .num { font-family: Cinzel, serif; font-size: 1.6rem; color: var(--red); line-height: 1; margin-bottom: 12px; }

/* pipeline */
.pipeline { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); counter-reset: step; }
.pipe { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; position: relative; }
.pipe::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.pipe.gate { border: 2px solid var(--red); }
.pipe.gate::before { background: var(--red); }
.pipe h3 { font-size: 1rem; margin-bottom: 4px; }
.pipe p { font-size: .9rem; color: var(--muted); margin: 0; }
.pipe .who { display: inline-block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-top: 10px; }

/* two-column */
.two { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 9px 0 9px 34px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 19px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* demo form */
.form { max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid #C9C9C9; border-radius: var(--radius); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; }
.alert-error { background: #FBE9EA; color: #8A1C1C; border: 1px solid #F0B4B7; }
.alert-ok { background: #E8F5EC; color: #1C5A2E; border: 1px solid #B6E0C3; }
.hp { position: absolute; left: -9999px; }
.small { font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); color: var(--muted); padding: 52px 0 26px; font-size: .95rem; }
.site-footer a { color: var(--ink); text-decoration: none; display: block; margin: 6px 0; }
.site-footer p a { display: inline; color: var(--red); }
.site-footer a:hover { color: var(--red); }
.site-footer strong { color: var(--ink); display: block; margin-bottom: 8px; }
.footer-logo { display: block; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 2fr 1fr 1fr 1fr; }
.copyright { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }

@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 22px 22px; gap: 14px; }
  body.nav-open .nav { display: flex; }
  .nav-toggle { display: block; }
  .two, .row, .footer-grid, .hero-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .hero { padding: 56px 0 64px; }
}
/* legal pages and the register form */
.legal { max-width: 820px; } .legal h1 { font-size: 2.1rem; } .legal h2 { font-family: Lato, sans-serif; font-size: 1.25rem; margin-top: 2em; } .legal h3 { font-family: Lato, sans-serif; font-size: 1.05rem; margin-top: 1.4em; }
.legal .meta { color: var(--muted); font-size: .9rem; } .legal .box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 1.2em 0; }
.legal label { display: block; font-weight: 700; margin: 14px 0 5px; font-size: .95rem; } .legal .hint { font-size: .86rem; color: var(--muted); margin: 4px 0 0; }
.legal fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px 18px; margin: 22px 0; } .legal legend { font-weight: 700; padding: 0 6px; }
.legal .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 10px 0; } .legal .check input { margin-top: 5px; }
.legal .err { background: #FBE9EA; border: 1px solid #F0B4B7; color: #8E1016; padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; }
@media (max-width: 640px) { .legal .row { grid-template-columns: 1fr; } .legal h1 { font-size: 1.6rem; } }
