/* exect.ai, brand direction A: Slate and Brass (LBS-3102).
   Tokens first; everything on the site is built from these. */
:root {
  --ink: #14161A;
  --parchment: #F4F1EA;
  --brass: #B8893A;
  --brass-deep: #9C7A3A;
  --slate: #2A2D33;
  --stone: #A9A397;
  --paper: #FBFAF6;
  --rule: #E2DDD0;
  --rule-dark: #3A3D44;
  --text: #14161A;
  --text-muted: #4A4D55;
  --text-on-ink: #F4F1EA;
  --text-on-ink-muted: #C9C3B5;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 62ch;
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brass-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--text-muted); max-width: var(--measure); }
.muted { color: var(--text-muted); }
.small { font-size: 14px; }
.label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.stack > * + * { margin-top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--rule); background: var(--parchment); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo .dot { color: var(--brass); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--text); font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { color: var(--brass-deep); }
.site-footer { background: var(--ink); color: var(--text-on-ink-muted); padding: 48px 0 40px; margin-top: 96px; }
.site-footer .wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }
.site-footer .logo { color: var(--text-on-ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--text-on-ink-muted); }
.site-footer a:hover { color: var(--text-on-ink); }
.site-footer .fine { font-size: 13px; color: var(--stone); }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font-size: 15px; font-weight: 500; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-body); text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--text-on-ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--slate); border-color: var(--slate); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: rgba(20, 22, 26, 0.06); }
.on-ink .btn-primary { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }
.on-ink .btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; }
.on-ink .btn-outline { color: var(--text-on-ink); border-color: var(--text-on-ink); }
.on-ink .btn-outline:hover { background: rgba(244, 241, 234, 0.08); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head .label { display: block; margin-bottom: 14px; }
.on-ink { background: var(--ink); color: var(--text-on-ink); }
.on-ink .lead, .on-ink .muted { color: var(--text-on-ink-muted); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--text-on-ink); }
.on-ink a { color: var(--brass); }
.on-ink .section + .section, .on-ink.section + .section { border-color: var(--rule-dark); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; gap: 28px; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 56ch; }
.hero .fine { font-size: 14px; color: var(--stone); }
@media (min-width: 880px) { .hero { padding: 120px 0 96px; } }

/* Grids and cards */
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.on-ink .card { background: var(--slate); border-color: var(--rule-dark); }
.card .num { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--brass); }
.card h3 { margin-top: 4px; }
.card p { color: var(--text-muted); font-size: 15px; }
.on-ink .card p { color: var(--text-on-ink-muted); }
.door { padding: 36px; gap: 16px; }
.door h2 { font-size: clamp(26px, 3vw, 34px); }
.door .btn { align-self: flex-start; margin-top: 8px; }

/* Role list */
.roles { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--font-display); font-size: 22px; }
.roles li { list-style: none; }
.roles { padding: 0; margin: 0; }

/* Points list (for executives / hiring pages) */
.points { display: grid; gap: 28px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); } .points-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.points li { border-top: 2px solid var(--brass); padding-top: 16px; }
.points h3 { font-size: 20px; margin-bottom: 8px; }
.points p { color: var(--text-muted); font-size: 15px; }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; }
@media (min-width: 720px) { .form-card { padding: 40px; } }
.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .span-2 { grid-column: span 2; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--text-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text); background: #FFFFFF; border: 1px solid #C9C4B6; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.checks { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .checks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; min-height: 44px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brass-deep); flex-shrink: 0; }
.consent { font-size: 14px; color: var(--text-muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; color: var(--text-muted); min-height: 20px; }
.form-status-error { color: #8B2E2E; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }

/* Legal pages */
.legal { max-width: 72ch; }
.legal h1 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin-top: 40px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal .updated { color: var(--text-muted); font-size: 14px; }

/* Thanks */
.thanks { min-height: 50vh; display: grid; align-content: center; gap: 20px; max-width: 60ch; }

/* Fixes after the first render */
.section-head .lead { margin-top: 12px; }
@media (max-width: 719px) { .nav .btn { display: none; } .nav { gap: 18px; } }
