/* ClimaBuild — shared tokens and controls */
:root {
  --ink: #14201b;
  --ink-2: #33423b;
  --muted: #5d6963;
  --paper: #f6f2ea;
  --paper-2: #ede6d8;
  --card: #fffdf8;
  --line: #ddd4c2;
  --clay: #c2522a;
  --clay-deep: #a3411f;
  --clay-soft: #f5e1d5;
  --rain: #2a6f97;
  --rain-soft: #dbe9f1;
  --leaf: #2f6b4a;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.brand .mark { width: 28px; height: 28px; }
.brand.light { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--clay); color: #fff; }
.btn-accent:hover { background: var(--clay-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-2); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.link-button { background: none; border: 0; padding: 0; color: var(--clay-deep); font-weight: 600; text-decoration: underline; cursor: pointer; }

.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field small { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; background: #fff; border: 1px solid #c9bfab; border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--clay); outline-offset: 0; border-color: var(--clay); }
.field input:disabled { background: var(--paper-2); color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form-error, .form-note, .flash { padding: 11px 14px; border-radius: var(--radius); font-size: 15px; margin-bottom: 18px; }
.form-error { background: #fbe4dc; color: #7c2410; border: 1px solid #eab9a6; }
.form-note, .flash { background: #e1efe6; color: #1d4d33; border: 1px solid #b9d6c4; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #f0c9b4; margin-bottom: 18px; }
.kicker.dark { color: var(--clay-deep); }
.display { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.display.light { color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
