:root {
  --ink: #17211e;
  --muted: #5e6b66;
  --forest: #0f2d26;
  --forest-2: #17463a;
  --sage: #dce8df;
  --sage-light: #f2f6f3;
  --cream: #fbfaf5;
  --white: #ffffff;
  --accent: #d4f36b;
  --accent-strong: #b9dc3f;
  --line: #d8e0da;
  --shadow: 0 24px 70px rgba(15, 45, 38, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 108px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 250, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 224, 218, 0.72);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: clamp(188px, 18vw, 226px);
  height: auto;
}

.footer-brand .brand-logo {
  width: min(226px, 100%);
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav > a:not(.button) {
  color: #35413d;
}

.site-nav > a:not(.button):hover {
  color: var(--forest-2);
}

.nav-toggle {
  position: relative;
  display: none;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(15, 45, 38, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 45, 38, 0.08);
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(212, 243, 107, 0.72);
  outline-offset: 3px;
}

.nav-bar {
  position: absolute;
  left: 9px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest);
  transform-origin: center;
  transition: top 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.nav-bar--top {
  top: 13px;
}

.nav-bar--middle {
  top: 20px;
}

.nav-bar--bottom {
  top: 27px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 45, 38, 0.15);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--forest-2);
  box-shadow: 0 16px 32px rgba(15, 45, 38, 0.2);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest-2);
  font-weight: 800;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--forest-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  max-width: 850px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.42rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 84px;
  padding-bottom: 112px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  top: -100px;
  border-radius: 50%;
  background: rgba(212, 243, 107, 0.25);
  filter: blur(10px);
  pointer-events: none;
}

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

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #46534e;
  font-size: 0.9rem;
  font-weight: 650;
}

.trust-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--forest-2);
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.workflow-card {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  padding: 24px;
  border: 1px solid rgba(216, 224, 218, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.workflow-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #51b66d;
  box-shadow: 0 0 0 5px rgba(81, 182, 109, 0.14);
}

.live-pill {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--forest-2);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workflow-step {
  display: grid;
  grid-template-columns: 42px 1fr 26px;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.workflow-step strong,
.workflow-step small {
  display: block;
}

.workflow-step strong {
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.workflow-step small {
  color: var(--muted);
  font-size: 0.77rem;
}

.highlight-step {
  border-color: rgba(23, 70, 58, 0.35);
  background: var(--sage-light);
}

.step-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--forest);
  background: var(--accent);
  font-weight: 900;
}

.check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest-2);
  font-size: 0.75rem;
  font-weight: 900;
}

.connector {
  width: 2px;
  height: 18px;
  margin: 0 0 0 36px;
  background: var(--line);
}

.floating-note {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 16px 18px;
  border: 1px solid rgba(216, 224, 218, 0.9);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(15, 45, 38, 0.13);
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note strong {
  color: var(--forest);
  font-size: 1.12rem;
}

.floating-note span {
  color: var(--muted);
  font-size: 0.78rem;
}

.note-one {
  left: -38px;
  top: 84px;
}

.note-two {
  right: -26px;
  bottom: 68px;
}

.problem-strip {
  padding: 26px 0;
  color: var(--white);
  background: var(--forest);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.strip-grid p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.strip-grid span {
  margin-right: 8px;
  color: var(--accent);
  font-size: 0.72rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 70, 58, 0.32);
  box-shadow: 0 24px 50px rgba(15, 45, 38, 0.09);
}

.service-number {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 30px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--forest-2);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card li {
  margin: 9px 0;
  color: #394640;
  font-size: 0.92rem;
}

.service-card li::before {
  content: "•";
  margin-right: 10px;
  color: var(--forest-2);
}

.soft-section {
  background: var(--sage-light);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
}

.sticky-heading {
  position: sticky;
  top: 132px;
  align-self: start;
  margin-bottom: 0;
}

.process-steps {
  display: grid;
  gap: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.process-step > span {
  color: var(--forest-2);
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 28px;
}

.fit-card,
.fit-copy {
  padding: clamp(34px, 5vw, 62px);
  border-radius: var(--radius-lg);
}

.dark-card {
  color: var(--white);
  background: var(--forest);
}

.fit-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  margin: 18px 0;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.86);
}

.fit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.fit-copy {
  border: 1px solid var(--line);
  background: var(--white);
}

.fit-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.mini-grid div {
  padding: 18px;
  border-radius: 14px;
  background: var(--sage-light);
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid strong {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.mini-grid span {
  color: var(--muted);
  font-size: 0.78rem;
}

.results-section {
  padding-top: 0;
}

.results-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--accent);
}

.results-box h2 {
  margin-bottom: 0;
  color: var(--forest);
}

.result-list {
  display: grid;
  align-content: center;
  gap: 16px;
}

.result-list p {
  display: flex;
  gap: 12px;
  margin: 0;
  font-weight: 750;
}

.result-list span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  font-size: 0.72rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.accordion details {
  border-top: 1px solid var(--line);
}

.accordion details:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 19px;
  color: var(--forest-2);
  font-size: 1.5rem;
  font-weight: 400;
}

.accordion details[open] summary::after {
  content: "–";
}

.accordion details p {
  padding: 0 40px 24px 0;
  color: var(--muted);
}

.contact-section {
  color: var(--white);
  background: var(--forest);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
  gap: 80px;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.contact-note {
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note strong {
  margin-bottom: 4px;
  color: var(--accent);
}

.contact-note span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.contact-form {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 18px;
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfdfc;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input {
  min-height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 4px rgba(23, 70, 58, 0.1);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
}

.site-footer {
  padding: 52px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0a211c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  color: var(--white);
}

.footer-grid > div:first-child p {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 24px;
  font-size: 0.88rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 30px);
  max-width: min(90vw, 520px);
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  font-size: 0.86rem;
  font-weight: 700;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 18px;
  }

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

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .workflow-card {
    width: min(100%, 620px);
  }

  .note-one {
    left: 7%;
  }

  .note-two {
    right: 7%;
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .faq-grid,
  .contact-grid {
    gap: 50px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 82px 0;
  }

  .nav-toggle {
    z-index: 1003;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] .nav-bar--top,
  .nav-toggle[aria-expanded="true"] .nav-bar--bottom {
    top: 20px;
  }

  .nav-toggle[aria-expanded="true"] .nav-bar--top {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-bar--middle {
    opacity: 0;
    transform: scaleX(0.4);
  }

  .nav-toggle[aria-expanded="true"] .nav-bar--bottom {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: calc(110px + env(safe-area-inset-top)) 28px calc(40px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cream);
    backdrop-filter: blur(18px);
    font-size: 1.12rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .site-nav > a {
    width: min(100%, 360px);
    margin-inline: auto;
    padding: 13px 16px;
    border-radius: 12px;
    text-align: center;
  }

  .site-nav > a:not(.button):hover,
  .site-nav > a:not(.button):focus-visible {
    background: rgba(220, 232, 223, 0.68);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav .button {
    margin-top: 10px;
  }

  .service-grid,
  .fit-grid,
  .results-box,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .sticky-heading {
    position: static;
  }

  .faq-grid .section-heading {
    margin-bottom: 0;
  }

  .results-box {
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    min-height: 70px;
    gap: 14px;
  }

  .brand-logo {
    width: min(176px, calc(100vw - 88px));
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 78px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .trust-list {
    flex-direction: column;
    gap: 8px;
  }

  .hero-visual {
    min-height: auto;
    padding: 34px 0 70px;
  }

  .workflow-card {
    padding: 16px;
    border-radius: 22px;
  }

  .workflow-step {
    grid-template-columns: 36px 1fr 22px;
    gap: 10px;
    padding: 13px;
  }

  .step-icon {
    width: 34px;
    height: 34px;
  }

  .workflow-step strong {
    font-size: 0.82rem;
  }

  .workflow-step small {
    font-size: 0.69rem;
  }

  .floating-note {
    min-width: 135px;
    padding: 12px 14px;
  }

  .note-one {
    left: 0;
    top: auto;
    bottom: 0;
  }

  .note-two {
    right: 0;
    bottom: 0;
  }

  .strip-grid,
  .service-grid,
  .mini-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step {
    padding: 24px;
  }

  .process-step {
    grid-template-columns: 46px 1fr;
  }

  .fit-card,
  .fit-copy {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* PHP MVP form feedback */
.form-alert {
  margin-bottom: 1.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.75rem;
  font-weight: 700;
}

.form-alert-success {
  background: #e9f7ef;
  color: #145a32;
}

.form-alert-error {
  background: #fff1ef;
  color: #8c2f24;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.optional {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.7;
}

.legal-page {
  padding-top: 8rem;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content p {
  line-height: 1.75;
}

/* Portfolio, demos, and client preview experience */
.site-nav .nav-current {
  color: var(--forest);
  position: relative;
}

.site-nav .nav-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest-2);
}

.page-hero,
.case-hero {
  position: relative;
  overflow: hidden;
}

.compact-hero {
  padding-top: 92px;
  padding-bottom: 78px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -170px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(212, 243, 107, 0.22);
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 80px;
}

.page-hero h1,
.case-hero h1,
.demo-topbar h1,
.preview-login-copy h1,
.portal-header h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.page-lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.proof-note {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(15, 45, 38, 0.08);
}

.proof-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
}

.proof-note p {
  margin: 0;
  color: var(--muted);
}

.work-list-section {
  padding-top: 34px;
}

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

.project-card {
  --project-tint: #dce8df;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 45, 38, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(15, 45, 38, 0.12);
}

.project-accent-sand { --project-tint: #ece2c8; }
.project-accent-rose { --project-tint: #f2dfe4; }
.project-accent-blue { --project-tint: #dce8f2; }
.project-accent-forest { --project-tint: #dce8df; }

.project-preview {
  min-height: 310px;
  padding: 34px;
  background: var(--project-tint);
}

.preview-browser {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 13px 13px 0 0;
  background: var(--forest);
}

.preview-browser > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.preview-browser small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
}

.preview-layout {
  min-height: 210px;
  display: grid;
  grid-template-columns: 25% 1fr;
  border-radius: 0 0 16px 16px;
  background: var(--white);
  box-shadow: 0 24px 50px rgba(15, 45, 38, 0.16);
}

.preview-sidebar {
  margin: 17px;
  border-radius: 12px;
  background: var(--forest);
}

.preview-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: start;
  gap: 12px;
  padding: 22px 22px 22px 4px;
}

.preview-main i {
  height: 62px;
  border-radius: 12px;
  background: var(--project-tint);
}

.preview-main b {
  grid-column: 1 / -1;
  height: 90px;
  border-radius: 14px;
  background: var(--sage-light);
}

.project-card-body {
  padding: 34px;
}

.project-card-body h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.project-card-body > p {
  color: var(--muted);
}

.project-meta,
.preview-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 18px;
  color: var(--forest-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-meta span + span::before {
  content: "•";
  margin-right: 14px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.tag-row span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #44514c;
  background: var(--sage-light);
  font-size: 0.72rem;
  font-weight: 750;
}

.dark-cta-section {
  padding-top: 0;
}

.dark-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--forest);
}

.dark-cta h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--white);
}

.button-accent {
  flex: 0 0 auto;
  border-color: var(--accent);
  background: var(--accent);
  color: var(--forest);
  box-shadow: none;
}

.button-accent:hover {
  background: var(--accent-strong);
  color: var(--forest);
}

.back-link,
.stage-back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--forest-2);
  font-weight: 800;
}

.case-hero {
  --project-tint: var(--sage);
  padding-top: 62px;
  padding-bottom: 108px;
  background: linear-gradient(135deg, var(--cream) 40%, var(--project-tint));
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
  align-items: center;
  gap: 70px;
}

.case-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.case-visual {
  perspective: 1000px;
}

.case-screen {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 36px 80px rgba(15, 45, 38, 0.2);
  transform: rotateY(-5deg) rotateX(2deg);
}

.case-screen-body {
  min-height: 370px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 25px;
}

.case-screen-body div {
  border-radius: 16px;
  background: var(--project-tint);
}

.case-screen-body div:first-child {
  grid-column: 1 / -1;
  min-height: 155px;
  background: var(--forest);
}

.case-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.story-block {
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.story-block h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.story-block > p:last-of-type {
  color: var(--muted);
  font-size: 1.02rem;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}

.feature-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-check-grid > div {
  display: flex;
  gap: 13px;
  min-height: 94px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.feature-check-grid span {
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest-2);
  font-size: 0.72rem;
  font-weight: 900;
}

.feature-check-grid p {
  margin: 0;
  font-weight: 750;
}

.outcome-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--forest);
}

.outcome-box h2 {
  color: var(--white);
}

.outcome-box > div:last-child {
  display: grid;
  align-content: center;
  gap: 16px;
}

.outcome-box > div:last-child p {
  display: flex;
  gap: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
}

.outcome-box > div:last-child span {
  color: var(--accent);
}

.stack-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
}

.demo-index-section {
  padding-top: 30px;
}

.demo-card-grid {
  display: grid;
  gap: 30px;
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.demo-card:nth-child(even) .demo-card-visual {
  order: 2;
}

.demo-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.demo-card > div:last-child > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.demo-card-visual {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--sage-light);
  box-shadow: inset 0 0 0 1px var(--line);
}

.crm-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 14px;
  padding: 38px;
}

.crm-visual i {
  height: 46%;
  border-radius: 14px 14px 5px 5px;
  background: var(--forest-2);
}

.crm-visual i:nth-of-type(2) { height: 72%; }
.crm-visual i:nth-of-type(3) { height: 58%; }

.demo-kpi {
  position: absolute;
  left: 34px;
  top: 30px;
  color: var(--forest);
  font-size: 4.4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.booking-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  gap: 12px;
  padding: 36px;
}

.booking-visual b {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 16px;
  color: var(--white);
  background: var(--forest);
  font-size: 2.2rem;
  text-align: center;
}

.booking-visual i {
  height: 58px;
  border-radius: 12px;
  background: var(--accent);
}

.analytics-visual {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
  padding: 42px;
}

.analytics-visual i {
  width: 15%;
  border-radius: 10px 10px 3px 3px;
  background: var(--forest-2);
}

.demo-shell-section {
  padding-top: 62px;
}

.demo-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.demo-topbar h1 {
  max-width: 950px;
  margin-bottom: 12px;
}

.demo-topbar p:last-child {
  color: var(--muted);
}

.app-frame {
  min-height: 760px;
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #eef2ef;
  box-shadow: var(--shadow);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  padding: 26px 18px;
  color: var(--white);
  background: var(--forest);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 30px;
}

.app-logo span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--forest);
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.app-sidebar nav {
  display: grid;
  gap: 7px;
}

.app-sidebar nav button {
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  text-align: left;
  font-weight: 750;
}

.app-sidebar nav button.active {
  color: var(--forest);
  background: var(--accent);
}

.app-sidebar small {
  margin-top: auto;
  padding: 14px 8px;
  color: rgba(255, 255, 255, 0.55);
}

.app-content {
  min-width: 0;
  padding: 28px;
}

.app-toolbar,
.analytics-header,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-toolbar > div,
.analytics-header > div:first-child {
  display: grid;
}

.app-toolbar span,
.analytics-header span,
.panel-heading p {
  color: var(--muted);
  font-size: 0.82rem;
}

.demo-reset,
.text-button,
.row-action,
.stage-back {
  border: 0;
  background: transparent;
  color: var(--forest-2);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.metric-grid article {
  display: grid;
  gap: 5px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.metric-grid article > span,
.metric-grid small {
  color: var(--muted);
  font-size: 0.76rem;
}

.metric-grid article > strong {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.05em;
}

.metric-grid small {
  color: var(--forest-2);
  font-weight: 750;
}

.demo-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.panel-heading {
  margin-bottom: 22px;
}

.panel-heading h2 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.panel-heading p {
  margin: 0;
}

.inline-filter {
  min-width: 150px;
  margin: 0;
}

.inline-filter select {
  width: 100%;
  min-height: 40px;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.demo-table-wrap {
  overflow-x: auto;
}

.demo-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.demo-table th,
.demo-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.demo-table th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-table td strong,
.demo-table td small {
  display: block;
}

.demo-table td small {
  color: var(--muted);
}

.status-select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sage-light);
}

.row-action {
  white-space: nowrap;
}

.row-action:disabled {
  color: var(--muted);
}

.demo-feedback {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, color 0.2s ease;
}

.demo-feedback.active {
  color: var(--forest);
  background: var(--accent);
}

.demo-explainer {
  padding-top: 0;
}

.booking-demo {
  max-width: 980px;
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 48px;
}

.booking-progress span {
  padding-bottom: 12px;
  border-bottom: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.booking-progress span.active {
  border-color: var(--forest-2);
  color: var(--forest);
}

.booking-stage {
  display: none;
}

.booking-stage.active {
  display: block;
}

.booking-stage h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.service-choice-grid button {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--sage-light);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-choice-grid button:hover {
  transform: translateY(-4px);
  border-color: var(--forest-2);
}

.service-choice-grid strong {
  font-size: 1.25rem;
}

.service-choice-grid span {
  color: var(--muted);
}

.service-choice-grid small {
  margin-top: auto;
  color: var(--forest-2);
  font-weight: 800;
}

.date-strip,
.time-grid {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.date-strip {
  grid-template-columns: repeat(4, 1fr);
}

.time-grid {
  grid-template-columns: repeat(5, 1fr);
}

.date-strip button,
.time-grid button {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--sage-light);
  color: var(--ink);
  cursor: pointer;
}

.date-strip button span,
.date-strip button strong {
  display: block;
}

.date-strip button.selected,
.time-grid button.selected {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.demo-booking-form {
  max-width: 720px;
  margin-top: 28px;
}

.booking-confirmed {
  max-width: 680px;
  margin: 30px auto 0;
  text-align: center;
}

.confirmation-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest-2);
  font-size: 2rem;
  font-weight: 900;
}

.booking-confirmed > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.booking-confirmed small {
  display: block;
  margin: 24px auto;
  color: var(--muted);
}

.analytics-frame {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #eef2ef;
  box-shadow: var(--shadow);
}

.analytics-header {
  padding: 4px 4px 20px;
}

.analytics-tabs {
  display: flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--white);
}

.analytics-tabs button {
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.analytics-tabs button.active {
  color: var(--white);
  background: var(--forest);
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
  margin-bottom: 16px;
}

.bar-chart {
  height: 280px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 18px;
  padding: 16px 12px 0;
  border-bottom: 1px solid var(--line);
}

.bar-chart > div {
  height: 100%;
  display: grid;
  grid-template-rows: 22px 1fr 24px;
  align-items: end;
  justify-items: center;
}

.bar-chart span,
.bar-chart small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.bar-chart i {
  width: min(74%, 62px);
  min-height: 18px;
  border-radius: 9px 9px 2px 2px;
  background: var(--forest-2);
  transition: height 0.35s ease;
}

.source-list {
  display: grid;
  gap: 25px;
}

.source-list > div {
  display: grid;
  grid-template-columns: 90px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.source-list span,
.source-list strong {
  font-size: 0.78rem;
}

.source-list b {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.source-list b::after {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--accent-strong);
}

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

.attention-grid button {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--sage-light);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.attention-grid strong {
  font-size: 2rem;
}

.attention-grid small {
  color: var(--forest-2);
  font-weight: 750;
}

.attention-grid button.resolved {
  opacity: 0.55;
}

.preview-login-section {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  background: linear-gradient(135deg, var(--cream), var(--sage-light));
}

.preview-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 80px;
}

.preview-login-copy .page-lead {
  max-width: 670px;
}

.security-note {
  display: flex;
  gap: 14px;
  max-width: 620px;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.security-note > span {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest-2);
  font-size: 0.72rem;
}

.security-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.preview-login-card {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.preview-login-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.client-portal-section {
  background: var(--sage-light);
}

.portal-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.portal-header h1 {
  margin-bottom: 10px;
}

.portal-header p:last-child {
  color: var(--muted);
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.portal-main-card,
.portal-side-card,
.portal-feedback {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.portal-main-card h2,
.portal-side-card h2,
.portal-feedback h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.portal-status {
  display: grid;
  grid-template-columns: 14px auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--forest-2);
}

.portal-status small {
  justify-self: end;
  color: var(--muted);
}

.review-instructions {
  margin: 30px 0;
  padding: 20px;
  border-left: 4px solid var(--accent-strong);
  border-radius: 0 14px 14px 0;
  background: var(--sage-light);
}

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

.portal-open-button {
  min-width: 230px;
}

.portal-expiry {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.review-checks {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: review;
}

.review-checks li {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  counter-increment: review;
}

.review-checks li::before {
  content: counter(review);
  width: 34px;
  height: 34px;
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 11px;
  color: var(--forest);
  background: var(--accent);
  font-weight: 900;
}

.review-checks span {
  color: var(--muted);
  font-size: 0.88rem;
}

.portal-feedback {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  margin-top: 24px;
}

.portal-feedback > div > p:last-child {
  color: var(--muted);
}

@media (max-width: 1040px) {
  .case-hero-grid,
  .preview-login-grid {
    grid-template-columns: 1fr;
  }

  .case-visual {
    max-width: 720px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav .nav-current::after {
    display: none;
  }

  .page-hero-grid,
  .project-grid,
  .case-story-grid,
  .case-detail-grid,
  .outcome-box,
  .demo-card,
  .portal-grid,
  .portal-feedback {
    grid-template-columns: 1fr;
  }

  .demo-card:nth-child(even) .demo-card-visual {
    order: 0;
  }

  .feature-check-grid {
    grid-template-columns: 1fr;
  }

  .dark-cta,
  .demo-topbar,
  .portal-header,
  .stack-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-frame {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .service-choice-grid,
  .attention-grid {
    grid-template-columns: 1fr;
  }

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

  .portal-status {
    grid-template-columns: 14px 1fr;
  }

  .portal-status small {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .compact-hero,
  .case-hero,
  .demo-shell-section {
    padding-top: 54px;
  }

  .project-preview {
    min-height: 235px;
    padding: 20px;
  }

  .preview-layout {
    min-height: 165px;
  }

  .project-card-body {
    padding: 26px;
  }

  .case-screen-body {
    min-height: 260px;
    padding: 16px;
  }

  .metric-grid,
  .date-strip,
  .booking-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-content,
  .analytics-frame,
  .demo-panel {
    padding: 16px;
  }

  .app-toolbar,
  .analytics-header,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .analytics-tabs {
    width: 100%;
  }

  .analytics-tabs button {
    flex: 1;
  }

  .bar-chart {
    gap: 8px;
  }

  .source-list > div {
    grid-template-columns: 75px 1fr 36px;
  }

  .time-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal-main-card,
  .portal-side-card,
  .portal-feedback,
  .preview-login-card {
    padding: 26px 22px;
  }
}

.home-work-section {
  background: var(--white);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-heading-row .section-heading {
  margin-bottom: 0;
}

.home-project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.home-project-grid .project-preview {
  min-height: 235px;
  padding: 24px;
}

.home-project-grid .preview-layout {
  min-height: 155px;
}

.home-project-grid .project-card-body h3 {
  font-size: 1.65rem;
}

.home-demo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 28px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--forest);
}

.home-demo-strip h2 {
  max-width: 800px;
  color: var(--white);
}

.home-demo-strip p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1040px) {
  .home-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .section-heading-row,
  .home-demo-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-project-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio presentation upgrade — v1.2.0 */
.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-preview {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  background: var(--project-tint);
}

.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover .project-preview img {
  transform: scale(1.025);
}

.project-visual-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 45, 38, 0.84);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(15, 45, 38, 0.18);
}

.project-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-card-body > p {
  flex: 1;
}

.project-card-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.project-card-actions .text-link,
.project-card-actions .project-quick-link {
  width: fit-content;
}

.project-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.project-quick-link:hover {
  color: var(--forest-2);
}

.case-visual {
  margin: 0;
}

.case-screen-image {
  aspect-ratio: 16 / 10;
  border-width: 8px;
}

.case-screen-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-visual figcaption {
  margin-top: 16px;
  color: var(--forest-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.home-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-project-grid .project-preview {
  min-height: 0;
  padding: 0;
}

.home-project-grid .project-card-body h3 {
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
}

@media (max-width: 820px) {
  .project-grid,
  .home-project-grid {
    grid-template-columns: 1fr;
  }

  .project-card-body {
    padding: 27px 24px;
  }

  .case-visual figcaption {
    text-align: left;
  }
}
