/* cardcurb.com: the public pages, served by the web server as plain files (no app, no scripts).
   Generated from site/src by scripts/build-site.mjs. Same tokens as apps/web/src/landing/landing.css,
   so the site and the landing read as one product. */
:root {
  --bg: #FFFFFF; --panel: #F6F7F8; --rule: #E5E7EB; --rule-2: #EEF0F2; --rule-3: #D3D7DD;
  --ink: #15171C; --ink-2: #454B57; --muted: #68707C;
  --accent: #1D5E73; --accent-tint: #E8F1F4; --on-accent: #FFFFFF;
  --btn: #15171C; --btn-ink: #FFFFFF; --btn-hover: #2A2E36;
  --green: #2B7A52; --amber: #9A5B00; --amber-tint: #FCF3E3;
  --shadow: 0 1px 2px rgba(16,20,26,.06);
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101215; --panel: #181B20; --rule: #252A31; --rule-2: #1D2126; --rule-3: #353B44;
    --ink: #ECEEF1; --ink-2: #BCC2CB; --muted: #8E96A2;
    --accent: #7DBACE; --accent-tint: #16303A; --on-accent: #101215;
    --btn: #ECEEF1; --btn-ink: #101215; --btn-hover: #FFFFFF;
    --green: #77C29B; --amber: #E0A84A; --amber-tint: #2A2416;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--btn); color: var(--btn-ink); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 16px; z-index: 10; }

/* header */
.site-head { max-width: 1120px; margin: 0 auto; padding: 22px 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font-size: 22px; font-weight: 700; font-style: italic; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav .signin { color: var(--ink); font-weight: 600; }

/* content column */
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 24px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
article { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow); padding: 36px; overflow-wrap: anywhere; }
@media (prefers-color-scheme: light) { article { background: var(--bg); } }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 34px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin-top: 1.6em; }
h3 { font-size: 17px; margin-top: 1.3em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .45em; }
li ul, li ol { margin-top: .4em; }
.quiet, .meta { color: var(--muted); font-size: 14px; }
.meta { margin-top: -.4em; }
.lede { font-size: 18px; color: var(--ink-2); }
blockquote { margin: 0 0 1em; padding: 12px 16px; border-left: 3px solid var(--rule-3); background: var(--panel); border-radius: 0 8px 8px 0; color: var(--ink-2); }
blockquote p:last-child { margin-bottom: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--panel); padding: 1px 5px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--rule-2); margin: 1.6em 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-top: 1px solid var(--rule); }
thead th { border-top: 0; color: var(--muted); font-weight: 500; font-size: 13px; white-space: nowrap; min-width: 64px; }
tbody th { font-weight: 400; }

/* the "What CardCurb does here" aside */
.cc-box { margin: 1.4em 0; padding: 16px 18px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent-tint); }
.cc-box-eyebrow { margin: 0 0 .4em; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.cc-box p:last-child { margin-bottom: 0; }

/* the closing call to action */
.cta { border: 1px solid var(--rule); border-radius: 12px; padding: 28px 32px; background: var(--panel); }
.cta h2 { margin-top: 0; font-size: 24px; }
.cta p:last-child { margin: 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: var(--btn); color: var(--btn-ink); border-radius: 999px; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--btn-hover); }
.more h2 { font-size: 16px; margin: 0 0 .6em; color: var(--muted); font-weight: 500; }
.more ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }

/* the guides list */
.guide-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.guide-list a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; color: inherit; background: var(--bg); }
.guide-list a:hover { border-color: var(--rule-3); }
.gl-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.gl-desc { color: var(--ink-2); font-size: 15px; }
.gl-date { color: var(--muted); font-size: 13px; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 8px; }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--rule); border-radius: 8px; padding: 18px; }
.plan.paid { border-color: var(--green); }
.plan h2 { font-size: 18px; margin-top: 0; }
.price { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 .5em; }
.price span { font: 15px/1.4 var(--sans); color: var(--muted); font-weight: 400; }
.pricing td { color: var(--green); white-space: nowrap; }

/* footer, the same as the landing page's */
.site-foot { max-width: 1120px; margin: 0 auto; padding: 40px 16px 44px; border-top: 1px solid var(--rule-2); color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p, .foot-col p { margin: 0; line-height: 1.5; color: var(--muted); }
.foot-brand p { max-width: 260px; }
.foot-mark { display: inline-block; margin-bottom: 10px; font-size: 22px; font-weight: 700; font-style: italic; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.site-foot a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; width: fit-content; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-copy { margin: 0; border-top: 1px solid var(--rule-2); padding-top: 18px; font-size: 13px; }
@media (max-width: 719px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col a { min-height: 44px; }
  article { padding: 24px 18px; }
  h1 { font-size: 28px; }
  .site-nav { gap: 16px; }
}

/* comparison pages: the trademark note, the FAQ, and wide tables that scroll in their box on a phone */
.trademark { margin: 1.6em 0 0; padding-top: 14px; border-top: 1px solid var(--rule-2); font-size: 13px; color: var(--muted); }
.faq h3 { margin-top: 1.1em; }
@media (max-width: 719px) {
  article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  article table th, article table td { min-width: 140px; }
  article table th:first-child { min-width: 120px; }
}
