:root {
  --ink: #242321;
  --muted: #68635d;
  --paper: #f6f2ed;
  --card: #fff;
  --line: #e6ddd2;
  --accent: #c65f32;
  --accent-dark: #994321;
  --dark: #303640;
  --soft: #f1e2d8;
  --good: #356c50;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.65 Manrope,
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--accent-dark);
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.site-head {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 237, 0.96);
  backdrop-filter: blur(12px);
}
.site-head .wrap {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
.site-head nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.site-head nav a {
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.crumbs {
  padding-top: 26px;
  color: var(--muted);
  font-size: 14px;
}
.crumbs a {
  color: inherit;
}
.hero {
  padding: 48px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(36px, 6vw, 64px);
}
h2 {
  font-size: clamp(27px, 4vw, 40px);
}
h3 {
  font-size: 21px;
}
.lead {
  max-width: 780px;
  margin: 0;
  color: #4f4b46;
  font-size: clamp(18px, 2.5vw, 23px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}
.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}
.hero-card,
.card,
.note,
.author {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 20px 50px -38px rgba(45, 36, 29, 0.45);
}
.hero-card ul,
.card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}
.hero-card li,
.card li {
  margin: 8px 0;
}
main > section {
  padding: 64px 0;
}
.trust-section {
  padding-top: 0;
}
.compact-section {
  padding-block: 52px;
}
.cases-section {
  border-block: 1px solid #e2d5c7;
  background: #eee6dc;
}
.cases-heading {
  margin-bottom: 22px;
}
.case-carousel {
  --case-autoplay-duration: 12s;
}
.case-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.case-tabs button {
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid #d7c8b8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}
.case-tabs button:hover {
  border-color: #bd9a82;
  transform: translateY(-1px);
}
.case-tabs button[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 14px 30px -26px rgba(45, 36, 29, 0.9);
}
.case-tabs button span {
  display: block;
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.case-track {
  display: grid;
  overflow-x: auto;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.case-track::-webkit-scrollbar {
  display: none;
}
.case-slide {
  min-width: 0;
  scroll-snap-align: start;
}
.case-dashboard {
  display: grid;
  min-height: 430px;
  padding: 30px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 26px;
  border: 1px solid #ddcfc1;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 24px 60px -44px rgba(45, 36, 29, 0.65);
}
.case-story {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.case-story h2 {
  margin-bottom: 14px;
  font-size: clamp(27px, 3.4vw, 39px);
}
.case-summary {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.case-insight {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--soft);
}
.case-insight strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-insight p {
  margin: 0;
  line-height: 1.5;
}
.case-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  font-weight: 850;
  text-decoration: none;
}
.case-data {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.case-stat {
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #faf7f3;
}
.case-stat.featured {
  border-color: #aac4b4;
  background: #edf5f0;
}
.case-stat.warning {
  border-color: #dfbfae;
  background: #fbefe9;
}
.case-stat span,
.case-stat strong {
  display: block;
}
.case-stat span {
  min-height: 38px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}
.case-stat strong {
  margin-top: 10px;
  color: var(--good);
  font-size: clamp(21px, 2.25vw, 29px);
  line-height: 1.1;
}
.case-stat.warning strong {
  color: var(--accent-dark);
}
.case-formula,
.case-extra {
  padding: 16px 18px;
  border-radius: 15px;
}
.case-formula {
  border: 1px solid var(--line);
  background: #f7f2ec;
}
.case-formula strong,
.case-extra span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-formula p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}
.case-extra {
  margin-top: auto;
  background: var(--dark);
  color: #fff;
}
.case-extra span {
  color: #d8dce2;
}
.case-extra strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}
.case-controls {
  display: flex;
  margin-top: 24px;
  align-items: center;
  gap: 12px;
}
.case-controls[hidden] {
  display: none;
}
.case-controls button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #bfae9e;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
}
.case-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.case-controls span {
  min-width: 48px;
  color: var(--muted);
  text-align: center;
}
.case-progress {
  position: relative;
  overflow: hidden;
  width: min(260px, 42vw);
  height: 3px;
  margin-left: 4px;
  border-radius: 999px;
  background: #d8c9bb;
}
.case-progress span {
  display: block;
  width: 0;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: var(--accent);
}
.case-carousel.is-running .case-progress span {
  animation: case-progress var(--case-autoplay-duration) linear forwards;
}
@keyframes case-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.dark {
  color: #fff;
  background: var(--dark);
}
.dark .muted {
  color: #d8dce2;
}
.dark .card {
  color: var(--ink);
}
.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card .answer {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 700;
}
.number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 900;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
}
th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
th {
  background: #f2e9e1;
  color: var(--ink);
  font-size: 14px;
}
tr:last-child td {
  border-bottom: 0;
}
.metric {
  font-weight: 900;
  color: var(--good);
}
.callout {
  padding: 28px;
  border-left: 5px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: #fff;
}
.callout p:last-child {
  margin-bottom: 0;
}
.prose {
  max-width: 820px;
}
.prose h2 {
  margin-top: 54px;
}
.prose h3 {
  margin-top: 34px;
}
.prose p,
.prose li {
  color: #494641;
}
.prose li {
  margin: 8px 0;
}
.prose table {
  margin: 24px 0;
}
.formula {
  padding: 18px 20px;
  border-radius: 14px;
  background: #2f3540;
  color: #fff;
  font-weight: 800;
}
.author {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 22px;
  align-items: center;
}
.author img {
  width: 100px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}
.author-prominent {
  grid-template-columns: 140px minmax(0, 1fr);
}
.author-prominent img {
  width: 140px;
}
.author-prominent h2 {
  margin-bottom: 8px;
}
.profile-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.profile-fact {
  padding: 18px;
  border-radius: 15px;
  background: var(--soft);
}
.profile-fact strong,
.profile-fact span {
  display: block;
}
.profile-fact strong {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 22px;
  line-height: 1.1;
}
.profile-fact span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.author p {
  margin: 5px 0;
  color: var(--muted);
}
.faq details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}
.faq details p {
  max-width: 850px;
  color: var(--muted);
}
.final {
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(125deg, #303640, #454e5b);
  color: #fff;
}
.final p {
  max-width: 720px;
  color: #e3e5e9;
}
.decision-bridge .wrap {
  max-width: 1120px;
}
.decision-bridge h2 {
  max-width: 760px;
  margin-bottom: 16px;
}
.decision-bridge .bridge-copy {
  max-width: 760px;
  margin: 0;
  color: #e3e5e9;
  font-size: 18px;
}
.compact-grid .card {
  padding-block: 22px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.pricing-section {
  border-block: 1px solid #e2d5c7;
  background: #eee6dc;
}
.price-card {
  display: flex;
  grid-column: span 2;
  flex-direction: column;
}
.price-card:nth-child(5) {
  grid-column: 2 / span 2;
}
.price-card-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}
.price-card-featured h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
}
.price-card-featured p {
  max-width: 740px;
  color: #e3e5e9;
}
.price-kicker {
  margin: 0 0 8px;
  color: #f0a07c !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-featured-action {
  min-width: 190px;
}
.price-card.price-card-featured .price {
  margin: 0 0 12px;
  padding: 0;
  color: #fff;
  font-size: 25px;
}
.price-card .price {
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 900;
}
.price-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}
footer {
  padding: 34px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-row nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.updated {
  color: var(--muted);
  font-size: 14px;
}
.source-note {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 820px) {
  .site-head nav {
    display: none;
  }
  .hero-grid,
  .grid,
  .grid.two,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .price-card,
  .price-card:nth-child(5),
  .price-card-featured {
    grid-column: auto;
  }
  .price-card-featured {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .price-featured-action {
    min-width: 0;
  }
  .hero {
    padding-top: 34px;
  }
  main > section {
    padding: 48px 0;
  }
  .hero-card {
    order: 2;
  }
  .final {
    padding: 30px;
  }
  .author {
    grid-template-columns: 72px 1fr;
  }
  .author img {
    width: 72px;
  }
  .author-prominent {
    grid-template-columns: 96px 1fr;
  }
  .author-prominent img {
    width: 96px;
  }
  .profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-dashboard {
    min-height: 0;
    padding: 24px;
    grid-template-columns: 1fr;
  }
  .case-link {
    margin-top: 0;
  }
}
@media (max-width: 420px) {
  .wrap {
    width: min(100% - 24px, 1120px);
  }
  h1 {
    font-size: 34px;
  }
  .actions {
    display: grid;
  }
  .button {
    width: 100%;
  }
  .profile-facts {
    grid-template-columns: 1fr;
  }
  .case-tabs {
    gap: 6px;
  }
  .case-tabs button {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.35;
  }
  .case-tabs button span {
    font-size: 10px;
  }
  .case-dashboard {
    padding: 20px;
    border-radius: 19px;
  }
  .case-metrics {
    grid-template-columns: 1fr;
  }
  .case-stat {
    display: flex;
    padding: 13px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .case-stat span {
    min-height: 0;
  }
  .case-stat strong {
    margin-top: 0;
    font-size: 20px;
    text-align: right;
  }
  .case-controls {
    gap: 8px;
  }
  .case-progress {
    width: auto;
    flex: 1;
  }
  th,
  td {
    padding: 12px;
  }
  .hero-card,
  .card,
  .note,
  .author {
    padding: 20px;
  }
  .author-prominent {
    grid-template-columns: 1fr;
  }
  .author-prominent img {
    width: 112px;
  }
}
