.first-offer {
  scroll-margin-top: 85px;
}
.first-offer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.first-offer__copy h2 {
  margin: 14px 0 20px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -.047em;
}
.first-offer__copy > p,
.first-offer__request > p {
  color: var(--muted);
  line-height: 1.65;
}
.first-offer__copy > p {
  max-width: 57ch;
}
.first-offer__demo-link {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  margin-top: 6px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.first-offer__request {
  scroll-margin-top: 96px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(123, 87, 204, .15), rgba(66, 196, 184, .04));
}
.first-offer__request h3 {
  margin: 13px 0 8px;
  font-size: clamp(23px, 3vw, 35px);
  line-height: 1.15;
}
.first-offer__request .first-offer__tag {
  display: inline-block;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  font-size: .83rem;
}
.first-offer__request form:not([hidden]) {
  display: grid;
  gap: 8px;
  margin-top: 21px;
}
.first-offer__request label {
  font-size: .86rem;
  font-weight: 600;
}
.first-offer__request input {
  min-width: 0;
  margin-bottom: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--bg);
  font: inherit;
}
.first-offer__request .btn {
  justify-content: center;
  white-space: normal;
  text-align: center;
}
.first-offer__hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .8rem;
}
@media (max-width: 760px) {
  .first-offer__grid { grid-template-columns: 1fr; }
  .first-offer__copy h2 { font-size: clamp(34px, 9vw, 47px); }
}

.offer-demo {
  min-inline-size: 0;
  margin: 30px 0 0;
  padding: clamp(9px, 2vw, 15px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  scroll-margin-top: 96px;
}
.offer-demo legend {
  padding-inline: 6px;
  font-weight: 650;
}
.offer-demo__intro {
  margin: 0 0 8px;
  font-size: .85rem;
  color: var(--muted);
}
.offer-demo > label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: .85rem;
  cursor: pointer;
}
.offer-demo > input:checked + label {
  background: var(--ink);
  color: var(--bg);
}
.offer-demo > input:focus-visible + label {
  outline: 2px solid var(--cta-focus);
  outline-offset: 3px;
}
.offer-demo__icon {
  width: 15px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.offer-demo__icon--phone { width: 8px; height: 13px; }
.offer-demo__stage {
  margin-top: 9px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg);
}
.offer-demo__viewport {
  width: 100%;
  margin-inline: auto;
  container-type: inline-size;
}
#offer-demo-phone:checked ~ .offer-demo__stage .offer-demo__viewport {
  width: min(100%, 270px);
}
.offer-demo__page {
  overflow: hidden;
  border-radius: 8px;
  background: #f4f0e6;
  color: #282c21;
  color-scheme: light;
}
.offer-demo__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 10px;
  padding: 11px clamp(12px, 4cqi, 22px);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .14em;
}
.offer-demo__brand > span:last-child {
  color: #555b4a;
  font-size: .56rem;
}
.offer-demo__brand-dot { color: #67754c; }
.offer-demo__hero {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  background: #252c22;
  color: #f6f0e4;
}
.offer-demo__story {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(16px, 4cqi, 26px);
}
.offer-demo__story p {
  margin: 0;
  color: #dedfd2;
  font-size: .76rem;
  line-height: 1.5;
}
.offer-demo__kicker {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.offer-demo__story .offer-demo__kicker { color: #d0d7bc; }
.offer-demo__story h3,
.offer-demo__panel h3 {
  margin: 0;
  font: 400 clamp(25px, 6.1cqi, 43px)/.98 'Instrument Serif', Georgia, serif;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.offer-demo__project {
  position: relative;
  min-height: 250px;
  margin: 0;
  background: #84735e;
}
.offer-demo__project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}
.offer-demo__project figcaption {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 5px 7px;
  background: #252c22;
  color: #f6f0e4;
  font-size: .56rem;
  font-weight: 650;
  letter-spacing: .09em;
}
.offer-demo [hidden] { display: none !important; }
.offer-demo button { font: inherit; cursor: pointer; }
.offer-demo button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.offer-demo__expand {
  min-height: 44px;
  padding-inline: 9px;
  border: 0;
  color: var(--ink);
  background: transparent;
}
.offer-demo__expand span { padding-left: .2em; }
.offer-demo__brand { border-bottom: 1px solid #d8d5c9; }
.offer-demo__nav {
  display: flex;
  gap: 14px;
  padding-inline: clamp(12px, 4cqi, 22px);
}
.offer-demo__nav button {
  min-height: 44px;
  padding: 0 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #555b4a;
  font-size: .74rem;
}
.offer-demo__nav button[aria-pressed="true"] {
  border-bottom-color: #4c5b3e;
  color: #282c21;
  font-weight: 750;
}
.offer-demo .offer-demo__action {
  justify-self: start;
  width: fit-content;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid #d9ddc5;
  border-radius: 4px;
  background: #d9ddc5;
  color: #252c22;
  font-size: .72rem;
  font-weight: 750;
}
.offer-demo .offer-demo__action--dark {
  margin-top: 15px;
  border-color: #252c22;
  background: #252c22;
  color: #f6f0e4;
}
.offer-demo__action span { margin-left: .2em; }
.offer-demo__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  padding-inline: clamp(12px, 4cqi, 22px);
  color: #555b4a;
  font-size: .72rem;
}
.offer-demo__foot button {
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  color: #282c21;
  background: transparent;
  font-weight: 750;
}
.offer-demo__panel {
  padding: clamp(15px, 4cqi, 36px);
  border-top: 1px solid #d8d5c9;
}
.offer-demo__panel .offer-demo__kicker { margin-bottom: 7px; color: #555b4a; }
.offer-demo__panel h3 { margin-bottom: 12px; }
.offer-demo__panel > p, .offer-demo__panel > small {
  font-size: .78rem;
  color: #555b4a;
}
.offer-demo__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 3cqi, 24px);
}
.offer-demo__gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d8d5c9;
  border-radius: 5px;
}
.offer-demo__gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  object-fit: cover;
}
.offer-demo__gallery figcaption {
  display: grid;
  gap: 5px;
  padding: 10px;
  font-size: .72rem;
  line-height: 1.4;
}
.offer-demo__gallery small { color: #555b4a; letter-spacing: .07em; }
.offer-demo__gallery strong { font-size: .92rem; }
.offer-demo__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}
.offer-demo__choices button {
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid #747b66;
  border-radius: 5px;
  background: transparent;
  color: #282c21;
  font-size: .76rem;
}
.offer-demo__choices button[aria-pressed="true"] {
  background: #252c22;
  color: #f6f0e4;
}
.offer-demo__response:not(:empty) {
  margin: 0 0 9px;
  padding: 10px;
  border-left: 3px solid #67754c;
  background: #e3e6d6;
}
.offer-demo__dialog {
  box-sizing: border-box;
  inset: 0;
  width: min(1050px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  margin: auto;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--bg);
  color: var(--ink);
  overscroll-behavior: contain;
}
.offer-demo__dialog::backdrop { background: #08070dd9; }
.offer-demo__dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-inline: 7px;
  background: var(--bg);
  font-size: .78rem;
}
.offer-demo__dialog-bar button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.offer-demo__dialog .offer-demo__project { min-height: clamp(250px, 42cqi, 455px); }
.offer-demo__dialog .offer-demo__story { padding: clamp(18px, 5cqi, 64px); }
.offer-demo__dialog .offer-demo__story h3 {
  font-size: clamp(28px, 7cqi, 70px);
}
.offer-demo__dialog .offer-demo__story p:not(.offer-demo__kicker) {
  font-size: clamp(.78rem, 1.9cqi, 1.04rem);
}
@container (max-width: 355px) {
  .offer-demo__hero, .offer-demo__gallery { grid-template-columns: 1fr; }
  .offer-demo__story { gap: 8px; }
  .offer-demo__story h3, .offer-demo__panel h3 { font-size: clamp(26px, 10cqi, 35px); }
  .offer-demo__project, .offer-demo__dialog .offer-demo__project { min-height: 0; aspect-ratio: 1.65; }
}
