.film__contact {
  position: absolute;
  z-index: 2;
  top: 1.45rem;
  right: 1.75rem;
  width: min(22rem, calc(100% - 22rem));
  margin: 0;
  padding: 1.05rem 1.25rem 1.1rem;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 0;
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: 6px;
  text-align: left;
}

.film__contact-kicker {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  text-align: left;
}

.film__contact-title {
  margin: 0.45rem 0 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: left;
}

.film__contact-copy {
  margin: 0.45rem 0 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: left;
  color: rgba(0, 0, 0, 0.72);
}

.film__contact .pill,
.film__contact button.pill {
  min-width: 0;
  min-height: 2.35rem;
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.45rem 1.1rem;
  background: #111;
  color: #fff;
  border-color: #111;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  animation: none;
}

.film__contact .pill:hover,
.film__contact button.pill:hover {
  background: #000;
}

.area__demo {
  box-sizing: border-box;
  min-height: 16rem;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 1.5rem;
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: 5px;
  padding: 0;
  overflow: hidden;
}

.area__demo .demo-card {
  box-sizing: border-box;
  width: 100%;
  min-height: inherit;
  margin: 0;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: center;
  cursor: pointer;
  font: inherit;
}

.area__demo .demo-card:hover {
  background: #f7f7f7;
}

.area__demo .demo-card:hover .demo-card__cta {
  background: #000;
}

.area__demo .demo-card:focus-visible {
  outline: 2px solid #111;
  outline-offset: -4px;
}

.demo-card__kicker {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
}

.demo-card__title {
  margin: 0.65rem 0 0;
  max-width: 14rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  color: #111;
}

.demo-card__cta {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 11rem;
  min-height: 2.55rem;
  margin-top: 1.15rem;
  padding: 0.55rem 1.35rem;
  background: #111;
  color: #fff;
  border-radius: 999px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;
  text-decoration: none;
  opacity: 1;
}

.contact-veil {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 8, 8, 0.48);
  backdrop-filter: blur(2px);
}

.contact {
  position: fixed;
  z-index: 90;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(34rem, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 2rem);
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: 6px;
  box-shadow: none;
}

.contact::backdrop {
  background: transparent;
}

.contact__form {
  padding: 1.35rem 1.4rem 1.25rem;
}

.contact__head {
  position: relative;
  padding-right: 2rem;
  text-align: left;
}

.contact__kicker {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  text-align: left;
}

.contact__title {
  margin: 0.4rem 0 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: left;
}

.contact__lead {
  margin: 0.45rem 0 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.68);
  text-align: left;
}

.contact__close {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.contact__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.85rem;
  margin-top: 1.15rem;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  text-align: left;
}

.contact__field--wide {
  grid-column: 1 / -1;
}

.contact__field span {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

.contact__field input,
.contact__field textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(17, 17, 17, 0.28);
  border-radius: 0;
  background: #fafafa;
  color: #111;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  resize: vertical;
}

.contact__field input:focus,
.contact__field textarea:focus {
  outline: 1px solid #111;
  border-color: #111;
  background: #fff;
}

.contact__consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.72);
  text-align: left;
}

.contact__consent input {
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.contact__consent a {
  color: inherit;
}

.contact__status {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(17, 17, 17, 0.2);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: left;
}

.contact__status.is-error {
  border-color: #8a1f1f;
  color: #8a1f1f;
  background: #fff6f6;
}

.contact__status.is-ok {
  border-color: #1f5a2e;
  color: #1f5a2e;
  background: #f3faf5;
}

.contact.is-sent {
  width: min(26rem, calc(100vw - 1.5rem));
}

.contact.is-sent .contact__form {
  padding: 1.5rem 1.5rem 1.35rem;
}

.contact.is-sent .contact__head,
.contact.is-sent .contact__fields {
  display: none;
}

.contact__thanks[hidden] {
  display: none;
}

.contact.is-sent .contact__thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.contact__thanks-title {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.contact__thanks-copy {
  margin: 0.55rem 0 0;
  max-width: 28ch;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.68);
}

.contact.is-sent .contact__thanks .contact__ghost {
  margin-top: 1.35rem;
}

.contact__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.contact__ghost,
.contact__submit {
  min-height: 2.55rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid #111;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.contact__ghost {
  background: transparent;
  color: #111;
}

.contact__submit {
  background: #111;
  color: #fff;
}

.contact__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.site-foot {
  width: min(95%, 68rem);
  margin: 3.5rem auto 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-line, rgba(0, 0, 0, 0.14));
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.site-foot p,
.site-foot a {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink-soft, rgba(0, 0, 0, 0.62));
  text-align: left;
  text-decoration: none;
}

.site-foot a:hover {
  text-decoration: underline;
}

.site-foot__links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.site-foot__btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft, rgba(0, 0, 0, 0.62));
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
}

.site-foot__btn:hover {
  text-decoration: underline;
}

.plan__actions button.pill {
  cursor: pointer;
  font: inherit;
}

@media (max-width: 860px) {
  .film__contact {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 1.5rem 1.15rem 0;
    outline-offset: 4px;
  }

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

  .area__demo {
    min-height: 12rem;
    outline-offset: 3px;
  }
}
