/* ===== Variables ===== */
:root {
  --teal-900: #1b4a42;
  --teal-700: #258a78;
  --teal-500: #2fa38d;
  --plum-700: #5c1f54;
  --plum-900: #3d1538;
  --gold-500: #eb5a95;
  --coral-500: #eb5a95;
  --cream-50: #fef9f6;
  --cream-100: #f8ebe6;
  --ink-900: #1f2024;
  --ink-600: #4b4d55;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(92, 31, 84, 0.14);
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--teal-900);
}

p {
  margin: 0 0 1em;
  color: var(--ink-600);
}

a {
  color: var(--teal-700);
  text-decoration: none;
}

a:hover {
  color: var(--coral-500);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--teal-900);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold-500);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cream-100);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--gold-500);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--teal-900), var(--plum-700));
  color: var(--white);
  padding: 90px 24px 70px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  max-width: 760px;
  margin: 0 auto 0.5em;
}

.hero p.lead {
  color: var(--cream-100);
  max-width: 640px;
  margin: 0 auto 1.6em;
  font-size: 1.15rem;
}

.hero .placeholder-note {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  color: var(--cream-100);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  background: var(--coral-500);
  color: var(--white);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(235, 90, 149, 0.35);
  color: var(--white);
}

.btn.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}

/* ===== Sections ===== */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--ink-600);
}

.alt-bg {
  background: var(--cream-100);
}

/* ===== Pillars / Cards grid ===== */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 74, 66, 0.08);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-900));
  color: var(--white);
}

.card h3 {
  margin-bottom: 0.4em;
  font-size: 1.15rem;
}

/* ===== Fireside chat cards ===== */
.chat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 74, 66, 0.08);
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: var(--teal-900);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chat-card .chat-body {
  padding: 22px;
}

.chat-card .tag {
  display: inline-block;
  background: var(--cream-100);
  color: var(--teal-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2em;
}

.chat-card .role {
  color: var(--coral-500);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* ===== Resource lists ===== */
.resource-category h3 {
  border-left: 4px solid var(--gold-500);
  padding-left: 12px;
  margin-bottom: 16px;
}

.resource-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.resource-list li {
  background: var(--white);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 74, 66, 0.08);
}

.resource-list li a {
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.resource-list li span {
  font-size: 0.88rem;
  color: var(--ink-600);
}

.checklist {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 74, 66, 0.08);
}

.checklist ul {
  padding-left: 20px;
}

.checklist li {
  margin-bottom: 10px;
  color: var(--ink-600);
}

/* ===== Wearable cards ===== */
.wearable-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 74, 66, 0.08);
}

.wearable-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--plum-700), var(--teal-700));
}

.wearable-card .wearable-body {
  padding: 22px;
}

.status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--cream-100);
  color: var(--teal-700);
  margin-bottom: 10px;
}

.status-pill.status-live { color: #1b4a42; background: #e4f6ea; }
.status-pill.status-progress { color: var(--coral-500); background: #fdeef3; }
.status-pill.status-concept { color: var(--plum-700); background: #f3e6f1; }

/* ===== Stats ===== */
.stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
  margin: 40px 0;
}

.stats .stat strong {
  display: block;
  font-size: 2.2rem;
  color: var(--teal-700);
  font-family: Georgia, serif;
}

.stats .stat span {
  color: var(--ink-600);
  font-size: 0.9rem;
}

/* ===== Form ===== */
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 74, 66, 0.08);
  max-width: 720px;
  margin: 0 auto;
}

.form-note {
  background: #fdeef3;
  border: 1px dashed var(--gold-500);
  color: #8a2a5e;
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--teal-900);
  font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid #d7cfc4;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--cream-50);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal-500);
}

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#form-status {
  margin-top: 16px;
  font-weight: 600;
}

#form-status.success { color: #1a7a3f; }
#form-status.error { color: var(--coral-500); }

/* ===== Footer ===== */
.site-footer {
  background: var(--teal-900);
  color: var(--cream-100);
  padding: 50px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 30px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
}

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

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: var(--cream-100);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(254, 249, 246, 0.7);
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal-900);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 400px;
  }

  .nav-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .form-two-col {
    grid-template-columns: 1fr;
  }
}
