:root {
  --deep-navy: #0F2742;
  --dark-navy: #071B2E;
  --orange: #F28A24;
  --orange-hover: #D96F12;
  --cream: #FFF8EF;
  --white: #FFFFFF;
  --border: #E8E2D8;
  --text: #1D2430;
  --muted: #667085;
  --success: #2E7D32;
  --warning: #F59E0B;
  --danger: #C2410C;
  --surface: #F7F4EE;
  --line: rgba(15, 39, 66, 0.12);
  --shadow: 0 22px 52px rgba(15, 39, 66, 0.14);
  --soft-shadow: 0 12px 28px rgba(15, 39, 66, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--deep-navy);
  font-size: 2.7rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  color: var(--deep-navy);
  font-size: 2rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  color: var(--deep-navy);
  font-size: 1.08rem;
}

p {
  margin-bottom: 14px;
}

ul,
ol {
  margin-top: 10px;
  padding-left: 21px;
}

li + li {
  margin-top: 7px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 138, 36, 0.16);
}

label {
  display: block;
  margin: 14px 0 7px;
  color: var(--deep-navy);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(232, 226, 216, 0.88);
  background: rgba(255, 248, 239, 0.94);
  backdrop-filter: blur(18px);
}

.private-header {
  background: rgba(255, 255, 255, 0.95);
}

.nav-shell,
.hero,
.app-hero,
.client-layout,
.site-footer,
.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand-mark {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 11px;
}

.brand-symbol {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--deep-navy), var(--dark-navy));
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.2), 0 12px 24px rgba(15, 39, 66, 0.2);
}

.brand-roof {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 20px;
  height: 20px;
  border-top: 4px solid var(--orange);
  border-left: 4px solid var(--orange);
  transform: rotate(45deg);
}

.brand-hand {
  position: absolute;
  right: 9px;
  bottom: 12px;
  width: 28px;
  height: 9px;
  border-radius: 8px;
  background: var(--white);
}

.brand-hand::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 4px;
  width: 19px;
  height: 8px;
  border-radius: 8px;
  background: var(--white);
  transform: rotate(-24deg);
}

.brand-spark {
  position: absolute;
  right: 7px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
}

.brand-spark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

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

.brand-copy strong {
  color: var(--deep-navy);
  font-size: 1.12rem;
  font-weight: 900;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  color: var(--muted);
  font-weight: 850;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 9px 11px;
}

.nav-links a:hover {
  color: var(--deep-navy);
  background: var(--white);
}

.nav-links .nav-cta {
  color: var(--white);
  background: var(--orange);
}

.nav-links .nav-cta:hover {
  color: var(--white);
  background: var(--orange-hover);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  overflow-wrap: anywhere;
}

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

.button.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 12px 28px rgba(242, 138, 36, 0.26);
}

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

.button.secondary {
  color: var(--deep-navy);
  background: var(--white);
  border-color: var(--border);
}

.button.secondary:hover {
  border-color: rgba(15, 39, 66, 0.24);
  box-shadow: var(--soft-shadow);
}

.button.full {
  width: 100%;
}

.button.small {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 0.9rem;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--orange-hover);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fine-print,
.hero-subtitle,
.section-title p,
.app-hero p,
.discreet-note {
  color: var(--muted);
}

.status-pill,
.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 8px;
  padding: 5px 10px;
  background: #F2F4F7;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
}

.status-pill.navy,
.badge.navy {
  background: rgba(15, 39, 66, 0.1);
  color: var(--deep-navy);
}

.status-pill.success,
.badge.success {
  background: rgba(46, 125, 50, 0.12);
  color: var(--success);
}

.status-pill.warning,
.badge.warning {
  background: rgba(245, 158, 11, 0.14);
  color: #8A5200;
}

.status-pill.danger,
.badge.danger {
  background: rgba(194, 65, 12, 0.12);
  color: var(--danger);
}

.hero {
  display: grid;
  gap: 34px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 58px 0 42px;
}

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

.hero-subtitle {
  max-width: 650px;
  font-size: 1.14rem;
}

.cta-row,
.hero-assurance,
.card-badges,
.legal-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-row {
  margin-top: 24px;
}

.hero-assurance {
  margin-top: 22px;
}

.hero-assurance span {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 8px 11px;
  color: var(--deep-navy);
  font-size: 0.88rem;
  font-weight: 850;
}

.app-mockup,
.provider-preview,
.founder-offer,
.request-summary-card,
.product-panel,
.journey-card,
.service-card,
.feature-grid article,
.trust-grid article,
.dashboard-preview,
.agreement-card,
.founder-side-note,
.legal-card,
.queue-card,
.confirmation-box,
.state-card,
.metric-card,
.report-item,
.audit-item,
.risk-row,
.price-editor-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.app-mockup {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, var(--white), #FFF0DF);
  box-shadow: var(--shadow);
}

.mockup-top,
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mockup-top span {
  width: 68px;
  height: 8px;
  border-radius: 8px;
  background: #D7DDE5;
}

.mockup-request {
  border-radius: 8px;
  background: var(--deep-navy);
  color: var(--white);
  padding: 18px;
}

.mockup-request strong {
  display: block;
  margin: 3px 0;
  font-size: 1.22rem;
}

.mockup-request p,
.mockup-footer span {
  color: rgba(255, 255, 255, 0.76);
}

.mini-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mockup-list {
  display: grid;
  gap: 10px;
}

.mockup-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 13px;
}

.mockup-list p {
  margin: 0;
}

.mockup-list small {
  display: block;
  color: var(--muted);
}

.mock-dot {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
}

.mock-dot::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: currentColor;
}

.mock-dot.success {
  color: var(--success);
  background: rgba(46, 125, 50, 0.12);
}

.mock-dot.warning {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.14);
}

.mock-dot.navy {
  color: var(--deep-navy);
  background: rgba(15, 39, 66, 0.1);
}

.mockup-footer {
  border-radius: 8px;
  background: var(--dark-navy);
  padding: 13px;
  color: var(--white);
  font-weight: 800;
}

.section {
  padding: 64px 0;
}

.problem-band,
.services-band,
.provider-process-band,
.founder-benefits-band,
.rules-band {
  border-top: 1px solid rgba(232, 226, 216, 0.7);
  border-bottom: 1px solid rgba(232, 226, 216, 0.7);
  background: rgba(255, 255, 255, 0.55);
}

.section-title {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

.pain-grid,
.journey-grid,
.service-grid,
.feature-grid,
.trust-grid,
.metric-grid,
.dashboard-grid,
.provider-review-grid,
.form-grid,
.client-layout,
.provider-registration,
.founder-application,
.rules-layout,
.process-layout {
  display: grid;
  gap: 16px;
}

.pain-grid article {
  border-left: 4px solid var(--orange);
  padding: 8px 0 8px 16px;
}

.pain-grid span,
.feature-number {
  color: var(--orange-hover);
  font-weight: 950;
}

.pain-grid p,
.feature-grid p,
.journey-card li,
.trust-grid p,
.service-card p,
.timeline p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.journey-card,
.service-card,
.feature-grid article,
.trust-grid article {
  padding: 20px;
}

.journey-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--deep-navy);
  color: var(--white);
  font-weight: 950;
}

.service-card {
  display: grid;
  min-height: 250px;
  align-content: start;
  gap: 13px;
}

.service-card p {
  margin-bottom: 0;
}

.service-icon,
.category-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 8px;
  background: rgba(242, 138, 36, 0.12);
  color: var(--deep-navy);
}

.service-icon svg,
.category-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.subservice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.subservice-list span {
  border-radius: 8px;
  background: #F4F6F8;
  padding: 6px 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.card-badges {
  margin-top: auto;
}

.trust-band {
  background: var(--deep-navy);
  color: var(--white);
}

.trust-band h2,
.trust-band .trust-grid strong {
  color: var(--white);
}

.trust-band p {
  color: rgba(255, 255, 255, 0.78);
}

.trust-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.trust-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.discreet-note {
  border-left: 4px solid var(--orange);
  margin-top: 22px;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.app-hero {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 48px 0 24px;
}

.app-hero h1 {
  font-size: 2.35rem;
}

.request-summary-card {
  padding: 20px;
}

.request-summary-card ol {
  color: var(--muted);
}

.client-layout {
  align-items: start;
  padding-bottom: 58px;
}

.product-panel {
  padding: 22px;
}

.panel-heading {
  margin-bottom: 16px;
}

.panel-heading p {
  margin-bottom: 6px;
}

.step-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.step-heading span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--deep-navy);
  color: var(--white);
  font-weight: 950;
}

.step-heading h2,
.step-heading h3,
.step-heading p {
  margin-bottom: 3px;
}

.compact-step span {
  width: 30px;
  height: 30px;
  font-size: 0.88rem;
}

.guided-step {
  margin-top: 24px;
}

.other-subservice {
  margin-top: 14px;
}

.last-step {
  padding-top: 4px;
}

.category-card-grid {
  display: grid;
  gap: 10px;
}

.category-option {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  color: var(--text);
  text-align: left;
}

.category-option:hover {
  border-color: rgba(15, 39, 66, 0.24);
}

.category-option.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 138, 36, 0.14);
}

.category-option strong {
  color: var(--deep-navy);
}

.category-option span {
  color: var(--muted);
  font-size: 0.86rem;
}

.subservice-chips,
.photo-options,
.segmented-options,
.feed-list,
.stack-list,
.risk-list,
.price-editor {
  display: grid;
  gap: 10px;
}

.subservice-chips {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.subservice-chip,
.segment {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--deep-navy);
  padding: 9px 11px;
  font-weight: 900;
  text-align: center;
}

.subservice-chip.active,
.segment.active {
  border-color: var(--deep-navy);
  background: var(--deep-navy);
  color: var(--white);
}

.segmented-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.helper-text,
.location-message {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.location-message.success {
  color: var(--success);
  font-weight: 800;
}

.location-message.warning {
  color: var(--danger);
  font-weight: 800;
}

.location-button {
  margin-top: 10px;
}

.photo-options {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  margin-bottom: 10px;
}

.photo-chip {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFF2E5;
  padding: 12px;
  color: #7A4109;
  font-weight: 850;
}

.photo-preview-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.photo-preview-card img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #EEF2F6;
}

.photo-preview-card span {
  display: block;
  color: var(--orange-hover);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.photo-preview-card strong {
  display: block;
  margin: 2px 0 8px;
  color: var(--deep-navy);
  overflow-wrap: anywhere;
}

.price-guidance {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #F8FAFC;
  padding: 15px;
}

.price-guidance p:last-child {
  margin-bottom: 0;
}

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

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

.status-column {
  display: grid;
  gap: 16px;
}

.state-card,
.report-item,
.audit-item {
  padding: 15px;
}

.state-card + .state-card,
.report-item + .report-item,
.audit-item + .audit-item {
  margin-top: 10px;
}

.state-card p,
.report-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-timeline {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
}

.timeline-step span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #EEF2F6;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.timeline-step.active span {
  background: rgba(46, 125, 50, 0.14);
  color: var(--success);
}

.timeline-step p {
  margin: 0;
}

.client-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.provider-hero .hero-subtitle,
.founder-hero .hero-subtitle {
  max-width: 680px;
}

.provider-preview,
.founder-offer {
  display: grid;
  gap: 14px;
  padding: 18px;
}

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

.preview-metrics div {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #F8FAFC;
  padding: 12px;
}

.preview-metrics small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.preview-metrics strong,
.founder-offer strong {
  color: var(--deep-navy);
  font-size: 1.45rem;
}

.queue-card {
  padding: 15px;
}

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

.feature-grid article {
  min-height: 180px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  box-shadow: var(--soft-shadow);
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: span 2;
  place-items: center;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 950;
}

.timeline p {
  margin-bottom: 0;
}

.provider-registration,
.founder-application,
.rules-layout,
.process-layout {
  align-items: start;
}

.provider-application-form {
  display: grid;
  gap: 20px;
}

.form-section {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.form-section legend {
  padding: 0 8px;
  color: var(--deep-navy);
  font-weight: 950;
}

.verification-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #F8FAFC;
  padding: 16px;
}

.verification-checklist,
.admin-review-checklist {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.verification-checklist span,
.admin-review-checklist span {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 9px 10px;
  color: var(--deep-navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-agreement {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.form-agreement details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFDF9;
  padding: 12px;
}

.form-agreement summary {
  color: var(--deep-navy);
  cursor: pointer;
  font-weight: 900;
}

.rules-checklist {
  display: grid;
  gap: 4px;
}

.application-timeline {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(46, 125, 50, 0.22);
  border-radius: 8px;
  background: rgba(46, 125, 50, 0.06);
  padding: 14px;
}

.dashboard-preview,
.agreement-card,
.founder-side-note {
  padding: 22px;
}

.compact-metrics {
  margin-bottom: 16px;
}

.agreement-card .check-row {
  margin: 16px 0;
}

.confirmation-box {
  margin-top: 14px;
  padding: 14px;
  border-color: rgba(46, 125, 50, 0.24);
  background: rgba(46, 125, 50, 0.08);
  color: var(--success);
  font-weight: 850;
}

.founder-offer {
  background: linear-gradient(180deg, var(--white), #FFF0DF);
}

.founder-offer strong {
  font-size: 3rem;
  line-height: 1;
}

.founder-offer ul {
  color: var(--muted);
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.legal-card {
  padding: 28px;
}

.legal-card h1 {
  font-size: 2.4rem;
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.legal-card a {
  color: var(--orange-hover);
  font-weight: 850;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--deep-navy);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: var(--deep-navy);
  font-weight: 850;
}

.internal-body {
  background: #F5F7FA;
}

.internal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.internal-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.internal-shell {
  display: grid;
  min-height: calc(100svh - 81px);
}

.internal-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 20px;
  background: var(--dark-navy);
  color: var(--white);
}

.internal-sidebar strong {
  font-size: 1rem;
}

.internal-tabs {
  display: grid;
  gap: 8px;
}

.tab {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.74);
  padding: 9px 11px;
  text-align: left;
  font-weight: 900;
}

.tab.active,
.tab:hover {
  background: var(--white);
  color: var(--deep-navy);
}

.internal-content {
  min-width: 0;
  padding: 24px;
}

.internal-title {
  margin-bottom: 20px;
}

.internal-title h1 {
  font-size: 2.3rem;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.metric-card {
  padding: 15px;
}

.metric-card small {
  display: block;
  min-height: 34px;
  color: var(--muted);
  font-weight: 850;
}

.metric-card span {
  display: block;
  color: var(--deep-navy);
  font-size: 1.45rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-bottom: 14px;
}

.toolbar label {
  margin: 0;
}

.toolbar select {
  width: min(260px, 100%);
}

.table-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--border);
  padding: 13px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--deep-navy);
  font-size: 0.8rem;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.provider-review-grid {
  grid-template-columns: 1fr;
}

.provider-card-admin {
  padding: 18px;
}

.provider-card-admin p {
  color: var(--muted);
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.control-row .button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 0.84rem;
}

.funnel {
  display: grid;
  gap: 12px;
}

.funnel-step {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
}

.funnel-step span {
  color: var(--deep-navy);
  font-weight: 950;
}

.funnel-bar {
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  border-radius: 8px;
  background: #EEF2F6;
}

.funnel-bar i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--orange), var(--orange-hover));
}

.stack-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.stack-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.risk-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  padding: 14px;
}

.risk-row span {
  color: var(--muted);
}

.risk-row.success {
  border-left: 5px solid var(--success);
}

.risk-row.warning {
  border-left: 5px solid var(--warning);
}

.risk-row.danger {
  border-left: 5px solid var(--danger);
}

.price-editor-row {
  display: grid;
  gap: 12px;
  padding: 15px;
}

.price-editor-row h3 {
  margin-bottom: 2px;
}

.price-inputs {
  display: grid;
  gap: 10px;
}

.security-panel ul {
  color: var(--muted);
}

@media (min-width: 720px) {
  h1 {
    font-size: 4.7rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .app-hero h1,
  .legal-card h1,
  .internal-title h1 {
    font-size: 3.1rem;
  }

  .hero,
  .app-hero,
  .client-layout,
  .provider-registration,
  .founder-application,
  .rules-layout,
  .process-layout,
  .trust-layout,
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

  .pain-grid,
  .journey-grid,
  .feature-grid,
  .trust-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

  .price-inputs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .internal-shell {
    grid-template-columns: 256px minmax(0, 1fr);
  }

  .price-editor-row {
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.7fr) auto;
    align-items: end;
  }
}

@media (min-width: 1180px) {
  .pain-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 719px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links.compact {
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .segmented-options {
    grid-template-columns: 1fr;
  }

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

  .internal-content {
    padding: 16px;
  }

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