/* The public front page (static/home.html), from the crivo homepage design. The portal's own pages
   use app.css; this page only shares its fonts. */
:root {
  --ink: #0d1b1e; --paper: #f4f5f0; --white: #ffffff; --muted: #4a6158; --line: #daddd4;
  --lime: #c8f560; --on-dark: #b9c6bf; --row: #17292d; --row-line: #3a5056;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--body); }
.site a { color: var(--ink); }
.site a:hover { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.ink { color: var(--ink); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.stack.tight { gap: 14px; }
.section { padding-top: 96px; padding-bottom: 96px; }
h1, h2 { font-family: var(--display); font-weight: 800; margin: 0; }
h1 { font-size: clamp(2.75rem, 5.5vw, 4.75rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; }
h2.huge { font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 48rem; }
h3 { margin: 0; font-size: 1.35rem; }
p { margin: 0; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 42rem; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow.light { color: var(--on-dark); font-size: 12px; letter-spacing: .06em; }
.eyebrow.lime { color: var(--lime); }

/* header */
.site-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo .mark { width: 36px; height: 36px; }
.site-logo .name { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.04em; }
.site-head nav, .site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-weight: 500; }
.site-head nav a, .site-foot nav a { text-decoration: none; }
.pill-btn { display: inline-block; text-decoration: none; background: var(--ink); color: var(--paper) !important; padding: 12px 20px;
  border-radius: 999px; font-weight: 600; min-height: 44px; }
.pill-btn:hover { background: #22363b; }
.pill-btn.big { padding: 16px 26px; }
.pill-btn.small { padding: 10px 18px; font-size: 15px; display: inline-flex; align-items: center; }
.pill-btn.ghost.small { padding: 8.5px 16.5px; }
.pill-btn.ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); padding: 14.5px 24.5px; }
.pill-btn.ghost:hover { background: var(--white); }
.pill-btn.lime { background: var(--lime); color: var(--ink) !important; }
.pill-btn.lime:hover { background: #d6fa86; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.workspace { flex: 1 1 420px; min-width: 0; background: var(--ink); color: var(--paper); border-radius: 28px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px; }
.ws-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.secure { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--lime); }
.ws-row { background: var(--row); border-radius: 16px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ws-row div { display: flex; flex-direction: column; min-width: 0; }
.ws-row div span { font-size: 14px; color: var(--on-dark); }
.tag { border: 1px solid var(--row-line); font-size: 13px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.tag.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); font-weight: 600; }
.ws-foot { border-top: 1px solid #2a3d42; padding-top: 14px; margin-top: 6px; display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; font-size: 14px; color: var(--on-dark); }
.ws-foot strong { color: var(--paper); }

/* bands */
.band { padding: 88px 0; }
.band.white { background: var(--white); border-block: 1px solid var(--line); }
.band.dark { background: var(--ink); color: var(--paper); padding: 96px 0; }
.band.dark p, .band.dark .grid4 span { color: var(--on-dark); }
.band.dark a.on-dark { color: var(--lime); font-weight: 600; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.problem { background: var(--paper); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.problem strong { font-size: 1.1rem; }
.problem .ba { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.problem .ba.after { margin-top: 8px; color: var(--ink); }
.problem .ba.after::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 6px; }
.problem span { color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.grid4 div { display: flex; flex-direction: column; gap: 8px; }
.grid4 strong { font-size: 1.15rem; }

/* pricing, steps, fit */
.prices { display: flex; flex-wrap: wrap; gap: 20px; }
.price { flex: 1 1 260px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; gap: 8px; }
.price span { color: var(--muted); }
.price strong { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.15; }
.price.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price.dark span { color: var(--on-dark); }
.price.dark strong { color: var(--lime); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--mono); font-size: 15px; color: var(--muted); }
.fit { display: flex; flex-wrap: wrap; gap: 20px; }
.fit .box { flex: 1 1 380px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px; }
.fit strong { font-size: 1.2rem; }
.fit ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cta { gap: 24px; align-items: flex-start; }
.cta p { max-width: 36rem; }

/* Get in touch form (on the dark band) */
.contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; width: 100%; max-width: 760px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form label { font-weight: 600; color: var(--paper); }
.contact-form input, .contact-form textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid transparent;
  border-radius: 14px; padding: 12px 14px; min-height: 48px; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.band.dark .form-note { margin: 0; padding: 12px 16px; border-radius: 14px; background: #3a2a1f; color: #ffd9b8; max-width: 760px; }
.band.dark .form-note.ok { background: #233a1d; color: var(--lime); }

/* footer */
.site-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 32px; padding-bottom: 32px;
  font-size: 15px; color: var(--muted); }
.site-foot nav { gap: 8px 24px; font-weight: 400; }
.site-foot nav a { color: var(--muted); text-decoration: underline; }

@media (max-width: 640px) {
  .site-head nav { gap: 6px 18px; font-size: 15px; }
  .hero { padding-top: 24px; padding-bottom: 64px; gap: 40px; }
  .band, .band.dark, .section { padding-top: 64px; padding-bottom: 64px; }
  .ws-row { flex-wrap: wrap; }
}
