:root {
  --ink: #15222b;
  --ink-soft: #40505a;
  --paper: #f7f8f4;
  --white: #ffffff;
  --mist: #eef3ef;
  --line: #d8ded8;
  --teal: #168a7a;
  --teal-bright: #22d1bb;
  --coral: #ff516d;
  --gold: #f5b41b;
  --sky: #4fa3c6;
  --shadow: 0 18px 60px rgba(18, 34, 43, 0.14);
  --shell-width: min(1520px, calc(100% - clamp(40px, 7vw, 120px)));
  --workflow-gutter: max(clamp(40px, 4.8vw, 92px), calc((100% - 1520px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: var(--shell-width);
  margin: 16px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(18, 34, 43, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 185px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--teal);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: clamp(560px, 68svh, 680px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 248, 244, 0.97) 0%, rgba(247, 248, 244, 0.9) 34%, rgba(247, 248, 244, 0.28) 66%),
    url("assets/hero-evidence-workflow.png") center / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(180deg, rgba(247, 248, 244, 0), var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--shell-width);
  margin: 0 auto;
  padding: 132px 0 52px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4.5rem, 5.3vw, 6.1rem);
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.2;
  font-weight: 900;
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.26rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: #0e7366;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(21, 34, 43, 0.16);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--coral);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.hero-signals button {
  padding: 11px 16px;
  border: 1px solid rgba(21, 34, 43, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.hero-signals button:hover,
.hero-signals button:focus-visible,
.hero-signals button.is-active {
  border-color: rgba(22, 138, 122, 0.36);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.hero-signals button:focus-visible {
  outline: 3px solid rgba(34, 209, 187, 0.32);
  outline-offset: 3px;
}

.section {
  width: var(--shell-width);
  margin: 0 auto;
  padding: 92px 0;
}

.section.compact {
  padding-top: 44px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.section-header.narrow {
  display: block;
  max-width: 720px;
}

.compare-grid,
.workflow-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-panel,
.workflow-card,
.faq-grid article,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(18, 34, 43, 0.06);
}

.compare-panel {
  padding: 30px;
  min-height: 236px;
}

.compare-panel ul,
.workflow-card ul {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}

.compare-panel li,
.workflow-card li {
  margin: 8px 0;
}

.old-way {
  border-top: 5px solid var(--coral);
}

.new-way {
  border-top: 5px solid var(--teal);
}

.workflow-band {
  width: 100%;
  max-width: none;
  padding: 90px var(--workflow-gutter);
  background: var(--mist);
}

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

.workflow-card {
  position: relative;
  overflow: hidden;
  padding: 34px 28px 28px;
  min-height: 355px;
}

.workspace-card {
  display: block;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.workspace-card:hover,
.workspace-card:focus-visible,
.workspace-card.is-active {
  border-color: rgba(22, 138, 122, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.workspace-card:focus-visible {
  outline: 3px solid rgba(34, 209, 187, 0.32);
  outline-offset: 3px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--mist);
  font-size: 0.88rem;
  font-weight: 900;
}

.workspace-card.is-active .card-index {
  color: var(--white);
  background: var(--teal);
}

.workflow-card p {
  color: var(--ink-soft);
}

.card-rule {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
}

.card-rule.teal {
  background: var(--teal-bright);
}

.card-rule.sky {
  background: var(--sky);
}

.card-rule.gold {
  background: var(--gold);
}

.workspace-details {
  margin-top: 28px;
  scroll-margin-top: 104px;
}

.label {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.label.coral {
  color: var(--coral);
}

.label.teal {
  color: var(--teal);
}

.label.gold {
  color: #a36d00;
}

.detail-panel {
  padding: 34px;
  border: 1px solid rgba(216, 222, 216, 0.85);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, rgba(34, 209, 187, 0.08), rgba(245, 180, 27, 0.06));
  box-shadow: var(--shadow);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 38px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.detail-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 26px;
  padding: 32px 0;
}

.story-column {
  padding: 24px;
  border-left: 4px solid var(--coral);
  background: rgba(247, 248, 244, 0.88);
}

.manual-stack {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.manual-stack div {
  padding: 16px;
  border: 1px solid rgba(255, 81, 109, 0.2);
  border-radius: 8px;
  background: var(--white);
}

.manual-stack span {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.manual-stack strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.35;
}

.flow-column {
  min-width: 0;
}

.flow-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.flow-badge {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(22, 138, 122, 0.24);
  border-radius: 8px;
  color: #0d6b60;
  background: rgba(34, 209, 187, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.evidence-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 24px 0 0;
}

.evidence-flow::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 43px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--gold));
  border-radius: 999px;
}

.flow-step {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 198px;
  padding: 0 10px 16px;
}

.flow-step span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  border: 3px solid var(--white);
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 8px 20px rgba(22, 138, 122, 0.26);
  font-size: 0.82rem;
  font-weight: 900;
}

.flow-step:nth-child(2) span,
.flow-step:nth-child(5) span {
  background: var(--sky);
}

.flow-step:nth-child(4) span,
.flow-step:nth-child(6) span {
  color: var(--ink);
  background: var(--gold);
}

.flow-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.96rem;
  line-height: 1.25;
  text-align: center;
}

.flow-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: center;
}

.benefit-zone {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: 24px;
  align-items: start;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

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

.benefit-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(215, 223, 216, 0.9);
  border-radius: 8px;
  background: var(--white);
}

.benefit-list span {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--teal-bright);
}

.benefit-list div:nth-child(2) span {
  background: var(--coral);
}

.benefit-list div:nth-child(3) span {
  background: var(--sky);
}

.benefit-list div:nth-child(4) span {
  background: var(--gold);
}

.benefit-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.proof-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.proof-strip span {
  padding: 9px 11px;
  border: 1px solid rgba(21, 34, 43, 0.12);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(238, 243, 239, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: center;
}

.proof-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.proof-copy .button {
  margin-top: 18px;
}

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

.step {
  padding: 24px;
  min-height: 178px;
}

.step span {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.poster-section {
  padding-top: 48px;
}

.poster-frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.poster-frame img {
  width: 100%;
  height: auto;
}

.faq-section {
  padding-top: 72px;
}

.faq-grid {
  margin-top: 30px;
}

.faq-grid article {
  padding: 26px;
  min-height: 178px;
}

.faq-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: var(--shell-width);
  margin: 0 auto 34px;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.contact-band .eyebrow {
  color: var(--teal-bright);
}

.contact-band h2 {
  font-size: 2rem;
}

.contact-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: var(--shell-width);
  margin: 0 auto;
  padding: 24px 0 42px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    display: none;
  }

  .brand {
    grid-column: 1;
  }

  .header-cta {
    grid-column: 2;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(247, 248, 244, 0.98) 0%, rgba(247, 248, 244, 0.9) 48%, rgba(247, 248, 244, 0.72) 100%),
      url("assets/hero-evidence-workflow.png") center / cover no-repeat;
  }

  .hero-inner {
    padding-top: 124px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .section-header,
  .proof-section,
  .compare-grid,
  .workflow-grid,
  .detail-hero,
  .detail-layout,
  .benefit-zone,
  .faq-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 0;
  }

  .evidence-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .evidence-flow::before {
    display: none;
  }

  .flow-step {
    min-height: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .flow-step span {
    margin-left: 0;
    margin-right: 0;
  }

  .flow-step strong,
  .flow-step p {
    text-align: left;
  }

  .contact-email {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    left: 10px;
    right: auto;
    width: 360px;
    max-width: calc(100% - 20px);
    margin: 10px 0 0;
    padding: 8px;
  }

  .brand {
    width: 148px;
  }

  .header-cta {
    display: none;
  }

  .hero-inner,
  .section,
  .contact-band,
  .site-footer {
    width: 360px;
    max-width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
  }

  .hero-inner {
    padding-top: 118px;
    padding-bottom: 40px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .hero-lede {
    font-size: 1.02rem;
  }

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

  .hero-signals {
    margin-top: 32px;
  }

  .hero-signals button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .compare-panel,
  .workflow-card,
  .detail-panel,
  .faq-grid article,
  .step,
  .contact-band {
    padding: 22px;
  }

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

  .evidence-flow,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .evidence-flow {
    padding-top: 0;
  }

  .flow-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
  }

  .flow-step span {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .proof-strip span {
    width: 100%;
  }

  .proof-steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
