/* CedarCall Marketing - shared styles. System fonts only, no external resources. */
:root {
  --green-900: #12332b;
  --green-700: #1e5a49;
  --green-600: #26705a;
  --green-100: #e6f1ec;
  --sand-50: #faf8f4;
  --sand-100: #f2eee6;
  --amber-600: #b45309;
  --amber-100: #fdf0dc;
  --ink: #1c2421;
  --muted: #4a5651;
  --line: #d9ded9;
  --white: #ffffff;
  --radius: 10px;
  --max: 1060px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--green-700); text-underline-offset: 2px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--amber-600); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--green-900); color: #fff;
  padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { line-height: 1.2; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1em; }
li { margin-bottom: .35em; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--green-900); text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--amber-600); }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .98rem; padding: .35rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-700); text-decoration: underline; }
.nav .btn { color: #fff; padding: .5rem 1rem; }
.nav .btn:hover { color: #fff; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--green-700); color: #fff; text-decoration: none;
  font-weight: 700; padding: .8rem 1.4rem; border-radius: 8px; border: 2px solid var(--green-700);
  line-height: 1.2; text-align: center;
}
.btn:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.btn-secondary { background: transparent; color: var(--green-700); }
.btn-secondary:hover { background: var(--green-100); color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Sections */
section { padding: 3.25rem 0; }
.alt { background: var(--sand-50); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--amber-600); margin-bottom: .6rem; }

.hero { background: linear-gradient(180deg, var(--green-100), var(--white)); padding: 4rem 0 3.5rem; }
.hero h1 { max-width: 20ch; }
.hero .note { color: var(--muted); font-size: .95rem; margin-top: 1rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.callout { background: var(--amber-100); border-left: 5px solid var(--amber-600); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-green { background: var(--green-100); border-left-color: var(--green-700); }

/* Plans */
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--green-700); box-shadow: 0 4px 18px rgba(18, 51, 43, .12); }
.badge { display: inline-block; background: var(--green-700); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .6rem; border-radius: 99px; margin-bottom: .6rem; align-self: flex-start; }
.price { font-size: 2rem; font-weight: 800; color: var(--green-900); line-height: 1.1; margin: .2rem 0; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.setup { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.plan ul { list-style: none; padding: 0; }
.plan li { padding-left: 1.4rem; position: relative; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--green-700); font-weight: 800; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "\2013"; color: var(--muted); }
.fineprint { font-size: .92rem; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 1.2rem; margin: 0; }
.steps li::before { content: counter(step); display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 800; margin-bottom: .6rem; }
.steps strong { display: block; margin-bottom: .25rem; color: var(--green-900); }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.2rem; margin-bottom: .75rem; background: var(--white); }
summary { cursor: pointer; font-weight: 700; color: var(--green-900); }
details[open] summary { margin-bottom: .6rem; }
details p:last-child { margin-bottom: 0; }

/* Document pages (privacy, terms, scorecard) */
.page-head { background: var(--green-100); padding: 2.75rem 0 2.25rem; }
.page-head p { color: var(--muted); margin: 0; }
.doc { max-width: 46rem; padding: 2.5rem 0 3.5rem; }
.doc h2 { margin-top: 2rem; font-size: 1.4rem; }
.doc h3 { margin-top: 1.5rem; }

.copy-box { background: var(--sand-100); border: 1px dashed #b9b19f; border-radius: 8px; padding: .8rem 1rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--green-900); color: #dbe7e2; padding: 2.5rem 0 2rem; font-size: .96rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: .4em; text-transform: uppercase; letter-spacing: .06em; }
.site-footer address { font-style: normal; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: 1.5rem; padding-top: 1rem; font-size: .88rem; color: #bcd0c8; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-links { list-style: none; padding: 0; margin: 0; }

@media (max-width: 600px) {
  section { padding: 2.25rem 0; }
  .hero { padding: 2.5rem 0 2.25rem; }
  .site-header { position: static; }
  .btn-row .btn { width: 100%; }
  .nav { gap: .25rem .9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .btn-row, .site-footer .footer-links { display: none; } }
