:root {
  --ink: #294d4b;
  --ink-soft: #55706d;
  --teal: #5d9995;
  --teal-deep: #3f7e7a;
  --mint: #b9dcd3;
  --mint-pale: #e9f3ef;
  --peach: #e49b7f;
  --peach-pale: #f8e6dc;
  --cream: #f7f4ef;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: rgba(41, 77, 75, 0.14);
  --shadow: 0 26px 70px rgba(63, 126, 122, 0.13);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  box-shadow: inset -6px -5px 0 var(--mint-pale);
}

.header-link {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.header-link:hover {
  color: var(--teal-deep);
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-width: 0;
  margin-left: auto;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.site-navigation::-webkit-scrollbar {
  display: none;
}

#category-navigation {
  display: contents;
}

.header-cta {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  min-height: 700px;
  padding-block: 70px 88px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--peach);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  max-width: 700px;
  margin-bottom: 25px;
  font-size: clamp(4rem, 7vw, 6.6rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.intro {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--teal-deep);
  border-radius: 999px;
  font-size: 0.86rem;
  font-family: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--teal-deep);
  color: var(--white);
}

.secondary {
  background: transparent;
  color: var(--teal-deep);
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
  list-style: none;
}

.signals li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--peach);
  vertical-align: 1px;
}

.brand-art {
  position: relative;
  margin: 0;
}

.brand-art::before {
  content: "";
  position: absolute;
  inset: 11% 8% 5% 10%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(185, 220, 211, 0.34);
  filter: blur(2px);
}

.brand-art img {
  display: block;
  width: 100%;
  border-radius: 46% 54% 48% 52% / 51% 45% 55% 49%;
  box-shadow: var(--shadow);
}

.bubble {
  position: absolute;
  z-index: 1;
  border: 2px solid rgba(93, 153, 149, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset -8px -8px 15px rgba(185, 220, 211, 0.5);
}

.bubble-one {
  top: 4%;
  right: -2%;
  width: 58px;
  height: 58px;
}

.bubble-two {
  right: 7%;
  bottom: 9%;
  width: 27px;
  height: 27px;
}

.support-section {
  padding-block: 110px 122px;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.support-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  align-content: start;
  min-height: 310px;
  padding: 34px 34px 28px 0;
  border-right: 1px solid var(--line);
}

.support-card + .support-card {
  padding-left: 34px;
}

.support-card:last-child {
  border-right: 0;
}

.card-number {
  margin: 0;
  padding-top: 5px;
  color: var(--peach);
  font-size: 0.75rem;
  font-weight: 800;
}

.support-card h3 {
  grid-column: 2;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.support-card p {
  grid-column: 2;
  max-width: 300px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.principles {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
  padding-block: 130px;
}

.principles-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.principles-art-placeholder {
  position: absolute;
  inset: 0;
}

.principles-art img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}

.principles-art img[hidden],
.principles-art-placeholder[hidden] {
  display: none;
}

.large-bubble {
  position: absolute;
  inset: 7% 4% 2% 0;
  border: 2px solid rgba(93, 153, 149, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.95), rgba(185, 220, 211, 0.66) 48%, rgba(93, 153, 149, 0.3));
  box-shadow: inset 24px 20px 50px rgba(255, 255, 255, 0.75), var(--shadow);
}

.large-bubble::before,
.large-bubble::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.large-bubble::before {
  top: 20%;
  left: 23%;
  width: 90px;
  height: 34px;
  transform: rotate(-28deg);
}

.large-bubble::after {
  right: 18%;
  bottom: 16%;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.leaf {
  position: absolute;
  z-index: 2;
  width: 74px;
  height: 22px;
  border: 2px solid var(--peach);
  border-radius: 100% 0 100% 0;
}

.leaf-one {
  top: 18%;
  right: -1%;
  transform: rotate(-18deg);
}

.leaf-two {
  bottom: 16%;
  left: -4%;
  transform: rotate(36deg);
}

.principles-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.principle-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.principle-list > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list span {
  color: var(--peach);
  font-size: 0.74rem;
  font-weight: 800;
}

.principle-list p {
  margin: 0;
  color: var(--ink-soft);
}

.pilot {
  padding-block: 92px;
  background: var(--teal-deep);
  color: var(--white);
}

.pilot-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr auto;
  gap: 60px;
  align-items: center;
}

.eyebrow.light {
  color: #f5b79f;
}

.pilot h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.pilot p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.77);
}

.order-section {
  padding-block: 112px 120px;
  background: var(--paper);
}

.order-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.order-copy,
.order-form {
  min-width: 0;
}

.order-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.order-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.order-boundary {
  display: grid;
  gap: 7px;
  margin-top: 34px;
  padding: 21px 24px;
  border-left: 3px solid var(--peach);
  background: var(--peach-pale);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.order-boundary strong {
  color: var(--ink);
}

.order-form {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.form-grid label,
.consent-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.form-grid small {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
}

.full-width {
  grid-column: 1 / -1;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid rgba(41, 77, 75, 0.24);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.order-form input,
.order-form select {
  min-height: 50px;
  padding: 0 14px;
}

.order-form textarea {
  min-height: 142px;
  padding: 13px 14px;
  line-height: 1.5;
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--teal-deep);
  outline: 3px solid rgba(93, 153, 149, 0.18);
}

.consent-field {
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  margin: 25px 0 22px;
  color: var(--ink-soft);
  font-weight: 550;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--teal-deep);
}

.privacy-notice {
  margin: -7px 0 22px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.privacy-notice strong {
  color: var(--ink);
}

.privacy-notice a,
.consent-field a,
.site-footer a,
.privacy-page a {
  color: var(--teal-deep);
  text-underline-offset: 0.16em;
}

.turnstile-widget {
  max-width: 100%;
  min-height: 65px;
  margin-bottom: 22px;
}

.submit-button {
  min-width: 190px;
}

.form-response {
  min-height: 26px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  outline: none;
}

.form-response.is-success {
  color: var(--teal-deep);
  font-weight: 700;
}

.form-response.is-error {
  color: #9b3d32;
  font-weight: 700;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #f5b79f;
  box-shadow: 0 0 0 5px rgba(245, 183, 159, 0.14);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 50px;
  align-items: start;
  padding-block: 52px 60px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.site-footer p {
  margin: 0;
}

.disclaimer {
  max-width: 520px;
}

.privacy-page {
  max-width: 820px;
  padding-block: 92px 112px;
}

.privacy-page > h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(3.3rem, 7vw, 5.7rem);
}

.privacy-lead {
  max-width: 720px;
  margin-bottom: 64px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.privacy-page section {
  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.privacy-page section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
}

.privacy-page section p {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.privacy-page section p:last-child {
  margin-bottom: 0;
}

.privacy-version {
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.article-index,
.article-page {
  padding-block: 84px 120px;
}

.article-index > h1,
.article-header h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
}

.article-index-intro,
.article-deck {
  max-width: 760px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.article-back {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 62px;
}

.article-card {
  display: flex;
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(63, 126, 122, 0.08);
  flex-direction: column;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-card h2 {
  margin: 42px 0 18px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.article-card p {
  max-width: 560px;
  color: var(--ink-soft);
}

.article-meta {
  color: var(--peach);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-read {
  margin-top: auto;
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.article-header {
  max-width: 980px;
}

.article-header .article-meta {
  margin-top: 28px;
}

.article-body {
  max-width: 760px;
  margin: 80px auto 0;
  font-size: 1.06rem;
  line-height: 1.82;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  margin-top: 2.4em;
  margin-bottom: 0.75em;
}

.article-body h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.article-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.article-body h4,
.article-body h5,
.article-body h6 {
  font-size: 1rem;
}

.article-body p,
.article-body li,
.article-body blockquote {
  color: #3f5f5c;
}

.article-body li {
  margin-bottom: 0.55em;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 18px 24px;
  border-left: 3px solid var(--peach);
  background: var(--peach-pale);
}

.article-body code {
  padding: 0.12em 0.35em;
  border-radius: 5px;
  background: var(--mint-pale);
}

.article-body pre {
  overflow-x: auto;
  margin: 2rem 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--teal-deep);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
}

.article-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.article-body hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.article-body figure {
  margin: 3rem 0;
}

.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-body figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

.menu-button,
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  cursor: pointer;
}

.menu-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-button:hover,
.menu-close:hover {
  border-color: rgba(63, 126, 122, 0.42);
  background: var(--white);
  color: var(--teal-deep);
}

.menu-button:focus-visible,
.menu-close:focus-visible,
.text-button:focus-visible,
.access-choice:focus-visible,
.request-card-button:focus-visible,
.detail-action:focus-visible,
.menu-links a:focus-visible,
.menu-access a:focus-visible {
  outline: 3px solid rgba(93, 153, 149, 0.3);
  outline-offset: 3px;
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(30, 50, 49, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.menu-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 91;
  display: flex;
  width: min(390px, 92vw);
  border-left: 1px solid var(--line);
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(41, 77, 75, 0.18);
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 200ms ease, visibility 0s linear 200ms;
}

.menu-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.menu-header {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 16px 22px 16px 30px;
  border-bottom: 1px solid var(--line);
}

.menu-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.menu-close {
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 50%;
  font-size: 1.65rem;
  line-height: 1;
}

.menu-content {
  display: flex;
  min-height: 0;
  padding: 28px 30px 36px;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
}

.menu-links,
.menu-private-links {
  display: grid;
}

.menu-links a,
.menu-private-links a,
.menu-access-link {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.menu-links a:hover,
.menu-private-links a:hover,
.menu-access-link:hover,
.menu-links a[aria-current="page"],
.menu-private-links a[aria-current="page"],
.menu-access-link[aria-current="page"] {
  color: var(--teal-deep);
}

.menu-access {
  display: grid;
  margin-top: 26px;
}

.menu-status {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.menu-account {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.menu-section-title {
  margin: 0 0 12px;
  color: var(--peach);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-identity {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal-deep);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.text-button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.menu-open {
  overflow: hidden;
}

.private-body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--cream) 0, var(--cream) 47%, var(--paper) 100%);
}

.private-body .site-header > .menu-button {
  margin-left: auto;
}

.access-page {
  display: grid;
  min-height: 660px;
  padding-block: 70px 100px;
  place-items: start center;
}

.access-panel {
  width: min(680px, 100%);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.access-panel h1,
.private-heading h1,
.request-detail h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.25rem);
}

.private-introduction {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.access-choices {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.access-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 94px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.access-choice:hover {
  border-color: rgba(63, 126, 122, 0.38);
  box-shadow: 0 12px 28px rgba(63, 126, 122, 0.1);
  transform: translateY(-2px);
}

.access-choice:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.access-choice strong,
.access-choice small {
  display: block;
}

.access-choice small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.access-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint-pale);
  color: var(--teal-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.access-choice-arrow {
  color: var(--peach);
  font-size: 2rem;
}

.invitation-enrollment {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 36px;
}

.invitation-enrollment[hidden] {
  display: none;
}

.invitation-enrollment h2 {
  margin: 3px 0 8px;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.invitation-enrollment p {
  color: var(--ink-soft);
}

.invitation-enrollment .button {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.access-response {
  margin-top: 24px;
}

.private-page {
  min-height: 680px;
  padding-block: 70px 110px;
}

.private-heading {
  display: flex;
  gap: 36px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 38px;
}

.private-heading h1 {
  margin-bottom: 0;
}

.private-count {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 750;
  white-space: nowrap;
}

.private-toolbar {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: var(--mint-pale);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.private-message {
  margin: 0;
  padding: 22px 20px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.private-message.is-error {
  color: #9b3d32;
  font-weight: 700;
}

.private-message:empty {
  display: none;
}

.request-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.request-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.request-card:last-child {
  border-radius: 0 0 18px 18px;
}

.request-card-button {
  display: grid;
  gap: 9px;
  width: 100%;
  padding: 23px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease;
}

.request-card-button:hover {
  background: rgba(233, 243, 239, 0.56);
}

.request-card-top,
.request-card-person {
  display: flex;
  gap: 24px;
  align-items: baseline;
  justify-content: space-between;
}

.request-card-top {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.request-card-top span:last-child {
  color: var(--teal-deep);
  font-weight: 800;
}

.request-card-top span:last-child::after {
  content: "  ›";
  color: var(--peach);
}

.request-card-person {
  font-weight: 750;
}

.request-card-person span:last-child,
.request-card-timing {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.load-more {
  width: auto;
  margin-top: 26px;
}

.detail-back {
  margin-bottom: 38px;
}

.detail-heading {
  margin-bottom: 30px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-fact {
  min-width: 0;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.detail-fact:nth-child(even) {
  border-right: 0;
}

.detail-fact dt {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-fact dd {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.detail-action {
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.request-notes {
  margin-top: 34px;
  padding: 28px;
  border-left: 3px solid var(--peach);
  background: var(--peach-pale);
}

.request-notes h2 {
  margin-bottom: 15px;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.request-notes p {
  margin-bottom: 0;
  color: #3f5f5c;
  white-space: pre-wrap;
}

.detail-retention {
  margin-top: 34px;
}

.invite-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(360px, 1.35fr);
  gap: 34px 60px;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(63, 126, 122, 0.08);
}

.invite-panel h2,
.people-section h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.invite-panel p {
  color: var(--ink-soft);
}

.invite-form {
  align-self: center;
}

.invite-form label,
.invitation-result label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 750;
}

.invite-form-row,
.copy-row {
  display: flex;
  gap: 10px;
}

.invite-form input,
.invitation-result input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(41, 77, 75, 0.24);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.invite-form input:focus,
.invitation-result input:focus {
  border-color: var(--teal-deep);
  outline: 3px solid rgba(93, 153, 149, 0.18);
}

.invitation-result,
.invite-panel > .form-response {
  grid-column: 1 / -1;
}

.invitation-result {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.compact-button {
  min-height: 48px;
  white-space: nowrap;
}

.field-help {
  margin: 10px 0 0;
  font-size: 0.78rem;
}

.people-section {
  margin-top: 72px;
}

.section-title-row {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title-row h2 {
  margin: 0;
}

.people-list {
  display: grid;
  gap: 12px;
}

.person-card {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.person-card.is-revoked {
  opacity: 0.7;
}

.person-copy h3 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.person-copy p {
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.person-meta {
  font-size: 0.75rem !important;
}

.person-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}

.danger-button {
  color: #9b3d32;
}

.document-page-heading {
  align-items: flex-end;
}

.document-page-shell {
  width: calc(100% - 48px);
}

.document-page-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#document-library-button .private-count {
  margin: 0;
  color: inherit;
  opacity: 0.7;
}

.document-workspace {
  display: block;
}

.document-library-dialog {
  width: min(460px, 100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 auto 0 0;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 20px 0 60px rgba(41, 77, 75, 0.18);
}

.document-library-dialog::backdrop {
  background: rgba(30, 50, 49, 0.48);
}

.document-library-shell {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.document-library-heading {
  display: flex;
  min-height: 104px;
  padding: 22px 24px 20px 30px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 18px;
}

.document-library-heading h2 {
  margin: 2px 0 0;
}

.document-library-heading .menu-close {
  margin-left: auto;
  flex-shrink: 0;
}

.document-library-content {
  min-height: 0;
  padding: 24px 30px 36px;
  flex: 1;
  overflow-y: auto;
}

.document-library-content label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.document-library-content input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(41, 77, 75, 0.24);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.document-view-heading,
.document-editor-heading,
.document-actions,
.document-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.document-view-heading h2,
.document-editor-heading h2 {
  margin: 0;
}

.document-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.document-list-empty {
  margin-top: 24px;
  color: var(--ink-soft);
}

.document-list-item {
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.document-list-item:hover,
.document-list-item[aria-current="page"] {
  border-color: var(--line);
  background: var(--paper);
}

.document-list-item strong,
.document-list-item span,
.document-list-item small {
  display: block;
}

.document-list-item span {
  margin-top: 5px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.document-list-item small,
.document-meta {
  margin-top: 8px;
  color: var(--ink-soft);
}

.document-view,
.document-editor,
.document-empty {
  min-width: 0;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
}

.document-view-heading,
.document-editor-heading {
  align-items: flex-start;
}

.document-summary {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.55;
}

.document-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.internal-document-body {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  margin-top: 36px;
}

.internal-document-body > :not(.document-table-scroll):not(pre):not(hr) {
  max-width: 76ch;
}

.document-table-scroll {
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.document-table-scroll table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.document-table-scroll th,
.document-table-scroll td {
  padding: 12px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.document-table-scroll th:last-child,
.document-table-scroll td:last-child {
  border-right: 0;
}

.document-table-scroll tbody tr:last-child td {
  border-bottom: 0;
}

.document-table-scroll th {
  background: var(--mint-pale);
  color: var(--teal-deep);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.document-table-scroll tbody tr:nth-child(even) {
  background: rgba(241, 232, 221, 0.34);
}

.document-form {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}

.document-form label {
  margin-top: 12px;
  font-weight: 700;
}

.document-form input,
.document-form select,
.document-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(41, 77, 75, 0.24);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.document-form textarea[name="body_markdown"] {
  min-height: 440px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.55;
  resize: vertical;
}

.document-form small {
  color: var(--ink-soft);
}

.document-form-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.document-form-actions .form-response {
  margin: 0;
}

.marketing-page {
  max-width: 1040px;
}

.marketing-composer {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(420px, 1.3fr);
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(63, 126, 122, 0.08);
}

.marketing-composer-copy h2,
.marketing-jobs-section h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.marketing-composer-copy > p:last-child {
  color: var(--ink-soft);
}

.marketing-idea-form {
  display: grid;
  gap: 10px;
}

.marketing-idea-form label {
  font-weight: 750;
}

.marketing-idea-form textarea {
  width: 100%;
  min-height: 250px;
  padding: 16px;
  border: 1px solid rgba(41, 77, 75, 0.24);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.marketing-idea-form textarea:focus {
  border-color: var(--teal-deep);
  outline: 3px solid rgba(93, 153, 149, 0.18);
}

.marketing-field-meta,
.marketing-form-actions,
.marketing-job-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.marketing-field-meta {
  align-items: flex-start;
  color: var(--ink-soft);
}

.marketing-field-meta small:first-child {
  max-width: 52ch;
}

#marketing-character-count {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.marketing-form-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

.marketing-form-actions .form-response {
  margin: 0;
}

.marketing-jobs-section {
  margin-top: 72px;
}

.marketing-job-list {
  display: grid;
  gap: 12px;
}

.marketing-job-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.marketing-job-heading {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.marketing-job-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint-pale);
  color: var(--teal-deep);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketing-job-status.is-failed {
  background: #fbe8e4;
  color: #9b3d32;
}

.marketing-job-text {
  margin: 20px 0 18px;
  color: #3f5f5c;
  white-space: pre-wrap;
}

.marketing-job-id {
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-wrap: anywhere;
}

@media (max-width: 940px) {
  .marketing-composer {
    grid-template-columns: 1fr;
  }

  .document-library-dialog {
    width: min(420px, 100%);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .brand-art {
    max-width: 700px;
  }

  .section-heading,
  .principles,
  .order-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .principles-art {
    min-height: 440px;
    max-width: 500px;
  }

  .pilot-inner {
    grid-template-columns: 1fr 1fr;
  }

  .status {
    justify-self: start;
  }

  .invite-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .document-page-shell {
    width: 100%;
  }

  .document-page-heading,
  .document-page-shell > .private-message {
    width: calc(100% - 30px);
    margin-right: auto;
    margin-left: auto;
  }

  .document-view,
  .document-editor,
  .document-empty {
    padding: 28px 20px 52px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .document-view-heading h2,
  .document-editor-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .document-summary {
    font-size: 1rem;
  }

  .internal-document-body {
    margin-top: 28px;
  }

  .site-header {
    min-height: 76px;
    padding-block: 12px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .menu-button {
    margin-left: auto;
  }

  .site-navigation {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    gap: 20px;
  }

  .header-link {
    font-size: 0.78rem;
  }

  .header-cta {
    padding: 6px 11px;
  }

  .hero {
    gap: 48px;
    padding-block: 58px 70px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .document-table-scroll table {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .document-table-scroll th,
  .document-table-scroll td {
    padding: 8px 6px;
  }

  .document-view-heading,
  .document-editor-heading,
  .document-actions,
  .document-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .document-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-actions .compact-button {
    grid-column: 1 / -1;
  }

  .signals {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-section,
  .principles,
  .order-section {
    padding-block: 82px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .order-form {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card,
  .support-card + .support-card {
    min-height: auto;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles-art {
    min-height: 330px;
  }

  .pilot-inner,
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pilot-inner > * {
    min-width: 0;
  }

  .status {
    max-width: 100%;
    height: auto;
    padding-block: 10px;
    white-space: normal;
  }

  .pilot {
    padding-block: 72px;
  }

  .pilot h2 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  /* Comfortable minimum reading size for small print */
  .privacy-notice,
  .order-boundary,
  .site-footer {
    font-size: 0.86rem;
  }

  .order-boundary {
    padding: 18px 20px;
  }

  /* Larger, easier hit area for the consent control */
  .consent-field {
    gap: 14px;
    padding: 4px 0;
  }

  .consent-field input {
    width: 24px;
    min-height: 24px;
  }

  /* Inline legal links sit far enough apart to tap cleanly */
  .privacy-notice a,
  .consent-field a,
  .site-footer a {
    display: inline-block;
    padding-block: 2px;
  }

  .site-footer {
    gap: 22px;
  }

  .site-footer {
    padding-block: 42px;
  }

  .privacy-page {
    padding-block: 64px 76px;
  }

  .article-index,
  .article-page {
    padding-block: 58px 82px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .article-card {
    min-height: 290px;
    padding: 26px;
  }

  .article-body {
    margin-top: 58px;
  }

  .menu-header {
    min-height: 76px;
    padding-inline: 20px;
  }

  .menu-content {
    padding: 24px 22px 32px;
  }

  .access-page,
  .private-page {
    min-height: auto;
    padding-block: 46px 72px;
  }

  .access-panel {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .access-choice {
    grid-template-columns: auto 1fr;
  }

  .access-choice-arrow {
    display: none;
  }

  .private-heading,
  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .private-count {
    margin: 0;
  }

  .request-card-top,
  .request-card-person {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .detail-fact,
  .detail-fact:nth-child(even) {
    border-right: 0;
  }

  .invite-panel {
    gap: 28px;
    padding: 26px 20px;
  }

  .invite-form-row,
  .copy-row,
  .person-card,
  .person-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .person-card {
    gap: 20px;
  }

  .compact-button,
  .load-more {
    width: 100%;
  }

  .marketing-composer {
    padding: 26px 20px;
  }

  .marketing-field-meta,
  .marketing-form-actions,
  .marketing-job-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketing-form-actions .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: clamp(3rem, 16vw, 4rem);
  }

  .shell {
    width: min(100% - 24px, 1180px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .article-card {
    transition: none;
  }

  .menu-scrim,
  .menu-drawer,
  .access-choice,
  .request-card-button {
    transition: none;
  }
}
