:root {
  color-scheme: light;
  --ink: #211f1c;
  --muted: #6b6259;
  --soft: #f7f1ea;
  --paper: #fffdf9;
  --line: #e7ded3;
  --brand: #c41f2f;
  --brand-dark: #991726;
  --gold: #d99a28;
  --teal: #176b73;
  --green: #476a3d;
  --shadow: 0 18px 45px rgb(38 29 20 / 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 200;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 253 249 / 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 82px;
  height: 58px;
  object-fit: contain;
}

.brand-wordmark {
  display: grid;
  gap: 0;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link,
.nav-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-link:hover,
.nav-link.active,
.nav-button:hover {
  color: var(--brand);
  background: rgb(196 31 47 / 0.07);
}

.desktop-hidden {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--brand);
  color: white;
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.button.gold {
  background: var(--gold);
  color: #201303;
}

.button.ghost {
  background: transparent;
  color: white;
  border-color: rgb(255 255 255 / 0.45);
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 780px);
  display: grid;
  align-items: end;
  isolation: isolate;
  color: white;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(20 15 11 / 0.88), rgb(20 15 11 / 0.55) 48%, rgb(20 15 11 / 0.18)),
    linear-gradient(0deg, rgb(20 15 11 / 0.62), transparent 45%);
}

.hero-content {
  width: min(760px, 100%);
  padding-block: 120px 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  margin: 22px 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  max-width: 650px;
  color: rgb(255 255 255 / 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.stats-ribbon {
  background: var(--ink);
  color: white;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgb(255 255 255 / 0.12);
}

.stat {
  background: var(--ink);
  padding: 26px 18px;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgb(255 255 255 / 0.8);
  font-weight: 650;
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--ink);
  color: white;
}

.section.brand-band {
  background: var(--brand);
  color: white;
}

.section-head {
  width: min(820px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.page-hero p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.dark .section-head p,
.brand-band .section-head p,
.page-hero p {
  color: rgb(255 255 255 / 0.86);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--line);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.prose {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.dark .prose,
.brand-band .prose {
  color: rgb(255 255 255 / 0.83);
}

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

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.form-panel,
.quote-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgb(38 29 20 / 0.08);
}

.card {
  padding: 26px;
}

.card-media {
  padding: 0;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-media .card-body {
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-panel div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgb(38 29 20 / 0.08);
}

.trust-panel span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(196 31 47 / 0.1);
  color: var(--brand);
  font-weight: 850;
}

.trust-panel strong {
  line-height: 1.2;
}

.tier-list {
  display: grid;
  gap: 14px;
  width: min(920px, 100%);
  margin-inline: auto;
}

.tier {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgb(38 29 20 / 0.08);
}

.tier span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font-weight: 850;
}

.tier h3 {
  margin: 0 0 6px;
}

.tier p {
  margin: 0;
  color: var(--muted);
}

.proof-chain {
  display: grid;
  gap: 12px;
}

.proof-chain span {
  display: block;
  padding: 16px 18px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius);
  color: white;
  font-weight: 760;
}

.icon-badge,
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(196 31 47 / 0.1);
  color: var(--brand);
  font-weight: 850;
  margin-bottom: 16px;
}

.step-list {
  display: grid;
  gap: 22px;
  counter-reset: steps;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.step-number {
  margin: 0;
  background: var(--brand);
  color: white;
}

.quote-band {
  background: var(--brand);
  color: white;
  padding: clamp(46px, 8vw, 76px) 0;
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 940px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  text-align: center;
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  color: white;
  isolation: isolate;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(20 15 11 / 0.84), rgb(20 15 11 / 0.45));
}

.page-hero .container {
  padding-block: 90px 54px;
}

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

.metric {
  padding: 26px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

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

.comparison ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.comparison li + li {
  margin-top: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-button {
  border: 0;
  padding: 0;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-button:hover img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(0 0 0 / 0.86);
  display: grid;
  place-items: center;
  padding: 18px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 82vh;
  max-width: min(1100px, 100%);
  border-radius: var(--radius);
}

.lightbox-controls {
  position: fixed;
  inset: auto 18px 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.lightbox button {
  min-width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.35);
  color: white;
  background: rgb(255 255 255 / 0.12);
}

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

.form-panel {
  padding: 28px;
}

.field {
  display: grid;
  gap: 7px;
}

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

label {
  color: var(--ink);
  font-weight: 750;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgb(196 31 47 / 0.15);
  border-color: var(--brand);
}

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-message {
  margin-top: 14px;
  color: var(--green);
  font-weight: 750;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  border: 0;
  background: white;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item:not(.open) .faq-answer {
  display: none;
}

.portal-shell {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  background: #f4f6f7;
  color: #17202a;
}

.portal-sidebar {
  position: sticky;
  top: 82px;
  height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  background: #141a20;
  color: white;
  overflow: auto;
}

.portal-brand {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 8px;
}

.portal-brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
}

.portal-brand strong,
.portal-brand small {
  display: block;
}

.portal-brand small {
  color: rgb(255 255 255 / 0.62);
}

.portal-nav {
  display: grid;
  gap: 4px;
}

.portal-nav a {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 7px;
  color: rgb(255 255 255 / 0.72);
  font-weight: 720;
  font-size: 0.93rem;
}

.portal-nav a.active,
.portal-nav a:hover {
  color: white;
  background: rgb(255 255 255 / 0.1);
}

.portal-nav span,
.icon-button,
.avatar,
.model-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portal-nav span {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgb(255 255 255 / 0.1);
  color: #f7c86a;
  font-weight: 850;
  font-size: 0.82rem;
}

.portal-login-card {
  margin-top: auto;
  padding: 16px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.12);
}

.portal-login-card h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.mini-login {
  display: grid;
  gap: 8px;
}

.mini-login label {
  color: rgb(255 255 255 / 0.82);
}

.mini-login input,
.mini-login select {
  background: rgb(255 255 255 / 0.1);
  color: white;
  border-color: rgb(255 255 255 / 0.18);
}

.mini-login option {
  color: #17202a;
}

.portal-login-note {
  margin: 4px 0 0;
  color: rgb(255 255 255 / 0.66);
  font-size: 0.83rem;
}

.portal-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

.portal-topbar,
.portal-card-head,
.portal-top-actions {
  display: flex;
  align-items: center;
}

.portal-topbar {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.portal-topbar h1 {
  color: #17202a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.portal-top-actions {
  gap: 12px;
}

.portal-search {
  width: min(360px, 38vw);
}

.portal-search input {
  min-height: 44px;
  border-color: #d6dde3;
  background: white;
}

.portal-subtitle {
  max-width: 760px;
  margin: 8px 0 0;
  color: #687583;
}

.avatar-row {
  display: flex;
  align-items: center;
}

.avatar-row .avatar + .avatar {
  margin-left: -10px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  background: #176b73;
  color: white;
  font-size: 0.78rem;
  font-weight: 850;
}

.avatar.large {
  width: 76px;
  height: 76px;
  margin: -38px auto 12px;
  font-size: 1.15rem;
  background: #c41f2f;
}

.portal-grid.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
  margin-bottom: 14px;
}

.portal-card,
.model-card {
  background: white;
  border: 1px solid #dfe6ec;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgb(21 29 36 / 0.07);
}

.portal-card {
  padding: 20px;
  min-width: 0;
}

.portal-section {
  padding-block: 8px 16px;
}

.portal-card-head {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.button-row,
.packet-actions,
.review-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.portal-card-head h2,
.profile-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.metric-card {
  min-height: 132px;
}

.metric-card span,
.metric-card small,
.people-list small,
.profile-card p,
.model-card p,
.timeline-item p {
  color: #687583;
}

.metric-card strong {
  display: block;
  margin: 10px 0 4px;
  color: #17202a;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid #d6dde3;
  border-radius: 8px;
  background: #f7fafb;
  color: #17202a;
  font-weight: 850;
}

.portal-table {
  display: grid;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
}

.portal-table-head,
.portal-table-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.8fr 1.4fr 0.58fr;
  gap: 12px;
  align-items: center;
  min-width: 760px;
  padding: 13px 14px;
}

.portal-table-head {
  background: #f7fafb;
  color: #687583;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portal-table-row + .portal-table-row {
  border-top: 1px solid #e4eaf0;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.status.high {
  background: #fde8e9;
  color: #a91524;
}

.status.medium {
  background: #fff0cc;
  color: #78520b;
}

.status.low {
  background: #e8f3ed;
  color: #2f6849;
}

.status.neutral {
  background: #edf2f6;
  color: #46515c;
}

.profile-card {
  text-align: center;
  overflow: hidden;
}

.profile-cover {
  height: 88px;
  margin: -20px -20px 0;
  background:
    linear-gradient(135deg, rgb(196 31 47 / 0.92), rgb(23 107 115 / 0.9)),
    url("/assets/images/wfth-photo-012.jpg") center / cover;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 16px 0;
}

.profile-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4f6f7;
  color: #4e5d6b;
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.profile-stats div {
  padding: 12px;
  border-radius: 8px;
  background: #f7fafb;
}

.profile-stats dt {
  color: #687583;
  font-size: 0.78rem;
}

.profile-stats dd {
  margin: 4px 0 0;
  font-size: 1.5rem;
  font-weight: 850;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
}

.timeline-item > span {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: #176b73;
  box-shadow: 0 0 0 4px rgb(23 107 115 / 0.12);
}

.timeline-item.blocked > span {
  background: #c41f2f;
  box-shadow: 0 0 0 4px rgb(196 31 47 / 0.12);
}

.timeline-item p {
  margin: 4px 0;
}

.timeline-item em {
  color: #4e5d6b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.people-list > div {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #f7fafb;
}

.people-list p {
  margin: 0;
}

.people-list small {
  display: block;
}

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

.model-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 16px;
}

.model-card > span {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e8f3ed;
  color: #176b73;
  font-weight: 850;
}

.model-card h3,
.model-card p {
  margin: 0 0 8px;
}

.readiness-shell .portal-main {
  background: #f4f6f7;
}

.readiness-metric-card strong {
  font-size: 2rem;
  overflow-wrap: anywhere;
}

.readiness-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.readiness-status-panel {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #dfe6ec;
  border-radius: 8px;
  background: #f9fbfc;
}

.readiness-status-panel > div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.readiness-pulse {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: #46515c;
  box-shadow: 0 0 0 6px rgb(70 81 92 / 0.11);
}

.readiness-pulse.low {
  background: #2f6849;
  box-shadow: 0 0 0 6px rgb(47 104 73 / 0.12);
}

.readiness-pulse.medium {
  background: #d99a28;
  box-shadow: 0 0 0 6px rgb(217 154 40 / 0.16);
}

.readiness-pulse.high {
  background: #c41f2f;
  box-shadow: 0 0 0 6px rgb(196 31 47 / 0.12);
}

.readiness-status-panel strong {
  display: block;
  color: #17202a;
  font-size: 1.05rem;
}

.readiness-status-panel p,
.readiness-detail-grid p,
.binding-list em,
.binding-list small,
.readiness-checklist span {
  color: #687583;
}

.readiness-status-panel p,
.readiness-detail-grid p,
.readiness-checklist p {
  margin: 4px 0 0;
}

.readiness-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.readiness-detail-grid > div,
.binding-list > div,
.readiness-checklist > div {
  padding: 12px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #f9fbfc;
}

.readiness-detail-grid span,
.binding-list small {
  display: block;
}

.readiness-detail-grid span,
.binding-type {
  margin-bottom: 8px;
  color: #52616f;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.binding-list,
.readiness-checklist {
  display: grid;
  gap: 10px;
}

.binding-list > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.binding-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #e8f3ed;
  color: #176b73;
}

.binding-list p {
  margin: 0 0 4px;
}

.binding-list strong {
  display: block;
  overflow-wrap: anywhere;
}

.binding-list em {
  grid-column: 2;
  font-style: normal;
}

.readiness-checklist > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.readiness-checklist p {
  min-width: 0;
}

.readiness-checklist strong,
.readiness-checklist span {
  display: block;
}

.packet-shell .portal-main {
  background: #f4f6f7;
}

.packet-tabs {
  display: flex;
  gap: 6px;
  max-width: 620px;
  margin: 0 0 14px;
  padding: 5px;
  border: 1px solid #dfe6ec;
  border-radius: 8px;
  background: white;
  overflow-x: auto;
}

.packet-tabs button {
  min-width: 96px;
  min-height: 38px;
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #52616f;
  font-weight: 850;
  white-space: nowrap;
}

.packet-tabs button.active {
  background: #17202a;
  color: white;
}

.packet-review-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

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

.evidence-card {
  min-height: 142px;
  padding: 14px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #f9fbfc;
}

.evidence-card > div,
.audit-list > div,
.relationship-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.evidence-card > div {
  justify-content: space-between;
  margin-bottom: 10px;
}

.evidence-card p,
.gate-step p,
.privacy-list dd,
.audit-list span {
  color: #687583;
}

.review-desk {
  align-self: stretch;
}

.decision-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.decision-list label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #f9fbfc;
  color: #3d4954;
  font-weight: 740;
}

.decision-list input {
  margin-top: 2px;
  accent-color: #176b73;
}

.gate-steps {
  display: grid;
  gap: 10px;
}

.gate-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #f9fbfc;
}

.gate-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #edf2f6;
  color: #46515c;
  font-weight: 900;
}

.gate-step.complete > span {
  background: #e8f3ed;
  color: #2f6849;
}

.gate-step.current > span {
  background: #fff0cc;
  color: #78520b;
}

.gate-step.blocked > span {
  background: #fde8e9;
  color: #a91524;
}

.gate-step.guarded > span {
  background: #e8f3ed;
  color: #176b73;
}

.gate-step strong,
.privacy-list dt {
  color: #17202a;
}

.gate-step p {
  margin: 4px 0 0;
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.privacy-list div {
  padding: 12px;
  border-left: 3px solid #176b73;
  border-radius: 6px;
  background: #f9fbfc;
}

.privacy-list dt {
  font-weight: 850;
}

.privacy-list dd {
  margin: 4px 0 0;
}

.relationship-list,
.audit-list {
  display: grid;
  gap: 10px;
}

.relationship-list > div {
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #f9fbfc;
}

.relationship-list span {
  color: #9aa6b2;
  font-weight: 900;
}

.audit-list > div {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  min-height: 58px;
  padding: 10px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #f9fbfc;
}

.audit-list time {
  color: #176b73;
  font-weight: 900;
}

.audit-list p {
  margin: 0;
}

.audit-list span {
  display: block;
  margin-top: 3px;
}

.site-footer {
  background: #1d1a17;
  color: rgb(255 255 255 / 0.78);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.site-footer h3 {
  color: white;
  margin: 0 0 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.9rem;
}

.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;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .primary-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    display: none;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    box-shadow: var(--shadow);
  }

  body.nav-open .primary-nav {
    display: grid;
    justify-content: stretch;
    gap: 4px;
  }

  body.nav-open .desktop-hidden {
    display: block;
  }

  .nav-link {
    padding: 14px;
  }

  .nav-actions {
    justify-self: end;
  }

  .menu-button {
    display: inline-block;
  }
}

@media (max-width: 860px) {
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    height: auto;
  }

  .packet-shell .portal-login-card {
    display: none;
  }

  .portal-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-topbar,
  .portal-top-actions,
  .packet-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-search {
    width: 100%;
  }

  .portal-grid.metrics,
  .portal-layout,
  .model-grid,
  .evidence-grid,
  .readiness-detail-grid {
    grid-template-columns: 1fr;
  }

  .portal-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-row,
  .review-actions {
    width: 100%;
  }

  .button-row .button,
  .review-actions .button,
  .packet-actions .button {
    width: 100%;
  }

  .stats-grid,
  .metric-grid,
  .card-grid,
  .card-grid.two,
  .comparison,
  .trust-panel,
  .split,
  .split.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero {
    min-height: 650px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 68px;
    height: 48px;
  }

  .brand-subtitle {
    display: none;
  }

  .header-inner {
    min-height: 72px;
  }

  .primary-nav {
    inset: 72px 0 auto 0;
  }

  .nav-actions .button {
    display: none;
  }

  .hero-content {
    padding-block: 110px 52px;
  }

  .hero-actions,
  .section .button {
    width: 100%;
  }

  .button {
    width: 100%;
  }

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

  .form-panel {
    padding: 22px;
  }

  .packet-tabs button {
    min-width: 86px;
  }

  .audit-list > div,
  .relationship-list > div,
  .binding-list > div,
  .readiness-checklist > div {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .binding-list em {
    grid-column: auto;
  }
}
