/* ============================================
   TimeForge — Manage for Employee Retention
   Brand colors pulled from current TimeForge site
   ============================================ */

:root {
  /* Brand colors */
  --tf-teal: #21abc7;
  --tf-teal-dark: #1a8aa0;
  --tf-teal-light: #d9f1f8;
  --tf-teal-deep: #00809b;
  --tf-orange: #fab617;
  --tf-orange-dark: #fab61752;
  --tf-navy: #5575aa;
  --tf-mustard: #996b00;

  /* Neutrals */
  --tf-white: #ffffff;
  --tf-off-white: #f6f7f7;
  --tf-gray-light: #f0f0f1;
  --tf-gray: #e9e9e9;
  --tf-text: #3f444b;
  --tf-text-dark: #38393a;
  --tf-text-muted: #636363;
  --tf-border: #ccd6df;

  /* Type */
  --font-body: Arial, Helvetica, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 760px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Reset & base
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tf-text);
  background: var(--tf-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--tf-teal-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--tf-teal-dark);
}

h1, h2, h3, h4 {
  color: var(--tf-text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 36px;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 18px;
}

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

strong {
  color: var(--tf-text-dark);
  font-weight: 700;
}

.centered {
  text-align: center;
}

/* ============================================
   Layout
   ============================================ */

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

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--tf-white);
}

.section-accent {
  background: var(--tf-teal-light);
}

.section-deep {
  background: var(--tf-off-white);
}

.section-cta {
  background: linear-gradient(135deg, var(--tf-teal) 0%, var(--tf-teal-deep) 100%);
  color: var(--tf-white);
}

.section-cta h2 {
  color: var(--tf-white);
  font-size: 42px;
}

.section-cta p {
  color: rgba(255, 255, 255, 0.92);
}

.section-cta .cta-meta {
  font-size: 14px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   Header (standalone)
   ============================================ */

.site-header {
  background: var(--tf-white);
  border-bottom: 1px solid var(--tf-gray);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.header-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
}

.btn-primary {
  background: var(--tf-teal);
  color: var(--tf-white);
  border-color: var(--tf-teal);
}

.btn-primary:hover {
  background: var(--tf-teal-dark);
  border-color: var(--tf-teal-dark);
  color: var(--tf-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--tf-teal);
  border-color: var(--tf-teal);
}

.btn-outline:hover {
  background: var(--tf-teal-light);
  color: var(--tf-teal-dark);
}

.btn-light {
  background: var(--tf-white);
  color: var(--tf-teal-deep);
  border-color: var(--tf-white);
}

.btn-light:hover {
  background: var(--tf-orange);
  border-color: var(--tf-orange);
  color: var(--tf-text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Eyebrows & tags
   ============================================ */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tf-teal-deep);
  margin-bottom: 16px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.85);
}

.section-tag {
  display: inline-block;
  background: var(--tf-white);
  color: var(--tf-teal-deep);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  border: 1px solid var(--tf-border);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  background: linear-gradient(180deg, var(--tf-teal-light) 0%, var(--tf-white) 100%);
  padding: 80px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--tf-text);
}

.hero-meta {
  font-size: 14px;
  color: var(--tf-text-muted);
  margin-top: 14px;
}

/* Book mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-mockup {
  position: relative;
  width: 320px;
  height: 420px;
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.book-mockup:hover {
  transform: rotate(-1deg) translateY(-6px);
}

.book-cover {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--tf-teal) 0%, var(--tf-teal-deep) 100%);
  border-radius: 6px 12px 12px 6px;
  padding: 32px 28px;
  color: var(--tf-white);
  box-shadow:
    var(--shadow-lg),
    inset 4px 0 0 rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.book-spine {
  position: absolute;
  left: -8px;
  top: 4px;
  bottom: 4px;
  width: 10px;
  background: var(--tf-teal-deep);
  border-radius: 2px 0 0 2px;
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.2);
}

.book-tag {
  display: inline-block;
  background: var(--tf-orange);
  color: var(--tf-text-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 24px;
}

.book-cover h3 {
  color: var(--tf-white);
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.book-divider {
  width: 40px;
  height: 3px;
  background: var(--tf-orange);
  margin-bottom: 20px;
}

.book-cover p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.92;
  flex: 1;
}

.book-pages {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  margin-top: 16px;
}

/* ============================================
   Section content
   ============================================ */

.section-lede {
  font-size: 19px;
  color: var(--tf-text-muted);
  margin-bottom: 40px;
}

.section-deep .section-lede {
  text-align: center;
}

.section-deep h2 {
  text-align: center;
}

.pullquote {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--tf-white);
  border-left: 4px solid var(--tf-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 22px;
  font-style: italic;
  color: var(--tf-text-dark);
  box-shadow: var(--shadow-sm);
}

.pullquote em {
  color: var(--tf-teal-deep);
  font-weight: 700;
}

.pullquote-tag {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tf-teal);
}

/* ============================================
   Rescue grid
   ============================================ */

.rescue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.rescue-card {
  background: var(--tf-teal-light);
  border-radius: var(--radius-lg);
  padding: 8px;
}

.rescue-card-inner {
  background: var(--tf-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.rescue-card h3 {
  color: var(--tf-teal-deep);
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--tf-teal-light);
}

.check-list {
  list-style: none;
}

.check-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 16px;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  background: var(--tf-teal);
  color: var(--tf-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* ============================================
   Q&A list
   ============================================ */

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0;
}

.qa-item {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  background: var(--tf-white);
  border-radius: var(--radius);
  border: 1px solid var(--tf-gray);
  transition: all 0.2s ease;
}

.qa-item:hover {
  border-color: var(--tf-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.qa-bullet {
  font-size: 22px;
  font-weight: 700;
  color: var(--tf-teal);
  flex-shrink: 0;
  min-width: 36px;
}

.qa-item p {
  margin: 0;
  padding-top: 2px;
  font-size: 16px;
  line-height: 1.55;
}

.audience-note {
  text-align: center;
  padding: 24px;
  background: var(--tf-teal-light);
  border-radius: var(--radius);
  font-size: 17px;
  margin-top: 40px;
}

/* ============================================
   Feature row
   ============================================ */

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--tf-teal-light);
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
}

.feature-icon {
  display: block;
  font-size: 36px;
  margin-bottom: 12px;
}

.feature-card h4 {
  color: var(--tf-teal-deep);
}

.feature-card p {
  font-size: 15px;
  margin: 0;
  color: var(--tf-text);
}

/* ============================================
   Authors
   ============================================ */

.authors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.author-card {
  background: var(--tf-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--tf-gray);
}

.author-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--tf-teal-light);
  box-shadow: var(--shadow-sm);
}

.author-card h3 {
  margin-bottom: 4px;
}

.author-role {
  color: var(--tf-teal-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.author-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ============================================
   Footer (minimal attribution)
   ============================================ */

.site-footer {
  background: var(--tf-text-dark);
  color: var(--tf-gray);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-attribution {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.footer-attribution a {
  color: var(--tf-teal);
  font-weight: 700;
  text-decoration: none;
}

.footer-attribution a:hover {
  color: var(--tf-white);
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 960px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .section-cta h2 { font-size: 32px; }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-grid,
  .rescue-grid,
  .authors-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .book-mockup {
    width: 260px;
    height: 340px;
  }

  .book-cover h3 {
    font-size: 24px;
  }

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

  .main-nav {
    display: none;
  }

  .header-logo {
    height: 38px;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }

  .header-logo {
    height: 32px;
  }

  .hero-content h1,
  .hero-lede {
    text-align: left;
  }

  .header-cta .btn-outline {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  .pullquote {
    padding: 20px 22px;
    font-size: 18px;
  }

  .qa-item {
    padding: 18px 20px;
    gap: 14px;
  }

  .author-card {
    padding: 28px 22px;
  }
}
