/* JCA Solutions - Book page. Same Modernist system as index.html:
   Archivo, greige canvas, near-black ink, ONE deep-green accent on the
   CTA and the field-focus. Flat, flush-left, no radius, 720px column. */
:root {
  --color-bg: #f3f2f2;
  --color-text: #201e1d;
  --color-accent: #15764a;
  --color-accent-600: #0f5537;
  --color-accent-700: #0f5537;
  --font-heading: "Archivo", system-ui, sans-serif;

  --ink-1: color-mix(in srgb, var(--color-text) 84%, transparent);
  --ink-2: color-mix(in srgb, var(--color-text) 62%, transparent);
  --ink-3: color-mix(in srgb, var(--color-text) 42%, transparent);
  --hair:  color-mix(in srgb, var(--color-text) 26%, transparent);
  --field: color-mix(in srgb, var(--color-text) 8%, transparent);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-heading); text-wrap: pretty;
  min-height: 100vh; display: flex; flex-direction: column; }

.col { max-width: 720px; margin: 0 auto; width: 100%;
  padding: 0 clamp(24px, 6vw, 40px); }

.site-header { padding: clamp(22px, 4vh, 34px) 0 0; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
  color: var(--color-text); text-decoration: none; display: inline-block; }

main { flex: 1; display: flex; align-items: center;
  padding: clamp(48px, 8vh, 96px) 0; }

.head { font-weight: 800; font-size: clamp(38px, 6.6vw, 60px);
  line-height: 1.0; letter-spacing: -0.03em; }
.lead { font-size: clamp(18px, 2.3vw, 20px); line-height: 1.5; color: var(--ink-1);
  max-width: 40ch; margin: clamp(18px, 2.6vh, 26px) 0 clamp(34px, 4.6vh, 48px); }

/* - the form - */
form { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 28px); }
.field { display: flex; flex-direction: column; gap: 9px; }
.label { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.label .opt { color: var(--ink-3); font-weight: 400; }
.hint { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

input, textarea {
  font-family: var(--font-heading); font-size: 17px; color: var(--color-text);
  background: var(--field); border: 1px solid transparent; border-radius: 0;
  padding: 15px 16px; width: 100%; line-height: 1.4;
  transition: background .16s ease, border-color .16s ease; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:hover, textarea:hover { background: color-mix(in srgb, var(--color-text) 11%, transparent); }
input:focus, textarea:focus { outline: none; background: var(--color-bg);
  border-color: var(--color-accent); }
textarea { resize: vertical; min-height: 92px; }
input:user-invalid, textarea:user-invalid { border-color: #b23b2e; }

/* - CTA: identical to index.html - */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  cursor: pointer; text-decoration: none; font-family: var(--font-heading);
  font-weight: 800; border: 1px solid transparent; border-radius: 0;
  transition: background .18s ease; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn:focus-visible { outline: 3px solid var(--color-accent-700); outline-offset: 3px; }
.cta.btn { font-size: 17px; line-height: 1.1; padding: 17px 26px;
  letter-spacing: -0.01em; align-self: flex-start; margin-top: 4px; }
.cta.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn[disabled] { opacity: .55; cursor: default; }

.reassure { font-size: 14px; color: var(--ink-2); line-height: 1.5;
  margin-top: 2px; max-width: 44ch; }
.back { display: inline-block; margin-top: clamp(30px, 4.4vh, 44px);
  font-size: 15px; color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid var(--hair); padding-bottom: 1px; }
.back:hover { color: var(--color-text); }

footer { padding: clamp(40px, 7vh, 72px) 0 clamp(32px, 5vh, 48px);
  font-size: 14px; color: var(--ink-2); }
footer a { color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid var(--hair); padding-bottom: 1px; }
footer a:hover { color: var(--color-text); }
.dot { color: var(--ink-3); padding: 0 10px; }

@media (max-width: 560px) {
  .cta.btn { align-self: stretch; }
}
