/* PACE — Private Alternative Consulting & Evaluation — app styles */
:root {
  --bg: #f5f1ea;
  --surface: #ffffff;
  --surface-elevated: #fff;
  --border: rgba(22, 32, 46, 0.16);
  --text: #16202e;
  --text-muted: rgba(22, 32, 46, 0.55);
  --accent: #c8952a;
  --accent-hover: #d9a53c;
  --success: #3d9a6d;
  --danger: #c75c5c;
  --radius: 14px;
  --font: "Archivo", sans-serif;
  --font-serif: "Newsreader", serif;
  --max-width: 920px;

  --pace-navy: #0a1520;
  --pace-gold: #c8952a;
  --pace-gold-h: #d9a53c;
  --pace-cream: #f5f1ea;
  --pace-cream-lt: #fdf9f3;
  --pace-white: #ffffff;
  --pace-text: #16202e;
  --pace-muted: rgba(22, 32, 46, 0.55);
  --pace-border: rgba(200, 149, 42, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* ─── Header / nav (dark navy, sticky) ───────────────────────────────────── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(200, 149, 42, 0.18);
  background: var(--pace-navy);
  padding: 18px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-logo {
  display: block;
  height: 2.1rem;
  width: auto;
  transform: scaleX(0.9);
  transform-origin: center;
}
.brand-subtitle {
  display: block;
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.brand-btn {
  display: flex;
  flex-direction: column;
  line-height: 1;
  max-width: min(100%, 26rem);
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 6px;
}
.brand-btn:hover {
  color: var(--pace-gold);
  opacity: 0.85;
}
.brand-btn:focus-visible {
  outline: 2px solid var(--pace-gold);
  outline-offset: 2px;
}

/* ─── Hamburger (mobile only) ────────────────────────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem 0.6rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  transition: background 0.15s, transform 0.15s;
}
.hamburger-btn:hover span,
.hamburger-btn[aria-expanded="true"] span {
  background: var(--pace-gold);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  font-size: 0.9rem;
}
.nav-links button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  padding: 9px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-links button:hover {
  background: rgba(200, 149, 42, 0.14);
  color: var(--pace-gold);
}

.nav-links button[data-nav="login"] {
  background: var(--pace-gold);
  color: var(--pace-navy);
  font-weight: 700;
  padding: 10px 20px;
  margin-left: 10px;
  box-shadow: 0 6px 20px rgba(200, 149, 42, 0.24);
}
.nav-links button[data-nav="login"]:hover {
  background: var(--pace-gold-h);
  color: var(--pace-navy);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}
.nav-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--pace-gold);
  border: 1px solid var(--pace-gold);
  border-radius: 6px;
  padding: 10px 18px;
  color: var(--pace-navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  margin-left: 10px;
}
.nav-user-trigger:hover {
  background: var(--pace-gold-h);
  border-color: var(--pace-gold-h);
}
.nav-user-trigger:focus-visible {
  outline: 2px solid var(--pace-gold);
  outline-offset: 2px;
}
.nav-user-caret {
  font-size: 0.65rem;
  opacity: 0.85;
}
.dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 11rem;
  background: var(--pace-navy);
  border: 1px solid rgba(200, 149, 42, 0.28);
  border-radius: 8px;
  padding: 0.35rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  z-index: 50;
}
.dropdown-panel.open {
  display: block;
}
.dropdown-panel.hidden {
  display: none !important;
}
.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.65rem;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.dropdown-item:hover {
  background: rgba(200, 149, 42, 0.14);
  color: var(--pace-gold);
}

main {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Most screens center their content at --max-width; the landing page (splash)
   and the full-bleed page-title-strip banners render directly against full-width main. */
.screen-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.screen {
  display: none;
  animation: fadeIn 0.25s ease;
}
.screen.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: var(--text);
}

.subtitle {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.card {
  background: var(--pace-white);
  border: 1px solid var(--pace-border);
  border-radius: var(--radius);
  padding: 2.1rem 2.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 16px rgba(22, 32, 46, 0.06);
}

.card h2:first-child {
  margin-top: 0;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pace-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(22, 32, 46, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--pace-text);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--pace-gold);
  box-shadow: 0 0 0 3px rgba(200, 149, 42, 0.1);
}
input::placeholder,
textarea::placeholder {
  color: rgba(22, 32, 46, 0.3);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8952a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.field {
  margin-bottom: 1rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
}
.checkbox-row input {
  margin-top: 0.35rem;
  flex-shrink: 0;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--pace-gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 7px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.13s, box-shadow 0.13s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--pace-gold);
  color: var(--pace-navy);
  box-shadow: 0 6px 20px rgba(200, 149, 42, 0.24);
}
.btn-primary:hover {
  background: var(--pace-gold-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 149, 42, 0.36);
}
.btn-secondary {
  background: rgba(22, 32, 46, 0.04);
  color: rgba(22, 32, 46, 0.65);
  border: 1.5px solid rgba(22, 32, 46, 0.18);
  font-size: 14px;
}
.btn-secondary:hover {
  border-color: var(--pace-gold);
  color: var(--pace-gold);
  background: rgba(200, 149, 42, 0.05);
}
.btn-gold {
  background: var(--pace-gold);
  color: var(--pace-navy);
  box-shadow: 0 6px 20px rgba(200, 149, 42, 0.24);
  border: none;
}
.btn-gold:hover {
  background: var(--pace-gold-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 149, 42, 0.36);
}
.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.upload-zone {
  border: 2px dashed rgba(200, 149, 42, 0.38);
  border-radius: 10px;
  padding: 36px 24px;
  text-align: center;
  background: rgba(200, 149, 42, 0.025);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--pace-gold);
  background: rgba(200, 149, 42, 0.06);
}

.upload-meta {
  font-size: 13px;
  color: rgba(22, 32, 46, 0.46);
  margin-top: 0.5rem;
}

.progress-wrap {
  margin-top: 0.75rem;
  display: none;
}
.progress-wrap.visible {
  display: block;
}
.progress-bar {
  height: 6px;
  background: rgba(22, 32, 46, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar > div {
  height: 100%;
  background: var(--pace-gold);
  width: 0%;
  transition: width 0.2s ease;
}

.metrics-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.asset-type-checkbox-grid {
  display: grid;
  gap: 0.25rem 1rem;
}
@media (min-width: 560px) {
  .asset-type-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.asset-type-checkbox-grid .checkbox-row {
  margin: 0.4rem 0;
}

.disclaimer-box {
  background: rgba(200, 149, 42, 0.05);
  border: 1.5px solid rgba(200, 149, 42, 0.22);
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  margin: 1rem 0;
  border-radius: 10px;
}
.disclaimer-box > strong:first-child {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.4rem;
  color: var(--pace-gold);
  letter-spacing: 0.01em;
}
.disclaimer-box ul {
  margin: 0.75rem 0 0;
  padding-left: 1.5rem;
}
.disclaimer-box li {
  margin-bottom: 0.85rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 21, 32, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}
.modal-backdrop.open {
  display: flex;
}
.modal {
  background: var(--pace-cream-lt);
  border: 1.5px solid rgba(200, 149, 42, 0.26);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  padding: 1.75rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}
.modal h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  color: var(--pace-text);
}
.modal p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.modal-close {
  margin-top: 1rem;
}

.results-report {
  /* Intentionally hidden — the PDF export is the primary report viewer. The raw report
     text is still written into this element (#report-body) for the Word/Excel export
     helpers to read from via textContent, but it must never be shown on screen. */
  display: none;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.next-steps li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(22, 32, 46, 0.08);
  padding-left: 1.5rem;
  position: relative;
}
.next-steps li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--pace-gold);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(22, 32, 46, 0.08);
  color: rgba(22, 32, 46, 0.46);
  margin-left: 0.5rem;
  vertical-align: middle;
}

.upload-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  color: rgba(22, 32, 46, 0.68);
}
.upload-list li {
  padding: 7px 0;
  margin: 0;
}

.file-list-removable .file-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 13px;
  color: rgba(22, 32, 46, 0.65);
  padding: 8px 0;
  border-bottom: 1px solid rgba(22, 32, 46, 0.07);
}
.file-list-removable li:last-child .file-list-item {
  border-bottom: none;
}
.file-list-notice {
  display: block;
  background: rgba(197, 76, 38, 0.08);
  border: 1px solid rgba(197, 76, 38, 0.25);
  border-radius: 6px;
  color: #a8442a;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 8px 11px;
  margin-bottom: 8px;
}
.file-remove-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(200, 149, 42, 0.26);
  border-radius: 5px;
  color: var(--pace-gold);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
}
.file-remove-btn:hover {
  background: rgba(200, 149, 42, 0.1);
}

/* ─── Upload capacity bar ─────────────────────────────────────────────────── */
.upload-capacity {
  margin-top: 0.85rem;
}
.upload-capacity-bar {
  height: 5px;
  background: rgba(22, 32, 46, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.upload-capacity-bar > div {
  height: 100%;
  background: var(--pace-gold);
  width: 0%;
  transition: width 0.2s ease;
}
.upload-capacity-bar > div.near-cap {
  background: var(--danger);
}
#upload-capacity-label {
  margin-top: 0.35rem;
}

.recommended-uploads-scroll {
  max-height: 200px;
  overflow-y: auto;
  border: 1.5px solid rgba(200, 149, 42, 0.18);
  border-radius: 8px;
  padding: 12px 16px;
  background: rgba(200, 149, 42, 0.025);
  margin-top: 0.5rem;
}
.recommended-uploads-scroll .upload-list {
  margin-top: 0;
}
.recommended-uploads-scroll ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.recommended-uploads-scroll li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(200, 149, 42, 0.1);
}
.recommended-uploads-scroll li:last-child {
  border-bottom: none;
}
.recommended-uploads-scroll li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(200, 149, 42, 0.55);
  flex-shrink: 0;
}

footer.app-footer {
  text-align: center;
  padding: 22px 5vw;
  background: var(--pace-navy);
  border-top: 1px solid rgba(200, 149, 42, 0.22);
  color: rgba(255, 255, 255, 0.36);
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.results-wait-note {
  border-left: 4px solid var(--pace-gold);
}

.checklist-card h2 {
  margin-top: 0;
}
.dev-checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.dev-checklist-item {
  border-bottom: 1px solid rgba(22, 32, 46, 0.08);
  padding: 0.65rem 0;
}
.dev-checklist-item:last-child {
  border-bottom: none;
}
.dev-check-label {
  margin: 0;
  cursor: pointer;
  align-items: flex-start;
}
.dev-check-label span {
  color: var(--text);
  font-size: 0.95rem;
}
.dev-check-label input:checked + span {
  color: var(--text-muted);
  text-decoration: line-through;
}

.report-log-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.report-log-item {
  background: var(--pace-white);
  border: 1px solid var(--pace-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 16px rgba(22, 32, 46, 0.06);
}
.report-log-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.report-log-details > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.report-log-details > summary::-webkit-details-marker {
  display: none;
}
.report-log-detail-body {
  border-top: 1px solid rgba(22, 32, 46, 0.08);
  margin-top: 0.85rem;
  padding-top: 0.9rem;
}
.report-log-rating {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  color: var(--pace-text);
}
.report-log-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.report-log-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.classification-notice {
  background: rgba(200, 149, 42, 0.05);
  border: 1.5px solid rgba(200, 149, 42, 0.22);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 1rem;
  font-size: 13px;
  color: rgba(22, 32, 46, 0.6);
}
.classification-notice > strong:first-child {
  color: var(--pace-text);
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.classification-notice p {
  margin: 0;
  line-height: 1.62;
}

/* ─── Classification QC auto-upgrade notice ─────────────────────────────── */
.classification-qc-notice {
  background: rgba(200, 149, 42, 0.07);
  border: 1.5px solid rgba(200, 149, 42, 0.32);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--text);
  animation: fadeIn 0.3s ease;
}
.classification-qc-notice > strong {
  display: block;
  color: var(--pace-gold);
  font-size: 14px;
  margin-bottom: 4px;
}
.classification-qc-notice p {
  margin: 0;
  color: rgba(22, 32, 46, 0.62);
  line-height: 1.55;
}

.guarantee-line strong {
  color: var(--pace-gold);
}

.footer-guarantee {
  display: block;
  margin-top: 6px;
  color: rgba(200, 149, 42, 0.56);
}

.score-section h2 {
  margin-top: 0;
}
.score-headline {
  margin: 0.25rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}
.score-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pace-gold);
  line-height: 1;
}
.score-out-of {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}
.score-sublabel {
  margin: 0;
  flex: 1 1 100%;
}
.score-caption {
  margin: 0 0 0.75rem;
}
.score-explainer {
  margin: 0 0 0.85rem;
  line-height: 1.55;
}
.score-comparison-wrap {
  margin-top: 0.25rem;
}
.score-asset-class-label {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pace-gold);
}
.score-mean-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.4rem;
}
.score-bell-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0.25rem 0 0.5rem;
  overflow: visible;
}
.score-disclaimer {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ─── Login tabs ─────────────────────────────────────────────────────────── */
.login-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid rgba(22, 32, 46, 0.12);
  margin-bottom: 1.5rem;
}
.login-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(22, 32, 46, 0.4);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.login-tab:hover {
  color: rgba(22, 32, 46, 0.72);
}
.login-tab.active {
  color: var(--pace-gold);
  border-bottom-color: var(--pace-gold);
}
.login-error {
  background: rgba(200, 50, 50, 0.1);
  border: 1px solid rgba(200, 50, 50, 0.3);
  color: #c75c5c;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 1rem;
  line-height: 1.55;
}
.login-success {
  background: rgba(26, 122, 74, 0.1);
  border: 1px solid rgba(26, 122, 74, 0.3);
  color: #1a7a4a;
}

/* ─── Radio rows (doc source) ────────────────────────────────────────────── */
.doc-source-question fieldset {
  border: 1.5px solid rgba(22, 32, 46, 0.12);
  border-radius: 10px;
  padding: 18px 20px 10px;
}
.doc-source-question legend {
  font-weight: 700;
  font-size: 13.5px;
  padding: 0 8px;
  color: var(--pace-text);
}
.radio-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--pace-text);
  border-bottom: 1px solid rgba(22, 32, 46, 0.06);
  line-height: 1.55;
}
.radio-row:last-child {
  border-bottom: none;
}
.radio-row input[type="radio"] {
  margin-top: 3px;
  flex-shrink: 0;
}

/* ─── Buy-box requirements block ─────────────────────────────────────────── */
.buybox-requirements {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(22, 32, 46, 0.08);
}
.buybox-req-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--pace-gold);
}
.buybox-requirements .checkbox-row {
  padding: 0.25rem 0;
}

/* ─── Results status message ─────────────────────────────────────────────── */
.results-status {
  min-height: 1.4em;
  margin: 0.4rem 0 0.75rem;
  font-style: italic;
  color: var(--text-muted);
  transition: opacity 0.3s;
}

.results-progress-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.results-progress-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pace-gold);
  min-width: 2.5em;
}
.results-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(22, 32, 46, 0.12);
  border-top-color: var(--pace-gold);
  border-radius: 50%;
  animation: spin-loader 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes spin-loader {
  to {
    transform: rotate(360deg);
  }
}
.results-stall-note {
  border-left: 3px solid var(--pace-gold);
  padding-left: 0.75rem;
  font-style: italic;
}

/* ─── PACE centered hero brand (header absolute) ─────────────────────────── */
.pace-hero {
  display: none;
}

/* ─── Page title strip (full-bleed dark navy banner) ─────────────────────── */
.page-title-strip {
  background: var(--pace-navy);
  border-bottom: 2px solid rgba(200, 149, 42, 0.32);
  padding: 26px 5vw 24px;
  margin: 0 0 2rem;
  width: 100%;
}
.page-title-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.page-title-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.page-title-eyebrow-line {
  width: 22px;
  height: 1.5px;
  background: rgba(200, 149, 42, 0.58);
  border-radius: 1px;
}
.page-title-eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: rgba(200, 149, 42, 0.72);
  text-transform: uppercase;
}
.page-title-strip h1 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.page-title-strip .subtitle {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.48);
  margin: 7px 0 0;
  line-height: 1.5;
}
.page-title-strip .screen-nav {
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.page-title-strip .screen-nav-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.68);
}
.page-title-strip .screen-nav-btn:hover {
  border-color: rgba(200, 149, 42, 0.5);
  color: var(--pace-gold);
  background: rgba(200, 149, 42, 0.08);
}
.page-title-strip .screen-nav-btn-cta {
  background: var(--pace-gold);
  color: var(--pace-navy);
  border-color: var(--pace-gold);
  font-weight: 700;
}
.page-title-strip .screen-nav-btn-cta:hover {
  background: var(--pace-gold-h) !important;
  border-color: var(--pace-gold-h) !important;
  color: var(--pace-navy) !important;
  transform: translateY(-1px);
}

/* ─── Screen top navigation bar (used standalone, e.g. inside cards) ────── */
.screen-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.screen-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(22, 32, 46, 0.18);
  background: rgba(22, 32, 46, 0.04);
  color: rgba(22, 32, 46, 0.65);
  transition: all 0.15s;
}
.screen-nav-btn:hover {
  color: var(--pace-gold);
  border-color: var(--pace-gold);
  background: rgba(200, 149, 42, 0.05);
}

/* ─── Report creation header & complete badge ────────────────────────────── */
.report-creation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 0.75rem;
}
.report-creation-header h2 {
  margin: 0;
}
.report-complete-badge {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--success);
  letter-spacing: 0.01em;
  animation: fadeIn 0.4s ease;
}

/* ─── Report log simplified row layout ───────────────────────────────────── */
.report-log-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.report-log-info {
  flex: 1;
  min-width: 0;
}
.report-log-info h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.report-log-dl-btn {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.report-log-delete-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(197, 76, 38, 0.25);
  border-radius: 5px;
  color: #a8442a;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 11px;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, color 0.15s;
}
.report-log-delete-btn:hover {
  background: rgba(197, 76, 38, 0.1);
  color: #7a3019;
}

/* ─── Advanced buy-box collapsible section ───────────────────────────────── */
.buybox-advanced {
  margin-top: 1.1rem;
  border-radius: 8px;
  overflow: hidden;
}
.buybox-advanced > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(200, 149, 42, 0.05);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(22, 32, 46, 0.58);
  cursor: pointer;
  list-style: none;
  user-select: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.buybox-advanced[open] > summary {
  border-radius: 8px 8px 0 0;
}
.buybox-advanced > summary:hover {
  color: var(--pace-gold);
  background: rgba(200, 149, 42, 0.09);
}
.buybox-advanced > summary::after {
  content: "▾";
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.2s;
  letter-spacing: 0;
  text-transform: none;
}
.buybox-advanced[open] > summary::after {
  transform: rotate(-180deg);
}
.buybox-advanced-body {
  border: 1.5px solid rgba(22, 32, 46, 0.1);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 22px;
}
.buybox-advanced-body .field:last-child {
  margin-bottom: 0;
}

/* ─── Re-run document guidance list ─────────────────────────────────────── */
.rerun-doc-list {
  margin: 0.45rem 0 0.5rem 1.25rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  list-style: disc;
}
.rerun-doc-list li {
  margin: 0.2rem 0;
}

/* ─── Consultation investment / report upload ────────────────────────────── */
.consult-report-upload-zone {
  margin-top: 0.5rem;
}
.consult-section-divider {
  border: none;
  border-top: 1px dashed rgba(22, 32, 46, 0.12);
  margin: 1.25rem 0;
}

/* ─── Buy-box tooltips ───────────────────────────────────────────────────── */
.tooltip-wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.3rem;
}
.tooltip-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(200, 149, 42, 0.1);
  border: 1px solid rgba(200, 149, 42, 0.32);
  color: var(--pace-gold);
  font-size: 10.5px;
  font-weight: 700;
  cursor: help;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--font);
  transition: background 0.15s;
  vertical-align: middle;
}
.tooltip-btn:hover,
.tooltip-btn:focus {
  background: rgba(200, 149, 42, 0.22);
  outline: none;
}
.tooltip-wrap .tooltip-text {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  max-width: calc(100vw - 2rem);
  background: var(--pace-text);
  border: 1px solid rgba(200, 149, 42, 0.22);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.56;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.36);
  z-index: 200;
  pointer-events: none;
  white-space: normal;
  font-weight: 400;
  letter-spacing: 0;
}
.tooltip-wrap .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--pace-text);
}
.tooltip-btn:hover ~ .tooltip-text,
.tooltip-btn:focus ~ .tooltip-text {
  display: block;
}

/* ════════════════════════════════════════════════════════════════════════
   LANDING PAGE (splash screen)
   ════════════════════════════════════════════════════════════════════════ */

.landing {
  font-family: var(--font);
  background: #fff;
  color: var(--pace-text);
}

.landing-hero {
  position: relative;
  min-height: 760px;
  background: var(--pace-navy);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.landing-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
}
.landing-hero-gradient-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(8, 15, 26, 0.94) 0%,
    rgba(8, 15, 26, 0.86) 22%,
    rgba(8, 15, 26, 0.58) 42%,
    rgba(8, 15, 26, 0.18) 60%,
    rgba(8, 15, 26, 0.02) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.landing-hero-gradient-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 420px;
  background: linear-gradient(
    to top,
    rgba(5, 11, 20, 0.88) 0%,
    rgba(5, 11, 20, 0.62) 18%,
    rgba(5, 11, 20, 0.28) 40%,
    rgba(5, 11, 20, 0.08) 58%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 1;
}

.landing-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 100px 5vw 28px;
  display: flex;
  flex-direction: column;
}
.landing-hero-content h1 {
  font-family: var(--font);
  font-size: 50px;
  line-height: 1.08;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 620px;
}
.landing-hero-content p {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  max-width: 490px;
  margin: 20px 0 0;
}
.landing-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.landing-btn-gold {
  display: inline-flex;
  align-items: center;
  background: var(--pace-gold);
  color: var(--pace-navy);
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 7px;
  box-shadow: 0 10px 30px rgba(200, 149, 42, 0.28);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, transform 0.13s, box-shadow 0.13s;
}
.landing-btn-gold:hover {
  background: var(--pace-gold-h);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(200, 149, 42, 0.42);
}
.landing-btn-ghost {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, transform 0.13s;
}
.landing-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.landing-divider {
  position: relative;
  z-index: 3;
  padding: 8px 5vw 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.landing-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(200, 149, 42, 0.3);
}
.landing-divider-text {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(200, 149, 42, 0.9);
  text-transform: uppercase;
  white-space: nowrap;
}

.landing-steps {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 24px 5vw 32px;
  display: flex;
  align-items: stretch;
  gap: 32px;
  flex-wrap: wrap;
}
.landing-step {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: stretch;
  gap: 18px;
}
.landing-step-icon {
  width: 58px;
  flex-shrink: 0;
  border: 1.5px solid rgba(200, 149, 42, 0.46);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 149, 42, 0.11);
}
.landing-step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pace-gold);
}
.landing-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 5px 0 7px;
}
.landing-step p {
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 240px;
}

.landing-section {
  padding: 64px 5vw;
}
.landing-section-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.landing-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.landing-eyebrow-line {
  width: 22px;
  height: 1.5px;
  background: var(--pace-gold);
  border-radius: 1px;
}
.landing-eyebrow-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--pace-gold);
  text-transform: uppercase;
}

.landing-deliver {
  background: var(--pace-cream-lt);
  border-top: 2px solid rgba(200, 149, 42, 0.22);
}
.landing-deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.landing-scard {
  background: #fff;
  border: 1px solid rgba(200, 149, 42, 0.18);
  border-radius: 12px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(22, 32, 46, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.landing-scard:hover {
  box-shadow: 0 20px 52px rgba(22, 32, 46, 0.13);
  transform: translateY(-4px);
}
.landing-scard-icon {
  width: 84px;
  height: 84px;
  background: #f2e6c8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.landing-scard h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--pace-text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.landing-scard p {
  font-size: 14px;
  line-height: 1.68;
  color: rgba(22, 32, 46, 0.62);
  margin: 0;
}

.landing-assets {
  background: var(--pace-navy);
  border-top: 2px solid rgba(200, 149, 42, 0.35);
}
.landing-assets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.landing-asset {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  border-right: 1px solid rgba(200, 149, 42, 0.14);
}
.landing-asset:last-child {
  border-right: none;
}
.landing-asset span {
  font-size: 13px;
  font-weight: 600;
  color: #e8d9b8;
  text-align: center;
}

.landing-why {
  background: var(--pace-cream);
}
.landing-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.landing-why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(22, 32, 46, 0.08);
}
.landing-why-item:last-child {
  border-right: none;
}
.landing-why-icon {
  width: 60px;
  height: 60px;
  background: rgba(200, 149, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.landing-why-item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--pace-text);
  margin-bottom: 8px;
}
.landing-why-item p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(22, 32, 46, 0.6);
  margin: 0;
}

.landing-pricing {
  background: #ece5d5;
  border-top: 1px solid rgba(200, 149, 42, 0.2);
}
.landing-pricing-head {
  text-align: center;
  margin-bottom: 52px;
}
.landing-pricing-head h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--pace-text);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.landing-pricing-head p {
  margin: 0 0 8px;
}
.landing-pricing-head .lead {
  font-size: 17px;
  font-weight: 600;
  color: rgba(22, 32, 46, 0.76);
}
.landing-pricing-head .sub {
  font-size: 14.5px;
  color: rgba(22, 32, 46, 0.58);
  margin-bottom: 0;
}
.landing-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.landing-pcard {
  border-radius: 14px;
  padding: 44px 40px;
  transition: transform 0.2s;
}
.landing-pcard:hover {
  transform: translateY(-3px);
}
.landing-pcard-light {
  background: #fff;
  border: 1px solid rgba(200, 149, 42, 0.22);
  box-shadow: 0 4px 24px rgba(22, 32, 46, 0.07);
}
.landing-pcard-dark {
  background: var(--pace-navy);
  border: 1px solid rgba(200, 149, 42, 0.32);
  box-shadow: 0 4px 24px rgba(10, 21, 32, 0.22);
}
.landing-pcard-bar {
  width: 4px;
  height: 36px;
  background: var(--pace-gold);
  border-radius: 2px;
  margin-bottom: 22px;
}
.landing-pcard-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--pace-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.landing-pcard-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 18px;
}
.landing-pcard-price span:first-child {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.landing-pcard-light .landing-pcard-price span:first-child {
  color: var(--pace-text);
}
.landing-pcard-dark .landing-pcard-price span:first-child {
  color: #fff;
}
.landing-pcard-price span:last-child {
  font-size: 14px;
  font-weight: 600;
}
.landing-pcard-light .landing-pcard-price span:last-child {
  color: rgba(22, 32, 46, 0.45);
}
.landing-pcard-dark .landing-pcard-price span:last-child {
  color: rgba(255, 255, 255, 0.42);
}
.landing-pcard p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.landing-pcard-light p {
  color: rgba(22, 32, 46, 0.62);
}
.landing-pcard-dark p {
  color: rgba(255, 255, 255, 0.66);
}
.landing-pcard-cta-gold {
  display: inline-flex;
  align-items: center;
  background: var(--pace-gold);
  color: var(--pace-navy);
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, transform 0.13s;
}
.landing-pcard-cta-gold:hover {
  background: var(--pace-gold-h);
  transform: translateY(-2px);
}
.landing-pcard-cta-outline {
  display: inline-flex;
  align-items: center;
  color: var(--pace-gold);
  border: 1.5px solid rgba(200, 149, 42, 0.44);
  background: rgba(200, 149, 42, 0.1);
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 7px;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
}
.landing-pcard-cta-outline:hover {
  background: rgba(200, 149, 42, 0.22);
}
.landing-pricing-footnote {
  text-align: center;
  font-size: 13.5px;
  color: rgba(22, 32, 46, 0.5);
  margin: 24px auto 0;
  max-width: 480px;
}

.landing-placeholder {
  padding: 50px 5vw;
  background: #e4dcd0;
  border-top: 1px solid rgba(200, 149, 42, 0.2);
}
.landing-placeholder.alt {
  background: #faf7f2;
  border-top-color: rgba(200, 149, 42, 0.16);
}
.landing-placeholder-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.landing-placeholder-icon {
  width: 54px;
  height: 54px;
  background: rgba(200, 149, 42, 0.16);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.landing-placeholder.alt .landing-placeholder-icon {
  background: rgba(200, 149, 42, 0.1);
}
.landing-placeholder-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--pace-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.landing-placeholder-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--pace-text);
}

/* ─── Mobile responsive ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hamburger-btn {
    display: flex;
  }
  .pace-hero {
    display: none;
  }
  /* Hide nav on mobile unless mobile-open is set */
  #nav-auth:not(.hidden):not(.mobile-open),
  #nav-user:not(.hidden):not(.mobile-open) {
    display: none !important;
  }
  /* Mobile nav open state */
  #nav-auth.mobile-open,
  #nav-user.mobile-open {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    order: 10;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0.5rem;
    gap: 0;
    margin-top: -0.25rem;
  }
  #nav-auth.mobile-open .nav-links button,
  #nav-user.mobile-open .nav-links button,
  #nav-auth.mobile-open button,
  #nav-user.mobile-open button {
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    margin: 0 !important;
  }
  #nav-auth.mobile-open > button:last-child,
  #nav-user.mobile-open > :last-child button {
    border-bottom: none;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-user-trigger {
    width: 100%;
    border-radius: 0;
    justify-content: space-between;
    border-left: none;
    border-right: none;
  }
  .screen-inner {
    padding: 1.5rem 1rem 3rem;
  }
  .card {
    padding: 1.5rem 1.25rem;
  }
  h1 {
    font-size: 1.45rem;
  }
  .btn-row {
    flex-direction: column;
  }
  .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
  .screen-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .disclaimer-box {
    padding: 1rem;
  }
  .download-row {
    flex-direction: column;
  }
  .download-row .btn {
    width: 100%;
  }
  .page-title-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-hero-content h1 {
    font-size: 34px;
  }
  .landing-deliver-grid {
    grid-template-columns: 1fr;
  }
  .landing-assets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-asset {
    border-right: none;
    border-bottom: 1px solid rgba(200, 149, 42, 0.14);
    padding: 16px 0;
  }
  .landing-why-grid {
    grid-template-columns: 1fr;
  }
  .landing-why-item {
    border-right: none;
    border-bottom: 1px solid rgba(22, 32, 46, 0.08);
    padding: 20px 0;
  }
  .landing-pricing-grid {
    grid-template-columns: 1fr;
  }
  .landing-section {
    padding: 48px 5vw;
  }
}
