/* Model Preflight — page-scoped product surface. */

.model-preflight .pf-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 52px);
  align-items: start;
  padding-bottom: clamp(34px, 5vw, 58px);
}

.model-preflight .pf-hero__copy,
.model-preflight .pf-profile-wrap,
.model-preflight .pf-proof,
.model-preflight .pf-profile,
.model-preflight .pf-profile > div {
  min-width: 0;
}

.model-preflight .pf-hero__copy h1 {
  max-width: 11ch;
}

.model-preflight .pf-hero__copy .hero__lede {
  max-width: 55ch;
}

.model-preflight .pf-tier {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(47, 139, 135, 0.32);
  border-radius: 999px;
  background: rgba(47, 139, 135, 0.08);
  padding: 7px 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.model-preflight .pf-profile-wrap {
  align-self: start;
}

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

.model-preflight .pf-proof {
  --pf-flag-ink: #9a4808;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
  box-shadow: 0 24px 54px rgba(11, 18, 32, 0.09);
}

.model-preflight .pf-proof__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 12px clamp(18px, 3vw, 26px);
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
  color: var(--muted-2);
  font: 600 0.625rem/1.45 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.model-preflight .pf-proof__body {
  padding: clamp(20px, 3.2vw, 30px);
}

.model-preflight .pf-proof__disclosure {
  display: inline-block;
  max-width: 100%;
  border: 1px solid #d5aa55;
  border-radius: 999px;
  background: #fff8e8;
  color: #74420b;
  padding: 7px 11px;
  font: 600 0.625rem/1.45 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.model-preflight .pf-proof__kicker {
  margin-top: 22px;
  color: var(--accent);
  font: 600 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-preflight .pf-proof h2 {
  max-width: 23ch;
  margin-top: 8px;
  font-size: clamp(1.4rem, 1.12rem + 1vw, 1.82rem);
  line-height: 1.08;
}

.model-preflight .pf-proof__summary {
  max-width: 51ch;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.model-preflight .pf-proof__table {
  width: 100%;
  margin-top: 22px;
  table-layout: fixed;
  border-collapse: collapse;
}

.model-preflight .pf-proof__table th:first-child {
  width: 44%;
}

.model-preflight .pf-proof__table th:nth-child(2) {
  width: 26%;
}

.model-preflight .pf-proof__table th:nth-child(3) {
  width: 30%;
}

.model-preflight .pf-proof__table th,
.model-preflight .pf-proof__table td {
  padding: 10px 7px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.model-preflight .pf-proof__table th:first-child,
.model-preflight .pf-proof__table td:first-child {
  padding-left: 0;
}

.model-preflight .pf-proof__table th:last-child,
.model-preflight .pf-proof__table td:last-child {
  padding-right: 0;
}

.model-preflight .pf-proof__table thead th {
  color: var(--muted);
  font: 500 0.625rem/1.35 var(--font-mono);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.model-preflight .pf-proof__table th:not(:first-child),
.model-preflight .pf-proof__table td:not(:first-child) {
  text-align: right;
}

.model-preflight .pf-proof__table td {
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.35;
}

.model-preflight .pf-proof__table .num {
  font: 500 0.82rem/1.35 var(--font-mono);
  white-space: nowrap;
}

.model-preflight .pf-proof__table .down {
  color: var(--pf-flag-ink);
  font-weight: 600;
}

.model-preflight .pf-proof__finding {
  margin-top: 20px;
  border-left: 3px solid #b45309;
  border-radius: 4px;
  background: #fff8e8;
  padding: 15px 17px 16px;
}

.model-preflight .pf-proof__finding > p:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.model-preflight .pf-proof__finding > p:first-child span {
  border-radius: 999px;
  background: rgba(180, 83, 9, 0.1);
  color: #74420b;
  padding: 4px 8px;
  font: 600 0.58rem/1.35 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-preflight .pf-proof__finding h3 {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.2;
}

.model-preflight .pf-proof__finding > p:last-child {
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.48;
}

.model-preflight .pf-proof__link {
  display: inline-block;
  margin-top: 17px;
  color: var(--accent);
  font: 600 var(--fs-tag, 0.6875rem)/1.45 var(--font-mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-underline-offset: 0.2em;
}

.model-preflight .pf-proof figcaption {
  padding: 16px clamp(20px, 3.2vw, 30px) 18px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.model-preflight .pf-profile {
  display: grid;
  grid-column: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-card, 6px);
  background: rgba(255, 255, 255, 0.76);
}

.model-preflight .pf-profile > div {
  padding: 18px clamp(18px, 3vw, 24px);
}

.model-preflight .pf-profile > div + div {
  border-top: 1px solid var(--border);
}

.model-preflight .pf-profile dt {
  color: var(--muted-2);
  font: 600 0.625rem/1.35 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-preflight .pf-profile dd {
  margin-top: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.model-preflight .pf-profile dd strong {
  font-weight: 700;
}

.model-preflight .pf-founder-shell {
  padding-block: 0 clamp(40px, 6vw, 72px);
}

.model-preflight .pf-proof-shell {
  max-width: 980px;
  padding-block: 0 clamp(40px, 6vw, 72px);
}

.model-preflight .service-founder {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-card, 6px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(20px, 3vw, 28px);
}

.model-preflight .service-founder__identity {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  min-width: 0;
}

.model-preflight .service-founder__photo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-card, 6px);
  filter: grayscale(100%) contrast(1.12);
}

.model-preflight .service-founder__eyebrow {
  color: #73d7d2;
  font: 600 var(--fs-tag, 0.6875rem)/1.35 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-preflight .service-founder__name {
  margin-top: 5px;
  color: #ffffff;
  font-size: clamp(1.25rem, 1.1rem + 0.65vw, 1.55rem);
  line-height: 1.12;
}

.model-preflight .service-founder__role {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  line-height: 1.45;
}

.model-preflight .service-founder__ledger {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 17px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
}

.model-preflight .service-founder__ledger li {
  color: rgba(255, 255, 255, 0.68);
  font: 500 0.625rem/1.55 var(--font-mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.model-preflight .service-founder__link {
  display: inline-block;
  margin-top: 17px;
  color: #73d7d2;
  font: 600 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-underline-offset: 0.2em;
}

.model-preflight .service-founder__link:hover,
.model-preflight .service-founder__link:focus-visible {
  color: #b7eeeb;
}

.model-preflight .pf-coverage,
.model-preflight .pf-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.model-preflight .pf-coverage li,
.model-preflight .pf-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
  padding: clamp(18px, 3vw, 24px);
}

.model-preflight .pf-coverage li > span,
.model-preflight .pf-steps li > span {
  color: var(--accent);
  font: 600 0.68rem/1.45 var(--font-mono);
  letter-spacing: 0.06em;
}

.model-preflight .pf-coverage h3,
.model-preflight .pf-steps h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.model-preflight .pf-coverage p,
.model-preflight .pf-steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.model-preflight .pf-catch-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-preflight .pf-catch-list li {
  min-width: 0;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
  padding: clamp(17px, 2.5vw, 22px);
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.58;
}

.model-preflight .pf-boundary-section {
  border-top: 0;
}

.model-preflight .pf-boundary-grid {
  display: grid;
  gap: 14px;
}

.model-preflight .pf-boundary-grid p {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-card, 6px);
  background: rgba(255, 255, 255, 0.04);
  padding: clamp(20px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.model-preflight .pf-boundary-grid a {
  color: #73d7d2;
}

.model-preflight .pf-boundary-grid a:hover,
.model-preflight .pf-boundary-grid a:focus-visible {
  color: #b7eeeb;
}

.model-preflight .pf-comparison__table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid var(--border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r-card, 6px);
  background: var(--surface);
}

.model-preflight .pf-comparison__table thead th:first-child {
  width: 21%;
}

.model-preflight .pf-comparison__table th,
.model-preflight .pf-comparison__table td {
  padding: clamp(14px, 2vw, 20px);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.model-preflight .pf-comparison__table th + th,
.model-preflight .pf-comparison__table th + td,
.model-preflight .pf-comparison__table td + td {
  border-left: 1px solid var(--border);
}

.model-preflight .pf-comparison__table thead th {
  background: #f8fafc;
  color: var(--ink);
  font: 600 0.68rem/1.4 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.model-preflight .pf-comparison__table thead th:first-child {
  border-top-left-radius: var(--r-card, 6px);
}

.model-preflight .pf-comparison__table thead th:last-child {
  border-top-right-radius: var(--r-card, 6px);
}

.model-preflight .pf-comparison__table tbody th {
  background: #f8fafc;
  color: var(--muted-2);
  font: 600 0.68rem/1.45 var(--font-mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.model-preflight .pf-comparison__table td {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.model-preflight .pf-comparison__table tbody tr:last-child > * {
  border-bottom: 0;
}

.model-preflight .pf-steps {
  max-width: 900px;
}

.model-preflight .pf-outcomes {
  display: grid;
  gap: 14px;
}

.model-preflight .pf-outcomes article {
  min-width: 0;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
  padding: clamp(20px, 3vw, 28px);
}

.model-preflight .pf-outcomes article > p:first-child {
  color: var(--accent);
  font: 600 0.625rem/1.35 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-preflight .pf-outcomes h3 {
  margin-top: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.model-preflight .pf-outcomes article > p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.model-preflight .pf-credit {
  display: grid;
  gap: 22px;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
  padding: clamp(24px, 4vw, 40px);
}

.model-preflight .pf-credit h2 {
  max-width: 12ch;
  margin-top: 10px;
  font-size: var(--fs-h3, clamp(1.375rem, 1.15rem + 0.95vw, 1.75rem));
  line-height: 1.12;
}

.model-preflight .pf-credit > p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.model-preflight .pf-operating .card,
.model-preflight .pf-fit .card {
  min-width: 0;
}

.model-preflight .pf-operating .pf-scope-changes {
  grid-column: 1 / -1;
}

.model-preflight .pf-related__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.model-preflight .pf-related__grid a {
  display: grid;
  min-width: 0;
  min-height: 100%;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-card, 6px);
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(18px, 3vw, 24px);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms var(--ease), transform 180ms var(--ease), background 160ms var(--ease);
}

.model-preflight .pf-related__grid a:hover,
.model-preflight .pf-related__grid a:focus-visible {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-2px);
}

.model-preflight .pf-related__grid span {
  color: var(--accent);
  font: 600 0.625rem/1.35 var(--font-mono);
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.model-preflight .pf-related__grid strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.2;
}

.model-preflight .pf-related__grid small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (min-width: 680px) {
  .model-preflight .pf-profile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-preflight .pf-profile > div:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  .model-preflight .pf-profile > div:nth-child(2) {
    border-top: 0;
  }

  .model-preflight .pf-coverage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-preflight .pf-catch-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-preflight .pf-boundary-grid,
  .model-preflight .pf-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 679px) {
  .model-preflight .pf-comparison__table,
  .model-preflight .pf-comparison__table tbody,
  .model-preflight .pf-comparison__table tr,
  .model-preflight .pf-comparison__table th,
  .model-preflight .pf-comparison__table td {
    display: block;
    width: 100%;
  }

  .model-preflight .pf-comparison__table {
    border: 0;
    background: transparent;
  }

  .model-preflight .pf-comparison__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .model-preflight .pf-comparison__table tbody {
    display: grid;
    gap: 12px;
  }

  .model-preflight .pf-comparison__table tbody tr {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-card, 6px);
    background: var(--surface);
  }

  .model-preflight .pf-comparison__table tbody th,
  .model-preflight .pf-comparison__table tbody td {
    border: 0;
    padding: 14px 16px;
  }

  .model-preflight .pf-comparison__table tbody th {
    border-bottom: 1px solid var(--border);
  }

  .model-preflight .pf-comparison__table tbody td + td {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .model-preflight .pf-comparison__table tbody td::before {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
    content: attr(data-plan);
    font: 600 0.625rem/1.4 var(--font-mono);
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }
}

@media (min-width: 880px) {
  .model-preflight .service-founder {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
    column-gap: clamp(28px, 4vw, 48px);
    align-items: center;
  }

  .model-preflight .service-founder__ledger {
    margin-top: 0;
    padding: 0 0 0 clamp(28px, 4vw, 48px);
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .model-preflight .service-founder__link {
    grid-column: 2;
    margin: 13px 0 0;
    padding-left: clamp(28px, 4vw, 48px);
  }

  .model-preflight .pf-outcomes,
  .model-preflight .pf-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .model-preflight .pf-credit {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .model-preflight .pf-hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
    gap: clamp(40px, 5vw, 68px);
  }

  .model-preflight .pf-proof {
    align-self: start;
  }

  .model-preflight .pf-coverage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .model-preflight .pf-catch-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .model-preflight .pf-proof__bar {
    display: grid;
    gap: 3px;
    padding-inline: 16px;
  }

  .model-preflight .pf-proof__body {
    padding: 18px 16px;
  }

  .model-preflight .pf-proof__disclosure {
    border-radius: 8px;
    font-size: 0.57rem;
    line-height: 1.55;
    letter-spacing: 0.02em;
  }

  .model-preflight .pf-proof__table th:first-child {
    width: 42%;
  }

  .model-preflight .pf-proof__table th:nth-child(2) {
    width: 25%;
  }

  .model-preflight .pf-proof__table th:nth-child(3) {
    width: 33%;
  }

  .model-preflight .pf-proof__table th,
  .model-preflight .pf-proof__table td {
    padding: 9px 3px;
  }

  .model-preflight .pf-proof__table thead th {
    font-size: 0.625rem;
    letter-spacing: 0;
  }

  .model-preflight .pf-proof__table td,
  .model-preflight .pf-proof__table .num {
    font-size: 0.72rem;
  }

  .model-preflight .pf-proof figcaption {
    padding-inline: 16px;
  }

  .model-preflight .service-founder__identity {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .model-preflight .service-founder__photo {
    width: 64px;
    height: 64px;
  }

  .model-preflight .pf-coverage li,
  .model-preflight .pf-steps li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }
}
