/* PropMaven public site. Colors come from assets/brand/tokens.json. No web fonts: the system stack keeps the
   site free of third-party requests. */
:root {
  --green-dark: #1b5e20;
  --green: #2e7d32;
  --green-light: #81c784;
  --green-tint: #e8f5e9;
  --ink: #1f2420;
  --ink-soft: #4a514b;
  --line: #d9e0da;
  --paper: #ffffff;
  --paper-soft: #f6f8f6;
  --radius: 12px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--green-dark);
}

.brand svg {
  width: 44px;
  height: auto;
}

.brand-name {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--green-dark);
}

.brand-name span {
  color: var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--green-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--green-dark);
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--green-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
}

.btn-secondary:hover {
  background: var(--green-tint);
}

.site-nav .btn {
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
}

.site-nav .btn-primary {
  color: #fff;
}

.site-nav .btn-primary:hover {
  color: #fff;
  text-decoration: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

.hero {
  background: linear-gradient(180deg, var(--green-tint) 0%, var(--paper) 100%);
  padding: 4.5rem 0 4rem;
}

.hero .lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 44rem;
}

.hero .note {
  margin-top: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.alt {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  max-width: 46rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.steps li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.ticks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.9rem;
  border: solid var(--green);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Price */
.price-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin: 0.5rem 0 1rem;
}

.price-banner .amount {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}

.price-banner .unit {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.two-col {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  align-items: start;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

caption {
  text-align: left;
  font-weight: 700;
  padding: 0 0 0.5rem;
}

th,
td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--green-tint);
  font-weight: 700;
}

td.num,
th.num {
  text-align: right;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.calc label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.calc input {
  width: 100%;
  max-width: 14rem;
  font: inherit;
  font-size: 1.25rem;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--line);
  border-radius: 8px;
}

.calc input:focus {
  border-color: var(--green);
}

.calc-result {
  margin-top: 1.25rem;
}

.calc-result .total {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.1;
}

.calc-result .per {
  color: var(--ink-soft);
}

.note {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.contact-list a {
  font-weight: 700;
  word-break: break-word;
}

/* Legal pages */
.legal {
  max-width: 46rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.legal h3 {
  margin-top: 1.5rem;
}

.legal .table-scroll {
  overflow-x: auto;
  margin: 1rem 0;
}

.legal blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--green);
  background: #f1f8e9;
}

.legal .review-note {
  margin: 1rem 0 2rem;
  padding: 0.75rem 1rem;
  border: 2px solid #b26a00;
  border-radius: 8px;
  background: #fff8e1;
}

.legal mark.owner {
  background: #fff3cd;
  color: inherit;
  padding: 0 0.2em;
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #e8f5e9;
}

.cta-band .actions {
  justify-content: center;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
}

.cta-band .btn-primary:hover {
  background: var(--green-tint);
  border-color: var(--green-tint);
}

.cta-band .btn-secondary {
  color: #fff;
  border-color: #fff;
}

.cta-band .btn-secondary:hover {
  background: var(--green);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.site-footer h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--green-dark);
}

.legal-line {
  margin-top: 2rem;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .site-header .wrap {
    justify-content: center;
  }

  .site-nav {
    justify-content: center;
  }

  .actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
