/*
Theme Name: Room to Thrive
Theme URI: https://roomtothrive.net/
Author: Mason Ventures LLC
Description: A simple WordPress theme for the Room to Thrive beta app website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: room-to-thrive
*/

:root {
  --background: #f5f7f5;
  --panel: #ffffff;
  --ink: #171b20;
  --muted: #626b75;
  --line: #dde2df;
  --green: #2aa876;
  --blue: #5867df;
  --coral: #ef5d60;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 245, 0.92);
  border-bottom: 1px solid rgba(221, 226, 223, 0.9);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 20px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(42, 168, 118, 0.12);
  color: #1d7f59;
  font-size: 0.82rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

.lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}

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

.phone-panel {
  background: var(--ink);
  border-radius: 34px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(23, 27, 32, 0.18);
}

.phone-screen {
  min-height: 610px;
  border-radius: 26px;
  background: var(--background);
  padding: 24px 18px;
  overflow: hidden;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  margin-bottom: 28px;
}

.score-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
}

.score-card h3 {
  font-size: 1rem;
}

.score {
  margin-top: 14px;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 900;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: #e2e4e4;
  margin-top: 16px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: 64%;
  background: var(--green);
  border-radius: inherit;
}

.score-card.blue .bar span {
  width: 49%;
  background: var(--blue);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.dot {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(42, 168, 118, 0.12);
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.card p,
.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.policy-content h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.policy-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-top: 16px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .phone-panel {
    max-width: 390px;
    margin: 0 auto;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
  }

  .site-footer {
    flex-direction: column;
  }
}
