:root {
  --ink-2: #1F2B3B;
  --coral: #F07E5F;
  --coral-dark: #A8442A;
  --ink: #16202E;
  --muted: #5B6573;
  --line: #E6E2DC;
  --bg-alt: #F1EEE9;
  --paper: #FAF8F5;
  --steel: #2F5D8A;
  --white: #ffffff;
  --radius: 10px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--coral); }
.nowrap { white-space: nowrap; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 18px; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); color: var(--ink); }
h3 { font-size: 1.12rem; font-weight: 600; color: var(--ink); }
p { margin: 0 0 16px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  padding: 15px 30px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: #F39578; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* Logo */
.logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.logo > span { color: var(--coral); }
.logo small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-left: 8px;
  opacity: 0.75;
}
.logo-sm { font-size: 1.15rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(22, 32, 46, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(240, 126, 95, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  padding: 110px 0 120px;
  text-align: center;
}
.hero h1 { color: var(--white); max-width: 900px; margin: 0 auto 24px; }
.hero .eyebrow { color: var(--coral); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: #c9d1dd; max-width: 620px; margin: 0 auto 36px; }
.hero-note { margin-top: 14px; font-size: 0.88rem; color: #8f9bb0; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #d6dce6; }
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--coral); }

/* Short-copy text styles */
.big { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.punch { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; color: var(--ink); margin: 0; }
.tagline { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--coral); margin: 0 auto; }

/* Four moments */
.moments { display: grid; gap: 20px; margin: 44px 0 40px; }
.moment {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
}
.moment h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.moment p { color: #c9d1dd; margin: 0; }
.moment-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--coral);
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 14px;
}

/* Plan */
.steps { list-style: none; padding: 0; display: grid; gap: 20px; margin: 40px 0 0; }
.steps .num {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 12px;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }

/* Audit form */
.audit-form { margin-top: 40px; }
fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 18px;
  margin: 0 0 18px;
}
legend {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0 8px;
  margin-left: -8px;
}
.opt { font-weight: 400; font-size: 0.88rem; color: var(--muted); }

.field-row { display: grid; gap: 0 16px; }
label { display: block; font-size: 0.92rem; font-weight: 500; color: var(--ink); margin-bottom: 14px; }
input[type="text"], input[type="email"], input[type="url"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #cfd5dd;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}
input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(240, 126, 95, 0.2); }

input.invalid { border-color: #B3261E; }
.form-error { color: #B3261E; font-weight: 500; text-align: center; }
.fine { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.thanks { margin-top: 40px; text-align: center; border-top: 3px solid var(--coral); }
/* Footer */
.site-footer { background: var(--ink); color: #c9d1dd; padding: 80px 0 36px; text-align: center; }
.footer-line { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--white); max-width: 680px; margin: 0 auto 30px; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #8f9bb0;
}

.btn { white-space: nowrap; }
@media (max-width: 420px) {
  .site-header .logo small { display: none; }
  .btn-sm { padding: 8px 14px; font-size: 0.85rem; }
}

/* ---- Assessment page ---- */
.assess-body { background: var(--bg-alt); min-height: 100vh; }
.header-tag { color: #aeb8c8; font-size: 0.85rem; letter-spacing: 0.04em; }
.progress { height: 4px; background: var(--line); }
.progress-fill { height: 100%; width: 0; background: var(--coral); transition: width 0.3s ease; }
.assess-inner { max-width: 680px; padding-top: 56px; padding-bottom: 80px; }
.screen { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 40px 32px; }
.assess-title { font-size: clamp(1.9rem, 4.5vw, 2.6rem); color: var(--ink); }
.big-left { font-size: 1.1rem; color: var(--muted); margin-bottom: 28px; }
#contact-fields { margin-bottom: 8px; }

.q-count { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-dark); }
.q-text { font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 1.85rem); color: var(--ink); margin-bottom: 8px; }
.q-help { color: var(--muted); margin-bottom: 0; }
.q-options { display: grid; gap: 10px; margin-top: 26px; }
.opt-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.opt-btn:hover { border-color: #c4cbd5; }
.opt-btn.selected { border-color: var(--coral); background: rgba(240, 126, 95, 0.1); }
.opt-letter {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1.5px solid #cfd5dd;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.opt-btn.selected .opt-letter { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.q-options textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #cfd5dd;
  border-radius: 6px;
  resize: vertical;
}
.q-options textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(240, 126, 95, 0.2); }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.btn-link { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 8px 0; }
.btn-link:hover { color: var(--ink); }

/* Results */
.score-card { background: var(--ink); color: var(--white); border-radius: 12px; padding: 28px; margin: 8px 0 36px; }
.score-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.score-num { font-family: var(--serif); font-size: 3.6rem; font-weight: 700; line-height: 1; }
.score-of { font-size: 1.2rem; color: #aeb8c8; margin-left: 6px; }
.zone-badge { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.zone-red { background: #B3261E; color: #fff; }
.zone-yellow { background: #e0a526; color: var(--ink); }
.zone-green { background: #2E7D5B; color: #fff; }
.scale { position: relative; display: grid; grid-template-columns: 7fr 7fr 7fr; gap: 3px; margin-bottom: 20px; }
.scale-seg { height: 14px; border-radius: 3px; position: relative; }
.scale-seg span { position: absolute; top: 22px; left: 0; font-size: 0.75rem; color: #aeb8c8; line-height: 1.3; }
.seg-red { background: #B3261E; }
.seg-yellow { background: #e0a526; }
.seg-green { background: #2E7D5B; }
.scale-marker { position: absolute; top: -6px; width: 4px; height: 26px; background: var(--white); border-radius: 2px; box-shadow: 0 0 0 2px var(--ink); }
.zone-msg { margin: 48px 0 0; color: #dfe4ec; font-size: 1.05rem; }

.r-sub { font-size: 1.35rem; margin-bottom: 18px; }
.buckets { display: grid; gap: 16px; margin-bottom: 30px; }
.bucket-head { display: flex; justify-content: space-between; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.bucket-bar { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; }
.bucket-bar div { height: 100%; background: var(--steel); border-radius: 5px; }
.bucket.is-gap .bucket-head { color: #B3261E; }
.bucket.is-gap .bucket-bar div { background: #B3261E; }

.gap-card { border-left: 4px solid #B3261E; background: #FBEEEB; border-radius: 8px; padding: 22px 24px; margin-bottom: 24px; }
.gap-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 8px; }
.gap-card p:last-child { margin: 0; }
.aware-note { color: var(--muted); font-style: italic; }
.cta-card { text-align: center; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 10px; }
.cta-card p:first-child { font-size: 1.08rem; color: var(--ink); font-weight: 500; }

@media (max-width: 520px) {
  .screen { padding: 30px 20px; }
  .header-tag { display: none; }
}

/* Larger screens */
@media (min-width: 720px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .moments { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .moments { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
