*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #ff6a13;
  --brand-deep: #ff5100;
  --brand-soft: #ffb347;
  --brand-grad: linear-gradient(135deg, #ffa63d 0%, #ff6a13 55%, #ff5100 100%);
  --ink: #16161f;
  --muted: #5a5a68;
  --line: #f0ede8;

  /* Reading measure. ONE control point for every prose column on the site, so it
     cannot drift the way scattered per-page caps do. Held in rem, not px, so the
     column grows with a reader's own default font size and the line length stays
     in the 65 to 75 band for the people the 20px floor exists for.
     Value came from measuring real rendered lines in Inter, not from a guess. */
  --measure: 42rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.6;
}

.container { width: min(92%, 1180px); margin-inline: auto; }

.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255, 106, 19, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 106, 19, 0.36); }

input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 20px;
}
.field-hint { font-size: 0.875rem; color: #666; margin-top: 4px; }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }

/* ── Scroll-reveal animation system (hidden state only applies when JS is on,
   so no-JS visitors always see full content — never a blank page) ── */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
/* Stagger containers stay in place; their children animate in sequence */
html.js [data-reveal="stagger"] { opacity: 1; transform: none; transition: none; }
html.js [data-reveal="stagger"] > .r-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.65, 0.25, 1); }
html.js [data-reveal="stagger"].in > .r-item { opacity: 1; transform: none; transition-delay: var(--rd, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal="stagger"] > .r-item { opacity: 1 !important; transform: none !important; transition: none !important; }
}
