/* ============================================================================
   CostMan — marketing site
   Hand-written CSS. No framework, no CDN, no web fonts: one stylesheet, one
   render, nothing render-blocking from another origin.

   Palette is taken from the brand assets, not invented:
     #838171  sage      (Logo-01.png, Costman_01.png wordmark)
     #d57040  terracotta (orange.png)
   ========================================================================= */

/* ------------------------------- tokens ---------------------------------- */

:root {
  --sage-900: #3f3e37;
  --sage-800: #4f4e45;
  --sage-700: #5f5e52;
  --sage: #838171;
  --sage-400: #a2a195;
  --sage-200: #c9c7bd;
  --sage-100: #e5e3db;

  --clay: #d57040;
  --clay-dark: #b85c2f;
  --clay-tint: #fbf1ea;

  --ink: #22221e;
  --body: #55544c;
  --muted: #7a7970;

  --paper: #ffffff;
  --sand: #f7f6f2;
  --line: #e7e5dd;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgb(34 34 30 / 0.05), 0 1px 3px rgb(34 34 30 / 0.06);
  --shadow: 0 10px 30px -12px rgb(34 34 30 / 0.18);
  --shadow-lg: 0 30px 60px -25px rgb(34 34 30 / 0.28);

  --wrap: 1120px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* -------------------------------- reset ---------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* the sticky bar must not cover an anchored heading */
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.021em;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------- layout ---------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 116px);
}

.section--sand {
  background: var(--sand);
  border-block: 1px solid var(--line);
}

.section--ink {
  background: var(--sage-900);
  color: var(--sage-200);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
  top: 8px;
}

/* ------------------------------ typography -------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sage-700);
  background: var(--sage-100);
  border: 1px solid var(--sage-200);
  border-radius: 999px;
  padding: 6px 14px;
}

.section--ink .eyebrow {
  color: var(--sage-200);
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.16);
}

.h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.75rem);
}
.h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
}
.h3 {
  font-size: 1.2rem;
}

.lede {
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
  color: var(--body);
  max-width: 60ch;
}

.section--ink .lede,
.section--ink p {
  color: var(--sage-200);
}
.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .h2 {
  margin-top: 18px;
}
.section-head .lede {
  margin-top: 16px;
}

.center {
  margin-inline: auto;
  text-align: center;
}
.center .lede {
  margin-inline: auto;
}

/* -------------------------------- buttons --------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, background-color 0.14s ease,
    border-color 0.14s ease, box-shadow 0.14s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgb(213 112 64 / 0.85);
}
.btn--primary:hover {
  background: var(--clay-dark);
}

.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  border-color: var(--sage-400);
}

.btn--onink {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  border-color: rgb(255 255 255 / 0.25);
}
.btn--onink:hover {
  background: rgb(255 255 255 / 0.18);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* --------------------------------- nav ------------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 30px;
  height: 30px;
}
.brand__name {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--sage);
}
.brand__by {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  margin-left: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  padding: 9px 13px;
  border-radius: 8px;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.nav__links a:hover {
  color: var(--ink);
  background: var(--sand);
}

.nav__cta {
  padding: 11px 20px;
  font-size: 15px;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 880px) {
  .nav__toggle {
    display: inline-flex;
  }
  .nav__links {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links[data-open="true"] {
    display: flex;
  }
  .nav__links a {
    padding: 13px 12px;
    font-size: 17px;
  }
  .nav__cta {
    margin-top: 8px;
    justify-content: center;
  }
}

/* --------------------------------- hero ----------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 108px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand), var(--paper) 78%);
  border-bottom: 1px solid var(--line);
}

/* Blueprint grid — the one decorative flourish, kept faint enough to read over. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--sage-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--sage-100) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 0%, #000 10%, transparent 70%);
  opacity: 0.75;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  margin-top: 22px;
}
.hero .lede {
  margin-top: 22px;
}

.hero__note {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.hero__note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tick {
  color: var(--clay);
  flex: none;
}

@media (max-width: 940px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

/* ------------------------- hero product mock ------------------------------ */
/* A real-shaped BoQ row rather than a stock photo: the product IS a grid. */

.mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 14px;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}
.mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-200);
}
.mock__title {
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.mock__search {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 16px 10px;
  padding: 10px 13px;
  border: 1.5px solid var(--clay);
  border-radius: 9px;
  background: var(--clay-tint);
  color: var(--ink);
  font-weight: 500;
}
.mock__caret {
  display: inline-block;
  width: 1.5px;
  height: 17px;
  background: var(--clay);
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}

.mock table {
  width: 100%;
  border-collapse: collapse;
}
.mock th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}
.mock td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
}
.mock .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mock .name {
  color: var(--ink);
  font-weight: 500;
}
.mock .sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.mock tr.is-auto td {
  background: color-mix(in srgb, var(--clay-tint) 55%, transparent);
}
.mock tr.is-auto .name {
  font-weight: 400;
  color: var(--body);
  padding-left: 14px;
}
.mock__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  background: var(--sage-900);
  color: #fff;
}
.mock__foot .num {
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mock__foot span {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage-200);
}

.mock__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clay-dark);
  background: var(--clay-tint);
  border: 1px solid color-mix(in srgb, var(--clay) 30%, transparent);
  border-radius: 5px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}

/* --------------------------------- cards ---------------------------------- */

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

@media (max-width: 980px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 10px;
}
.card p {
  font-size: 15.5px;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--sage-100);
  color: var(--sage-700);
  margin-bottom: 18px;
}

/* Pain cards read as a quote from the estimator's day, so they get the accent. */
.card--pain .card__icon {
  background: var(--clay-tint);
  color: var(--clay-dark);
}

/* ------------------------------- steps ------------------------------------ */

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--sage-200);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -15px;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
}

/* ------------------------------- features --------------------------------- */

.feature {
  display: flex;
  gap: 15px;
}
.feature__icon {
  flex: none;
  width: 22px;
  color: var(--clay);
  margin-top: 3px;
}
.feature h3 {
  font-size: 1.02rem;
  margin-bottom: 5px;
}
.feature p {
  font-size: 15px;
}

.grid--features {
  gap: 30px 40px;
}

/* --------------------------------- local ---------------------------------- */

.local {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.local div {
  background: var(--sage-900);
  padding: 24px 22px;
}
.local dt {
  font-weight: 700;
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 6px;
}
.local dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--sage-200);
}

/* -------------------------------- pricing --------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
@media (max-width: 1040px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.plan--featured {
  border-color: var(--clay);
  border-width: 2px;
  box-shadow: var(--shadow);
  position: relative;
}
.plan__flag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--clay);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}

.plan__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.plan__desc {
  font-size: 14.5px;
  margin-top: 6px;
  min-height: 42px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0 4px;
}
.plan__amount {
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan__per {
  font-size: 14px;
  color: var(--muted);
}

.plan__limits {
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 18px 0;
  display: grid;
  gap: 5px;
}
.plan__limits b {
  color: var(--ink);
  font-weight: 600;
}

.plan__features {
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  margin-bottom: 24px;
}
.plan__features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.plan__features .tick {
  margin-top: 3px;
  flex: none;
}
.plan__features .none {
  color: var(--muted);
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-note {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
}

/* ---------------------------------- faq ----------------------------------- */

.faq {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
details[open] {
  border-color: var(--sage-400);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.18s ease;
}
details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
details p {
  padding-bottom: 18px;
  font-size: 15.5px;
  max-width: 66ch;
}

/* ---------------------------------- cta ----------------------------------- */

.cta {
  background: var(--sage-900);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: var(--sage-200);
  margin-inline: auto;
  margin-top: 14px;
}
.cta .btn-row {
  justify-content: center;
}

/* -------------------------------- footer ---------------------------------- */

.footer {
  background: var(--sage-900);
  color: var(--sage-200);
  padding-block: 54px 34px;
  font-size: 14.5px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.footer__brand {
  max-width: 34ch;
}
.footer__brand img {
  width: 150px;
  margin-bottom: 14px;
}
.footer__cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer li {
  margin-bottom: 8px;
}
.footer a {
  color: var(--sage-200);
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer__bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--sage-400);
}

/* ------------------------------ construction ------------------------------ */
/* index.html — the holding page. Deliberately plain: it exists to route people
   to the product page, not to be a second landing page. */

.holding {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(180deg, var(--sand), var(--paper) 70%);
  position: relative;
  overflow: hidden;
}
.holding::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--sage-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--sage-100) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 10%, transparent 72%);
  pointer-events: none;
}
.holding__inner {
  position: relative;
  max-width: 620px;
}
/* The DA VINCI mark is a square lockup on white, so it gets room rather than being
   squeezed into the CostMan mark's slot. */
.holding__logo {
  width: 168px;
  margin: 0 auto 30px;
  mix-blend-mode: multiply; /* kills the JPEG's white box against the sand gradient */
}
@media (max-width: 520px) {
  .holding__logo {
    width: 132px;
  }
}
.holding__foot a {
  color: inherit;
}
.holding h1 {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
}
.holding p {
  margin-top: 18px;
  font-size: 1.08rem;
}
.holding .btn-row {
  justify-content: center;
}
.holding__foot {
  margin-top: 44px;
  font-size: 14px;
  color: var(--muted);
}

/* ------------------------------- reveal ----------------------------------- */
/* Progressive enhancement: `.reveal` only dims content once JS has confirmed it
   can undim it. Without JS (or with reduced motion) nothing is ever hidden. */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Showcase blocks — each benefit shown as a working piece of the product
   rather than an icon. The mocks are real markup (tables, bars, tiles), so
   they stay sharp at any zoom and can't go stale the way a screenshot does.
   ========================================================================== */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.showcase + .showcase {
  margin-top: clamp(64px, 8vw, 110px);
}
.showcase--flip .showcase__art {
  order: -1;
}
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase--flip .showcase__art {
    order: 0;
  }
}

.showcase__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-dark);
}
.showcase__kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--clay);
}
.showcase h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.3rem);
  margin: 16px 0 16px;
}
.showcase p {
  font-size: 16.5px;
  max-width: 52ch;
}

.bullets {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.bullets li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
}
.bullets .tick {
  margin-top: 4px;
  flex: none;
}
.bullets b {
  color: var(--ink);
  font-weight: 600;
}

/* ------------------------- mock: proposal document ------------------------ */

.doc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 30px 24px;
  font-size: 13.5px;
  position: relative;
}
.doc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 2px solid var(--sage-900);
  padding-bottom: 14px;
}
.doc__firm {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.doc__meta {
  text-align: right;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}
.doc__meta b {
  color: var(--ink);
}
.doc__title {
  margin: 16px 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-700);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
}
.doc td {
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--body);
}
.doc td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}
.doc__sum {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.doc__sum div {
  display: flex;
  justify-content: space-between;
}
.doc__sum .grand {
  border-top: 2px solid var(--sage-900);
  margin-top: 6px;
  padding-top: 9px;
  font-weight: 700;
  color: var(--ink);
  font-size: 15.5px;
}
.doc__stamp {
  position: absolute;
  top: 18px;
  right: -12px;
  background: var(--clay);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* --------------------------- mock: cost tracking -------------------------- */

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.panel__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.tile {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
}
.tile span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.tile b {
  font-size: 17px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.tile.is-good b {
  color: #3f7d52;
}
.tile.is-bad b {
  color: var(--clay-dark);
}

.bar {
  height: 11px;
  border-radius: 999px;
  background: var(--sage-100);
  overflow: hidden;
  display: flex;
}
.bar i {
  display: block;
  height: 100%;
}
.bar__legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
}

/* ----------------------- mock: category breakdown ------------------------- */

.cats {
  display: grid;
  gap: 13px;
}
.cat {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
}
.cat__name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat__dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}
.cat__track {
  height: 9px;
  background: var(--sage-100);
  border-radius: 999px;
  overflow: hidden;
}
.cat__fill {
  height: 100%;
  border-radius: 999px;
}
.cat__amt {
  font-variant-numeric: tabular-nums;
  color: var(--body);
  white-space: nowrap;
}

/* -------------------------- mock: projects board -------------------------- */

.board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 480px) {
  .board {
    grid-template-columns: 1fr;
  }
}
.pcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pcard__top {
  height: 46px;
}
.pcard__body {
  padding: 12px 14px 14px;
}
.pcard__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__client {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.pcard__row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 3px 0;
  font-variant-numeric: tabular-nums;
}
.pcard__row span {
  color: var(--muted);
}
.pcard__row b {
  color: var(--ink);
  font-weight: 600;
}
.pcard__row.is-bad b {
  color: var(--clay-dark);
}
.chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: 2px;
}
.chip--live {
  background: #e8f2ea;
  color: #3f7d52;
}
.chip--done {
  background: var(--sage-100);
  color: var(--sage-700);
}

/* ------------------------------ audience bar ------------------------------ */

.audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  padding: 22px 0;
}
.audience span {
  font-size: 15px;
  font-weight: 600;
  color: var(--sage-700);
  background: var(--paper);
  border: 1px solid var(--sage-200);
  border-radius: 999px;
  padding: 9px 18px;
}
.audience em {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------- credibility band ----------------------------- */

.band {
  background: var(--sage-900);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 54px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}
@media (max-width: 760px) {
  .band {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}
.band__mark {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.2);
  display: grid;
  place-items: center;
}
.band__mark img {
  width: 46px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
}
.band p {
  color: var(--sage-200);
  margin-top: 12px;
  max-width: 62ch;
  font-size: 16.5px;
}

/* --------------------------------- speed ---------------------------------- */

.speed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.speed__item {
  text-align: center;
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.speed__item svg {
  color: var(--clay);
  margin-bottom: 12px;
}
.speed__item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.speed__item p {
  font-size: 14.5px;
}
