:root {
  --ink: #17352f;
  --green: #08745d;
  --green-dark: #055947;
  --coral: #f2745b;
  --cream: #f6f1e7;
  --paper: #fffdf9;
  --mint: #dff5ea;
  --peach: #fee9df;
  --lavender: #eceafb;
  --muted: #687a75;
  --line: #dfe7e2;
  --shadow: 0 18px 50px rgba(20, 53, 47, 0.12);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.5 Manrope,
    system-ui,
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
input,
textarea,
select {
  outline: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
.modal-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px 11px 11px 4px;
  background: var(--green);
  display: grid;
  place-items: center;
  color: white;
  font-size: 20px;
}
.button {
  border: 0;
  border-radius: 12px;
  padding: 12px 19px;
  font-weight: 800;
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-dark:hover {
  background: #284d45;
  transform: translateY(-1px);
}
.button-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 7px 18px rgba(242, 116, 91, 0.22);
}
.button-coral:hover {
  background: #e5634b;
  transform: translateY(-1px);
}
.add-nav {
  margin-left: 8px;
}
.hero {
  min-height: 600px;
  background: var(--cream);
  padding: 72px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 80px solid rgba(8, 116, 93, 0.045);
  border-radius: 50%;
  left: -210px;
  bottom: -210px;
}
.live-label,
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green);
}
.live-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-label span,
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28ae7e;
  box-shadow: 0 0 0 5px rgba(40, 174, 126, 0.12);
}
h1 {
  font-size: 62px;
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 19px 0 22px;
}
h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-copy > p {
  color: #5e706b;
  font-size: 17px;
  line-height: 1.7;
}
.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 29px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}
.composer {
  background: #fff;
  border: 1px solid rgba(23, 53, 47, 0.06);
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 28px 70px rgba(35, 61, 54, 0.14);
  position: relative;
}
.composer:after {
  content: "";
  position: absolute;
  inset: 9px -9px -9px 9px;
  border: 2px solid rgba(8, 116, 93, 0.08);
  border-radius: 30px;
  z-index: -1;
}
.composer-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--green);
}
.composer-top b,
.composer-top small {
  display: block;
}
.composer-top small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.composer > textarea {
  width: 100%;
  resize: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 20px 2px 18px;
  margin-bottom: 17px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}
.composer > textarea::placeholder {
  color: #9ba6a2;
}
.quick-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 0.78fr;
  gap: 9px;
}
.quick-fields label,
.falling-fields label,
.modal-card label {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  padding: 11px 12px;
  margin-top: 5px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(8, 116, 93, 0.1);
}
.price-input,
.large-price {
  position: relative;
}
.price-input input,
.large-price input {
  padding-right: 43px;
}
.price-input b,
.large-price b {
  position: absolute;
  right: 11px;
  top: 50%;
  translate: 0 -34%;
  font-size: 11px;
}
.composer-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
}
.attach {
  border: 1px solid var(--line);
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 11px !important;
  color: var(--ink) !important;
}
.attach input {
  display: none;
}
.attach span {
  font-size: 17px;
  margin-right: 4px;
}
.falling-toggle {
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  padding: 11px;
}
.composer-actions > .button {
  margin-left: auto;
}
.falling-fields {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.7fr;
  gap: 12px;
  align-items: end;
  border-radius: 15px;
  background: var(--mint);
  padding: 14px 16px;
  margin-top: 14px;
}
.falling-fields b,
.falling-fields small {
  display: block;
}
.falling-fields small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.photo-preview {
  display: flex;
  gap: 7px;
  overflow: auto;
  flex-wrap: wrap;
}
.photo-preview-item {
  width: 74px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
}
.photo-preview-item > img {
  width: 72px;
  height: 58px;
  object-fit: cover;
  display: block;
}
.photo-preview-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 800;
}
.photo-preview-actions button {
  border: 0;
  background: transparent;
  border-radius: 4px;
  padding: 0 3px;
  line-height: 1.5;
}
.photo-preview-actions button:hover:not(:disabled) {
  background: var(--mint);
}
.photo-preview-actions button:last-child {
  position: absolute;
  top: 3px;
  right: 3px;
  color: var(--coral);
  background: #fff;
  font-size: 14px;
  line-height: 1;
}
.photo-preview-actions button:disabled {
  opacity: 0.25;
  cursor: default;
}
.market,
.difference {
  padding: 82px max(24px, calc((100% - 1180px) / 2));
}
.market-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.market h2,
.difference h2,
.modal-card h2 {
  font-size: 37px;
  letter-spacing: -0.045em;
  margin: 5px 0;
}
.search-wrap {
  width: 330px;
  position: relative;
}
.search-wrap span {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 22px;
}
.search-wrap input {
  padding-left: 43px;
  margin: 0;
  background: #f7f8f6;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 20px;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.chips button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
}
.chips button.active,
.chips button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.filter-row select {
  width: auto;
  margin: 0;
  padding: 8px 28px 8px 11px;
  font-size: 11px;
}
.market-note {
  background: #eef8f3;
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.market-note b {
  color: var(--ink);
}
.market-note span:last-child {
  margin-left: auto;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.listing {
  background: #fff;
  border: 1px solid #e8edea;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: 0.25s;
}
.listing:hover {
  translate: 0 -5px;
  box-shadow: var(--shadow);
}
.listing-image {
  height: 205px;
  background: #e8eeeb;
  position: relative;
  overflow: hidden;
}
.listing-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.listing:hover .listing-image > img {
  transform: scale(1.025);
}
.status-pill,
.fall-pill {
  position: absolute;
  left: 11px;
  top: 11px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  padding: 6px 9px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.status-pill:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #29aa7c;
  margin-right: 5px;
}
.fall-pill {
  background: var(--coral);
  color: white;
  top: auto;
  bottom: 10px;
}
.favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
}
.favorite.active {
  color: var(--coral);
}
.listing-body {
  padding: 16px;
}
.listing-location {
  font-size: 9px;
  color: var(--muted);
  font-weight: 700;
}
.listing-title {
  font-weight: 700;
  font-size: 13px;
  margin: 7px 0;
  height: 39px;
  overflow: hidden;
}
.listing-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.listing-price s {
  font-size: 10px;
  color: #99a5a1;
  font-weight: 500;
}
.listing-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0ee;
  margin-top: 12px;
  padding-top: 11px;
  font-size: 9px;
  color: var(--muted);
}
.listing-bottom button {
  border: 0;
  background: none;
  color: var(--coral);
  font-weight: 800;
}
.empty {
  text-align: center;
  padding: 75px;
}
.empty > div {
  font-size: 48px;
}
.difference {
  background: #f5f7f3;
}
.difference-head {
  text-align: center;
  margin-bottom: 37px;
}
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.big-card {
  border-radius: 26px;
  padding: 27px;
  min-height: 355px;
  position: relative;
  overflow: hidden;
}
.big-card.mint {
  background: var(--mint);
}
.big-card.peach {
  background: var(--peach);
}
.big-card.lavender {
  background: var(--lavender);
}
.number {
  position: absolute;
  right: 22px;
  top: 13px;
  font-size: 55px;
  font-weight: 800;
  color: rgba(23, 53, 47, 0.07);
}
.round-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px 18px 18px 5px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 23px;
  color: var(--green);
}
.big-card h3 {
  font-size: 20px;
  margin: 20px 0 8px;
}
.big-card > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.demo-confirm,
.price-demo,
.mini-offer {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  padding: 14px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
}
.demo-confirm button {
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px;
  font-size: 10px;
  font-weight: 800;
}
.price-demo strong {
  font-size: 24px;
  color: var(--coral);
}
.price-demo small,
.mini-offer span {
  color: var(--muted);
}
footer {
  background: var(--ink);
  color: #fff;
  padding: 45px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 30px;
}
.logo.light > span {
  background: var(--coral);
}
footer p {
  color: #b6c2be;
  font-size: 12px;
}
footer > div {
  margin-left: auto;
  color: #81958f;
  font-size: 10px;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal.open {
  display: flex;
}
.backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 34, 29, 0.72);
  backdrop-filter: blur(5px);
}
.modal-card {
  position: relative;
  background: var(--paper);
  width: min(450px, 100%);
  max-height: 94vh;
  overflow: auto;
  border-radius: 25px;
  padding: 31px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  animation: enter 0.2s ease;
}
.close {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  background: #edf1ee;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 20px;
}
.modal-icon {
  margin-bottom: 20px;
}
.modal-card > p {
  color: var(--muted);
  font-size: 12px;
}
.offer-price-error {
  display: block;
  color: #b42318;
  background: #fef3f2;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  margin-top: 7px;
}
.offer-price-error[hidden] {
  display: none;
}
.modal-card label {
  display: block;
  margin-top: 13px;
}
.full {
  width: 100%;
  margin-top: 18px;
}
.switch {
  border: 0;
  background: none;
  width: 100%;
  margin-top: 17px;
  font-size: 11px;
  color: var(--muted);
}
.switch b {
  color: var(--green);
}
.detail-card {
  width: min(920px, 100%);
  padding: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.detail-gallery {
  background: #e8eeeb;
  min-height: 560px;
  position: relative;
}
.detail-gallery.photo-carousel {
  aspect-ratio: auto;
  max-height: none;
}
.detail-gallery.photo-carousel .carousel-image {
  min-height: 560px;
}
.detail-gallery .main-photo {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}
.detail-copy {
  padding: 42px 31px;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint);
  color: var(--green);
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
}
.verified:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #24a97a;
}
.detail-copy h2 {
  font-size: 29px;
  line-height: 1.15;
  margin: 14px 0 8px;
}
.detail-copy .location {
  font-size: 10px;
  color: var(--muted);
}
.detail-copy .price {
  font-size: 31px;
  font-weight: 800;
  color: var(--green);
  margin: 18px 0 2px;
}
.drop-info {
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}
.description {
  font-size: 12px;
  line-height: 1.75;
  color: #51645e;
  margin: 21px 0;
}
.seller {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.seller .avatar {
  width: 39px;
  height: 39px;
}
.seller b,
.seller small {
  display: block;
}
.seller small {
  font-size: 9px;
  color: var(--muted);
}
.detail-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 18px;
}
.phone-button {
  border: 1px solid var(--line);
  background: #fff;
}
.owner-tools {
  margin-top: 17px;
  background: #eef7f3;
  padding: 12px;
  border-radius: 11px;
  font-size: 10px;
}
.owner-tools button {
  margin-top: 7px;
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 7px 10px;
  border-radius: 7px;
  font-weight: 800;
}
.offer-icon {
  background: var(--coral);
}
.offer-card h2 {
  margin-bottom: 4px;
}
.large-price input {
  font-size: 27px;
  font-weight: 800;
  padding: 14px 55px 14px 15px;
}
.large-price b {
  font-size: 13px;
}
.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.segment label {
  margin: 5px 0 0;
}
.segment input {
  display: none;
}
.segment span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.segment input:checked + span {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green);
}
.modal-card label em {
  font-weight: 500;
}
.form-hint {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  font-size: 9px;
}
#offerPriceHint,
#offerSpamHint {
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
#offerPriceHint {
  color: #1d4ed8;
  background: #eff6ff;
}
#offerSpamHint {
  color: #9a3412;
  background: #fff7ed;
}
#offerPriceHint:empty,
#offerSpamHint:empty {
  display: none;
}
.offer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offer-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}
.offer-item h4 {
  margin: 0;
  font-size: 12px;
}
.offer-item p {
  margin: 3px 0;
  font-size: 10px;
  color: var(--muted);
}
.offer-amount {
  font-size: 17px;
  font-weight: 800;
  color: var(--green);
}
.offer-status {
  font-size: 8px;
  font-weight: 800;
  border-radius: 10px;
  padding: 4px 7px;
  background: #f0f2f0;
  display: inline-block;
}
.offer-actions {
  grid-column: 1/-1;
  display: flex;
  gap: 6px;
}
.offer-actions button {
  border: 0;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 9px;
  font-weight: 800;
}
.accept {
  background: var(--green);
  color: white;
}
.decline {
  background: #f2f3f2;
}
.counter {
  background: var(--peach);
  color: #a34734;
}
.success-card {
  text-align: center;
}
.success-check {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  font-size: 32px;
  margin: 0 auto 18px;
}
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 25px;
  translate: -50% 20px;
  background: var(--ink);
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 11px;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  translate: -50% 0;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
    gap: 40px;
  }
  .hero-copy {
    text-align: center;
  }
  .live-label,
  .principles {
    justify-content: center;
  }
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .difference-grid {
    grid-template-columns: 1fr;
  }
  .big-card {
    min-height: auto;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-gallery,
  .detail-gallery .main-photo,
  .detail-gallery.photo-carousel,
  .detail-gallery.photo-carousel .carousel-image {
    min-height: 350px;
    max-height: 400px !important;
  }
}
@media (max-width: 600px) {
  .add-nav {
    font-size: 0;
    padding: 10px 12px;
  }
  .add-nav:first-letter {
    font-size: 17px;
  }
  .hero {
    padding: 42px 14px 50px;
  }
  h1 {
    font-size: 43px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .principles {
    gap: 8px;
  }
  .composer {
    padding: 18px;
    border-radius: 23px;
  }
  .quick-fields {
    grid-template-columns: 1fr 1fr;
  }
  .quick-fields label:last-child {
    grid-column: 1/-1;
  }
  .composer-actions {
    flex-wrap: wrap;
  }
  .composer-actions > .button {
    width: 100%;
    margin: 5px 0 0;
  }
  .falling-fields {
    grid-template-columns: 1fr 1fr;
  }
  .falling-fields > div {
    grid-column: 1/-1;
  }
  .market,
  .difference {
    padding: 60px 14px;
  }
  .market-heading {
    display: block;
  }
  .search-wrap {
    width: 100%;
    margin-top: 20px;
  }
  .filter-row {
    display: block;
  }
  .filter-row select {
    margin-top: 12px;
  }
  .market-note span:last-child {
    display: none;
  }
  .listing-grid {
    gap: 9px;
  }
  .listing-image {
    height: 157px;
  }
  .listing-body {
    padding: 11px;
  }
  .listing-price {
    font-size: 17px;
  }
  .listing-title {
    font-size: 11px;
  }
  .difference-grid {
    gap: 12px;
  }
  .modal {
    padding: 8px;
  }
  .modal-card {
    padding: 24px 18px;
  }
  .detail-card {
    padding: 0;
  }
  .detail-copy {
    padding: 25px 18px;
  }
  .detail-gallery,
  .detail-gallery .main-photo,
  .detail-gallery.photo-carousel,
  .detail-gallery.photo-carousel .carousel-image {
    min-height: 270px;
    max-height: 300px !important;
  }
  .detail-actions {
    grid-template-columns: 1fr;
  }
  footer {
    display: block;
    text-align: center;
  }
  footer .logo {
    justify-content: center;
  }
  footer > div {
    margin: 20px 0 0;
  }
}
@keyframes phoneReveal {
  from {
    transform: scale(0.96);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes phoneCopied {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.phone-button.phone-revealed {
  border-color: var(--green);
  color: var(--green);
  animation: phoneReveal 0.28s ease;
}
.phone-button.phone-copied {
  background: var(--mint);
  border-color: var(--green);
  animation: phoneCopied 0.35s ease;
}
