/* Shared interior-page layout. Homepage styles remain in styles.css. */
.subpage-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 172px 0 76px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.subpage-hero .shell {
  position: relative;
}

.subpage-matrix {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .6;
  z-index: -1;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 54px;
}

.subpage-hero h1 {
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  line-height: 1.08;
  max-width: 960px;
}

.subpage-intro {
  max-width: 630px;
  margin-top: 28px;
  font-size: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  font-size: 16px;
}

.text-link span {
  color: var(--pink);
}

.quiet {
  color: #85888b;
}

.small-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.conversation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding-top: 84px;
  padding-bottom: 84px;
}

.conversation h2 {
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  line-height: 1.12;
}

.conversation h2+p {
  margin-top: 24px;
  max-width: 390px;
}

.policy-hero {
  padding-bottom: 58px;
}

.policy-hero h1 {
  font-size: clamp(3rem, 5.6vw, 5rem);
}

.draft-note {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  margin-top: 28px;
  color: var(--muted);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 740px);
  justify-content: space-between;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 100px;
}

.policy-nav {
  align-self: start;
  position: sticky;
  top: 120px;
}

.policy-nav .small-label {
  margin-bottom: 24px;
}

.policy-nav a {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  font-size: 15px;
  color: #bfc1c3;
}

.policy-nav a:hover {
  color: var(--pink);
}

.policy-nav a span {
  color: #777a7d;
  font: 11px var(--mono);
  padding-top: 3px;
}

.policy-preview-note {
  padding: 20px 24px;
  background: #151516;
  border-left: 2px solid var(--pink);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.policy-copy section {
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  scroll-margin-top: 110px;
}

.policy-copy section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.policy-copy h2 {
  margin: 12px 0 18px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.policy-copy section p:not(.small-label) {
  font-size: 17px;
  line-height: 1.8;
}

@media (max-width: 800px) {
  .subpage-hero {
    padding-top: 145px;
    padding-bottom: 56px;
  }

  .back-link {
    margin-bottom: 36px;
  }

  .subpage-intro {
    font-size: 18px;
  }

  .conversation {
    gap: 48px;
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .policy-nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .policy-nav .small-label {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }

  .policy-nav a {
    font-size: 13px;
    gap: 10px;
  }
}

/* Compact contact masthead and unwired form preview. */
.contact-layout .header-inner {
  min-height: 88px;
}

.contact-layout .header .brand {
  transform: none;
}

.contact-layout .header .brand img {
  width: 175px;
}

.contact-hero {
  padding: 132px 0 48px;
}

.contact-hero .back-link {
  margin-bottom: 30px;
}

.contact-hero h1 {
  max-width: none;
  width: 100%;
  font-size: clamp(1.7rem, 6.1vw, 5.5rem);
  white-space: nowrap;
}

.contact-page .conversation {
  padding-top: 64px;
  padding-bottom: 72px;
  gap: 8%;
  grid-template-columns: 1fr 1fr;
}

.conversation-copy h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  line-height: 1.2;
}

.contact-form {
  display: grid;
  gap: 22px;
  min-width: 0;
}

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

.form-field label {
  font-size: 16px;
}

.optional {
  color: var(--muted);
  font-size: 13px;
  margin-left: 4px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #343437;
  border-radius: 3px;
  background: #151516;
  color: var(--fg);
  padding: 13px 15px;
  font: inherit;
  line-height: 1.5;
  transition: border-color .2s;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #55555a;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-color: transparent;
}

.form-honeypot {
  display: none;
}

.verification-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border: 1px dashed #343437;
  color: var(--muted);
  font-size: 13px;
  max-width: 300px;
}

.verification-placeholder span {
  color: var(--pink);
}

.form-actions {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.form-actions .button:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.form-actions p {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .contact-page .conversation {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 48px;
  }
}

@media (max-width: 720px) {
  .contact-layout .header-inner {
    min-height: 102px;
  }

  .contact-layout .header nav {
    padding-top: 5px;
  }

  .contact-layout .header .brand img {
    width: 150px;
  }

  .contact-hero {
    padding-top: 138px;
    padding-bottom: 32px;
  }

  .contact-hero .back-link {
    margin-bottom: 24px;
  }
}

/* Full privacy notice: long-form reading, section navigation, and disclosure table. */
.policy-copy { min-width: 0; overflow-wrap: anywhere; }
.policy-copy > p, .policy-copy section > p { margin: 0 0 20px; }
.policy-copy h2 { margin: 32px 0 22px; font-size: 25px; line-height: 1.3; }
.policy-copy section h2 { margin-top: 0; }
.policy-copy h3 { margin: 30px 0 16px; font-size: 20px; line-height: 1.4; }
.policy-copy ul { padding-left: 24px; margin: 16px 0 24px; }
.policy-copy li { padding-left: 4px; margin-bottom: 12px; color: #bfc1c3; font-size: 17px; line-height: 1.8; }
.policy-copy a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.policy-copy a:hover { color: var(--pink); }
.policy-copy address { font-style: normal; color: #bfc1c3; line-height: 1.8; font-size: 17px; }
.policy-table-wrap { overflow-x: auto; margin: 24px 0; }
.policy-table-wrap:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.policy-copy table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 15px; line-height: 1.6; color: #bfc1c3; }
.policy-copy caption { text-align: left; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.policy-copy th, .policy-copy td { padding: 14px; border: 1px solid #343437; vertical-align: top; text-align: left; }
.policy-copy thead th { color: var(--fg); background: #19191b; font-weight: 500; }
.policy-copy tbody th { font-weight: 400; width: 32%; }
.policy-copy td:last-child { white-space: nowrap; }
@media (min-width: 801px) {
  .policy-nav { max-height: calc(100dvh - 144px); overflow-y: auto; padding-right: 10px; }
  .policy-nav a { padding: 9px 0; }
}
