/* InvesTech Consulting — marketing landing pages (/meet, /report)
   Brand tokens drawn from Bot Console/BRAND-UI.md (manual page 7) so these
   pages match the CRM and the printed identity. Marketing scale, not the
   dense dashboard scale. */

:root {
  /* Brand (from the manual) */
  --brand-purple: #32146A;
  --brand-teal:   #2F90B0;
  --brand-gray:   #333333;
  --brand-gradient: linear-gradient(120deg, #2f90b0 0%, #2f88ab 20%, #30719f 40%, #314b8a 60%, #32186d 80%, #320e68 100%);

  /* Surfaces / neutrals */
  --bg:            #ffffff;
  --surface:       #ffffff;
  --surface-soft:  #f6f7fb;
  --border:        #e4e6ef;
  --border-strong: #c9ccdb;
  --text:          #1f1b32;
  --text-muted:    #5c5f74;

  --purple-700: #26105033;   /* soft purple tint for shadows */
  --teal-soft:  #eaf4f8;
  --success:    #1f8f5f;
  --error:      #c0392b;

  --radius-md: 10px;
  --radius-xl: 14px;
  --radius-pill: 999px;
  --focus-ring: 0 0 0 3px rgba(47, 144, 176, 0.35);
  --shadow-md: 0 6px 24px -8px rgba(38, 16, 80, 0.18);
  --shadow-lg: 0 18px 48px -16px rgba(38, 16, 80, 0.28);

  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--brand-gray);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(28px, 6vw, 44px); }
h2 { font-size: clamp(22px, 4.5vw, 30px); }
h3 { font-size: clamp(17px, 3vw, 20px); }

p { margin: 0 0 1em; }
a { color: var(--brand-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Gradient hero rule + header */
.topbar {
  height: 4px;
  background: var(--brand-gradient);
}
.masthead { padding: 32px 0 8px; }
.logo { width: 224px; max-width: 62vw; height: auto; display: block; }
.brandmark {
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brandmark .iso {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--brand-gradient);
  display: inline-block;
}

/* Hero */
.hero { padding: 20px 0 8px; }
.hero .lede { font-size: clamp(17px, 2.6vw, 20px); color: var(--text-muted); max-width: 34em; }
.photo {
  width: 108px; height: 108px; border-radius: var(--radius-pill);
  object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-md);
  background: var(--surface-soft);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Figtree", sans-serif; font-weight: 700; font-size: 16px;
  padding: 13px 22px; border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; transition: background 150ms ease, box-shadow 150ms ease, transform 60ms ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-gradient { background: var(--brand-gradient); color: #fff; background-size: 160% 160%; background-position: 0% 50%; }
.btn-gradient:hover { background-position: 100% 50%; text-decoration: none; }
.btn-primary { background: var(--brand-purple); color: #fff; }
.btn-primary:hover { background: #26104f; text-decoration: none; }
.btn-secondary { background: var(--surface); color: var(--brand-purple); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-soft); text-decoration: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Cards / sections */
section { padding: 28px 0; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 20px; box-shadow: var(--shadow-md);
}
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.eyebrow {
  font-family: "Figtree", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-teal); margin-bottom: 6px;
}

/* Agency list (text only — no seals, per brief) */
.agencies { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.agencies li {
  font-family: "Figtree", sans-serif; font-weight: 700; font-size: 13px;
  color: var(--brand-purple); background: #f2ecfb;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.disclaimer { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* Testimonial / case-study cards */
.quote { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.quote figcaption { font-size: 13px; color: var(--text-muted); line-height: 1.35; }
.quote figcaption b { display: block; color: var(--brand-purple); font-family: "Figtree", sans-serif; font-size: 14px; }

/* Calendly embed */
.calendly-inline-widget { min-width: 320px; height: 700px; border-radius: var(--radius-xl); overflow: hidden; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-family: "Figtree", sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--brand-gray); }
.field .req { color: var(--error); }
.field input[type=text], .field input[type=email], .field input[type=url], .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input:hover, .field textarea:hover { border-color: var(--border-strong); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-teal); box-shadow: var(--focus-ring); }
.field textarea { min-height: 84px; resize: vertical; }
.field input[aria-invalid=true], .field textarea[aria-invalid=true] { border-color: var(--error); }
.help { font-size: 13px; color: var(--text-muted); margin-top: 5px; }
.error-text { font-size: 13px; color: var(--error); margin-top: 5px; display: none; }
.field.is-error .error-text { display: block; }

.check {
  display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px;
  font-size: 15px; color: var(--text);
}
.check input[type=checkbox] { margin-top: 3px; width: 19px; height: 19px; accent-color: var(--brand-teal); flex: none; }
.check label { font-family: inherit; font-weight: 400; }

/* Status / result panels */
.notice { border-radius: var(--radius-md); padding: 14px 16px; font-size: 15px; margin: 14px 0; }
.notice-ok { background: #eaf7f0; color: #14603f; border: 1px solid #bfe6d2; }
.notice-err { background: #fdecea; color: #922; border: 1px solid #f5c6c0; }
.result-card { text-align: center; padding: 36px 24px; }
.result-card .big { font-size: 46px; line-height: 1; margin-bottom: 10px; }

/* Footer */
footer { border-top: 1px solid var(--border); margin-top: 20px; padding: 28px 0 48px; color: var(--text-muted); font-size: 14px; }
footer a { color: var(--brand-purple); font-weight: 700; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
