/* ============================================================
   TIMECOYL — SUBPAGE STYLES
   Loaded on about.html, terms.html, privacy.html, patent.html
   ============================================================ */

/* ---- Subpage nav has dark bg by default (no hero behind it) ---- */
body.subpage nav {
  background: rgba(15,26,46,0.95);
  backdrop-filter: blur(20px);
}

/* ---- Content area ---- */
.subpage-hero {
  background: var(--navy);
  padding: 8rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(255,102,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(50,174,214,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.subpage-hero h1 {
  font-family: var(--font-body);
  font-size: 3rem;
  font-weight: 600;
  color: white;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.subpage-hero .page-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
  position: relative;
  z-index: 2;
}

/* ---- General content sections ---- */
.content-section {
  padding: 5rem 0;
  background: var(--cream);
}

.content-section + .content-section {
  padding-top: 0;
}

.content-section.alt {
  background: var(--warm-white);
}

/* ---- Prose content (terms, privacy, patent) ---- */
.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.prose p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.prose li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.prose a {
  display: inline-block;
  color: var(--orange);
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.prose a:hover {
  color: var(--orange-soft);
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
}

.prose strong {
  color: var(--text-dark);
  font-weight: 600;
}

.prose .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ============================================================
   ABOUT PAGE — FOUNDER STORY
   ============================================================ */
.about-story {
  padding: 5rem 0;
  background: var(--cream);
}

.about-story-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.about-story-photo {
  position: relative;
}

.about-story-photo img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(15,26,46,0.12);
}

.about-story-photo .photo-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

.about-story-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.about-story-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.about-story-text blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.about-founder-sig {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.about-founder-sig .sig-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.about-founder-sig .sig-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ---- About: Background / Credentials ---- */
.about-credentials {
  padding: 5rem 0;
  background: var(--warm-white);
}

.about-credentials-layout {
  max-width: 800px;
  margin: 0 auto;
}

.about-credentials h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.about-credentials p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

/* ---- About CTA ---- */
.about-cta {
  padding: 5rem 0;
  background: var(--navy);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,102,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.about-cta-content {
  position: relative;
  z-index: 2;
}

.about-cta h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.about-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}

.about-cta .btn-primary {
  font-size: 1rem;
}

/* ============================================================
   SUBPAGE RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .subpage-hero h1 { font-size: 2.2rem; }

  .about-story-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-story-photo img {
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  .about-story-text h2 { font-size: 1.8rem; }
  .about-credentials h2 { font-size: 1.6rem; }
  .about-cta h2 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .subpage-hero { padding: 7rem 0 2.5rem; }
  .subpage-hero h1 { font-size: 1.8rem; }
  .content-section { padding: 3rem 0; }
  .about-story { padding: 3rem 0; }
  .about-credentials { padding: 3rem 0; }
  .about-cta { padding: 3rem 0; }
}
