/* Newsletter and privacy additions for the protected Lúwāra version-4 visual system. */
.newsletter {
  background: #282421;
  color: #f7efe2;
  padding: clamp(5rem, 9vw, 8.5rem) clamp(1.25rem, 5vw, 4.5rem);
}

.newsletter-inner {
  width: min(100%, 82rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.newsletter .eyebrow {
  color: #e06a5c;
  margin: 0 0 1.6rem;
}

.newsletter-copy h2 {
  max-width: 10ch;
  margin: 0;
  color: #f7efe2;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.newsletter-copy > p:last-child {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: #d8cfc3;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.newsletter-form-shell {
  border-top: 0.28rem solid #a80713;
  padding-top: 2rem;
}

.ml-block-form {
  display: grid;
  gap: 1.35rem;
}

.newsletter-field label {
  display: block;
  margin-bottom: 0.65rem;
  color: #f7efe2;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-field input[type="email"] {
  width: 100%;
  min-height: 3.75rem;
  border: 1px solid rgba(247, 239, 226, 0.48);
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1rem;
}

.newsletter-field input[type="email"]::placeholder {
  color: #bfb5aa;
}

.newsletter-field input[type="email"]:focus {
  outline: 2px solid #e06a5c;
  outline-offset: 2px;
  border-color: #e06a5c;
}

.newsletter-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: #e5dcd0;
  font-size: 0.88rem;
  line-height: 1.45;
  cursor: pointer;
}

.newsletter-consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  accent-color: #a80713;
}

.newsletter-privacy {
  margin: 0;
  color: #bfb5aa;
  font-size: 0.78rem;
  line-height: 1.55;
}

.newsletter-privacy a {
  color: #f7efe2;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.newsletter-submit button {
  width: 100%;
  min-height: 3.75rem;
  border: 1px solid #a80713;
  border-radius: 0;
  background: #a80713;
  color: #fff;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.newsletter-submit button:hover {
  background: #870510;
  border-color: #870510;
}

.newsletter-submit button:focus-visible,
.newsletter a:focus-visible {
  outline: 2px solid #e06a5c;
  outline-offset: 3px;
}

.ml-form-successBody h3 {
  margin: 0 0 1rem;
  color: #f7efe2;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  font-weight: 500;
}

.ml-form-successBody p {
  margin: 0;
  color: #d8cfc3;
  line-height: 1.55;
}

.newsletter-spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: newsletter-spin .8s linear infinite;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@keyframes newsletter-spin { to { transform: rotate(360deg); } }

/* Privacy notice uses the same restrained cream/red/charcoal language. */
.privacy-page {
  margin: 0;
  background: #f7efe2;
  color: #282421;
}

.privacy-header {
  min-height: 8.8rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(40,36,33,.18);
}

.privacy-header .brand img { width: min(10rem, 40vw); }
.privacy-back { color: #282421; text-decoration: none; border-bottom: 2px solid #a80713; padding-bottom: .2rem; }
.privacy-main { width: min(100% - 2.5rem, 52rem); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 0; }
.privacy-title { border-left: .2rem solid #a80713; padding-left: clamp(1.2rem, 3vw, 2rem); margin-bottom: 4rem; }
.privacy-title .eyebrow { color: #a80713; }
.privacy-title h1 { margin: 1rem 0 0; font-size: clamp(3.5rem, 9vw, 7rem); line-height: .92; letter-spacing: -.055em; font-weight: 500; }
.privacy-title p { max-width: 42rem; margin: 1.5rem 0 0; font-size: 1.08rem; line-height: 1.65; }
.privacy-updated { color: #625b55; font-size: .86rem !important; }
.privacy-notice section { padding: 2.2rem 0; border-top: 1px solid rgba(40,36,33,.16); }
.privacy-notice h2 { margin: 0 0 1rem; color: #a80713; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; }
.privacy-notice p { margin: 0; line-height: 1.75; }
.privacy-notice p + p { margin-top: 1rem; }
.privacy-notice a { color: #a80713; text-decoration: underline; text-underline-offset: .2rem; }
.privacy-footer { padding: 2rem clamp(1.25rem, 5vw, 4.5rem); background: #282421; color: #f7efe2; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.privacy-footer a { color: #f7efe2; }

@media (max-width: 760px) {
  .newsletter {
    padding: 4.5rem 1.25rem;
  }
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .newsletter-copy h2 {
    max-width: 9ch;
    font-size: clamp(3rem, 14vw, 4.6rem);
  }
  .newsletter-copy > p:last-child {
    font-size: 1rem;
  }
  .newsletter-form-shell {
    padding-top: 1.5rem;
  }
  .privacy-header {
    min-height: 7rem;
    padding: 1.25rem;
  }
  .privacy-back {
    font-size: .78rem;
    text-align: right;
  }
  .privacy-main {
    width: min(100% - 2.5rem, 52rem);
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-spinner { animation: none; }
}


/* Rev4 accessibility floor and approved content additions. */
.eyebrow,
.mini-label,
.section-kicker span,
.section-kicker p,
.test-number,
.invitation-grid h3,
.social-handle,
footer,
.footer-brand span,
.nav-cta {
  font-size: max(0.78rem, 12.5px);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #f7efe2 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #282421 !important;
}

.framework-assurance {
  max-width: 62rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) auto 0;
  color: var(--cream);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  text-align: center;
}

.open-questions {
  background: var(--paper);
  color: var(--charcoal);
}

.open-questions-heading {
  max-width: 74rem;
}

.open-questions-heading h2 {
  max-width: 68rem;
  margin: 0;
  letter-spacing: -0.05em;
  font-size: clamp(2.25rem, 4.8vw, 5.1rem);
  font-weight: 500;
  line-height: 1.02;
}

.open-questions-heading > p:last-child {
  max-width: 56rem;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.open-questions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.open-questions-grid article {
  min-width: 0;
  padding: clamp(1.6rem, 3vw, 3rem);
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.open-questions-grid article > p:last-child {
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.building-roadmap,
.building-boundary {
  border-left: 2px solid var(--red);
  padding-left: 1.25rem;
}

@media (min-width: 761px) {
  .test-card h3 {
    min-height: 2.4em;
  }
}

.invitation-top .invitation-status {
  max-width: 52rem;
  margin-top: 2rem;
  color: var(--white);
  font-weight: 600;
}

.invitation-top .invitation-status + p {
  margin-top: 1rem;
}

@media (max-width: 760px) {
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: .12em;
  }

  .open-questions-grid {
    grid-template-columns: 1fr;
  }

  .open-questions-grid article {
    padding: 1.4rem 1.25rem;
  }

  .open-questions-grid article > p:last-child {
    margin-top: 1.75rem;
  }

  .framework-assurance {
    text-align: left;
  }
}

.not-found-page .privacy-title > p {
  margin-top: 1.5rem;
}

/* Founder-approved review refinements, 2 November 2026. */
.framework-experience {
  max-width: 62rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) auto 0;
  color: var(--cream);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
}
.framework-experience + .framework-assurance {
  margin-top: 1.5rem;
  text-align: left;
}
.invitation-grid {
  gap: clamp(1rem, 2.5vw, 2rem);
  background: transparent;
  border: 0;
}
.invitation-grid article {
  border: 1px solid rgba(247,239,226,.45);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.invitation-grid h3 {
  min-height: 2.8em;
  font-size: max(.88rem, 14px);
  line-height: 1.4;
}
.founder-introduction {
  max-width: 58rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(247,239,226,.45);
}
.founder-introduction h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.founder-introduction p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
}
.founder-introduction .founder-signature {
  margin-top: 1.25rem;
  font-size: .88rem;
  font-weight: 500;
}
@media (max-width: 760px) {
  .invitation-grid { gap: 1rem; }
  .invitation-grid h3 { min-height: 0; }
  .invitation-grid article { padding: 1.5rem; }
}

/* Founder-approved card numeral refinement, 3 November 2026.
   The larger line box is offset by 12px less heading margin so card
   dimensions and heading/body positions remain unchanged. */
.test-number {
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
}
.test-card h3 {
  margin-top: calc(clamp(4rem, 8vw, 7rem) - 12px);
}
@media (max-width: 800px) {
  .test-card h3 { margin-top: 28px; }
}

