:root {
  --text: #161616;
  --muted: #666;
  --border: #dedede;
  --background: #fff;
  --surface: #f6f6f4;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.site-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.sale-label {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intro {
  max-width: 790px;
  padding: 28px 0 58px;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: #26733a;
  font-size: 0.82rem;
  font-weight: 700;
}

.status span {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #2b9348;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 20px;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.primary-button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.secondary-button {
  border-color: #bdbdbd;
  color: var(--text);
  background: #fff;
}

.secondary-button:hover {
  background: var(--surface);
}

.sale-details {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sale-details dl {
  margin: 0;
}

.sale-details dl > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.sale-details dl > div:last-child {
  border-bottom: 0;
}

.sale-details dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.sale-details dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.contact-section {
  max-width: 620px;
  padding: 88px 0 100px;
}

.section-label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
}

.contact-section > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.site-footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body {
    padding: 0 20px;
  }

  .intro {
    padding: 28px 0 52px;
  }

  h1 {
    font-size: clamp(2.5rem, 10.75vw, 4.8rem);
  }

  .sale-details dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .contact-section {
    padding: 72px 0;
  }
}

@media (max-width: 460px) {
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
