/* Readable type across the planner, generated brief, and small screens. */
:root { --muted: #b8c1ab; }
body { font-size: 16px; }
.site-header nav, .nav-link { font-size: 14px; }
.wordmark span { font-size: 11px; letter-spacing: .8px; }
.eyebrow { font-size: 12px; letter-spacing: 1px; }
.intro-description { font-size: 16px; line-height: 1.75; }
.intro-note { font-size: 12px; letter-spacing: .7px; }
.intro-note b { font-size: 14px; }
.panel-top .eyebrow { font-size: 12px; letter-spacing: .6px; }
.panel-description { font-size: 16px; line-height: 1.65; max-width: none; }
.summary-heading { font-size: 12px; letter-spacing: .4px; gap: 8px; flex-wrap: wrap; }
.summary-heading span { white-space: nowrap; }
.live-project dl > div { gap: 12px; align-items: flex-start; }
.live-project dt, .live-project dd { font-size: 14px; line-height: 1.55; }
.live-project dt { flex-shrink: 0; }
.live-project dd { min-width: 0; max-width: 145px; }
.privacy-note { gap: 10px; }
.privacy-note svg { width: 18px; height: 18px; }
.privacy-note p { font-size: 14px; }
.privacy-note span { color: var(--muted); font-size: 12px; }
.planner-top { gap: 12px; flex-wrap: wrap; }
.planner-label, .step-count { font-size: 12px; letter-spacing: .7px; }
.step-count { white-space: nowrap; }
.stepper { gap: 12px; }
.stepper li { min-width: 0; color: #b8c1ab; font-size: 14px; gap: 9px; }
.stepper li span { font-size: 11px; width: 28px; height: 28px; flex-shrink: 0; }
.stepper b { font-weight: 500; line-height: 1.4; }
.step-description { font-size: 16px; line-height: 1.65; }
.field { margin-bottom: 25px; }
.field-label, .field legend { font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
.field-label .optional, .optional { font-size: 13px; color: #b6beaa; }
.field-help { font-size: 14px; line-height: 1.65; color: #b8c1ab; }
.text-input, select, textarea { font-size: 16px; min-height: 48px; }
.text-input::placeholder, textarea::placeholder { color: #b0baa1; }
.choice { min-height: 110px; gap: 13px; }
.choice-copy strong { font-size: 15px; line-height: 1.45; }
.choice-copy small { font-size: 14px; color: #b8c1ab; line-height: 1.6; }
.choice-icon { width: 34px; height: 34px; }
.choice-indicator { width: 14px; height: 14px; }
.chip { font-size: 14px; padding: 11px 14px; min-height: 46px; color: #d3dac6; }
.chip:before { font-size: 16px; }
.compact-check { font-size: 14px; line-height: 1.5; min-height: 44px; }
.compact-check input { width: 18px; height: 18px; flex-shrink: 0; }
.error { font-size: 14px; line-height: 1.5; }
.context-note { font-size: 14px; line-height: 1.65; }
.required-note { font-size: 12px; color: #b8c1ab; }
.primary-button, .secondary-button { font-size: 14px; min-height: 48px; }
.back-button { font-size: 14px; min-height: 48px; }
.count-note { font-size: 12px; color: #b8c1ab; }
.bottom-note { gap: 20px; flex-wrap: wrap; }
.bottom-note span { font-size: 12px; letter-spacing: .6px; color: #b1bba1; }
.bottom-note p { font-size: 16px; color: #bcc5ae; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: #b1bba1;
}
.site-footer > span { min-width: 0; overflow-wrap: anywhere; }
.site-footer > span:nth-child(2) { text-align: right; }
.site-footer > span:last-child { justify-self: end; }
dialog p { font-size: 16px; line-height: 1.75; }
#toast { font-size: 14px; }
.result-head .eyebrow { font-size: 12px; }
.brief-card .brief-overline { font-size: 12px; letter-spacing: .7px; line-height: 1.5; }
.brief-overview { font-size: 16px; line-height: 1.75; }
.brief-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px 28px;
  margin: 0;
  padding-top: 20px;
}
.brief-detail-grid > .brief-detail { display: block; min-width: 0; margin: 0; }
.brief-detail dt {
  display: block;
  font-size: 12px;
  letter-spacing: .6px;
  color: #b6c1a3;
  margin: 0 0 6px;
  line-height: 1.5;
}
.brief-detail dd {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  text-align: left;
  max-width: none;
  overflow-wrap: anywhere;
}
.brief-extra { font-size: 14px; line-height: 1.75; }
.next-step .eyebrow { font-size: 12px; letter-spacing: .7px; }
.next-step h3 { font-size: 20px; line-height: 1.4; }
.next-step p { font-size: 15px; line-height: 1.7; }
.next-step ul { font-size: 14px; line-height: 1.7; }
.readiness { font-size: 12px; padding: 7px 10px; }
.result-privacy { font-size: 12px; line-height: 1.6; color: #b6c1a3; }
.result-contact strong { font-size: 15px; }
.result-contact span { font-size: 14px; }
.result-contact p { font-size: 12px; line-height: 1.6; }
.text-button { font-size: 14px; }
.copy-fallback textarea { font-size: 14px; }

@media (max-width: 1000px) {
  .stepper li { flex-direction: column; text-align: center; gap: 7px; }
  .required-note { display: none; }
  .form-navigation .primary-button { margin-left: auto; }
}
@media (max-width: 800px) {
  .direction-panel { gap: 0 22px; }
  .live-project dd { max-width: none; }
  .bottom-note span { font-size: 12px; }
  .bottom-note p { font-size: 16px; }
}
@media (max-width: 600px) {
  .site-header .nav-active { display: none; }
  .site-header nav { gap: 0; }
  .brief-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-footer { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .site-footer > span { order: initial; width: auto; margin: 0; }
  .site-footer > span:nth-child(2) { order: initial; width: auto; }
  .site-footer > span:last-child { justify-self: center; margin-left: 0; text-align: center; }
}
@media (max-width: 480px) {
  .wordmark span { font-size: 10px; letter-spacing: .6px; }
  .site-header .nav-link { font-size: 0; min-width: 44px; }
  .intro .eyebrow { font-size: 12px; letter-spacing: .6px; line-height: 1.5; }
  .intro-description { font-size: 16px; max-width: none; }
  .direction-panel { grid-template-columns: 1fr; gap: 15px; padding: 19px 20px; }
  .direction-panel h2 { font-size: 25px; }
  .direction-panel h2 br { display: none; }
  .live-project { border-left: 0; border-top: 1px solid var(--line); padding: 15px 0 0; }
  .summary-heading { font-size: 12px; }
  .live-project dt, .live-project dd { font-size: 14px; }
  .planner-label, .step-count { font-size: 11px; letter-spacing: .4px; }
  .stepper { gap: 4px; }
  .stepper li { font-size: 12px; gap: 7px; }
  .stepper b { overflow-wrap: normal; }
  .step-description { font-size: 16px; }
  .field-label, .field legend { font-size: 15px; }
  .field-help { font-size: 14px; }
  .choice { min-height: 155px; padding: 15px 12px; }
  .choice-icon { margin-bottom: 12px; }
  .choice-copy strong { font-size: 15px; }
  .choice-copy small { font-size: 14px; }
  .chip { font-size: 14px; padding: 10px 12px; }
  .form-navigation { gap: 8px; }
  .primary-button, .secondary-button { font-size: 14px; padding: 12px 14px; gap: 12px; }
  .back-button { font-size: 14px; }
  .platform-grid .choice { min-height: 96px; padding: 15px 13px; }
  .platform-grid .choice-icon { margin-bottom: 0; }
  .bottom-note span { font-size: 12px; line-height: 1.6; }
  .bottom-note p { font-size: 16px; }
  .site-footer { font-size: 14px; row-gap: 12px; }
  .brief-detail-grid { grid-template-columns: 1fr; }
  .result-actions .secondary-button { font-size: 14px; padding: 12px 10px; flex: 1 1 130px; }
  .result-contact strong { font-size: 15px; }
  .result-footer { gap: 12px; flex-wrap: wrap; }
}
@media print {
  .brief-card .brief-overline, .brief-detail dt, .eyebrow { color: #765b24; }
  .brief-overview, .brief-extra, .brief-detail dd, .next-step p, .next-step ul { color: #333; }
  .readiness { color: #333; }
}

/* Consistent label/icon spacing across actions and breakpoints. */
.primary-button, .secondary-button, .back-button, .text-button, .nav-link,
.result-actions .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
button > span[aria-hidden="true"], button > svg[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  line-height: 1;
}

/* Final readability and brand refinements. */
.privacy-note span, .result-privacy, .result-contact p, .required-note,
.count-note, .bottom-note span { font-size: 14px; line-height: 1.65; }
.site-footer { font-size: 15px; }
.logo-lockup {
  border: 0;
  border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 65%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 65%, transparent 100%);
}
.next-step-contact { margin-top: 18px; text-decoration: none; max-width: 100%; white-space: normal; text-align: center; }
.next-step-contact > span[aria-hidden="true"] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 18px; height: 18px; line-height: 1; }
.next-step .contact-action-note { font-size: 14px; margin-top: 10px; line-height: 1.65; }
@media (max-width: 480px) {
  .next-step-contact { width: 100%; }
}
@media print {
  .next-step-contact, .contact-action-note { display: none !important; }
  .logo-lockup { -webkit-mask-image: none; mask-image: none; }
}

/* Underline the edit label, leaving its arrow undecorated. */
#edit-project { text-decoration: none; }
#edit-project .action-label { text-decoration: underline; text-underline-offset: 4px; }

/* Optical alignment for the left-arrow glyph beside action labels. */
.back-button > span[aria-hidden="true"],
#edit-project > span[aria-hidden="true"] { transform: translateY(-2px); }
.field-label .required, .field legend .required, .required { color: #ff6b6b; }
.required-note { display: block; }
.required-note::first-letter { color: #ff6b6b; }
@media (max-width: 1000px) { .required-note { display: none; } }
