:root {
  --bg: #f3faf6;
  --bg-tint: #e7f4ec;
  --surface: #ffffff;
  --ink: #10231a;
  --ink-soft: #4d6358;
  --line: #cfe3d6;
  --green: #0b5c3d;
  --green-mid: #14915e;
  --green-bright: #2ecf84;
  --green-deep: #073526;
  --danger: #b42318;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(16, 35, 26, 0.06);
  --header-h: 92px;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --mx: 50vw;
  --my: 28vh;
  --grid-size: 48px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  overflow-x: hidden;
}

html.is-intro,
html.is-intro body {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.intro__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.1%;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(11, 92, 61, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 61, 0.09) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro__door--left {
  left: 0;
  box-shadow: inset -1px 0 0 rgba(11, 92, 61, 0.12);
}

.intro__door--right {
  right: 0;
  box-shadow: inset 1px 0 0 rgba(11, 92, 61, 0.12);
}

.intro.is-open .intro__door--left {
  transform: translateX(-102%);
}

.intro.is-open .intro__door--right {
  transform: translateX(102%);
}

.intro.is-open {
  pointer-events: none;
}

.intro__brand {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.intro.is-ready .intro__brand {
  opacity: 1;
  transform: none;
}

.intro.is-open .intro__brand {
  opacity: 0;
  transform: scale(0.96);
  transition-duration: 0.28s;
}

.intro__mark {
  width: 52px;
  height: 52px;
  color: var(--green);
}

.intro__mark svg {
  width: 52px;
  height: 52px;
}

.intro__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.intro__slogan {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
}

html.js .reveal:not(.is-in) {
  opacity: 0;
}

html.js .reveal--top:not(.is-in) {
  transform: translateY(-28px);
}

html.js .reveal--right:not(.is-in) {
  transform: translateX(28px);
}

html.js .reveal--bottom:not(.is-in) {
  transform: translateY(28px);
}

html.js .reveal--left:not(.is-in) {
  transform: translateX(-28px);
}

.reveal {
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease;
  transition-delay: var(--d, 0ms);
}

.reveal:nth-child(1) { --d: 0ms; }
.reveal:nth-child(2) { --d: 55ms; }
.reveal:nth-child(3) { --d: 110ms; }
.reveal:nth-child(4) { --d: 165ms; }
.reveal:nth-child(5) { --d: 220ms; }
.reveal:nth-child(6) { --d: 275ms; }
.reveal:nth-child(7) { --d: 330ms; }
.reveal:nth-child(8) { --d: 385ms; }

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

.site-grid,
.site-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.site-grid {
  background-image:
    linear-gradient(rgba(11, 92, 61, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 61, 0.09) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

.site-glow {
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(46, 207, 132, 0.26),
    rgba(20, 145, 94, 0.08) 38%,
    transparent 68%
  );
}

.site-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 207, 132, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 207, 132, 0.55) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: radial-gradient(280px circle at var(--mx) var(--my), #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(280px circle at var(--mx) var(--my), #000 12%, transparent 72%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 0;
  z-index: 80;
  background: var(--green);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(12px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0 0;
  background: transparent;
}

.header__plaque,
.section,
.hero__grid,
.footer__grid,
.signup,
.page-split {
  width: min(1560px, calc(100% - 40px));
  margin-inline: auto;
}

.header__plaque {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 8px 10px 8px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(11, 92, 61, 0.16);
  box-shadow: 0 10px 30px rgba(16, 35, 26, 0.06);
  backdrop-filter: blur(18px);
}

.header__plaque::after,
.plaque::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    180px circle at var(--lx, 50%) var(--ly, -80px),
    rgba(46, 207, 132, 0.34),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.header__plaque.is-hot::after,
.plaque.is-hot::after {
  opacity: 1;
}

.header__start {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
  flex: 1;
}

.works {
  position: relative;
  flex-shrink: 0;
}

.works__btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11, 92, 61, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.works__btn:hover,
.works__btn[aria-expanded="true"] {
  border-color: #9ecbb3;
  background: rgba(46, 207, 132, 0.12);
}

.works__grid {
  width: 16px;
  height: 16px;
  background:
    radial-gradient(circle at 3px 3px, var(--green) 2px, transparent 2.2px),
    radial-gradient(circle at 13px 3px, var(--green) 2px, transparent 2.2px),
    radial-gradient(circle at 3px 13px, var(--green) 2px, transparent 2.2px),
    radial-gradient(circle at 13px 13px, var(--green) 2px, transparent 2.2px);
}

.works__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  min-width: 240px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 92, 61, 0.16);
  box-shadow: 0 18px 40px rgba(16, 35, 26, 0.12);
  backdrop-filter: blur(18px);
}

.works__menu a {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.works__menu a:hover,
.works__menu a[aria-current="page"] {
  color: var(--green);
  background: rgba(46, 207, 132, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.86rem;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"],
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--green);
  background: rgba(46, 207, 132, 0.12);
}

.nav__cta {
  color: #fff !important;
  background: var(--green);
  padding: 10px 22px !important;
  min-width: 12.4rem;
  text-align: center;
}

.nav__cta:hover {
  background: var(--green-deep);
  color: #fff !important;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}

.logo__mark {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.logo__mark svg {
  width: 28px;
  height: 28px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: min(1560px, calc(100% - 40px));
  margin: 8px auto 0;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 92, 61, 0.12);
}

.nav__cta {
  border-radius: 999px;
}

.mobile-nav a {
  padding: 12px 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 48px 0 88px;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  scroll-margin-top: 88px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  width: min(1560px, calc(100% - 40px));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--on-dark {
  color: var(--green-bright);
}

.hero h1 {
  font-size: clamp(2.15rem, 5vw, 4.35rem);
}

.hero h1 .hero__line,
.hero h1 em {
  display: block;
}

.hero h1 .hero__line:first-child {
  white-space: nowrap;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-mid);
}

.hero__lead,
.section__lead,
.signup__copy p {
  margin-top: 18px;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn--primary {
  background: var(--green);
  color: #fff;
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

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

.btn--ghost:hover {
  background: var(--surface);
}

.btn--full {
  width: 100%;
}

.hero__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: visible;
  padding: 8px 0 4px;
}

.mascot {
  width: min(96%, 76vh, 720px);
  aspect-ratio: 1;
  position: relative;
  overflow: visible;
}

.mascot__float {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.mascot__ball {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
}

.mascot__floor {
  position: absolute;
  left: 50%;
  bottom: 1%;
  width: 54%;
  height: 8%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(8, 40, 24, 0.34), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.mascot__hint {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section {
  position: relative;
  z-index: 1;
  padding: 88px 0;
  scroll-margin-top: 108px;
}

.section__head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section__lead {
  margin-top: 14px;
}

.services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service {
  display: block;
  height: 100%;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 200px;
}

.services > li {
  display: grid;
}

.service:hover {
  border-color: #9ecbb3;
}

.service__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--green);
  background: var(--bg-tint);
  border-radius: 12px;
}

.service__icon svg {
  width: 28px;
  height: 28px;
}

.service h3 {
  margin-bottom: 8px;
}

.service p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: none;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--green-mid);
}

.step p {
  margin-top: 8px;
  color: var(--ink-soft);
}

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

.review {
  min-height: 240px;
  padding: 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}

a.review:hover {
  border-color: var(--green);
}

.review--slot {
  border: 1.5px dashed #9ecbb3;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.4) 12px,
    rgba(231, 244, 236, 0.8) 12px,
    rgba(231, 244, 236, 0.8) 24px
  );
}

.review__mark,
.review__meta {
  color: var(--green);
  font-weight: 700;
  font-size: 0.86rem;
}

.review__body {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section--contact {
  padding-top: 0;
  padding-bottom: 48px;
  width: 100%;
}

.page-hero {
  position: relative;
  z-index: 1;
  padding: 20px 0 8px;
}

.page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.page-copy,
.page-visual {
  min-height: 420px;
}

.page-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 36px;
}

.page-split--stub {
  grid-template-columns: 1fr;
}

.page-copy--stub {
  min-height: 280px;
}

.work-page {
  display: grid;
  gap: 20px;
  padding: 36px;
}

.work-page h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.work-facts {
  display: grid;
  gap: 14px;
  margin: 8px 0 4px;
}

.work-facts div {
  display: grid;
  gap: 4px;
}

.work-facts dt {
  color: var(--green);
  font-weight: 800;
  font-size: 0.86rem;
}

.work-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.work-facts a {
  color: var(--green);
  font-weight: 700;
}

.work-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.work-shots {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .work-shots:not(.work-shots--phones) {
    grid-template-columns: 1fr 1fr;
  }

  .work-shots:not(.work-shots--phones) figure:first-child {
    grid-column: 1 / -1;
  }
}

.work-shots--phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 18px 16px;
  max-width: 720px;
}

.work-shots--phones figure {
  flex: 0 0 auto;
  width: min(100%, 200px);
}

.work-shots--phones figure:first-child {
  width: min(100%, 280px);
}

.work-shots--phones img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 28px;
  background: #08090c;
  border: 1px solid var(--line);
}

.work-shots figure {
  margin: 0;
}

.work-shots img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.work-shots figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.review--filled {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 0;
}

.review--filled img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.review--filled .review__inner {
  display: grid;
  gap: 10px;
  padding: 18px 20px 20px;
}

.page-copy h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.page-copy__lead,
.page-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 40rem;
}

.page-visual {
  display: grid;
  place-items: center;
  padding: 24px;
}

.page-visual.plaque--cases {
  place-items: stretch;
  padding: 28px;
}

.page-copy .btn {
  width: max-content;
  margin-top: 8px;
}

.page-visual img {
  width: min(100%, 520px);
  height: auto;
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  display: grid;
  gap: 8px;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  letter-spacing: -0.05em;
  color: var(--green);
  line-height: 1;
  white-space: nowrap;
}

.stat__num--text {
  font-size: clamp(1.2rem, 2.4vw, 2.15rem);
  letter-spacing: -0.04em;
  white-space: normal;
}

.stat__label {
  color: var(--ink-soft);
  font-weight: 600;
}

.signup--full {
  grid-template-columns: 1fr;
}

.plaque--wide {
  display: grid;
  gap: 24px;
  padding: 36px;
}

.form--wide {
  grid-template-columns: 1fr 1fr;
}

.form--wide .field--channels,
.form--wide [data-contact-field],
.form--wide .form__error,
.form--wide .btn,
.form--wide .form__note {
  grid-column: 1 / -1;
}

.signup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 28px;
}

section.section.section--contact:has(.signup--full) {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.signup.signup--full {
  width: calc(100% - 40px);
  max-width: none;
  grid-template-columns: 1fr;
  margin-inline: auto;
}

.plaque--wide {
  width: 100%;
}

.form--wide .form-success {
  grid-column: 1 / -1;
}

.plaque {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(11, 92, 61, 0.12);
  box-shadow: 0 16px 40px rgba(16, 35, 26, 0.05);
  backdrop-filter: blur(16px);
}

.plaque--signup {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 32px;
}

.plaque--cases {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 28px;
  min-height: 560px;
  cursor: pointer;
}

.signup__copy h2 {
  color: var(--ink);
}

.form,
.form-success {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(11, 92, 61, 0.08);
}

.form-success {
  min-height: 280px;
  align-content: center;
  text-align: center;
}

.form-success__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.cases__stage {
  position: relative;
  min-height: 360px;
  height: 100%;
}

.case {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-rows: auto auto auto 1fr;
  gap: 12px;
}

.case.is-active {
  display: grid;
  animation: case-in 0.38s ease;
}

.case.is-active:has(.case__shots) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  height: 100%;
}

.case:has(.case__shots) h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  width: 100%;
}

.case:has(.case__shots) p {
  max-width: none;
  width: 100%;
}

.case__shots {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  flex: 1 1 0;
  min-height: 220px;
  width: 100%;
}

.case__shot {
  display: block;
  min-height: 0;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ebe6dc;
  cursor: pointer;
}

.case__shot--hero {
  grid-row: 1 / -1;
}

.case__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.case__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin-top: auto;
}

.case__go {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.case__go:hover {
  background: var(--green-deep);
  color: #fff;
}

.case__go--ghost {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.case__go--ghost:hover {
  background: rgba(11, 92, 61, 0.06);
  color: var(--green-deep);
}

.case__tag {
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.case p {
  color: var(--ink-soft);
  max-width: 28rem;
}

.case__results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.case__results li {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

.case__results strong {
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 800;
}

.task-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.task-col {
  padding: 28px 24px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.task-col h3 {
  font-size: 1.15rem;
}

.task-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.task-col li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.task-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: inset 0 0 0 3px var(--green);
}

.case__preview {
  display: grid;
  gap: 10px;
  align-content: end;
  margin-top: 12px;
}

.case__preview span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(20, 145, 94, 0.16);
}

.case__preview span:nth-child(1) {
  width: 72%;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 145, 94, 0.18), rgba(46, 207, 132, 0.32));
}

.case__preview span:nth-child(2) {
  width: 54%;
}

.case__preview span:nth-child(3) {
  width: 38%;
}

.case__preview--web span:nth-child(1) {
  width: 100%;
  height: 120px;
}

.case__preview--bot span:nth-child(1) {
  width: 48%;
  height: 90px;
  border-radius: 22px;
}

.case__preview--flow span:nth-child(1) {
  width: 88%;
  height: 18px;
}

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

.cases__hint {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.cases__dots {
  display: flex;
  gap: 8px;
}

.cases__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b7d4c4;
  cursor: pointer;
}

.cases__dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--green);
}

@keyframes case-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.field legend {
  font-weight: 700;
  font-size: 0.92rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 14px 14px;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(20, 145, 94, 0.15);
}

.field--channels {
  border: 0;
  padding: 0;
  margin: 0;
}

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

.channel {
  cursor: pointer;
  position: relative;
}

.channel input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}

.channel span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-weight: 700;
}

.channel input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(20, 145, 94, 0.15);
}

.channel input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.form__error {
  color: var(--danger);
  font-weight: 600;
  font-size: 0.92rem;
}

.form__note {
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-align: center;
}

.header__plaque > *,
.plaque > * {
  position: relative;
  z-index: 1;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 56px 0 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer__col {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer__title {
  font-size: 1.05rem;
  font-weight: 700;
}

.footer__hint {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(11, 92, 61, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.footer__chip:hover,
.footer__tg:hover {
  border-color: var(--green);
  background: rgba(46, 207, 132, 0.16);
}

.footer__chip.is-copied {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.footer__tg {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(11, 92, 61, 0.16);
  background: rgba(255, 255, 255, 0.62);
  color: var(--green);
  backdrop-filter: blur(12px);
}

.footer__tg svg {
  width: 22px;
  height: 22px;
}

.footer__brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.footer__mark {
  width: 64px;
  height: 64px;
  color: var(--green);
}

.footer__mark svg {
  width: 64px;
  height: 64px;
}

.footer__col--legal {
  justify-items: end;
  text-align: right;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer__legal-title {
  font-weight: 700;
  color: var(--ink);
}

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

  .nav-toggle {
    display: block;
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .nav__cta {
    min-width: 0;
    padding: 10px 14px !important;
  }
}

@media (max-width: 980px) {
  .hero__grid,
  .signup:not(.signup--full),
  .services,
  .steps,
  .reviews {
    grid-template-columns: 1fr 1fr;
  }

  .hero__grid {
    gap: 24px;
  }

  .hero h1 .hero__line:first-child {
    white-space: normal;
  }

  .services,
  .stats,
  .task-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .nav-toggle {
    display: block;
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .hero,
  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid,
  .signup:not(.signup--full),
  .steps,
  .reviews,
  .footer__grid,
  .page-split,
  .form--wide {
    grid-template-columns: 1fr;
  }

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

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

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

  .header__plaque,
  .section,
  .hero__grid,
  .footer__grid,
  .signup:not(.signup--full),
  .mobile-nav,
  .page-split,
  .stats {
    width: min(1120px, calc(100% - 28px));
  }

  .signup.signup--full {
    width: calc(100% - 28px);
  }

  .plaque--signup,
  .plaque--cases {
    padding: 22px 18px;
    min-height: auto;
  }

  .case__shots {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(150px, 1.2fr) minmax(88px, 0.8fr);
    min-height: 250px;
  }

  .case__shot--hero {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .page-copy,
  .page-visual {
    min-height: 0;
  }

  .page-copy {
    padding: 24px 20px;
  }

  .plaque--wide {
    padding: 24px 18px;
  }

  .hero__stage {
    min-height: 0;
    padding: 0;
  }

  .mascot {
    width: min(94vw, 400px);
  }

  .stat {
    padding: 20px 14px;
  }

  .stat__num {
    white-space: normal;
  }

  .hero h1 .hero__line:first-child {
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .header {
    padding-top: env(safe-area-inset-top);
  }

  .header .nav__cta {
    display: none;
  }

  .header__plaque {
    padding: 6px 8px 6px 12px;
    gap: 8px;
    min-height: 56px;
  }

  .logo__word {
    font-size: 1.05rem;
  }

  .chat {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .chat__panel {
    width: min(100vw - 16px, 400px);
    height: min(78svh, calc(100svh - 24px - env(safe-area-inset-bottom)));
  }

  .chat__launch-label {
    display: none;
  }

  .hero {
    padding-bottom: 96px;
  }

  .chat__launch {
    padding: 4px;
    min-height: 52px;
    min-width: 52px;
    justify-content: center;
  }

  .stat__num {
    font-size: clamp(1.35rem, 6vw, 2.2rem);
  }

  .stat__num--text {
    font-size: clamp(1.05rem, 4.6vw, 1.6rem);
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .footer__brand,
  .footer__col--legal {
    justify-items: start;
    text-align: left;
  }

  :root {
    --header-h: 72px;
  }
}

@media (max-width: 480px) {
  .services,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .page-copy h1 {
    font-size: clamp(1.45rem, 7.5vw, 2rem);
  }

  .hero__actions,
  .page-copy .btn {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .footer__chips {
    flex-wrap: wrap;
  }

  .works__menu {
    left: 0;
    right: auto;
    min-width: min(240px, calc(100vw - 36px));
  }
}

.chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  justify-items: end;
  align-items: end;
  gap: 10px;
  overflow: visible;
}

.chat__dock {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat__ava {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chat__ava-logo {
  width: 62%;
  height: 62%;
  display: block;
}

.chat__online {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2ecf84;
  border: 2px solid var(--green);
}

.chat__toast {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 2;
  width: max-content;
  max-width: min(320px, calc(100vw - 44px));
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 16px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 35, 26, 0.14);
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  transform-origin: 88% 100%;
}

.chat__toast.is-show {
  display: grid;
  animation: toast-pop 0.48s cubic-bezier(0.2, 1.15, 0.32, 1);
}

.chat__toast .chat__ava {
  width: 36px;
  height: 36px;
}

.chat__toast-text {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

@keyframes toast-pop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.86);
  }
  62% {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat__panel {
  width: min(360px, calc(100vw - 32px));
  height: min(540px, calc(100vh - 110px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 18px;
  background: #f4f6f8;
  box-shadow: 0 22px 50px rgba(16, 35, 26, 0.18);
  overflow: hidden;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: var(--green);
  color: #fff;
}

.chat__head .chat__ava {
  background: #084a32;
}

.chat__head .chat__online {
  border-color: var(--green);
  background: #2ecf84;
}

.chat__head p {
  margin: 0;
  min-width: 0;
}

.chat__head strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.chat__head span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.chat__close {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
}

.chat__log {
  overflow: auto;
  padding: 16px 14px;
  display: grid;
  align-content: start;
  gap: 10px;
  background: #f4f6f8;
}

.chat__msg {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.chat__msg--typing {
  display: flex;
  gap: 5px;
  width: fit-content;
  padding: 14px 16px;
}

.chat__msg--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa7a0;
  animation: chat-dot 1s ease-in-out infinite;
}

.chat__msg--typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.chat__msg--typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chat-dot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chat__msg--manager {
  justify-self: start;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 35, 26, 0.06);
}

.chat__msg--user {
  justify-self: end;
  background: var(--green);
  color: #fff;
}

.chat__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
  padding: 12px 12px 14px;
  background: #fff;
}

.chat__form textarea {
  width: 100%;
  min-height: 44px;
  max-height: 120px;
  border: 0;
  border-radius: 22px;
  padding: 12px 16px;
  background: #eef1f4;
  resize: none;
  font: inherit;
  line-height: 1.4;
  color: var(--ink);
}

.chat__form textarea::placeholder {
  color: #8a97a0;
}

.chat__send {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.chat__send:hover {
  background: var(--green-deep);
}

.chat__launch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 16px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 35, 26, 0.12);
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.chat__launch .chat__ava {
  width: 40px;
  height: 40px;
}

.chat__badge {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-bright);
  right: 14px;
  top: 8px;
}

.chat.is-open .chat__dock {
  display: none;
}

.chat:not(.is-open) .chat__panel {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mascot__float,
  .btn,
  .case.is-active,
  .reveal,
  .intro,
  .intro__door,
  .intro__brand,
  .chat__toast.is-show {
    animation: none;
    transition: none;
  }

  html.js .reveal:not(.is-in),
  html.js .reveal--top:not(.is-in),
  html.js .reveal--right:not(.is-in),
  html.js .reveal--bottom:not(.is-in),
  html.js .reveal--left:not(.is-in),
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .intro {
    display: none;
  }

  .site-glow,
  .site-glow::after,
  .header__plaque::after,
  .plaque::after {
    display: none;
  }
}
