/* Signet — signetattest.com · Circle Square brand system, per 5-BUILD/landing-pages/SPEC.md §4 */
:root {
  --green: #2DC100;
  --blue: #0078FF;
  --navy: #172957;
  --titan: #EAF0FF;
  --cinder: #0C111C;
  --muted: #54565a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
body {
  font-family: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--navy);
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Header — Signet wordmark set in type; parent credit beneath */
.site-header { border-bottom: 1px solid var(--titan); padding: 18px 24px; }
.site-header .inner {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.signet-wordmark {
  font-size: 22px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy); text-decoration: none;
}
.division-line { font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; }

main { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; }

h1 { font-weight: 600; font-size: clamp(26px, 5vw, 34px); line-height: 1.25; margin-bottom: 16px; }
.standfirst { font-size: 17px; margin-bottom: 40px; }
.standfirst em, .byline em { font-style: italic; }

h2 { font-weight: 600; font-size: 19px; margin: 36px 0 6px; }
h2::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--green); margin-top: 8px;
}

/* Checklist */
ul.checklist { list-style: none; margin-top: 16px; }
ul.checklist li { position: relative; padding: 9px 0 9px 34px; }
ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 18px; height: 18px; border: 2px solid var(--navy); border-radius: 3px;
}
ul.checklist strong { font-weight: 600; }

/* Callout */
.callout {
  background: var(--titan); border-left: 4px solid var(--blue);
  padding: 20px 24px; margin: 32px 0; border-radius: 0 6px 6px 0;
}
.callout p + p { margin-top: 12px; }
.callout h3 { font-weight: 600; font-size: 16px; margin-bottom: 8px; }

/* Buttons */
.btn-secondary, .btn-primary {
  display: inline-block; font-family: inherit; font-weight: 600; font-size: 16px;
  border: none; border-radius: 999px; padding: 14px 30px;
  text-decoration: none; cursor: pointer;
}
.btn-secondary { background: var(--navy); color: #fff; }
.btn-primary { background: var(--green); color: var(--navy); }
.download-row { margin: 36px 0 8px; }
.download-note { margin-top: 10px; font-size: 15px; }

/* Byline / footer CTA */
.byline {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--titan);
  font-style: italic; font-size: 15px;
}
.booking-cta { display: block; margin-top: 14px; font-style: normal; font-weight: 600; }
.pub-date { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--muted); }

/* Site footer */
.site-footer { background: var(--cinder); color: var(--titan); padding: 40px 24px 32px; font-size: 14px; }
.site-footer .inner {
  max-width: 720px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.site-footer img { display: block; height: 20px; width: auto; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--titan); text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }

/* Placeholder chips — visible unresolved values, per build agreement */
.placeholder-chip {
  background: #FFF3CD; border: 1px dashed #B8860B; color: #6B5000;
  font-style: normal; font-weight: 600; font-size: 13px;
  padding: 1px 8px; border-radius: 3px;
}
.placeholder-panel {
  border: 2px dashed #B8860B; background: #FFFBEB; color: #6B5000;
  border-radius: 6px; padding: 28px 24px; margin: 24px 0;
  font-size: 15px; text-align: center;
}

/* Forms — real labels, never placeholder-only (SPEC §5 accessibility) */
.gate-form { margin: 8px 0 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; max-width: 420px; font-family: inherit; font-size: 16px;
  color: var(--navy); padding: 11px 12px;
  border: 1.5px solid #B8CBFD; border-radius: 4px; background: #fff;
}
.field .error {
  display: none; color: #B00020; font-size: 14px; margin-top: 5px;
}
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select { border-color: #B00020; }

/* Assessment questions — fieldset per question, legend = question (SPEC §5) */
.questions { margin-top: 8px; }
.questions fieldset {
  border: none; border-bottom: 1px solid var(--titan);
  padding: 20px 0; margin: 0;
}
.questions legend { font-weight: 600; font-size: 16px; padding: 0 0 10px; }
.questions .opts { display: flex; flex-direction: column; gap: 8px; }
.questions .opts label {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 15px; cursor: pointer;
}
.questions input[type="radio"] { transform: translateY(2px); accent-color: var(--blue); width: 17px; height: 17px; flex: 0 0 17px; }
.questions fieldset.invalid legend::after { content: " — pick an answer"; color: #B00020; font-size: 14px; }
.submit-row { margin: 32px 0; }

/* Result */
.result {
  border: 2px solid var(--navy); border-radius: 6px;
  padding: 28px; margin: 40px 0;
}
.result .score-line { font-weight: 600; font-size: 22px; margin-bottom: 14px; }
.result h3 { font-weight: 600; font-size: 16px; margin: 18px 0 8px; }
.result p + p { margin-top: 12px; }
.result .forward-note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Booking pages */
ul.thirty { list-style: none; margin-top: 16px; }
ul.thirty li { position: relative; padding: 8px 0 8px 26px; }
ul.thirty li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 12px; height: 4px; background: var(--green);
}
.cost-line { font-weight: 600; margin: 24px 0; }

/* Hero — Cloud Burst panel with the repeating brand-icon pattern */
.hero {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22104%22%20height%3D%22104%22%20viewBox%3D%220%200%20104%20104%22%3E%3Cg%20fill%3D%22%23fff%22%20opacity%3D%220.10%22%20transform%3D%22translate%2826%2C22%29%20scale%280.72%29%22%3E%0A%3Cpath%20d%3D%22M20.84%2C43.48v-22.25h25.64C44.33%2C9.22%2C32.86%2C1.24%2C20.86%2C3.39%2C8.86%2C5.54.87%2C17.01%2C3.02%2C29.01c1.63%2C9.09%2C8.74%2C16.2%2C17.82%2C17.84v-3.37Z%22%2F%3E%0A%3Cpath%20d%3D%22M50.52%2C25.12c-.02%2C14.22-11.54%2C25.75-25.77%2C25.77h-.22v12.51h38.49V24.92h-12.5v.2Z%22%2F%3E%0A%3Cpath%20d%3D%22M24.53%2C47.2h.22c12.19%2C0%2C22.08-9.88%2C22.08-22.07h0v-.21h-22.3v22.28Z%22%2F%3E%0A%3C%2Fg%3E%3C%2Fsvg%3E");
  background-size: 104px 104px;
  color: #fff;
  padding: 72px 24px;
}
.hero .hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 {
  color: #fff; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero p { color: var(--titan); font-size: 17px; max-width: 560px; }
.hero p + p { margin-top: 12px; }

/* Homepage */
.door-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 36px 0; }
.door {
  display: block; border: 1.5px solid #B8CBFD; border-radius: 6px;
  padding: 22px 24px; text-decoration: none; color: var(--navy);
}
.door:hover { border-color: var(--blue); }
.door .kicker {
  font-weight: 600; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px;
}
.door .door-title { font-weight: 600; font-size: 18px; display: block; margin-bottom: 6px; }
.door .door-desc { font-size: 15px; display: block; }
.door .door-more { font-size: 14px; font-weight: 600; color: var(--blue); display: block; margin-top: 10px; }
@media (min-width: 640px) { .door-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Design pass: nav, hubs, articles, print ────────────────────────────── */
.brand-block { display: flex; flex-direction: column; gap: 2px; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a {
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.site-nav a:hover { border-bottom-color: var(--green); }

.kicker {
  font-weight: 600; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.kicker--light { color: var(--titan); opacity: 0.85; }

.hero--sub { padding: 52px 24px; }
.hero--sub h1 {
  letter-spacing: normal; text-transform: none;
  font-size: clamp(26px, 5vw, 34px);
}

/* Articles — the document register, tuned for a long read */
.article p { margin: 14px 0; }
.article .standfirst { margin: 0 0 28px; }
.article h2 { margin-top: 42px; }
.article blockquote {
  background: var(--titan); border-left: 4px solid var(--blue);
  padding: 16px 22px; margin: 24px 0; border-radius: 0 6px 6px 0;
}
.article ol, main ol { margin: 16px 0 16px 22px; }
.article ol li, main ol li { padding: 6px 0; }
ul.plain-list { margin: 16px 0 16px 22px; }
ul.plain-list li { padding: 5px 0; }

/* Hub offer rows */
.offer-list { display: grid; gap: 16px; margin: 40px 0; }
.offer {
  display: block; border: 1.5px solid #B8CBFD; border-radius: 6px;
  padding: 20px 22px; text-decoration: none; color: var(--navy);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.offer:hover {
  border-color: var(--blue); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(23, 41, 87, 0.08);
}
.offer-kicker {
  display: block; font-weight: 600; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.offer-title { display: block; font-weight: 600; font-size: 18px; margin: 4px 0 6px; }
.offer-desc { display: block; font-size: 15px; }

.article-index { list-style: none; margin: 16px 0 8px; }
.article-index li { border-bottom: 1px solid var(--titan); }
.article-index a {
  display: block; padding: 14px 0; text-decoration: none;
  color: var(--navy); font-weight: 600; transition: color .15s ease;
}
.article-index a:hover { color: var(--blue); }

.door { transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.door:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(23, 41, 87, 0.08); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary:hover { background: #20376E; }

/* The checklists are meant to be printed and marked up */
@media print {
  body::before, .site-header, .site-footer, .download-row, .booking-cta { display: none !important; }
  main { padding: 0; max-width: none; }
  a { color: inherit; text-decoration: none; }
}

/* ── Offering-book chrome (matches index.html design system) ───────────── */
body::before { display: none; }              /* the topbar carries the gradient now */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--green), var(--blue)) 1;
  padding: 14px 24px;
}
.signet-wordmark { color: #fff; }
.division-line { color: #C9D8F5; }
.site-nav a {
  color: #C9D8F5; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--green); }

.btn-primary, .btn-secondary { border-radius: 6px; padding: 14px 28px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0063d6; filter: none; }
.btn-secondary:hover { background: #20376E; }

h2::after { width: 88px; background: linear-gradient(90deg, var(--green), var(--blue)); }

.hero, .hero--sub {
  background: linear-gradient(135deg, var(--navy) 0%, #123B8C 55%, var(--blue) 100%);
  position: relative; overflow: hidden;
}
.hero::after, .hero--sub::after {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.hero .hero-inner, .hero--sub .hero-inner { position: relative; z-index: 2; }
.kicker--light { color: var(--green); opacity: 1; letter-spacing: 0.2em; }

.site-footer { color: #8FA3C4; font-weight: 300; }
.site-footer .foot-brand span { color: #8FA3C4; }
.site-footer .foot-brand span b { color: #fff; font-weight: 600; }
.foot-sub { font-size: 12px; }
.foot-tag { text-align: right; font-size: 13px; max-width: 38ch; }
.foot-tag b { color: #fff; }
.foot-links a { color: #C9D8F5; font-weight: 400; font-size: 13px; }
