/* =========================================================
   Circular Compliance - shared styles for every page
   ========================================================= */

/* Light palette for the main content */
:root {
  --bg: #ffffff;
  --bg-2: #f3f6f4;
  --surface: #ffffff;
  --surface-2: #f6f9f7;
  --line: #e2e9e4;
  --line-strong: #cfd9d2;
  --ink: #11201a;
  --muted: #4d5c54;
  --faint: #76847c;
  --accent: #166534;
  --accent-hover: #14532d;
  --accent-text: #14532d;
  --accent-soft: #e8f4ec;
  --accent-border: rgba(22, 101, 52, 0.2);
  --ghost-hover: #edf3ef;
  --amber: #a16207;
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(14, 30, 22, 0.25);
}

/* Page headers: soft green tint */
.hero, .page-hero { background: linear-gradient(180deg, #eef6f0 0%, #f7fbf8 70%, #ffffff 100%); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
a { color: var(--accent-text); text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Shared inline-icon styling */
.btn svg, .more svg, .icon svg, .checks svg, .float-card svg, .contact-card svg {
  fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Header & menu ---------- */
/* Top banner: logo and name */
.site-header { position: relative; z-index: 2; background: #ffffff; }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.site-header .brand-mark { width: 46px; height: 46px; border-radius: 12px; }
.site-header .brand-mark svg { width: 24px; height: 24px; }
.site-header .brand-text { font-size: 1.3rem; }
.site-header .brand-text small { font-size: 0.72rem; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: linear-gradient(135deg, #2f9e5b, #166534);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(22, 101, 52, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.brand-mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.68rem; font-weight: 600; color: var(--faint); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; }

/* Logo image */
.logo img { display: block; height: 48px; width: auto; }
.site-footer .logo img { height: 40px; }

/* Horizontal menu bar under the banner (stays at the top when scrolling) */
.menu-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nav-menu {
  display: flex; list-style: none; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-link {
  position: relative; display: block; white-space: nowrap;
  padding: 17px 18px; color: var(--muted); font-weight: 600; font-size: 0.96rem;
  transition: color .15s;
}
.nav-link:hover { color: var(--ink); }
.nav-link::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px;
  border-radius: 2px; background: var(--accent-text); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover::after { transform: scaleX(0.5); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu li:first-child .nav-link { padding-left: 0; }
.nav-menu li:first-child .nav-link::after { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; white-space: nowrap; cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 28px -12px rgba(22, 101, 52, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { background: var(--ghost-hover); border-color: var(--faint); }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }

/* ---------- Hero (home) and page hero (inner pages) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 1000px; height: 640px; top: -340px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 158, 91, 0.12), transparent);
}
.hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }

.hero { padding: 96px 0 140px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; margin-bottom: 26px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 0.85rem; font-weight: 500;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 4px rgba(134, 213, 160, 0.15); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.035em; margin-bottom: 22px; }
.grad {
  background: linear-gradient(90deg, #14532d, #2f9e5b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: 36px; list-style: none; color: var(--muted); font-size: 0.92rem; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 16px; height: 16px; stroke: var(--accent-text); stroke-width: 2.4; }

/* Illustrative compliance panel in the hero */
.hero-visual { position: relative; }
.panel {
  position: relative; padding: 26px; border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(14, 30, 22, 0.35);
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.panel-title { font-weight: 600; }
.panel-sub { font-size: 0.8rem; color: var(--faint); }
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.score { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.score strong { font-size: 2.3rem; letter-spacing: -0.03em; line-height: 1; }
.score span { font-size: 0.85rem; color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin-bottom: 22px; }
.bar span { display: block; height: 100%; width: 92%; border-radius: inherit; background: linear-gradient(90deg, #14532d, #65a30d); }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 10px; font-size: 0.92rem;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.status { font-size: 0.74rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.status.ok { background: rgba(92, 194, 133, 0.14); color: var(--accent-text); }
.status.due { background: rgba(245, 181, 68, 0.14); color: var(--amber); }
.float-card {
  position: absolute; left: -34px; bottom: -64px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow);
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.float-card svg { width: 20px; height: 20px; stroke-width: 2; }
.float-card strong { display: block; font-size: 0.92rem; }
.float-card span { font-size: 0.8rem; color: var(--muted); }

/* Inner page hero */
.page-hero { padding: 84px 0 72px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 0.86rem; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; max-width: 800px; margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 0; max-width: 640px; }

/* ---------- Sectors strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 26px 0; }
.strip .wrap { display: flex; align-items: center; justify-content: center; gap: 14px 36px; flex-wrap: wrap; }
.strip-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.head { max-width: 680px; margin-bottom: 56px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.head p { color: var(--muted); font-size: 1.08rem; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row .head { margin-bottom: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px; color: inherit;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); box-shadow: 0 1px 2px rgba(14, 30, 22, 0.04);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
a.card:hover { transform: translateY(-4px); border-color: rgba(22, 101, 52, 0.35); box-shadow: 0 24px 50px -24px rgba(22, 101, 52, 0.3); }
.icon {
  width: 48px; height: 48px; flex: none; border-radius: 12px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--accent-text);
  background: var(--accent-soft); border: 1px solid var(--accent-border);
}
.icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 0.92rem; color: var(--accent-text); }
.more svg { width: 15px; height: 15px; stroke-width: 2; transition: transform .18s; }
a.card:hover .more svg { transform: translateX(3px); }

/* Split layout + feature tiles */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .head { margin-bottom: 28px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.feature .icon { margin-bottom: 16px; width: 42px; height: 42px; }
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.94rem; }
.prose p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px;
  background: linear-gradient(90deg, rgba(22, 101, 52, 0.5), rgba(22, 101, 52, 0.08));
}
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: "0" counter(step); position: relative;
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 12px; background: var(--surface); border: 1px solid rgba(22, 101, 52, 0.35);
  color: var(--accent-text); font-weight: 700; font-size: 0.9rem;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.steps.vertical { grid-template-columns: 1fr; gap: 0; }
.steps.vertical::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(22, 101, 52, 0.5), rgba(22, 101, 52, 0.08)); }
.steps.vertical li { padding-left: 68px; padding-bottom: 30px; }
.steps.vertical li:last-child { padding-bottom: 0; }
.steps.vertical li::before { position: absolute; left: 0; top: 0; margin: 0; }

/* Call to action band */
.cta {
  position: relative; overflow: hidden; padding: 64px; border-radius: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap;
  background:
    radial-gradient(ellipse at top right, rgba(101, 163, 13, 0.12), transparent 60%),
    linear-gradient(135deg, #e6f3ea, #f4faf6);
  border: 1px solid rgba(20, 83, 45, 0.14);
}
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta p { color: var(--muted); max-width: 560px; font-size: 1.05rem; }

/* ---------- Services page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips a {
  padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02); transition: all .15s;
}
.chips a:hover { color: var(--ink); border-color: rgba(134, 213, 160, 0.4); }
.svc {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding: 48px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
  scroll-margin-top: 100px;
}
.svc + .svc { margin-top: 20px; }
.svc .icon { margin-bottom: 20px; }
.svc h2 { font-size: 1.65rem; margin-bottom: 14px; }
.svc p { color: var(--muted); margin-bottom: 12px; }
.list-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svc-side { padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); align-self: start; }

/* ---------- About page ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.contact-card .icon { margin-bottom: 18px; }
.contact-card .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.contact-card .value { display: block; font-size: 1.15rem; font-weight: 600; color: var(--ink); word-break: break-word; }
a.contact-card:hover { border-color: rgba(22, 101, 52, 0.35); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent-text); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 760px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.footer-grid h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--ink); }
.footer-blurb { color: var(--muted); font-size: 0.95rem; margin-top: 18px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .svc { grid-template-columns: 1fr; }
  .hero-grid { gap: 64px; }
  .hero-visual { max-width: 540px; }
  .float-card { left: 16px; }
  .cards, .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps:not(.vertical)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 48px; }
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-row { height: 76px; }
  .brand-row .logo img { height: 40px; }
  .site-header .brand-mark { width: 40px; height: 40px; }
  .site-header .brand-text { font-size: 1.15rem; }
  .nav-menu { gap: 0; justify-content: space-between; }
  .nav-link { padding: 15px 10px; font-size: 0.93rem; }
  .nav-link::after { left: 10px; right: 10px; }
  .nav-menu li:last-child .nav-link { padding-right: 0; }
  .nav-menu li:last-child .nav-link::after { right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 100px; }
  .cards, .tiles, .features, .steps, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta, .svc { padding: 30px; }
}


/* =========================================================
   v3 additions: general waste compliance restructure
   ========================================================= */

h1, h2, h3 { overflow-wrap: break-word; }

/* Placeholders for Tim to fill (see PLACEHOLDERS.md) */
.placeholder { background: #fff3b0; color: #5a4500; outline: 2px dashed #d4a800; padding: 0 .25em; border-radius: 3px; }
.placeholder-block {
  display: grid; place-items: center; min-height: 240px; padding: 16px; text-align: center; font-weight: 600;
  background: #fff3b0; color: #5a4500; border: 2px dashed #d4a800; border-radius: var(--radius);
}

/* Draft banner on legal pages */
.draft-wrap { padding-top: 20px; }
.draft-banner { padding: 16px 20px; border-radius: 10px; font-weight: 700; background: #fff3b0; color: #5a4500; border: 2px dashed #d4a800; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin: 0 0 16px 22px; color: var(--muted); }
.legal li { margin-bottom: 6px; }

/* Header button: shorter label on very small screens, always visible */
.lbl-short { display: none; }
.site-header .btn { white-space: nowrap; }

/* Shared small components */
.section.tight { padding: 64px 0; }
.audience { margin-top: 26px; font-weight: 600; color: var(--ink); max-width: 560px; }
.card-tag { display: inline-block; align-self: flex-start; margin-bottom: 10px; padding: 3px 10px; border-radius: 99px; font-size: 0.76rem; font-weight: 700; background: rgba(245, 181, 68, 0.16); color: var(--amber); }
.card-fee { margin-top: 16px; font-weight: 700; color: var(--accent-text); }
.card-fee small { font-weight: 500; color: var(--faint); font-size: 0.8rem; }
.link-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.link-list li a { font-weight: 600; }
.link-list li a:hover { text-decoration: underline; }
.link-list li span { display: block; color: var(--muted); font-size: 0.92rem; }
.card .link-list { margin-top: 20px; gap: 8px; }
.features.three { grid-template-columns: repeat(3, 1fr); }

/* Deadline strip (home) */
.deadline-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ds-item { display: block; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: inherit; transition: transform .2s, border-color .2s; }
.ds-item:hover { transform: translateY(-3px); border-color: rgba(22, 101, 52, 0.35); }
.ds-date { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; color: var(--accent-text); }
.ds-label { display: block; margin-top: 6px; color: var(--muted); font-size: 0.94rem; }

/* Callouts, "what we don't do", fee boxes */
.callout { padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--accent-border); background: var(--accent-soft); }
.callout h3 { font-size: 1.05rem; margin-bottom: 6px; }
.callout p { color: var(--muted); font-size: 0.97rem; }
.callout.warn { background: #fff8e6; border-color: rgba(161, 98, 7, 0.3); }
.dont { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; padding: 44px; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--surface); }
.dont h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; }
.dont p { color: var(--muted); }
.crosses { list-style: none; display: grid; gap: 14px; }
.crosses li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.crosses li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1px solid rgba(161, 98, 7, 0.3);
  background: #fff8e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a16207' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fee-box { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--accent-border); background: var(--accent-soft); }
.fee-box.small { margin-top: 24px; padding: 18px 20px; background: var(--surface); }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--accent-border); }
.fee-row:last-of-type { border-bottom: 0; }
.fee-label { font-weight: 600; }
.fee-price { font-weight: 700; font-size: 1.15rem; color: var(--accent-text); }
.fee-note { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }

/* Founder block */
.founder { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.founder h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.founder-bio { color: var(--muted); font-size: 1.05rem; }

/* Deadlines page */
.dl-list { display: grid; gap: 14px; }
.dl-row { display: grid; grid-template-columns: 190px 1fr auto; gap: 12px 32px; align-items: start; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); scroll-margin-top: 100px; }
.dl-date strong { display: block; font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.dl-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.dl-body p { color: var(--muted); font-size: 0.97rem; }
.dl-who { margin-top: 8px; font-size: 0.92rem !important; }
.dl-link { margin-top: 0; white-space: nowrap; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 0.74rem; font-weight: 700; }
.tag-confirmed { background: rgba(92, 194, 133, 0.16); color: var(--accent-text); }
.tag-expected { background: rgba(245, 181, 68, 0.18); color: var(--amber); }

/* Footer additions */
.footer-grid { grid-template-columns: 1.3fr 0.9fr 1.5fr 1.2fr; }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: var(--faint); }
.footer-bottom .legal-links a:hover { color: var(--ink); }
.footer-bottom .company-line { flex-basis: 100%; font-size: 0.85rem; }

/* Grid children may shrink below their content width (stops 1px to 2px overflow at 320px) */
.hero-grid > *, .split > *, .svc > *, .dont > *, .founder > *, .dl-row > *, .cards > *, .features > * { min-width: 0; }
.checklist li { flex-wrap: wrap; }

/* Responsive additions */
@media (max-width: 1000px) {
  .deadline-strip { grid-template-columns: repeat(2, 1fr); }
  .dont, .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder .placeholder-block { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .dl-row { grid-template-columns: 1fr; padding: 22px; }
  .dl-link { white-space: normal; }
  .features.three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .deadline-strip, .footer-grid { grid-template-columns: 1fr; }
  .dont { padding: 28px; }
  .btn { white-space: normal; text-align: center; }
  .section.tight { padding: 48px 0; }
}
/* Mobile menu: six items wrap onto two lines and the bar stops being sticky */
@media (max-width: 560px) {
  .menu-bar { position: static; }
  .nav-menu { flex-wrap: wrap; overflow: visible; justify-content: flex-start; gap: 0 2px; }
  .nav-link { padding: 12px 10px; font-size: 0.92rem; }
  .nav-link::after { left: 10px; right: 10px; }
  .nav-menu li:first-child .nav-link { padding-left: 0; }
  .nav-menu li:first-child .nav-link::after { left: 0; }
  .nav-menu li:last-child .nav-link { padding-right: 10px; }
  .nav-menu li:last-child .nav-link::after { right: 10px; }
  .brand-row { gap: 12px; }
  .site-header .btn-sm { padding: 8px 14px; font-size: 0.88rem; }
}
@media (max-width: 400px) {
  .brand-row .logo img { height: 34px; }
  .brand-row { gap: 10px; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .site-header .btn-sm { padding: 8px 12px; font-size: 0.85rem; }
}

/* Short homepage: compact heads, linked tiles, small link rows */
.head.compact { margin-bottom: 28px; }
a.tile { display: block; color: inherit; transition: transform .2s, border-color .2s; }
a.tile:hover { transform: translateY(-3px); border-color: rgba(22, 101, 52, 0.35); }
.more-link { margin-top: 24px; color: var(--muted); }
.more-link a { font-weight: 600; color: var(--accent-text); }
.more-link a:hover { text-decoration: underline; }
.hero h1 { text-wrap: balance; }

/* Keep the three-sentence homepage headline from splitting mid-sentence */
.hero h1 { font-size: clamp(2.15rem, 4.2vw, 3.15rem); }
.hero h1 .h1-keep { white-space: nowrap; }

/* Retainer tiers: description under each tier row */
.fee-desc { flex-basis: 100%; font-size: 0.9rem; color: var(--muted); }
