/* ==========================================
   Turn Ready Property Services Design System
   base.css
========================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  transition: var(--transition);
  box-sizing: border-box;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 110, 219, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  box-sizing: border-box;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 em {
  font-weight: 800;
  font-style: normal;
  color: var(--green);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.01em;
  font-weight: 700;
}

h2 em {
  font-weight: 700;
  font-style: normal;
  color: var(--green);
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  margin: 24px 0 16px;
}

p {
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

blockquote {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.5;
  margin: 24px 0;
}

details {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
}

details p {
  line-height: 1.7;
  color: var(--color-text);
  padding-right: 40px;
  margin-top: 12px;
}