:root {
      --page: #0b0c0b;
      --surface: #111210;
      --surface-soft: #171815;
      --text: #eeeae1;
      --muted: #aaa9a2;
      --gold: #d8c8a6;
      --line: rgba(201, 190, 168, .18);
    }

    * { box-sizing: border-box; }
    html { background: var(--page); }
    body {
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(circle at 88% 16%, rgba(216, 200, 166, .07), transparent 26%),
        var(--page);
      font-family: Manrope, Arial, sans-serif;
    }

    .header {
      min-height: 84px;
      padding: 18px clamp(24px, 3.4vw, 64px);
      border-bottom: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo { font-size: 31px; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
    .logo em { font-weight: 700; }

    .founder {
      min-height: 48px;
      padding: 0 22px;
      display: inline-flex;
      align-items: center;
      gap: 24px;
      border: 1px solid rgba(234, 215, 174, .72);
      border-radius: 14px;
      color: var(--gold);
      background: transparent;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      box-shadow: none;
    }

    main { padding-bottom: 76px; }

    .intro {
      padding: 56px clamp(24px, 7vw, 120px) 64px;
      border-bottom: 1px solid var(--line);
    }

    .hero-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 430px;
      align-items: center;
      gap: clamp(36px, 5vw, 80px);
    }

    .platforms {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 9px;
      margin-top: 44px;
    }

    .platforms-label {
      font-size: 10px;
      line-height: 1.25;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .platforms-label { margin-right: 5px; color: var(--muted); }
    .badge {
      padding: 8px 12px;
      border-radius: 10px;
      background: #1c1d1a;
      font-size: 13px;
      font-weight: 500;
      white-space: nowrap;
    }
    .dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; }
    .avito { background: #78c843; }
    .cian { background: #0769e0; }
    .dom { background: #e45b49; }
    .ya { background: #ef3124; }

    h1 {
      max-width: 1080px;
      margin: 0;
      font-family: Unbounded, Manrope, Arial, sans-serif;
      font-size: 76px;
      line-height: .96;
      font-weight: 400;
      letter-spacing: -.055em;
    }
    h1 span { color: var(--gold); }

    .hero-chat {
      width: 100%;
    }
    .chat-head {
      margin-bottom: 16px;
      color: var(--muted);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    .message {
      display: flex;
      align-items: flex-end;
      gap: 9px;
      margin-top: 10px;
    }
    .message.user { flex-direction: row-reverse; }
    .avatar {
      flex: 0 0 30px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #292a26;
      color: var(--gold);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: -.04em;
    }
    .avatar.person { position: relative; }
    .avatar.person::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #d8d5cd;
      transform: translateY(-4px);
    }
    .avatar.person::after {
      content: "";
      position: absolute;
      bottom: 6px;
      width: 15px;
      height: 8px;
      border-radius: 10px 10px 5px 5px;
      background: #d8d5cd;
    }
    .bubble {
      max-width: 270px;
      padding: 10px 12px;
      border-radius: 13px 13px 13px 4px;
      background: #252622;
      color: #e7e4dc;
      font-size: 12px;
      line-height: 1.4;
    }
    .bubble time {
      display: block;
      margin-top: 4px;
      color: #8f9089;
      font-size: 9px;
      line-height: 1;
      text-align: right;
    }
    .user .bubble time { color: #77756f; }
    .user .bubble {
      border-radius: 13px 13px 4px 13px;
      background: #dfd9ce;
      color: #24231f;
    }

    .audiences { padding: 56px clamp(24px, 7vw, 120px) 0; }

    .grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 80px;
      width: 100%;
      max-width: 1000px;
      margin-inline: auto;
    }
    .card {
      position: relative;
      height: 320px;
      padding: 44px 44px 40px;
      border: 1px solid var(--line);
      border-radius: 14px;
      display: flex;
      flex-direction: column;
      background:
        radial-gradient(circle at 100% 0, rgba(216, 200, 166, .10), transparent 38%),
        linear-gradient(140deg, #171815, #10110f 70%);
      overflow: hidden;
      color: var(--text);
      text-decoration: none;
      cursor: pointer;
      transition: border-color .25s ease, box-shadow .25s ease;
    }
    .card::before,
    .card::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .card::before {
      background: var(--card-photo) right center / auto 100% no-repeat;
      opacity: 1;
      filter: none;
      -webkit-mask-image: linear-gradient(90deg,
        transparent 40%,
        rgba(0, 0, 0, .08) 48%,
        rgba(0, 0, 0, .30) 58%,
        rgba(0, 0, 0, .68) 68%,
        #000 78%);
      mask-image: linear-gradient(90deg,
        transparent 40%,
        rgba(0, 0, 0, .08) 48%,
        rgba(0, 0, 0, .30) 58%,
        rgba(0, 0, 0, .68) 68%,
        #000 78%);
      transition: opacity .35s ease, transform .7s ease;
    }
    .card::after {
      display: block;
      background: linear-gradient(90deg,
        rgba(8, 9, 8, .96) 0%,
        rgba(8, 9, 8, .86) 48%,
        rgba(8, 9, 8, .45) 62%,
        rgba(8, 9, 8, .12) 74%,
        transparent 84%);
    }
    .card-agencies { --card-photo: url("/home-agencies-v42.png"); }
    .card-rieltors { --card-photo: url("/home-rieltors-v42.png"); }
    .card-developers { --card-photo: url("/home-developers-v42.png"); }
    .rai-home-card.rai-home-card--partners { --rai-card-photo: url("/home-partners-v47.png"); }
    .card:hover,
    .card:focus-visible {
      border-color: rgba(228, 209, 165, .58);
      box-shadow: inset 0 0 0 1px rgba(228, 209, 165, .12), 0 14px 42px rgba(0,0,0,.24);
      outline: none;
    }
    .card:hover::before,
    .card:focus-visible::before { opacity: 1; transform: scale(1.012); }
    .card:nth-child(2), .card:nth-child(3) {
      background:
        radial-gradient(circle at 0 100%, rgba(255,255,255,.04), transparent 34%),
        linear-gradient(140deg, #111210, #191a17);
    }
    .card > .card-label {
      position: relative;
      z-index: 1;
      margin: 0;
      padding-right: 64px;
      color: var(--text);
      font-family: Unbounded, Manrope, Arial, sans-serif;
      font-size: 36px;
      line-height: 1;
      font-weight: 400;
      letter-spacing: -.045em;
      width: 66%;
      margin-left: 0;
      text-shadow: 0 2px 18px rgba(0,0,0,.9);
    }
    .card-copy {
      position: relative;
      z-index: 1;
      width: 66%;
      max-width: 620px;
      margin-top: auto;
      padding-top: 20px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      margin-left: 0;
      text-shadow: 0 2px 18px rgba(0,0,0,.95);
    }
    .card-thought {
      margin: 0;
      font-family: Manrope, Arial, sans-serif;
      font-size: 16px;
      line-height: 1.55;
      font-weight: 400;
      color: var(--text);
    }
    .card-action {
      margin-top: 16px;
      width: max-content;
      max-width: none;
      min-height: 54px;
      padding: 0 24px;
      border: 1px solid rgba(228, 209, 165, .64);
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--gold);
      background: rgba(11, 12, 11, .28);
      backdrop-filter: blur(4px);
      font-size: 13px;
      font-weight: 600;
      white-space: nowrap;
      transition: border-color .25s ease, color .25s ease;
    }
    .card:hover .card-action,
    .card:focus-visible .card-action {
      border-color: var(--gold);
      color: var(--text);
    }
    .card:hover .card-action b,
    .card:focus-visible .card-action b {
      animation: chevron-shuttle .85s ease-in-out infinite;
    }
    @keyframes chevron-shuttle {
      0%, 100% { transform: translateX(0); }
      50% { transform: translateX(3px); }
    }
    @media (prefers-reduced-motion: reduce) {
      .card::before,
      .card-action,
      .card-action b { transition: none; animation: none !important; }
    }

    @media (min-width: 1800px) {
      .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 1600px;
      }
      .card {
        height: auto;
        aspect-ratio: 2 / 1;
      }
    }

    @media (min-width: 1100px) and (max-width: 1399px) {
      .intro .rai-heading-1.rai-heading-1 {
        font-size: clamp(49px, calc(8.77vw - 48px), 75px);
        overflow-wrap: normal;
      }
    }

    @media (max-width: 1099px) {
      .intro { padding-top: 42px; }
      .hero-row { grid-template-columns: 1fr; }
      .hero-chat { width: min(100%, 430px); margin-top: 32px; justify-self: center; }
      h1 { font-size: 58px; }
    }

    @media (max-width: 600px) {
      .header { min-height: 74px; padding-inline: 20px; }
      .logo { font-size: 27px; }
      .founder { min-height: 44px; padding: 0 15px; font-size: 0; gap: 0; }
      .founder::before { content: "Связаться"; font-size: 12px; }
      .founder::after { content: "›"; margin-left: 14px; font-size: 18px; }
      .founder span { display: none; }
      .intro { padding: 32px 20px 46px; }
      .platforms { gap: 7px; margin-top: 34px; }
      .platforms-label { flex-basis: 100%; margin-bottom: 4px; }
      .badge { padding: 7px 9px; font-size: 11px; }
      .intro .rai-heading-1.rai-heading-1 {
        font-size: clamp(28px, 9vw, 40px);
        overflow-wrap: normal;
      }
      .audiences { padding: 20px 20px 0; }
      .grid { gap: 64px; }
      .card { height: auto; min-height: 420px; padding: 34px 34px 32px; }
      .card::after {
        background: linear-gradient(0deg,
          rgba(8, 9, 8, .94) 0%,
          rgba(8, 9, 8, .68) 58%,
          rgba(8, 9, 8, .16) 100%);
      }
      .card > .card-label,
      .card-copy { width: 100%; margin-left: 0; }
      .card > .card-label { padding-right: 0; font-size: 28px; overflow-wrap: anywhere; }
      .card-copy { padding-top: 20px; }
      .card-thought { font-size: 15px; }
      .card-action { width: auto; max-width: 100%; min-height: 54px; padding: 10px 18px; font-size: 12px; white-space: normal; }
    }

    /* Shared header and footer contracts */
    html, body { overflow-x: hidden; }
    .header { min-height: 84px; padding: 18px clamp(24px, 3.4vw, 64px); }
    .brand { display: flex; align-items: baseline; white-space: nowrap; text-decoration: none; }
    .brand .logo { color: #b7bbb8; font-family: Unbounded, Manrope, Arial, sans-serif; font-size: 31px; font-weight: 700; letter-spacing: -.075em; }
    .brand .logo em { color: var(--text); font-style: italic; font-weight: 700; }
    .outline-button { min-height: 50px; padding: 0 24px; border: 1px solid rgba(234,215,174,.72); border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); background: transparent; font-family: Manrope, Arial, sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
    .outline-button:hover, .outline-button:focus-visible { color: var(--text); border-color: var(--gold); background: rgba(216,200,166,.06); outline: 2px solid transparent; }
    .outline-button b { font-size: 20px; }
    footer { position: relative; overflow: hidden; padding: 24px 4vw 18px; border-top: 1px solid rgba(201,190,168,.18); background: #080908; color: #a9ada8; font-family: Manrope,Arial,sans-serif; }
    footer a { color: inherit; text-decoration: none; }
    .footer-main { width: 100%; display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: center; padding-bottom: 18px; }
    .footer-main > .brand { color: #b7bbb8; font-family: Unbounded,Manrope,Arial,sans-serif; font-size: 23px; font-weight: 700; line-height: 1; letter-spacing: -.075em; white-space: nowrap; }
    .footer-main > .brand i { color: #eeeae1; font-style: italic; }
    .footer-main p { margin: 0; font-size: 13px; line-height: 1.4; }
    .footer-main > div { justify-self: end; display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; line-height: 1.4; }
    .footer-legal { position: relative; width: 100%; padding-top: 16px; display: flex; justify-content: center; gap: 34px; text-align: center; font-size: 12px; line-height: 1.4; }
    .footer-legal::before { content: ""; position: absolute; top: 0; left: 50%; width: 100vw; border-top: 1px solid rgba(255,255,255,.18); transform: translateX(-50%); }
    @media (min-width: 601px) and (max-width: 1099px) { .header { min-height: 70px; padding-block: 12px; } }
    @media (max-width: 900px) { .footer-main { grid-template-columns: auto 1fr; gap: 8px 14px; } .footer-main > div { grid-column: 1 / 3; justify-self: start; } }
    @media (max-width: 600px) { .header { min-height: 70px; padding: 14px 20px; } .brand .logo { font-size: 17px; } .header .outline-button { min-height: 44px; padding: 0 14px; font-size: 0; } .header .outline-button::before { content: "Связаться"; font-size: 12px; } .header .outline-button b { font-size: 17px; } footer { padding: 24px 20px 20px; } .footer-main p, .footer-main > div { font-size: 12px; } .footer-legal { flex-direction: column; gap: 8px; } }
    @media (max-width: 360px) { .header { padding-inline: 10px; gap: 10px; } .brand .logo { font-size: 14px; } .header .outline-button { padding: 0 8px; gap: 6px; } .header .outline-button::before { font-size: 10px; } .header .outline-button b { font-size: 14px; } }

    .home-hunter-banner {
      position: relative;
      margin: 48px 7vw 0;
      padding: 30px 34px;
      border: 1px solid rgba(216, 200, 166, .34);
      border-radius: 14px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      background:
        radial-gradient(circle at 12% 50%, rgba(216, 200, 166, .14), transparent 26%),
        linear-gradient(110deg, #171815, #0d0e0d 70%);
    }
    .home-hunter-banner::after {
      content: "";
      position: absolute;
      top: -70px;
      right: 13%;
      width: 230px;
      height: 230px;
      border: 1px solid rgba(216, 200, 166, .13);
      border-radius: 50%;
      box-shadow: 0 0 0 40px rgba(216, 200, 166, .035), 0 0 0 82px rgba(216, 200, 166, .02);
      pointer-events: none;
    }
    .home-hunter-banner__copy {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: baseline;
      gap: 24px;
    }
    .home-hunter-banner__copy strong {
      color: var(--gold);
      font-family: Unbounded, Manrope, Arial, sans-serif;
      font-size: 36px;
      line-height: 1;
      font-weight: 500;
      letter-spacing: -.045em;
    }
    .home-hunter-banner__copy span {
      color: var(--text);
      font-size: 20px;
      line-height: 1.45;
    }
    .home-hunter-banner > .rai-button { position: relative; z-index: 1; flex: 0 0 auto; }
    @media (max-width: 900px) {
      .home-hunter-banner { margin-top: 36px; padding: 28px; }
      .home-hunter-banner__copy { display: grid; gap: 10px; }
      .home-hunter-banner__copy strong { font-size: 31px; }
      .home-hunter-banner__copy span { font-size: 17px; }
    }
    @media (max-width: 600px) {
      .home-hunter-banner { margin: 24px 20px 0; padding: 24px; align-items: stretch; flex-direction: column; gap: 24px; }
      .home-hunter-banner__copy strong { font-size: 28px; }
      .home-hunter-banner__copy span { font-size: 16px; }
      .home-hunter-banner > .rai-button { width: 100%; }
    }

    .home-hunter-banner + .rai-home-cards { padding-top: 48px; }
    .home-hunter-banner {
      background:
        linear-gradient(90deg, rgba(22, 24, 20, .97) 0%, rgba(15, 17, 14, .93) 58%, rgba(9, 11, 9, .9) 100%),
        conic-gradient(from 220deg at 74% 50%, transparent 0 22%, rgba(216, 200, 166, .18) 27%, transparent 33%),
        #10120f;
    }
    .home-hunter-banner::before {
      content: "";
      position: absolute;
      z-index: 1;
      top: 50%;
      right: 22%;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--rai-success);
      box-shadow: 0 0 0 7px rgba(105, 198, 106, .1);
      transform: translate(50%, -50%);
      pointer-events: none;
    }
    .home-hunter-banner::after {
      top: 50%;
      right: 22%;
      width: 390px;
      height: 390px;
      border: 0;
      background:
        linear-gradient(rgba(216, 200, 166, .12), rgba(216, 200, 166, .12)) center / 1px 100% no-repeat,
        linear-gradient(90deg, rgba(216, 200, 166, .12), rgba(216, 200, 166, .12)) center / 100% 1px no-repeat,
        repeating-radial-gradient(circle, transparent 0 47px, rgba(216, 200, 166, .12) 48px 49px);
      border-radius: 50%;
      box-shadow: none;
      transform: translate(50%, -50%);
      opacity: .78;
    }
    @media (max-width: 900px) { .home-hunter-banner + .rai-home-cards { padding-top: 36px; } }
    @media (max-width: 600px) {
      .home-hunter-banner + .rai-home-cards { padding-top: 24px; }
      .home-hunter-banner::before, .home-hunter-banner::after { right: 8%; }
    }
