/* Cara marketing site. Brand: navy #021d49, leaf green #5cb82e (#1a8a34 for green text on white). */
:root {
  --brand: #021d49;
  --brand-dark: #01122e;
  --brand-light: #1a3d78;
  --accent: #5cb82e;
  --accent-text: #1a8a34;
  --accent-light: #d4efc0;
  --ink: #1c2433;
  --muted: #5a6577;
  --line: #e1e6ee;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-light); }
a:hover { color: var(--brand); }
h1, h2, h3 { color: var(--brand); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
section { padding: 64px 0; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 52rem; }

/* Header */
.top { position: sticky; top: 0; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand img { display: block; height: 34px; width: auto; }
.top nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: .95rem; }
.top nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.top nav a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }
.top nav a.btn { color: #fff; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; border: 2px solid var(--brand); cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { background: var(--brand-light); border-color: var(--brand-light); color: #fff; }
.btn.small { padding: 7px 16px; font-size: .92rem; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--soft); color: var(--brand); }
.btn.light { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); }
.btn.ghost.light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(92, 184, 46, .18), transparent 60%), linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; padding: 88px 0 72px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lede { color: rgba(255, 255, 255, .85); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--accent); font-weight: 700; }
.claim { display: inline-block; background: rgba(92, 184, 46, .16); border: 1px solid rgba(92, 184, 46, .45); color: #e7f6dc;
  padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.hero .btn:not(.ghost) { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); }

/* Stats */
.stats { padding: 0; margin-top: -36px; position: relative; z-index: 1; }
.stats dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 30px rgba(2, 29, 73, .08); overflow: hidden; }
.stats dl div { padding: 22px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-start; }
.stats dd { order: -1; }
.stats dl div:first-child { border-left: 0; }
.stats dd { margin: 0; font-size: 2.1rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stats dt { color: var(--muted); font-size: .92rem; }

/* Bands, grids, cards */
.band { background: var(--soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.grid.four { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 3px solid var(--accent); }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card.plain { border-top-color: var(--brand); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.group { border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.group .card { scroll-margin-top: 90px; }

/* Page head and feature index */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 48px 0 36px; }
.crumbs { font-size: .9rem; color: var(--muted); }
.toc { padding-top: 32px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.toc a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--brand); }
.toc a:hover { border-color: var(--accent); }
.toc span { color: var(--muted); font-size: .85rem; margin-left: -4px; }

/* Pricing */
.tier { display: flex; flex-direction: column; }
.tier .size { color: var(--accent-text); font-weight: 700; }
.tier .checks { flex: 1; margin-bottom: 18px; }
.price { color: var(--muted); font-weight: 600; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { display: inline; font-size: 1.2rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 60rem; }

/* Contact */
.facts { margin: 24px 0; }
.facts div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { width: 110px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; color: var(--brand); }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #c9d2df; border-radius: 10px; font: inherit; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 3px solid var(--accent-light); border-color: var(--accent); }
.trap { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.notice.ok { background: #e7f6dc; color: #1a5c22; }
.notice.bad { background: #fdecec; color: #8a1c1c; }

/* Call to action and footer */
.cta { background: var(--brand); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .85); }
.cta .actions { justify-content: center; }
.foot { background: var(--brand-dark); color: rgba(255, 255, 255, .78); padding: 52px 0 24px; font-size: .94rem; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.foot h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.foot a { color: rgba(255, 255, 255, .9); display: block; text-decoration: none; padding: 2px 0; }
.foot a:hover { color: var(--accent); }
.foot .eagles { display: flex; gap: 10px; align-items: center; font-size: .85rem; margin-top: 12px; }
.foot .small { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }

@media (max-width: 860px) {
  .two { grid-template-columns: 1fr; gap: 28px; }
  .stats dl { grid-template-columns: repeat(2, 1fr); }
  .stats dl div:nth-child(3) { border-left: 0; }
  .stats dl div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  section { padding: 48px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top nav { gap: 2px 12px; }
  .stats dl { grid-template-columns: 1fr 1fr; }
  .stats dd { font-size: 1.6rem; }
  .foot .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Hero background video (decorative; hidden for reduced motion) */
.hero { position: relative; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; pointer-events: none; }
.hero .wrap { position: relative; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* Trial balance card beside "real books" */
.more { margin-top: 18px; }
.tb-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 14px 40px rgba(2, 29, 73, .10); align-self: center; }
.tb-card figcaption { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.tb-card .ok { background: var(--accent-light); color: var(--brand-dark); font-size: .72rem; letter-spacing: .08em; padding: 3px 8px; border-radius: 5px; }
.tb-card table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tb-card td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.tb-card td:last-child { text-align: right; font-weight: 600; }
.tb-card td.credit { color: var(--accent-text); }
.tb-card p { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; margin-top: 24px; }
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 90px; }
.shot a { display: block; background: var(--soft); border-bottom: 1px solid var(--line); }
.shot img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: top left; transition: transform .2s; }
.shot a:hover img { transform: scale(1.02); }
.shot figcaption { padding: 14px 16px; font-size: .93rem; color: var(--muted); }
.shot figcaption strong { display: block; color: var(--brand); margin-bottom: 2px; }
@media (max-width: 520px) { .shots { grid-template-columns: 1fr; } .shot img { height: auto; } }
@media (prefers-reduced-motion: reduce) { .shot a:hover img { transform: none; } }
