/* ==========================================================================
   WEBLOOM — DIRECTION A / MODERN CORPORATE
   Concept: an established digital studio. Structured grid, editorial scale,
   navy authority, ivory paper, and the logo's emerald used with restraint.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Arial, sans-serif;

  --ink: #14263b;
  --ink-deep: #0b1a2a;
  --ink-soft: #21374e;
  --teal: #0d7a6d;
  --teal-deep: #096257;
  --teal-soft: #e3efeb;
  --paper: #f6f3ec;
  --surface: #fffdf8;
  --white: #ffffff;
  --muted: #5e6974;
  --muted-light: #656e77;
  --line: #d9d4c8;
  --line-strong: #bdb7aa;
  --shadow: 0 24px 60px rgba(20, 38, 59, 0.13);

  /* Loom motif: two crossing threads, used as the single decorative mark. */
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5c2.8 2 2.8 7 0 9M6 1.5c-2.8 2-2.8 7 0 9' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");

  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --section-space: clamp(84px, 9vw, 132px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

html {
  background: var(--paper);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.25rem, 3.7vw, 3.6rem);
  line-height: 1.03;
}

h3 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.12;
}

::selection {
  background: var(--teal);
  color: var(--white);
}

.shell {
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 94px;
}

.section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}

.section--surface {
  background: var(--surface);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
  flex: none;
}

.eyebrow--light {
  color: #7cd3c4;
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 620;
  letter-spacing: -0.005em;
  line-height: 1;
  text-align: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.btn svg {
  flex: none;
  transition: transform 180ms ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--teal-soft);
}

.btn-sm {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: left;
}

.text-link svg {
  flex: none;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.text-link:hover {
  color: var(--teal-deep);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(20, 38, 59, 0.08);
}

.brand-name {
  font-size: 22px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: #46525e;
  font-size: 13px;
  font-weight: 520;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.nav-toggle-lines {
  display: flex;
  width: 17px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-lines span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100dvh - 74px);
  padding: 22px var(--gutter) 32px;
  overflow-y: auto;
  background: var(--paper);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.nav-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.nav-panel nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nav-panel-foot {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.nav-panel-foot p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(52px, 6.5vw, 92px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(40px, 5vw, 78px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}

.hero h1 {
  margin-top: 6px;
  font-size: clamp(2.35rem, 3.7vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-lead {
  max-width: 49ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

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

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  gap: 0;
}

.hero-assurances li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 20px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-assurances li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-assurances li::before {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
  flex: none;
}

.hero-stage {
  position: relative;
  z-index: 1;
}

.hero-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.demo-browser {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.demo-chrome {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #fbf9f4;
  border-bottom: 1px solid #e8e3d8;
}

.demo-dots {
  display: flex;
  gap: 4px;
}

.demo-dots i,
.dashboard-window-dots i {
  display: block;
  width: 5px;
  height: 5px;
  background: #c7c1b4;
  border-radius: 50%;
}

.demo-url {
  flex: 1;
  color: #6b6559;
  font-family: var(--font-body);
  font-size: 11px;
  text-align: center;
}

.demo-tag {
  padding: 3px 7px;
  background: var(--teal-soft);
  border-radius: 2px;
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-site {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.demo-eyebrow {
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.demo-form {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.demo-form label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.demo-form input,
.demo-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink);
  font-size: 13px;
}

.demo-form input::placeholder {
  color: var(--muted);
}

.demo-form input:focus-visible,
.demo-form select:focus-visible {
  border-color: var(--teal);
}

.demo-submit {
  margin-top: 6px;
  min-height: 44px;
}

.demo-disclaimer {
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.demo-crm {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px rgba(11, 26, 42, 0.22);
  color: var(--white);
}

.demo-crm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #aeb9c3;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-badge {
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  color: #d6dee6;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.demo-leads {
  display: grid;
}

.demo-lead {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-lead:first-child {
  border-top: 0;
}

.demo-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  background: rgba(13, 122, 109, 0.28);
  border-radius: 50%;
  color: #8fe0d2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
}

.demo-lead-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.demo-lead-copy strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-lead-copy small {
  overflow: hidden;
  color: #aeb9c3;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-crm .badge {
  font-size: 11px;
}

.demo-crm .badge-new {
  background: var(--teal);
  color: var(--white);
}

.demo-crm .badge-contacted {
  background: #c9a65a;
  color: var(--ink-deep);
}

.demo-crm .badge-converted {
  background: #e6ebe2;
  color: #2f4d27;
}

.demo-status {
  margin-top: auto;
  color: #b6c2cc;
  font-size: 11px;
  line-height: 1.45;
}

.demo-lead--new {
  animation: lead-in 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lead-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stage-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.stage-caption span {
  margin-right: 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */

.section-head {
  margin-bottom: clamp(44px, 5.5vw, 70px);
}

.section-head--stack h2 {
  max-width: 22ch;
  text-wrap: balance;
}

.section-head--stack .section-head-aside {
  max-width: 58ch;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section-head--tight {
  margin-bottom: clamp(30px, 4vw, 46px);
}

.section-head--tight h2 {
  max-width: 26ch;
  text-wrap: balance;
}

.section-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.7fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
}

.section-head-row > p,
.section-head-aside {
  max-width: 47ch;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.section-head-aside p + p {
  margin-top: 10px;
}

.section-head-aside .price-note {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 148px;
  gap: clamp(20px, 3vw, 42px);
  align-items: start;
  padding: 36px 0 38px;
  border-bottom: 1px solid var(--line);
  transition: background-color 200ms ease;
}

.service-row:hover {
  background: rgba(255, 253, 248, 0.6);
}

.service-number {
  padding-top: 7px;
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 200ms ease;
}

.service-row:hover .service-number {
  color: var(--teal);
}

.service-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.service-title-row h3 {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  letter-spacing: -0.03em;
}

.service-type {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-copy > p {
  max-width: 58ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag-list li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: #4e5b67;
  font-size: 12px;
}

.service-link {
  align-self: center;
  justify-self: end;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Packages
   -------------------------------------------------------------------------- */

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius-sm);
}

.package-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.package-index {
  display: block;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package-card--featured .package-index {
  color: #7cd3c4;
}

.package-head h3 {
  margin-top: 12px;
  font-size: clamp(1.85rem, 2.7vw, 2.5rem);
  letter-spacing: -0.03em;
}

.package-for {
  max-width: 34ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.package-card--featured .package-for {
  color: #aebac5;
}

.package-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.package-price strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.package-price span {
  color: var(--muted);
  font-size: 12px;
}

.package-card--featured .package-price {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.package-card--featured .package-price span {
  color: #aebac5;
}

.package-features {
  margin-top: 26px;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: #3f4c59;
  font-size: 14px;
  line-height: 1.45;
}

.package-features li::before {
  width: 23px;
  height: 23px;
  flex: none;
  margin-top: 4px;
  background: var(--teal);
  content: "";
  -webkit-mask: var(--motif) center / contain no-repeat;
  mask: var(--motif) center / contain no-repeat;
}

.package-card--featured .package-features li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: #d6dee6;
}

.package-card--featured .package-features li::before {
  background: #6fd6c6;
}

.package-upsell {
  margin-top: 26px;
  padding: 16px 17px;
  background: #f2efe6;
  border-left: 2px solid var(--teal);
}

.package-upsell span {
  display: block;
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-upsell p {
  max-width: 34ch;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.package-inherits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #cdd6df;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-inherits strong {
  color: #7cd3c4;
  font-size: 18px;
  line-height: 1;
}

.package-foot {
  margin-top: auto;
  padding-top: 28px;
}

.package-includes {
  margin-bottom: 14px;
  color: var(--muted-light);
  font-size: 12px;
}

.package-card--featured .package-includes {
  color: #8fa0ae;
}

.package-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

.package-bottom strong {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.process-head {
  position: sticky;
  top: 110px;
}

.process-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  text-wrap: balance;
}

.process-head > p {
  max-width: 42ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.process-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.process-index {
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.process-owner {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.process-step h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.process-step p {
  max-width: 52ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
/* --------------------------------------------------------------------------
   CRM showcase
   -------------------------------------------------------------------------- */

.crm-section {
  position: relative;
  padding-block: var(--section-space);
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--white);
}

.crm-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 64px);
}

.crm-intro h2 {
  color: var(--white);
}

.crm-intro-copy > p {
  max-width: 56ch;
  color: #b6c2cc;
  font-size: 14.5px;
  line-height: 1.65;
}

.crm-points {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.crm-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #dce3e9;
  font-size: 14px;
  line-height: 1.5;
}

.crm-points li::before {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 4px;
  background: #6fd6c6;
  content: "";
  -webkit-mask: var(--motif) center / contain no-repeat;
  mask: var(--motif) center / contain no-repeat;
}

.dashboard-shell {
  overflow: hidden;
  background: #f5f2eb;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
  color: var(--ink);
}

.dashboard-topbar {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #081625;
  color: #9fb0bd;
  font-size: 11px;
}

.dashboard-window-dots {
  display: flex;
  gap: 4px;
}

.dashboard-window-dots i {
  background: #3d4f5f;
}

.dashboard-topbar > span:nth-child(2) {
  flex: 1;
  text-align: center;
}

.demo-label {
  padding: 3px 6px;
  border: 1px solid #2c4254;
  border-radius: 2px;
  color: #b7c5d0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-app {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 540px;
}

.dashboard-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px 14px;
  background: #102235;
  color: var(--white);
}

.dashboard-business {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 6px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dashboard-business img {
  width: 29px;
  height: 29px;
  border-radius: 6px;
}

.dashboard-business span {
  display: grid;
  gap: 1px;
}

.dashboard-business strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dashboard-business small {
  color: #93a5b3;
  font-size: 11px;
}

.dashboard-tabs {
  display: grid;
  gap: 3px;
  margin-top: 18px;
}

.dashboard-tabs button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 3px;
  color: #a7b7c3;
  font-family: var(--font-body);
  font-size: 12px;
  text-align: left;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.dashboard-tabs button svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.dashboard-tabs button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.dashboard-tabs button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 16px 6px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.dashboard-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  background: var(--teal-soft);
  border-radius: 50%;
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
}

.dashboard-user .dashboard-avatar {
  width: 28px;
  height: 28px;
  background: rgba(13, 122, 109, 0.3);
  color: #8fe0d2;
  font-size: 11px;
}

.dashboard-user span:last-child {
  display: grid;
  gap: 1px;
}

.dashboard-user strong {
  font-size: 12px;
  font-weight: 600;
}

.dashboard-user small {
  color: #93a5b3;
  font-size: 11px;
}

.dashboard-main {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 28px);
  background: #f7f5f0;
}

.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-kicker {
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dashboard-head h3 {
  margin-top: 3px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.dashboard-period {
  padding-top: 4px;
  color: var(--muted-light);
  font-size: 11px;
}

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

.metric {
  padding: 13px 13px 11px;
  background: var(--white);
  border: 1px solid #e4dfd4;
  border-top: 2px solid var(--ink);
  border-radius: 3px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.metric strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.metric small {
  display: block;
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.4;
}

.metric--action {
  border-top-color: var(--teal);
}

.metric--action strong {
  color: var(--teal-deep);
}

.dashboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.8fr);
  gap: 10px;
  margin-top: 10px;
}

.mini-panel {
  min-width: 0;
  padding: 14px;
  background: var(--white);
  border: 1px solid #e4dfd4;
  border-radius: 3px;
}

.mini-panel-head,
.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mini-panel-head h4,
.panel-toolbar h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.mini-panel-head span,
.panel-toolbar span {
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 600;
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.crm-table th {
  padding: 6px 8px 6px 0;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.crm-table td {
  padding: 8px 8px 8px 0;
  border-top: 1px solid #efebe2;
  color: #46525e;
  white-space: nowrap;
}

.crm-table td:first-child {
  color: var(--ink);
  font-weight: 550;
}

.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-new {
  background: #e3efeb;
  color: #096257;
}

.badge-contacted {
  background: #f0ead9;
  color: #785d21;
}

.badge-converted,
.badge-customer {
  background: #e6ebe2;
  color: #3e6134;
}

.badge-ni {
  background: #f0e6e4;
  color: #8c4d42;
}

.bar-chart {
  display: grid;
  gap: 8px;
}

.bar-chart li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.bar {
  display: block;
  height: 5px;
  overflow: hidden;
  background: #eeeae1;
  border-radius: 4px;
}

.bar i {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
}

.bar-chart strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.chart-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #efebe2;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.dashboard-row--secondary {
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.8fr);
}

.task-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid #efebe2;
}

.task-check {
  display: grid;
  width: 14px;
  height: 14px;
  flex: none;
  place-items: center;
  border: 1px solid #cfc9bc;
  border-radius: 50%;
  color: var(--white);
  font-size: 7px;
}

.task-check--done {
  background: var(--teal);
  border-color: var(--teal);
}

.task-list li > span:nth-child(2) {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.task-list strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-list small {
  overflow: hidden;
  color: var(--muted-light);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-time {
  margin-left: auto;
  color: var(--muted-light);
  font-size: 11px;
  white-space: nowrap;
}

.status-bar {
  display: flex;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  background: #eeeae1;
  border-radius: 6px;
  gap: 2px;
}

.status-bar i {
  display: block;
  height: 100%;
}

.status-new {
  background: var(--teal);
}

.status-contacted {
  background: #c9a65a;
}

.status-converted {
  background: #6d8a63;
}

.status-ni {
  background: #b68b82;
}

.status-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 7px 12px;
  margin-top: 14px;
}

.status-legend li {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}

.status-legend i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
}

.status-legend strong {
  margin-left: auto;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.crm-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.crm-table--full {
  min-width: 580px;
}

.crm-table--full td {
  padding-block: 10px;
  font-size: 12px;
}

.note-feed {
  display: grid;
  gap: 10px;
}

.note-feed li {
  padding: 12px;
  background: var(--white);
  border: 1px solid #e4dfd4;
  border-radius: 3px;
}

.note-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-head .dashboard-avatar {
  width: 26px;
  height: 26px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 11px;
}

.note-head span:last-child {
  display: grid;
  gap: 1px;
}

.note-head strong {
  font-size: 12px;
}

.note-head small {
  color: var(--muted-light);
  font-size: 11px;
}

.note-feed p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.crm-disclaimer {
  margin-top: 13px;
  color: #93a5b3;
  font-size: 11px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */

.project-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.project-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 50px);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-tag {
  padding: 3px 6px;
  background: var(--teal-soft);
  border-radius: 2px;
  color: var(--teal-deep);
}

.project-featured h3 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 3.6vw, 3.3rem);
  letter-spacing: -0.03em;
}

.project-featured-copy > p {
  max-width: 48ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 550;
}

.project-open {
  align-self: flex-start;
  margin-top: 24px;
}

.project-featured-visual {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
}

.project-visual--warm {
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 245, 228, 0.55), transparent 35%),
    #c8aa89;
}

.project-visual-note {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: #4a3527;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-browser {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 22px 44px rgba(36, 27, 18, 0.22);
}

.mini-browser--large {
  transform: translateY(2px);
}

.mini-browser-bar {
  display: flex;
  min-height: 25px;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  background: #fbf9f4;
  border-bottom: 1px solid #e9e4d9;
}

.mini-browser-bar span {
  width: 4px;
  height: 4px;
  background: #ccc5b7;
  border-radius: 50%;
}

.mini-browser-bar em {
  margin-left: 6px;
  color: #9a9386;
  font-size: 7px;
  font-style: normal;
}

.rr-site {
  padding: 16px;
  background: #efe0cc;
}

.rr-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rr-nav strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.rr-nav span {
  color: rgba(60, 43, 31, 0.6);
  font-size: 6.5px;
}

.rr-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.rr-copy > span {
  color: #946c50;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rr-copy h4 {
  margin-top: 7px;
  color: #3b2b21;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.rr-copy p {
  max-width: 28ch;
  margin-top: 8px;
  color: #735a48;
  font-size: 7px;
  line-height: 1.55;
}

.rr-copy i {
  display: inline-block;
  margin-top: 11px;
  padding: 5px 8px;
  background: #3b2b21;
  color: #f7ecdd;
  font-size: 6px;
  font-style: normal;
}

.rr-art {
  position: relative;
  display: grid;
  min-height: 150px;
  place-items: center;
  background: #b9855f;
  border-radius: 2px;
}

.rr-plate {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  background: #ebdcc7;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(74, 47, 30, 0.2);
}

.rr-cup {
  position: relative;
  width: 42px;
  height: 34px;
  background: #fffaf1;
  border-radius: 3px 3px 18px 18px;
}

.rr-cup::before {
  position: absolute;
  top: 7px;
  right: -13px;
  width: 17px;
  height: 16px;
  border: 4px solid #fffaf1;
  border-left: 0;
  border-radius: 0 12px 12px 0;
  content: "";
}

.rr-cup::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 30px;
  height: 8px;
  background: #7e5034;
  border-radius: 50%;
  content: "";
}

.rr-art > span {
  position: absolute;
  bottom: 9px;
  left: 9px;
  color: rgba(255, 249, 239, 0.82);
  font-size: 5.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 110px;
}

.faq-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  text-wrap: balance;
}

.faq-head > p {
  max-width: 42ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-head .text-link {
  margin-top: 22px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  list-style: none;
}

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

.faq-item summary:hover {
  color: var(--teal-deep);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item.is-closing .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item p {
  max-width: 62ch;
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: center;
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius-md);
  color: var(--white);
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cta-copy > p {
  max-width: 51ch;
  margin-top: 20px;
  color: #b6c2cc;
  font-size: 14.5px;
  line-height: 1.65;
}

.cta-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  color: #9fb0bd;
  font-size: 12.5px;
}

.cta-contact a {
  color: #dce4ea;
  text-decoration: underline;
  text-decoration-color: rgba(220, 228, 234, 0.3);
  text-underline-offset: 4px;
}

.cta-contact a:hover {
  text-decoration-color: currentColor;
}

.consult-card {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 2.6vw, 30px);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}

.consult-title {
  color: #b6c2cc;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.plan-options button {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 3px;
  color: #dce4ea;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.plan-options button span {
  color: #7cd3c4;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
}

.plan-options button:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.plan-options button.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.consult-card > .btn {
  margin-top: 12px;
  background: var(--white);
  color: var(--ink);
}

.consult-card > .btn:hover {
  background: var(--teal-soft);
}

.consult-note {
  margin-top: 11px;
  color: #9fb0bd;
  font-size: 11px;
  line-height: 1.5;
}

.consult-divider {
  height: 1px;
  margin: 16px 0 12px;
  background: rgba(255, 255, 255, 0.11);
}

.consult-deployment {
  color: #9fb0bd;
  font-size: 11px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: 64px 24px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(40px, 8vw, 140px);
  padding-bottom: 50px;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.footer-brand .brand-name {
  font-size: 24px;
}

.footer-brand > p {
  max-width: 34ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

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

.footer-nav-title {
  margin-bottom: 14px;
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-nav span {
  display: block;
  width: fit-content;
  padding: 4px 0;
  color: #45515d;
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 11.5px;
}

.footer-demo-note {
  max-width: 40ch;
}

/* --------------------------------------------------------------------------
   Project dialog
   -------------------------------------------------------------------------- */

.project-dialog {
  width: min(880px, calc(100vw - 32px));
  max-height: min(86vh, 820px);
  padding: 0;
  overflow: auto;
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-md);
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(3, 12, 22, 0.42);
}

.project-dialog::backdrop {
  background: rgba(7, 17, 28, 0.62);
}

.project-dialog[open] {
  animation: dialog-in 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.dialog-open {
  overflow: hidden;
}

.project-dialog-inner {
  position: relative;
  padding: clamp(28px, 5vw, 54px);
}

.dialog-close {
  position: absolute;
  top: 20px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.dialog-close:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.project-dialog .eyebrow {
  margin-bottom: 18px;
}

.project-dialog h2 {
  padding-right: 80px;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  letter-spacing: -0.03em;
}

.dialog-lede {
  max-width: 65ch;
  margin-top: 15px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.dialog-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.dialog-columns .dialog-label {
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dialog-columns .dialog-label:first-child {
  margin-top: 0;
}

.dialog-columns p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.dialog-list {
  display: grid;
  gap: 7px;
}

.dialog-list li {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.dialog-list li::before {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 4px;
  background: var(--teal);
  content: "";
  -webkit-mask: var(--motif) center / contain no-repeat;
  mask: var(--motif) center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .service-row {
    grid-template-columns: 44px minmax(0, 1fr) 120px;
    gap: 24px;
  }

  .project-featured-copy {
    padding: 36px;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: block;
  }

  .header-inner {
    min-height: 74px;
  }

  .header-actions {
    gap: 10px;
  }

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

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

  .hero h1 {
    max-width: 22ch;
    font-size: clamp(2.5rem, 6.2vw, 3.8rem);
  }

  .hero-stage {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }

  .section-head-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-head-row > p,
  .section-head-aside {
    max-width: 60ch;
    justify-self: start;
  }

  .service-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 22px;
  }

  .service-link {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .package-grid {
    gap: 18px;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-head {
    position: static;
  }

  .process-head > p {
    max-width: 56ch;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-head {
    position: static;
  }

  .faq-head > p {
    max-width: 56ch;
  }

  .crm-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

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

  .project-featured-visual {
    min-height: 390px;
  }

  .project-featured-copy {
    padding: 36px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-copy h2 {
    max-width: 20ch;
  }

  .consult-card {
    max-width: 520px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

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

  .package-card--featured {
    order: -1;
  }

  .package-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .dashboard-sidebar {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
  }

  .dashboard-business {
    display: none;
  }

  .dashboard-tabs {
    display: flex;
    margin-top: 0;
    gap: 4px;
  }

  .dashboard-tabs button {
    width: auto;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .dashboard-user {
    display: none;
  }

  .dashboard-main {
    padding: 18px;
  }

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

  .dashboard-row {
    grid-template-columns: 1fr;
  }

  .dialog-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 38px;
  }

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

  .stage-caption {
    margin-top: 16px;
    text-align: left;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 28px;
  }

  .service-number {
    padding-top: 0;
  }

  .service-link {
    grid-column: 1;
    grid-row: auto;
    margin-top: 6px;
  }

  .crm-disclaimer {
    text-align: left;
  }

  .project-featured-copy,
  .project-featured-visual {
    padding: 26px;
  }

  .project-featured-visual {
    min-height: 320px;
  }

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

  .cta-panel {
    padding: 28px 22px;
  }

  .plan-options {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-demo-note {
    order: 2;
  }

  .project-dialog-inner {
    padding: 60px 22px 30px;
  }
}

@media (max-width: 540px) {
  :root {
    --gutter: 18px;
    --section-space: 72px;
  }

  .header-actions > .btn {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 21px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.4vw, 2.9rem);
  }

  .cta-contact span[aria-hidden="true"] {
    display: none;
  }

  .cta-contact a,
  .text-link {
    min-height: 44px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-assurances {
    gap: 4px 18px;
    margin-top: 28px;
  }

  .hero-assurances li {
    padding: 6px 0;
    font-size: 11px;
  }

  .hero-assurances li + li {
    border-left: 0;
    padding-left: 0;
  }

  .package-card {
    padding: 24px 20px;
  }

  .faq-item p {
    padding-right: 0;
  }

  .metric {
    padding: 11px;
  }

  .metric strong {
    font-size: 22px;
  }

  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .dashboard-tabs {
    width: 100%;
  }

  .dashboard-tabs button {
    flex: 1;
    justify-content: center;
    padding: 9px 6px;
  }

  .dashboard-tabs button svg {
    display: none;
  }

  .demo-form input,
  .demo-form select {
    font-size: 16px;
  }

  .project-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .footer-bottom {
    gap: 12px;
  }

  .project-dialog h2 {
    padding-right: 0;
  }

  .dialog-close {
    top: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-lead--new,
  .project-dialog[open] {
    animation: none;
  }

  .faq-icon::before,
  .faq-icon::after {
    transition: none;
  }
}
