/* ─────────────────────────────────────────
   Reno Tracker — main.css
   ───────────────────────────────────────── */

:root {
  --rt-green:           #00AA70;
  --rt-green-light:     #00C49A;
  --rt-gradient-top:    #008F5E;
  --rt-gradient-bottom: #39654C;
  --rt-dark:            #1C2420;
}

/* ── Base ──────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Barlow', sans-serif;
  margin: 0;
  padding: 0;
  color: #1C2420;
  background: #ffffff;
}

/* ── Wordmark ───────────────────────────── */

.rt-wordmark {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1px;
}

.rt-wordmark .reno    { color: #ffffff; }
.rt-wordmark .tracker { color: var(--rt-green-light); }

/* On a white/light background */
.rt-wordmark--light .reno    { color: #1C2420; }
.rt-wordmark--light .tracker { color: var(--rt-green-light); }

/* ── Hero ───────────────────────────────── */

.rt-hero {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--rt-gradient-top) 0%, var(--rt-gradient-bottom) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.rt-hero__icon {
  width: 80px;
  height: auto;
  margin-bottom: 1.25rem;
}

.rt-hero__wordmark {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 0.6rem;
}

.rt-hero__tagline {
  font-size: clamp(0.75rem, 2.5vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.rt-hero__description {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  max-width: 500px;
  line-height: 1.65;
  margin: 0 auto 2.75rem;
}

/* ── Store badge ────────────────────────── */

.rt-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.8rem 1.6rem;
  color: #ffffff;
  text-decoration: none;
  pointer-events: none;
}

.rt-store-badge__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.rt-store-badge__sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.rt-store-badge__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ── CTA banner ──────────────────────────── */

.rt-cta {
  background: linear-gradient(135deg, var(--rt-gradient-top) 0%, var(--rt-gradient-bottom) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.rt-cta__heading {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.rt-cta__sub {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

/* ── Site header ─────────────────────────── */

.rt-header {
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  padding: 0.85rem 0;
}

.rt-header__inner {
  display: flex;
  align-items: center;
}

.rt-header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.rt-header__logo:hover {
  text-decoration: none;
}

.rt-header__icon {
  width: 28px;
  height: auto;
}

.rt-header__wordmark {
  font-size: 1.3rem;
  font-weight: 400;
}

/* ── Footer ─────────────────────────────── */

.rt-footer {
  background: var(--rt-dark);
  padding: 1.25rem 1.5rem;
}

.rt-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rt-footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

.rt-footer__links {
  display: flex;
  gap: 1.25rem;
}

.rt-footer__links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.15s ease;
}

.rt-footer__links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 480px) {
  .rt-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── Legal hero & breadcrumb ─────────────── */

.rt-legal-hero {
  background: #f3f3f6;
  border-bottom: 1px solid #e4eae7;
  padding: 2.25rem 0 2rem;
}

.rt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
}

.rt-breadcrumb a {
  color: var(--rt-green);
  text-decoration: none;
}

.rt-breadcrumb a:hover {
  text-decoration: underline;
}

.rt-breadcrumb__sep,
.rt-breadcrumb span:last-child {
  color: #aaa;
}

.rt-legal-hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--rt-dark);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.rt-legal-hero__desc {
  font-size: 0.97rem;
  color: #666;
  margin-bottom: 0;
}

/* ── Legal pages ─────────────────────────── */

.rt-legal {
  background: #f9f9fc;
  padding: 4rem 0;
}

.rt-legal__card {
  background: #fff;
  border: 1px solid #dadadc;
  border-radius: 0.75rem;
  padding: 2.5rem;
}

.rt-legal__date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 2.5rem;
}

.rt-legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rt-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e8eeeb;
}

.rt-legal h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rt-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}

.rt-legal p,
.rt-legal li {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #555;
}

.rt-legal ul {
  padding-left: 1.25rem;
}

.rt-legal a {
  color: var(--rt-green);
}

/* Sidebar nav */
.rt-legal__nav {
  position: sticky;
  top: 2rem;
}

.rt-legal__nav-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
}

.rt-legal__nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 0.2rem;
}

.rt-legal__nav-link i {
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.55;
}

.rt-legal__nav-link:hover {
  background: rgba(0, 170, 112, 0.07);
  color: var(--rt-green);
}

.rt-legal__nav-link:hover i {
  opacity: 0.8;
}

.rt-legal__nav-link--active {
  background: rgba(0, 170, 112, 0.12);
  color: var(--rt-green);
  font-weight: 600;
}

.rt-legal__nav-link--active i {
  opacity: 1;
}

@media (max-width: 991px) {
  .rt-legal__nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .rt-legal__nav-heading {
    width: 100%;
    margin-bottom: 0.1rem;
  }

  .rt-legal__nav-link {
    margin-bottom: 0;
  }
}
