/* Lawify — brand green #23CE6B on deep ink, Archivo + Source Serif 4 */
:root {
  --green: #23CE6B;
  --green-dark: #17A354;
  --green-tint: #E9FBF1;
  --ink: #0E1F16;
  --ink-soft: #33473C;
  --paper: #FAFBF9;
  --card: #FFFFFF;
  --line: #DCE5DE;
  --amber: #B8860B;
  --amber-tint: #FDF6E3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,31,22,.06), 0 8px 24px rgba(14,31,22,.07);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 "Source Serif 4", Georgia, serif;
}
h1, h2, h3, h4, .brand, .btn, .nav-links a, .badge, .price, th, .stat-number {
  font-family: Archivo, "Segoe UI", system-ui, sans-serif;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.01em; margin: 0 0 .6em; font-weight: 700; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green-dark); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--green); }
.nav-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.nav-links a:hover { color: var(--green-dark); }

/* buttons */
.btn {
  display: inline-block; background: var(--green); color: #06301A; border: 0;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-ghost { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* hero */
.hero { background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero .lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 34em; }
.eyebrow {
  display: inline-block; background: var(--green-tint); color: var(--green-dark);
  border: 1px solid rgba(35,206,107,.35); padding: 5px 14px; border-radius: 999px;
  font-family: Archivo, sans-serif; font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* timeline card in hero */
.timeline-card { background: var(--ink); color: #E8F3EC; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.timeline-card h3 { color: #fff; margin-bottom: 16px; }
.tl-item { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.tl-item:first-of-type { border-top: 0; }
.tl-date { font-family: Archivo, sans-serif; font-weight: 700; color: var(--green); min-width: 88px; font-size: .9rem; }
.tl-item p { margin: 0; font-size: .95rem; }

/* sections */
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card .icon { font-size: 1.7rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.card a.more { font-family: Archivo, sans-serif; font-weight: 700; font-size: .92rem; text-decoration: none; }

/* pricing rows */
.price { font-weight: 800; font-size: 1.5rem; }
.price small { font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.badge { display: inline-block; background: var(--green-tint); color: var(--green-dark); font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.badge-soon { background: var(--amber-tint); color: var(--amber); }

/* forms */
form.stack { display: grid; gap: 14px; max-width: 560px; }
label { font-family: Archivo, sans-serif; font-weight: 600; font-size: .9rem; display: block; margin-bottom: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=password], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .98rem; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.consent input { margin-top: 4px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input[type=email] { flex: 1; min-width: 220px; }

/* flash */
.flash { padding: 12px 18px; border-radius: 10px; margin: 14px 0; font-family: Archivo, sans-serif; font-weight: 600; font-size: .93rem; }
.flash-ok { background: var(--green-tint); color: var(--green-dark); border: 1px solid rgba(35,206,107,.4); }
.flash-error { background: #FDECEC; color: #9C2B2B; border: 1px solid #F0C4C4; }

/* callouts */
.callout { border-left: 4px solid var(--green); background: var(--green-tint); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 20px 0; }
.callout-amber { border-color: var(--amber); background: var(--amber-tint); }

/* tables */
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .93rem; }
th { background: var(--ink); color: #fff; text-align: left; padding: 11px 14px; font-size: .84rem; letter-spacing: .02em; }
td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }

/* guide article */
.article { max-width: 720px; }
.article h2 { margin-top: 1.6em; }
.article ul { padding-left: 1.2em; }
.draft-banner { background: var(--amber-tint); border: 1px dashed var(--amber); color: var(--amber); border-radius: 10px; padding: 10px 16px; font-family: Archivo, sans-serif; font-weight: 700; font-size: .88rem; margin-bottom: 26px; }

/* admin */
.admin-nav { display: flex; gap: 16px; margin: 18px 0 26px; flex-wrap: wrap; }
.admin-nav a { font-family: Archivo, sans-serif; font-weight: 700; font-size: .93rem; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; }
.admin-nav a:hover { border-color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 30px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--green-dark); }
.stat .muted { font-size: .85rem; }
.status-pill { font-family: Archivo, sans-serif; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }
.status-new { background: var(--green-tint); color: var(--green-dark); }
.status-contacted { background: #E8F0FD; color: #2757A8; }
.status-confirmed { background: #EDE8FD; color: #5B37B0; }
.status-completed { background: #EEF2EF; color: var(--ink-soft); }
.status-cancelled { background: #FDECEC; color: #9C2B2B; }

/* footer */
.site-footer { background: var(--ink); color: #C9D8CE; margin-top: 60px; padding: 44px 0 20px; }
.site-footer a { color: var(--green); text-decoration: none; }
.site-footer h4 { color: #fff; margin: 0 0 .5em; }
.brand-footer { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding-bottom: 26px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; font-size: .82rem; color: #8FA697; }

@media (max-width: 820px) {
  .hero-grid, .cards, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 36px; }
}
