:root {
  color-scheme: light;
  --graphite: #111719;
  --graphite-2: #1d2528;
  --steel: #56666a;
  --steel-light: #9ba8a8;
  --ember: #c76835;
  --ember-dark: #9e462d;
  --sage: #526f62;
  --paper: #f4f5f2;
  --paper-2: #e8ece7;
  --ink: #182023;
  --muted: #647174;
  --line: rgba(24, 32, 35, 0.14);
  --shadow: 0 24px 80px rgba(8, 12, 14, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #f8faf7;
  background: linear-gradient(180deg, rgba(8, 12, 14, 0.86), rgba(8, 12, 14, 0.2));
}

.brand-link,
.nav-links,
.header-actions,
.hero-actions,
.mobile-anchor-row,
.tool-actions,
.result-topline,
.guides-heading,
.footer-links {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.brand-link span {
  white-space: nowrap;
}

.nav-links {
  gap: 22px;
  color: rgba(248, 250, 247, 0.76);
  font-size: 14px;
}

.nav-links a:hover,
.header-action:hover,
.client-access-link:hover {
  color: #fff;
}

.header-actions {
  gap: 10px;
}

.header-action,
.client-access-link {
  padding: 9px 14px;
  border: 1px solid rgba(248, 250, 247, 0.35);
  border-radius: 8px;
  color: rgba(248, 250, 247, 0.86);
  font-size: 14px;
}

.client-access-link {
  background: rgba(248, 250, 247, 0.08);
  color: rgba(248, 250, 247, 0.72);
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  color: #fff;
  background: var(--graphite);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.9), rgba(5, 8, 10, 0.66) 43%, rgba(5, 8, 10, 0.22) 74%),
    linear-gradient(0deg, rgba(5, 8, 10, 0.78), rgba(5, 8, 10, 0.05) 38%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 118px 0 58px;
}

.eyebrow,
.section-kicker,
.tool-label,
.result-label {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow,
.section-kicker,
.tool-label {
  color: var(--ember);
}

.hero h1 {
  max-width: 760px;
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-line {
  max-width: 660px;
  margin: 20px 0 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.06;
  color: #f6f4ee;
}

.hero-copy {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(248, 250, 247, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

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

.button.primary {
  background: var(--ember);
  color: #fff;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.button.ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.full-width {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  gap: 10px;
  margin: 46px 0 0;
}

.hero-facts div {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 14px;
}

.hero-facts dt {
  font-weight: 900;
  color: #fff;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(248, 250, 247, 0.62);
}

.mobile-anchor-row {
  display: none;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.symptoms,
.diagnostic-section,
.audit-section,
.process-section,
.after-section,
.support-section,
.security-section,
.client-section,
.guides-section,
.contact-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.symptoms {
  background: var(--paper);
}

.symptoms h2,
.diagnostic-copy h2,
.audit-section h2,
.process-section h2,
.after-section h2,
.support-section h2,
.security-section h2,
.client-section h2,
.guides-section h2,
.contact-section h2 {
  max-width: 790px;
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.symptom-grid,
.deliverables,
.service-grid,
.support-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

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

.symptom-grid article,
.deliverables article,
.service-grid article,
.support-grid article,
.guide-grid article,
.diagnostic-tool,
.price-panel,
.client-access-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(24, 32, 35, 0.06);
}

.symptom-grid article,
.deliverables article,
.service-grid article,
.support-grid article,
.guide-grid article {
  padding: 20px;
}

.symptom-grid h3,
.deliverables h3,
.service-grid h3,
.support-grid h3,
.guide-grid h3,
.process-rail h3 {
  margin: 0;
  font-size: 18px;
}

.symptom-grid p,
.deliverables p,
.service-grid p,
.support-grid p,
.guide-grid p,
.process-rail p,
.security-copy p,
.client-section p,
.contact-section p,
.diagnostic-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.diagnostic-section {
  background:
    linear-gradient(180deg, rgba(17, 23, 25, 0.97), rgba(29, 37, 40, 0.99)),
    var(--graphite);
  color: #f8faf7;
}

.diagnostic-layout,
.offer-layout,
.security-layout,
.client-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 6vw, 68px);
  align-items: start;
}

.diagnostic-copy p,
.diagnostic-copy li {
  color: rgba(248, 250, 247, 0.72);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  content: "";
}

.diagnostic-tool {
  padding: 22px;
  color: var(--ink);
  background: #f8faf7;
  box-shadow: var(--shadow);
}

.tool-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.tool-header h3 {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.05;
}

.mode-pill,
.risk-pill,
.offer-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.mode-pill {
  background: rgba(82, 111, 98, 0.14);
  color: var(--sage);
}

.input-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid rgba(24, 32, 35, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

textarea:focus,
input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(199, 104, 53, 0.32);
  outline-offset: 2px;
}

.tool-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.secret-warning {
  margin-top: 14px;
  border: 1px solid rgba(158, 70, 45, 0.32);
  border-radius: 8px;
  padding: 12px;
  color: #71311f;
  background: #fff0e9;
  line-height: 1.45;
}

.result-panel {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.result-topline {
  flex-wrap: wrap;
  gap: 8px;
}

.risk-pill {
  background: #fff0e9;
  color: var(--ember-dark);
}

.offer-pill {
  background: rgba(82, 111, 98, 0.14);
  color: var(--sage);
}

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

.result-label {
  color: var(--muted);
}

.result-value {
  margin: 6px 0 0;
  font-weight: 900;
}

.brief-box,
.question-box {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.brief-box p:last-child,
.question-box ol {
  margin-bottom: 0;
}

.question-box ol {
  padding-left: 20px;
  line-height: 1.55;
}

.audit-section {
  background: var(--paper-2);
}

.offer-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.price-panel {
  padding: 24px;
}

.price-panel p,
.price-panel span {
  margin: 0;
  color: var(--muted);
}

.price-panel strong {
  display: block;
  margin: 8px 0;
  color: var(--ember-dark);
  font-size: 42px;
  line-height: 1;
}

.process-section {
  background: var(--paper);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.process-rail div {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.54);
}

.process-rail div:last-child {
  border-right: 1px solid var(--line);
}

.process-rail span {
  display: block;
  margin-bottom: 24px;
  color: var(--ember-dark);
  font-weight: 900;
}

.after-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(232, 236, 231, 0.2)),
    #eef2ef;
  padding: clamp(42px, 6vw, 70px) 0;
}

.after-section h2 {
  max-width: 880px;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.08;
}

.services-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.after-section .service-grid {
  gap: 10px;
  margin-top: 24px;
}

.service-grid article {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(24, 32, 35, 0.04);
}

.service-grid article::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(199, 104, 53, 0.58);
  content: "";
}

.service-grid h3 {
  font-size: 18px;
  line-height: 1.18;
}

.service-grid p:not(.service-type) {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.services-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.54;
}

.service-type {
  margin: 0 0 10px;
  color: var(--ember-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-promise {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  min-width: 300px;
}

.support-section {
  background: var(--paper);
}

.support-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.support-section h2 {
  max-width: 850px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.support-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

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

.support-grid article {
  background: rgba(255, 255, 255, 0.72);
}

.support-grid h3 {
  line-height: 1.18;
}

.support-boundary {
  max-width: 840px;
  margin: 18px 0 0;
  border-left: 3px solid rgba(199, 104, 53, 0.58);
  padding-left: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.security-section {
  background: var(--graphite-2);
  color: #f8faf7;
}

.security-copy {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 28px;
}

.security-copy p {
  color: rgba(248, 250, 247, 0.74);
}

.client-section {
  background: #f7f8f4;
}

.client-login-layout {
  display: flex;
  justify-content: center;
}

.client-access-panel {
  width: min(100%, 520px);
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    var(--paper);
}

.panel-label {
  margin: 0 0 8px;
  color: var(--ember-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-access-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

.client-access-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.client-access-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.client-access-status {
  margin-top: 14px;
  border: 1px solid rgba(82, 111, 98, 0.28);
  border-radius: 8px;
  padding: 12px;
  color: #2e453b;
  background: rgba(82, 111, 98, 0.1);
  line-height: 1.45;
}

.guides-section {
  background: var(--paper-2);
}

.guides-heading {
  justify-content: space-between;
  gap: 24px;
}

.guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.guide-grid article {
  display: flex;
  min-height: 240px;
  flex-direction: column;
}

.guide-grid article.featured-guide {
  border-color: rgba(199, 104, 53, 0.45);
  background: rgba(255, 255, 255, 0.88);
}

.guide-grid a,
.guide-grid span {
  margin-top: auto;
  color: var(--ember-dark);
  font-weight: 900;
}

.contact-section {
  background: var(--paper);
}

.contact-direct a {
  color: var(--ember-dark);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  background: #0c1012;
  color: rgba(248, 250, 247, 0.72);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:first-child {
  color: #fff;
  font-weight: 900;
}

.footer-links {
  gap: 16px;
  color: rgba(248, 250, 247, 0.62);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.legal-note {
  width: 100%;
  color: rgba(248, 250, 247, 0.5);
  font-size: 13px;
}

.subpage-hero,
.article-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.92), rgba(29, 37, 40, 0.92)),
    var(--graphite);
  color: #f8faf7;
  padding: 132px 0 74px;
}

.subpage-hero h1,
.article-hero h1 {
  max-width: 920px;
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.subpage-hero p:last-child,
.article-hero p:last-child {
  max-width: 780px;
  color: rgba(248, 250, 247, 0.76);
  font-size: 19px;
  line-height: 1.62;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 760px);
  gap: clamp(28px, 6vw, 72px);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 88px) 0;
}

.article-summary {
  align-self: start;
  border-top: 3px solid var(--ember);
  padding-top: 18px;
}

.article-summary h2,
.article-body h2,
.article-cta h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
}

.article-summary p,
.article-body p,
.article-body li,
.reference-list {
  color: var(--muted);
  line-height: 1.72;
}

.article-body p {
  margin: 18px 0;
}

.article-body h2 {
  margin-top: 44px;
}

.article-body ul,
.reference-list {
  padding-left: 22px;
}

.article-body a {
  color: var(--ember-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-cta {
  margin: 48px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 32px);
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 32, 35, 0.06);
}

.article-cta .button {
  color: #fff;
  text-decoration: none;
}

.guide-category {
  margin-top: 38px;
}

.guide-category:first-child {
  margin-top: 0;
}

.guide-category h2,
.related-guides h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
}

.related-guides {
  margin: 42px 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.related-guides ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-inner {
    padding-top: 104px;
  }

  .hero-facts,
  .symptom-grid,
  .deliverables,
  .service-grid,
  .support-grid,
  .guide-grid,
  .process-rail,
  .diagnostic-layout,
  .offer-layout,
  .security-layout,
  .client-layout,
  .contact-layout,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .mobile-anchor-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 24px;
    color: rgba(248, 250, 247, 0.78);
    font-size: 14px;
    font-weight: 800;
  }

  .mobile-anchor-row a {
    text-decoration: underline;
    text-decoration-color: rgba(248, 250, 247, 0.28);
    text-underline-offset: 4px;
  }

  .process-rail {
    border-top: 0;
    gap: 14px;
  }

  .process-rail div {
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.64);
  }

  .process-rail span {
    margin-bottom: 14px;
  }

  .security-copy {
    border-left: 0;
    padding-left: 0;
  }

  .services-header {
    grid-template-columns: 1fr;
  }

  .support-header {
    grid-template-columns: 1fr;
  }

  .service-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .guides-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-grid article {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .header-actions {
    display: none;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .hero-facts,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 50px;
  }

  .tool-actions .button {
    width: 100%;
  }
}
