/* Filebox Bookkeeping - site styles */
:root {
  --navy: #1b2a41;
  --navy-light: #2c3e5d;
  --accent: #2a9d8f;
  --accent-dark: #21867a;
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #2b2f36;
  --muted: #5b6470;
  --border: #dde2e8;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

header.site {
  background: var(--navy);
  color: #fff;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.15rem; }
.logo:hover { text-decoration: none; }
.logo img { height: 34px; width: auto; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.95rem; }
nav.main a { color: #d7dee8; }
nav.main a:hover { color: #fff; text-decoration: none; }
a.phone-chip {
  background: var(--accent);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
}
a.phone-chip:hover { background: var(--accent-dark); text-decoration: none; }

main { max-width: 1080px; margin: 0 auto; padding: 32px 20px 56px; }

.hero {
  background: var(--navy);
  color: #fff;
  padding: 0 20px 20px;
  text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: 2.2rem; margin: 0 0 14px; line-height: 1.2; color: #fff; }
.hero p.lede { font-size: 1.15rem; color: #c8d2de; margin: 0 0 26px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.secondary { background: transparent; border: 2px solid #fff; }
.btn.secondary:hover { background: rgba(255,255,255,0.12); }
.btn.ghost { background: #eef2f6; color: var(--navy); }
.btn.ghost:hover { background: #dfe6ee; }

h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: 1.9rem; margin: 0 0 10px; }
h2 { font-size: 1.45rem; margin: 36px 0 12px; }
h3 { font-size: 1.1rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lede { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-top: 0; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 6px; }

.price-card { display: flex; flex-direction: column; }
.price-card .price { font-size: 2rem; font-weight: 700; color: var(--navy); }
.price-card .per { color: var(--muted); font-size: 0.95rem; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card.featured { border: 2px solid var(--accent); position: relative; }
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -13px;
  left: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 999px;
}

table.plain { width: 100%; border-collapse: collapse; background: var(--card); }
table.plain th, table.plain td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
table.plain th { background: var(--navy); color: #fff; }
table.plain tr:last-child td { border-bottom: 0; }

details.faq { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; padding: 14px 18px; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details.faq[open] summary { margin-bottom: 8px; }

form.lead { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; max-width: 640px; }
form.lead label { display: block; font-weight: 600; margin: 14px 0 4px; }
form.lead input[type="text"], form.lead input[type="email"], form.lead select, form.lead textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
form.lead textarea { min-height: 110px; }
form.lead .honeypot { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 600; }
.notice.ok { background: #e3f5ef; border: 1px solid #9fd8c8; color: #14614f; }
.notice.err { background: #fdeaea; border: 1px solid #f2b8b8; color: #8c2b2b; }

.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .contact-row { grid-template-columns: 1fr; } }

footer.site {
  background: var(--navy);
  color: #b9c4d1;
  padding: 34px 20px;
  font-size: 0.92rem;
}
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer.site a { color: #d7dee8; }
footer.site .fine { margin-top: 14px; font-size: 0.85rem; color: #8b97a6; }

.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }

code { background: #eef2f6; padding: 2px 6px; border-radius: 4px; }
