:root {
  --resource-bg: #f4f6f8;
  --resource-surface: #ffffff;
  --resource-soft: #edf8f2;
  --resource-ink: #18253f;
  --resource-muted: #5c6b80;
  --resource-line: #dce4e9;
  --resource-green: #1f8f63;
  --resource-green-dark: #0f5132;
  --resource-navy: #18253f;
  --resource-teal: #2e9e6f;
  --resource-amber: #d89b2b;
  --resource-red: #b42318;
  --resource-shadow: 0 14px 32px rgba(24, 37, 63, 0.08);
  --resource-shadow-soft: 0 8px 22px rgba(24, 37, 63, 0.06);
}

* {
  box-sizing: border-box;
}

body.public-resource-page {
  margin: 0;
  color: var(--resource-ink);
  background: var(--resource-bg);
  font-family: Inter, "Manrope", "Avenir Next", Arial, sans-serif;
  line-height: 1.55;
}

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(24, 37, 63, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.masthead-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 180px;
  height: auto;
}

.marketing-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.marketing-nav-group {
  position: relative;
}

.marketing-nav-group summary {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--resource-muted);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
}

.marketing-nav-group summary::-webkit-details-marker {
  display: none;
}

.marketing-nav-group summary:hover,
.marketing-nav-group[open] summary {
  color: var(--resource-ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--resource-line);
}

.marketing-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 80;
  width: min(680px, calc(100vw - 34px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  transform: translateX(-50%);
  border: 1px solid var(--resource-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--resource-shadow);
}

.marketing-nav-link {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border-radius: 12px;
  color: var(--resource-ink);
  text-decoration: none;
}

.marketing-nav-link:hover {
  background: var(--resource-soft);
}

.marketing-nav-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.marketing-nav-desc {
  color: var(--resource-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

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

.resource-btn,
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--resource-line);
  border-radius: 10px;
  background: #fff;
  color: var(--resource-ink);
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.resource-btn:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(24, 37, 63, 0.08);
}

.resource-btn-primary,
.btn.primary {
  border-color: var(--resource-green-dark);
  background: var(--resource-green);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  color: var(--resource-muted);
}

.breadcrumb-trail {
  padding-top: 18px;
  color: var(--resource-muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb-trail ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-trail li + li::before {
  content: "/";
  margin-right: 7px;
  color: #8996a6;
}

.breadcrumb-trail a {
  color: var(--resource-muted);
  text-decoration: none;
}

.breadcrumb-trail a:hover {
  color: var(--resource-green-dark);
  text-decoration: underline;
}

.breadcrumb-trail span {
  color: var(--resource-ink);
}

.resource-hero {
  padding: 34px 0 18px;
}

.resource-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: center;
}

.resource-eyebrow,
.resource-card-format,
.resource-status {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #badfce;
  background: var(--resource-soft);
  color: var(--resource-green-dark);
  font-size: 12px;
  font-weight: 900;
}

.resource-hero h1,
.resource-section-title,
.resource-card-title,
.resource-panel h2,
.resource-cta h2 {
  margin: 0;
  color: var(--resource-ink);
  letter-spacing: 0;
}

.resource-hero h1 {
  max-width: 900px;
  margin-top: 14px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.03;
  font-weight: 850;
}

.resource-hero p {
  max-width: 68ch;
  margin: 14px 0 0;
  color: var(--resource-muted);
  font-size: 18px;
}

.resource-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.resource-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.resource-hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #c7e4d4;
  border-radius: 999px;
  background: #f3fbf6;
  color: var(--resource-green-dark);
  font-size: 12px;
  font-weight: 900;
}

.resource-hero-panel,
.resource-panel,
.resource-card,
.resource-cta,
.resource-tool-shell,
.resource-disclaimer {
  border: 1px solid var(--resource-line);
  border-radius: 12px;
  background: var(--resource-surface);
  box-shadow: var(--resource-shadow);
}

.resource-hero-panel {
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(46, 158, 111, 0.18), rgba(46, 158, 111, 0.02) 44%),
    var(--resource-navy);
  color: #fff;
  box-shadow: 0 22px 52px rgba(24, 37, 63, 0.18);
}

.resource-hero-panel-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.resource-hero-panel-head span {
  color: #a9d9c1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-hero-panel-head strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.resource-dashboard-preview {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.resource-dashboard-metric {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.resource-dashboard-metric span {
  display: block;
  color: #c5d1df;
  font-size: 11px;
  font-weight: 850;
}

.resource-dashboard-metric strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.resource-preview-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-preview-row:last-child {
  border-bottom: 0;
}

.resource-preview-row span {
  color: #c5d1df;
  font-size: 13px;
  font-weight: 700;
}

.resource-preview-row strong {
  color: #e8f7ef;
  font-size: 14px;
}

.resource-workflow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: var(--resource-navy);
  box-shadow: var(--resource-shadow-soft);
}

.resource-workflow-step {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(232, 247, 239, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.resource-section {
  padding: 22px 0;
  scroll-margin-top: 92px;
}

.resource-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.resource-section-title {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.resource-section-head p {
  max-width: 70ch;
  margin: 0;
  color: var(--resource-muted);
}

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

.resource-card {
  min-height: 100%;
  display: grid;
  gap: 12px;
  padding: 18px;
  align-content: start;
  border-color: #dce4e9;
  box-shadow: var(--resource-shadow-soft);
}

.resource-card-title {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 850;
}

.resource-card p {
  margin: 0;
  color: var(--resource-muted);
  font-size: 14px;
}

.resource-card-benefit {
  color: #304158;
  font-weight: 750;
  line-height: 1.42;
}

.resource-card-best {
  font-size: 13px;
  line-height: 1.4;
}

.resource-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-card-link {
  color: inherit;
  text-decoration: none;
}

.resource-card-link:hover .resource-card-title {
  color: var(--resource-green-dark);
  text-decoration: none;
}

.resource-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 143, 99, 0.28);
  box-shadow: 0 16px 34px rgba(24, 37, 63, 0.1);
}

.resource-status-planned {
  border-color: #d9c69d;
  background: #fff7e6;
  color: #7a520e;
}

.resource-tool-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 20px;
  padding: 18px;
  border-color: #dce4e9;
  background: #ffffff;
  box-shadow: var(--resource-shadow);
}

.resource-tool-workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--resource-muted);
  font-size: 12px;
  font-weight: 900;
}

.resource-tool-workflow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #c7e4d4;
  border-radius: 999px;
  background: var(--resource-soft);
  color: var(--resource-green-dark);
}

.resource-tool-workflow-arrow {
  color: var(--resource-teal);
  font-weight: 900;
}

.resource-input-panel,
.resource-result-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(24, 37, 63, 0.08);
  border-radius: 12px;
  background: #ffffff;
}

.resource-result-panel {
  border-color: rgba(24, 37, 63, 0.14);
  background:
    linear-gradient(180deg, rgba(46, 158, 111, 0.13), rgba(46, 158, 111, 0.02) 38%),
    #20304a;
  color: #fffdf8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(24, 37, 63, 0.13);
}

.resource-result-panel .resource-section-title {
  color: #fffdf8;
}

.resource-result-panel .resource-panel-note {
  color: #c8d3df;
}

.resource-input-form {
  display: grid;
  gap: 14px;
}

.resource-input-group {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid #d8e5dd;
  border-radius: 12px;
  background: #ffffff;
}

.resource-input-group legend {
  padding: 0 8px;
  color: var(--resource-green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.resource-input-group-optional {
  padding: 0;
}

.resource-input-group-optional summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  color: #49586c;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.resource-input-group-optional summary::-webkit-details-marker {
  display: none;
}

.resource-input-group-optional summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #badfce;
  border-radius: 999px;
  background: #f6f8fa;
  color: var(--resource-green-dark);
  font-weight: 900;
}

.resource-input-group-optional[open] summary {
  border-bottom: 1px solid #d8e5dd;
}

.resource-input-group-optional[open] summary::after {
  content: "-";
}

.resource-input-group-optional .resource-input-grid {
  padding: 14px;
}

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

.resource-field {
  display: grid;
  gap: 6px;
}

.resource-field label,
.resource-toggle-label {
  color: var(--resource-ink);
  font-size: 13px;
  font-weight: 850;
}

.resource-field input,
.resource-field select,
.resource-field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d3ded6;
  border-radius: 10px;
  background: #ffffff;
  color: var(--resource-ink);
  padding: 0 11px;
  font: inherit;
  font-size: 15px;
}

.resource-field textarea {
  min-height: 84px;
  padding: 10px 11px;
  resize: vertical;
}

.resource-field-wide {
  grid-column: 1 / -1;
}

.resource-toggle-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d3ded6;
  border-radius: 10px;
  background: #fff;
}

.resource-toggle-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--resource-teal);
}

.resource-field-help,
.resource-panel-note {
  color: var(--resource-muted);
  font-size: 12px;
  line-height: 1.4;
}

.resource-panel-note {
  margin: 0 0 14px;
}

.resource-inline-disclaimer {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  background: #f7faf8;
  color: #3d5248;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

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

.resource-metric-card {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--resource-line);
  border-radius: 10px;
  background: #fff;
}

.resource-result-panel .resource-metric-card {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.resource-metric-label {
  color: var(--resource-muted);
  font-size: 12px;
  font-weight: 850;
}

.resource-result-panel .resource-metric-label {
  color: #c5d1df;
}

.resource-metric-value {
  min-height: 28px;
  color: var(--resource-ink);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.resource-result-panel .resource-metric-value {
  color: #fffdf8;
}

.resource-metric-context {
  margin: 0;
  color: var(--resource-muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.resource-result-panel .resource-metric-context {
  color: #cbd6e2;
}

.resource-metric-card-wide {
  grid-column: 1 / -1;
}

.resource-result-panel .resource-metric-card-wide {
  border-color: rgba(46, 158, 111, 0.36);
  background: rgba(46, 158, 111, 0.12);
}

.resource-metric-card-wide .resource-metric-value {
  font-size: 18px;
  line-height: 1.32;
  font-weight: 800;
}

.resource-result-panel .resource-metric-card-wide .resource-metric-value {
  font-size: 18px;
  line-height: 1.32;
  font-weight: 800;
}

.resource-metric-card-note {
  grid-column: 1 / -1;
  gap: 6px;
}

.resource-result-panel .resource-metric-card-note {
  border-color: rgba(46, 158, 111, 0.34);
  background: rgba(232, 247, 239, 0.08);
}

.resource-metric-card-note .resource-metric-value {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
}

.resource-result-panel .resource-metric-card-note .resource-metric-value {
  color: #eff8f3;
}

.resource-metric-card-secondary {
  background: #f7faf8;
}

.resource-result-panel .resource-metric-card-secondary {
  border-color: rgba(255, 253, 248, 0.12);
  background: rgba(255, 253, 248, 0.065);
}

.resource-result-panel .resource-metric-card-secondary .resource-metric-value {
  font-size: 21px;
}

.resource-risk-badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #badfce;
  border-radius: 999px;
  background: var(--resource-soft);
  color: var(--resource-green-dark);
  font-size: 13px;
  font-weight: 900;
}

.resource-risk-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 999px;
  background: currentColor;
}

.resource-risk-good {
  border-color: #badfce;
  background: var(--resource-soft);
  color: var(--resource-green-dark);
}

.resource-risk-watch {
  border-color: #f0cf82;
  background: #fff8e8;
  color: #7a520e;
}

.resource-risk-high {
  border-color: #f2b8b5;
  background: #fff1f0;
  color: var(--resource-red);
}

.resource-risk-neutral {
  border-color: #d2dae6;
  background: #f5f7fb;
  color: var(--resource-muted);
}

.resource-result-panel .resource-risk-good {
  border-color: rgba(31, 143, 99, 0.65);
  background: rgba(232, 247, 239, 0.96);
  color: #0f5132;
}

.resource-result-panel .resource-risk-watch {
  border-color: rgba(216, 155, 43, 0.7);
  background: rgba(255, 248, 232, 0.96);
  color: #7a520e;
}

.resource-result-panel .resource-risk-high {
  border-color: rgba(180, 35, 24, 0.55);
  background: rgba(255, 241, 240, 0.96);
  color: #8a1f16;
}

.resource-result-panel .resource-risk-neutral {
  border-color: rgba(200, 211, 223, 0.7);
  background: rgba(245, 247, 251, 0.96);
  color: #34445a;
}

.resource-explainer-list,
.resource-note-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--resource-muted);
}

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

.resource-panel,
.resource-cta,
.resource-disclaimer {
  padding: 20px;
}

.resource-operator-note-panel {
  border-color: #b9dcc9;
  background: #f1fbf5;
}

.resource-product-bridge {
  border-color: rgba(24, 37, 63, 0.16);
  background:
    linear-gradient(180deg, rgba(232, 247, 239, 0.95), rgba(255, 255, 255, 0.96));
}

.resource-product-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.resource-product-proof-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #cfe2d6;
  border-radius: 10px;
  background: #ffffff;
}

.resource-product-proof-card span {
  display: block;
  color: var(--resource-green-dark);
  font-size: 12px;
  font-weight: 900;
}

.resource-product-proof-card p {
  margin: 6px 0 0;
  color: #415269;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.resource-panel h2 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

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

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

.resource-review-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--resource-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(32, 64, 45, 0.06);
}

.resource-review-card h3 {
  margin: 0 0 8px;
  color: var(--resource-ink);
  font-size: 16px;
}

.resource-review-card p {
  margin: 0;
  color: var(--resource-muted);
  font-size: 13px;
  line-height: 1.45;
}

.booking-support-copy {
  max-width: 62ch;
}

.booking-duration-note {
  margin-top: 10px;
}

.booking-path-card,
.booking-bring-card {
  gap: 14px;
}

.booking-path-label {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #d6e5dc;
  border-radius: 999px;
  background: #f7faf8;
  color: var(--resource-muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.booking-path-card .resource-btn,
.booking-bring-card .resource-btn {
  width: fit-content;
}

.booking-review-card h3 {
  margin: 0 0 8px;
  color: var(--resource-ink);
  font-size: 16px;
  line-height: 1.25;
}

.booking-flow-shell {
  align-items: start;
}

.booking-form-panel {
  min-width: 0;
}

.booking-request-form {
  min-width: 0;
}

.booking-scheduler-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.booking-scheduler-badge {
  background: rgba(232, 247, 239, 0.12);
  border-color: rgba(232, 247, 239, 0.18);
  color: #d9f1e4;
}

.booking-scheduler-copy {
  margin: 0;
  color: #c8d3df;
}

.booking-scheduler-state {
  display: grid;
  gap: 10px;
  align-content: start;
}

.booking-scheduler-state h3 {
  margin: 0;
  color: #fffdf8;
  font-size: 19px;
  line-height: 1.25;
}

.booking-scheduler-state p {
  margin: 0;
  color: #c8d3df;
  font-size: 14px;
  line-height: 1.5;
}

.booking-scheduler-frame-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 37, 63, 0.14);
}

.booking-scheduler-frame {
  width: 100%;
  min-height: 720px;
  border: 0;
  display: block;
  background: #fff;
}

.resource-audit-form {
  padding: 18px;
  border: 1px solid var(--resource-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(32, 64, 45, 0.08);
}

.resource-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.resource-form-status {
  min-height: 20px;
  color: var(--resource-muted);
  font-size: 13px;
  font-weight: 750;
}

.resource-confirmation-panel,
.resource-error-panel {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
}

.resource-confirmation-panel {
  border: 1px solid #badfce;
  background: #f3fbf6;
  color: #184f34;
}

.resource-error-panel {
  border: 1px solid #f0c2b8;
  background: #fff7f4;
  color: #7f2d1d;
}

.resource-confirmation-panel h3,
.resource-error-panel h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.resource-confirmation-panel p,
.resource-error-panel p {
  margin: 0;
}

.resource-confirmation-panel p + p {
  margin-top: 8px;
}

.resource-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.resource-related-card {
  min-height: 100%;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--resource-line);
  border-radius: 10px;
  background: #fff;
  color: var(--resource-ink);
  text-decoration: none;
}

.resource-related-card:hover strong {
  color: var(--resource-green-dark);
  text-decoration: underline;
}

.resource-related-card span {
  color: var(--resource-muted);
  font-size: 12px;
  font-weight: 850;
}

.resource-related-card strong {
  font-size: 15px;
  line-height: 1.25;
}

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

.resource-faq-grid .faq-item {
  padding: 16px;
  border: 1px solid var(--resource-line);
  border-radius: 10px;
  background: #fff;
}

.resource-faq-grid .faq-item summary {
  cursor: pointer;
  list-style: none;
}

.resource-faq-grid .faq-item summary::-webkit-details-marker {
  display: none;
}

.resource-faq-question {
  display: block;
  margin: 0 0 8px;
  color: var(--resource-ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 850;
}

.resource-faq-grid .faq-item p {
  margin: 0;
  color: var(--resource-muted);
  font-size: 14px;
}

.resource-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 34px;
}

.resource-cta p {
  margin: 8px 0 0;
  color: var(--resource-muted);
}

.resource-cta-soft {
  margin-bottom: 14px;
  border-color: #cfe2d6;
  background:
    linear-gradient(135deg, #e8f7ef 0%, #ffffff 74%);
}

.resource-disclaimer {
  color: var(--resource-muted);
  font-size: 13px;
}

.resource-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.resource-preview-stack {
  display: grid;
  gap: 16px;
}

.resource-preview-block {
  border: 1px solid var(--resource-line);
  border-radius: 8px;
  background: var(--resource-surface);
  box-shadow: var(--resource-shadow);
  overflow: hidden;
}

.resource-preview-block-head {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--resource-line);
}

.resource-preview-block-head h3,
.resource-check-group h3 {
  margin: 0;
  color: var(--resource-ink);
  font-size: 18px;
  line-height: 1.25;
}

.resource-preview-block-head p {
  margin: 0;
  color: var(--resource-muted);
  font-size: 13px;
}

.resource-table-scroll {
  overflow-x: auto;
}

.resource-preview-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.resource-preview-table th,
.resource-preview-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--resource-line);
  color: var(--resource-ink);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.resource-preview-table thead th {
  background: #f2f7f2;
  font-weight: 900;
}

.resource-preview-table tbody th {
  min-width: 150px;
  font-weight: 850;
}

.resource-preview-table td[contenteditable="true"] {
  background: #fffdf8;
  outline-color: var(--resource-teal);
}

.resource-checklist-shell {
  align-items: start;
}

.resource-checklist-groups {
  display: grid;
  gap: 12px;
}

.resource-check-group {
  padding: 16px;
  border: 1px solid var(--resource-line);
  border-radius: 8px;
  background: #fff;
}

.resource-check-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.resource-check-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--resource-ink);
  font-size: 14px;
  font-weight: 750;
}

.resource-check-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--resource-teal);
}

.resource-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--resource-muted);
}

.resource-step-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.resource-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--resource-soft);
  color: var(--resource-green-dark);
  font-size: 12px;
  font-weight: 900;
}

.marketing-footer {
  padding: 34px 0 44px;
  color: var(--resource-muted);
  font-size: 13px;
}

.marketing-footer-inner {
  display: grid;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 37, 63, 0.12);
}

.marketing-footer-brand {
  display: grid;
  gap: 6px;
  max-width: 720px;
}

.marketing-footer-brand strong {
  color: var(--resource-ink);
  font-size: 18px;
  font-weight: 900;
}

.marketing-footer-brand span {
  line-height: 1.5;
}

.marketing-footer-tagline {
  color: var(--resource-green-dark);
  font-weight: 850;
}

.marketing-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 20px;
}

.marketing-footer-group h2 {
  margin: 0 0 9px;
  color: var(--resource-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.marketing-footer-link {
  display: grid;
  gap: 2px;
  color: var(--resource-ink);
  text-decoration: none;
  line-height: 1.3;
}

.marketing-footer-link span {
  color: var(--resource-ink);
  font-weight: 800;
}

.marketing-footer-link small {
  color: var(--resource-muted);
  font-size: 11px;
  line-height: 1.35;
}

.marketing-footer-link:hover span {
  color: var(--resource-green-dark);
}

.marketing-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(24, 37, 63, 0.1);
  color: var(--resource-muted);
  font-size: 11px;
}

.marketing-footer-bottom a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .marketing-nav {
    display: none;
  }

  .resource-hero-grid,
  .resource-tool-shell,
  .resource-panels-grid,
  .resource-cta {
    grid-template-columns: 1fr;
  }

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

  .resource-related-grid,
  .resource-review-grid,
  .resource-product-proof-grid,
  .marketing-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .masthead-row {
    min-height: 62px;
  }

  .brand img {
    width: 150px;
  }

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

  .resource-hero {
    padding: 38px 0 18px;
  }

  .resource-hero h1 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .resource-card-grid,
  .resource-faq-grid,
  .resource-related-grid,
  .resource-review-grid,
  .resource-product-proof-grid,
  .resource-input-grid,
  .resource-metric-grid,
  .resource-dashboard-metrics,
  .marketing-footer-grid {
    grid-template-columns: 1fr;
  }

  .resource-workflow-strip {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .resource-tool-workflow {
    gap: 6px;
  }

  .resource-tool-shell,
  .resource-panel,
  .resource-cta,
  .resource-hero-panel {
    min-width: 0;
    padding: 16px;
  }

  .resource-cta-actions,
  .resource-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .resource-btn,
  .btn {
    width: 100%;
  }

  .nav-actions .btn {
    width: auto;
    white-space: nowrap;
  }

  .resource-hero-grid > *,
  .resource-hero-chips,
  .resource-preview-row {
    min-width: 0;
  }

  .resource-hero-chips span {
    white-space: normal;
  }

  .resource-preview-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .resource-dashboard-metric strong {
    font-size: 20px;
  }

  .resource-preview-row strong {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 380px) and (max-width: 640px) {
  .resource-input-group .resource-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-input-group .resource-field-wide,
  .resource-input-group-optional .resource-field-wide {
    grid-column: 1 / -1;
  }
}

@media print {
  body.public-resource-page {
    background: #fff;
  }

  .masthead,
  .breadcrumb-trail,
  .marketing-footer,
  .resource-hero,
  .resource-cta,
  .resource-related-grid,
  .resource-review-grid,
  .resource-faq-grid,
  .resource-preview-actions {
    display: none !important;
  }

  .container {
    width: 100%;
  }

  .resource-section {
    padding: 12px 0;
  }

  .resource-panel,
  .resource-preview-block,
  .resource-tool-shell,
  .resource-metric-card,
  .resource-check-group {
    box-shadow: none;
    break-inside: avoid;
  }

  .resource-preview-table {
    min-width: 0;
    font-size: 11px;
  }
}
