:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #141414;
  --muted: #5c5c58;
  --line: #dcdad3;
  --accent: #1f3a5f;
  --accent-text: #ffffff;
  --ph-bg: #fff1b8;
  --ph-text: #5a4500;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111211;
    --surface: #1a1b1a;
    --text: #f1f0eb;
    --muted: #a3a29c;
    --line: #2c2d2b;
    --accent: #9db8dc;
    --accent-text: #0d1622;
    --ph-bg: #4a3b00;
    --ph-text: #ffe28a;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

/* Placeholder text still to be replaced before publishing */
.ph { background: var(--ph-bg); color: var(--ph-text); padding: 0 4px; border-radius: 3px; }

header { padding: 28px 0; }
header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 22px; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 20px; }
nav a:hover { color: var(--text); }

.hero { padding: 56px 0 72px; }
.eyebrow { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(36px, 6.5vw, 58px); line-height: 1.1; letter-spacing: -0.01em; margin-top: 14px; max-width: 17ch; }
.lede { margin-top: 24px; max-width: 36em; font-size: 19px; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; font-size: 15px; }
.facts li { list-style: none; }
.facts li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none; padding: 14px 24px; border-radius: 8px; font-weight: 600; }
.btn:hover { opacity: 0.9; }
.link { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }

section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 16px; }

.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 32px; }
.promises li { list-style: none; padding-left: 30px; position: relative; }
.promises li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.promises strong { display: block; }
.promises span { color: var(--muted); font-size: 16px; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.person { display: flex; gap: 16px; align-items: flex-start; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-family: Georgia, serif; font-size: 24px; color: var(--muted); }
.person h3 { font-size: 17px; }
.person p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.person a { font-size: 15px; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); max-width: 40em; }

.closing { text-align: left; }
.closing p { color: var(--muted); max-width: 34em; margin-bottom: 26px; }

footer { padding: 28px 0 40px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  nav { display: none; }
  .hero { padding: 32px 0 56px; }
  section { padding: 52px 0; }
}

/* Language switch: stays visible on phones, unlike nav */
.lang { color: var(--muted); text-decoration: none; font-size: 14px; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; margin-left: 20px; }
.lang:hover { color: var(--text); }
.header-right { display: flex; align-items: center; }


/* Five questions */
.qs { counter-reset: q; display: grid; gap: 12px; max-width: 44em; }
.qs li { list-style: none; counter-increment: q; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px 16px 58px; position: relative; }
.qs li::before { content: counter(q); position: absolute; left: 20px; top: 15px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.note { margin-top: 20px; color: var(--muted); max-width: 40em; }
.btn-secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.contact-lines { margin-top: 8px; font-size: 15px; }
.contact-lines a { display: inline-block; margin-right: 14px; }


/* Answer form */
.answers { max-width: 44em; }
.note.intro { margin: -12px 0 22px; }
.qs label { display: block; font-weight: 600; }
.qs textarea, .fields input { width: 100%; padding: 10px 12px; font: inherit; color: var(--text); border: 1px solid var(--line); border-radius: 8px; }
.qs textarea { margin-top: 10px; background: var(--bg); resize: vertical; min-height: 84px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 16px; margin-top: 20px; }
.fields label { display: block; font-size: 15px; font-weight: 600; }
.fields input { margin-top: 6px; background: var(--surface); }
.qs textarea:focus, .fields input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.opt { color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
button.btn-secondary { border: 1px solid var(--accent); }
.form-status { margin-top: 14px; min-height: 1.6em; font-weight: 600; }

/* Profile photo in the team card */
img.avatar { width: 80px; height: 80px; object-fit: cover; background: var(--line); }
