:root {
  --wine: #7a1f2b;
  --wine-dark: #5f1620;
  --wine-light: #a93645;
  --ink: #171717;
  --muted: #66666b;
  --cream: #fbf8f7;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(63, 24, 31, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(122, 31, 43, 0.07),
      transparent 32rem
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbf8f7 100%
    );

  color: var(--ink);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  min-height: calc(100vh - 112px);
  overflow: hidden;
}

.hero {
  width: min(1440px, calc(100% - 64px));
  min-height: 850px;
  margin: 0 auto;
  padding: 62px 0 38px;

  display: grid;
  grid-template-columns:
    minmax(440px, 0.95fr)
    minmax(520px, 1.05fr);

  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 610px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  margin-bottom: 72px;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 68px;
}

.brand-ring {
  position: absolute;
  width: 45px;
  height: 45px;
  left: 0;
  top: 0;

  border: 7px solid var(--wine);
  border-radius: 50%;
}

.brand-stem {
  position: absolute;
  width: 10px;
  height: 31px;
  left: 18px;
  top: 39px;

  background: var(--wine);
  border-radius: 8px;
}

.brand-name {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 650px;

  font-size: clamp(3.2rem, 5.8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.062em;
  font-weight: 850;
}

h1 span {
  display: block;
  color: var(--wine);
}

.hero-description {
  max-width: 570px;
  margin: 34px 0 0;

  color: #38383a;
  font-size: clamp(1.15rem, 1.75vw, 1.55rem);
  line-height: 1.7;
}

.availability {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-top: 42px;
  padding-top: 34px;

  border-top: 2px solid rgba(122, 31, 43, 0.18);
}

.availability-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: rgba(122, 31, 43, 0.08);
  color: var(--wine);
  border: 1px solid rgba(122, 31, 43, 0.12);

  font-size: 2.8rem;
  transform: rotate(-90deg);
}

.availability strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.45;
}

.availability p {
  margin: 5px 0 0;
  color: var(--wine);
  font-weight: 700;
}

.store-area {
  margin-top: 38px;
}

.store-title {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 800;
}

.store-button {
  width: min(410px, 100%);
  min-height: 76px;

  margin: 0 0 14px;
  padding: 12px 22px;

  display: flex;
  align-items: center;
  gap: 18px;

  border-radius: 14px;
  font: inherit;
  text-align: left;
  opacity: 1;
}

.store-button-primary {
  border: 1px solid var(--wine);

  background:
    linear-gradient(
      135deg,
      var(--wine) 0%,
      #a11d32 100%
    );

  color: var(--white);

  box-shadow:
    0 16px 32px rgba(122, 31, 43, 0.2);
}

.store-button-secondary {
  border: 2px solid var(--wine);
  background: rgba(255, 255, 255, 0.74);
  color: var(--wine);
}

.store-button small,
.store-button strong {
  display: block;
}

.store-button small {
  font-size: 0.88rem;
  opacity: 0.84;
}

.store-button strong {
  font-size: 1.43rem;
}

.store-icon {
  width: 42px;
  font-size: 3rem;
  line-height: 1;
  text-align: center;
}

.play-icon {
  width: 38px;
  height: 42px;
  position: relative;
}

.play-icon::before {
  content: "";
  position: absolute;
  inset: 0;

  clip-path:
    polygon(
      0 0,
      100% 50%,
      0 100%
    );

  background:
    linear-gradient(
      135deg,
      #6e1422 0%,
      #c33243 55%,
      #7a1f2b 100%
    );
}

.store-note {
  max-width: 430px;
  margin: 6px 0 0;

  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 760px;

  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
}

.glow-one {
  width: 520px;
  height: 520px;
  right: 2%;
  top: 12%;

  background:
    radial-gradient(
      circle,
      rgba(122, 31, 43, 0.11),
      rgba(122, 31, 43, 0)
    );
}

.glow-two {
  width: 400px;
  height: 400px;
  left: 6%;
  bottom: 3%;

  background:
    radial-gradient(
      circle,
      rgba(212, 163, 43, 0.08),
      transparent 68%
    );
}

.phone {
  position: relative;
  width: 400px;
  height: 760px;
  padding: 13px;

  border-radius: 58px;

  background:
    linear-gradient(
      145deg,
      #1b1b1d 0%,
      #050505 36%,
      #343438 70%,
      #090909 100%
    );

  box-shadow: var(--shadow);

  transform: rotate(7deg);
  animation: float 5s ease-in-out infinite;
}

.phone::before {
  content: "";

  position: absolute;
  width: 118px;
  height: 26px;
  left: 50%;
  top: 16px;

  transform: translateX(-50%);

  border-radius: 0 0 18px 18px;
  background: #080808;
  z-index: 4;
}

.phone-screen {
  height: 100%;
  overflow: hidden;

  border-radius: 47px;
  background: #fcfbfa;
  padding: 28px 25px 0;
}

.status-bar {
  display: flex;
  justify-content: space-between;

  font-size: 0.78rem;
  font-weight: 800;

  padding: 0 5px 18px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 11px;

  margin: 4px 0 18px;
  font-size: 1.48rem;
}

.mini-logo {
  position: relative;
  width: 28px;
  height: 40px;
}

.mini-ring {
  position: absolute;
  width: 27px;
  height: 27px;

  border: 4px solid var(--wine);
  border-radius: 50%;
}

.mini-stem {
  position: absolute;
  width: 6px;
  height: 17px;
  left: 10px;
  top: 24px;

  border-radius: 6px;
  background: var(--wine);
}

.search-box {
  height: 47px;

  display: flex;
  align-items: center;

  padding: 0 14px;

  color: #8a8587;
  border: 1px solid #d8d3d4;
  border-radius: 12px;
  background: white;

  font-size: 0.88rem;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 20px 0 12px;
}

.section-row strong {
  font-size: 1.05rem;
}

.section-row span {
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 700;
}

.property-card {
  overflow: hidden;

  border-radius: 17px;
  background: white;

  box-shadow:
    0 10px 22px rgba(49, 31, 35, 0.11);
}

.property-photo {
  position: relative;
  height: 225px;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04),
      rgba(0, 0, 0, 0.16)
    ),
    linear-gradient(
      130deg,
      #d6b08d 0%,
      #aa7958 31%,
      #ead6bd 31%,
      #e9dbcb 67%,
      #9c7458 67%
    );
}

.property-photo strong {
  position: absolute;
  left: 15px;
  bottom: 12px;

  color: white;
  font-size: 1.24rem;

  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.5);
}

.property-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;

  padding: 5px 9px;

  border-radius: 7px;
  background: var(--wine);
  color: white;

  font-size: 0.68rem;
  font-weight: 800;
}

.room {
  position: absolute;
  inset: 0;
}

.window {
  position: absolute;
  width: 42%;
  height: 58%;
  right: 9%;
  top: 8%;

  border: 7px solid rgba(255, 255, 255, 0.72);

  background:
    linear-gradient(
      90deg,
      transparent 48%,
      rgba(255, 255, 255, 0.7) 48% 52%,
      transparent 52%
    ),
    linear-gradient(
      180deg,
      #89b2c6 0 60%,
      #a2b49a 60%
    );
}

.sofa {
  position: absolute;
  width: 45%;
  height: 24%;
  right: 8%;
  bottom: 13%;

  border-radius: 15px 15px 8px 8px;
  background: #d9c9b7;

  box-shadow:
    0 12px 0 #bba994;
}

.table {
  position: absolute;
  width: 26%;
  height: 10%;
  left: 34%;
  bottom: 18%;

  border-radius: 50%;
  background: #724f3a;

  box-shadow:
    0 9px 0 -5px #4e3528;
}

.property-info {
  position: relative;
  padding: 14px 42px 14px 15px;
}

.property-info b,
.property-info span {
  display: block;
}

.property-info b {
  font-size: 0.88rem;
}

.property-info span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
}

.property-info .heart {
  position: absolute;
  right: 13px;
  top: 15px;

  color: #222;
  font-size: 1.5rem;
}

.dots {
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.dots > * {
  width: 6px;
  height: 6px;
  display: block;

  border-radius: 50%;
  background: #d4cfd0;
}

.dots b {
  background: var(--wine);
}

.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.categories div {
  min-height: 80px;

  display: grid;
  place-items: center;

  padding: 9px 4px;

  border-radius: 13px;
  background: white;

  box-shadow:
    0 7px 18px rgba(49, 31, 35, 0.08);
}

.categories span,
.categories small {
  display: block;
}

.categories span {
  font-size: 1.55rem;
}

.categories small {
  font-size: 0.62rem;
}

.lower-title {
  margin-top: 22px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-cards div {
  height: 116px;

  border-radius: 15px 15px 0 0;

  background:
    linear-gradient(
      150deg,
      transparent 0 45%,
      rgba(255, 255, 255, 0.38) 45% 49%,
      transparent 49%
    ),
    linear-gradient(
      135deg,
      #d0b39a,
      #87997c
    );
}

.mini-cards div:last-child {
  background:
    linear-gradient(
      180deg,
      transparent 0 55%,
      rgba(255, 255, 255, 0.28) 55%
    ),
    linear-gradient(
      135deg,
      #b7c8d9,
      #8d9ba7
    );
}

.site-footer {
  background:
    linear-gradient(
      135deg,
      var(--wine-dark),
      #981a2e 60%,
      #781b27
    );

  color: white;
}

.footer-inner {
  width: min(1440px, calc(100% - 64px));
  min-height: 112px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  font-size: 1.35rem;
}

.footer-mark {
  position: relative;
  width: 30px;
  height: 42px;
}

.footer-ring {
  position: absolute;
  width: 29px;
  height: 29px;

  border: 4px solid white;
  border-radius: 50%;
}

.footer-stem {
  position: absolute;
  width: 6px;
  height: 17px;
  left: 11px;
  top: 26px;

  border-radius: 5px;
  background: white;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;

  color: rgba(255, 255, 255, 0.92);
}

.footer-links a {
  text-decoration: none;
}

@keyframes float {
  0%,
  100% {
    transform:
      rotate(7deg)
      translateY(0);
  }

  50% {
    transform:
      rotate(7deg)
      translateY(-12px);
  }
}

@media (max-width: 860px) {
  .hero {
    width: min(700px, calc(100% - 36px));
    grid-template-columns: 1fr;
    padding-top: 34px;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  .brand {
    margin: 0 auto 46px;
  }

  .hero-description {
    margin-inline: auto;
  }

  .availability {
    max-width: 580px;
    margin-inline: auto;
    text-align: left;
  }

  .store-area {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    min-height: 655px;
  }

  .footer-inner {
    width: min(700px, calc(100% - 36px));
    padding: 28px 0;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .hero {
    width: min(100% - 26px, 430px);
    padding: 24px 0 14px;
    gap: 24px;
  }

  .brand {
    margin-bottom: 34px;
  }

  .brand-name {
    font-size: 2.65rem;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-description {
    margin-top: 25px;
    font-size: 1.06rem;
  }

  .availability {
    align-items: flex-start;
    gap: 14px;
    margin-top: 30px;
    padding-top: 26px;
  }

  .availability-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    font-size: 2.1rem;
  }

  .hero-visual {
    min-height: 570px;
  }

  .phone {
    width: 285px;
    height: 550px;
    border-radius: 47px;
    padding: 10px;
  }

  .phone-screen {
    border-radius: 39px;
    padding: 25px 18px 0;
  }

  .property-photo {
    height: 145px;
  }

  .categories {
    gap: 6px;
  }

  .categories div {
    min-height: 58px;
  }

  .mini-cards div {
    height: 80px;
  }

  .footer-links {
    gap: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone {
    animation: none;
  }
}