/* razumi.me — Understanding Yourself */

:root {
  --bg: #FDFAF6;
  --bg-card: #FFFFFF;
  --text: #2C2C2C;
  --text-light: #6B6B6B;
  --accent: #7B8F6B;
  --accent-light: #A8BF97;
  --accent-dark: #5A6E4E;
  --sage: #D4DFD0;
  --sage-light: #E8EFE5;
  --warm: #E8C9A0;
  --warm-light: #F5E6D0;
  --sunrise: #E6A96F;
  --border: #E8E2D9;
  --shadow: rgba(0, 0, 0, 0.04);
  --font-body: 'Source Serif 4', 'Georgia', serif;
  --font-heading: 'Inter', 'Helvetica Neue', sans-serif;
  --max-width: 720px;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* — Header — */
.site-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  width: fit-content;
}

.site-logo {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.site-logo svg {
  width: 100%;
  height: 100%;
}

.site-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
  line-height: 1.2;
}

.site-tagline {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.1rem;
  font-style: italic;
}

/* — Navigation — */
.site-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.85rem;
}

.site-nav a {
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-dark);
}

/* — Main Content — */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* — Homepage Hero — */
.hero {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
}

/* — Botanical Divider — */
.divider {
  text-align: center;
  margin: 2rem auto;
  line-height: 0;
}

.divider svg {
  width: 80px;
  height: 24px;
}

/* — Post List — */
.post-list {
  list-style: none;
}

.post-list li {
  padding: 1.8rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 3px solid var(--accent-light);
  transition: box-shadow 0.2s, border-left-color 0.2s;
}

.post-list li:hover {
  box-shadow: 0 2px 12px var(--shadow);
  border-left-color: var(--accent);
}

.post-list-date {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-list-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.3rem 0 0.5rem;
}

.post-list-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.post-list-title a:hover {
  color: var(--accent-dark);
}

.post-list-excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* — Article — */
article {
  padding-top: 1rem;
}

article header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

article header .post-meta {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

article header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.5rem;
  color: var(--text);
}

article header .subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-style: italic;
}

article h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.5rem 0 0.8rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

article h2 .h2-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

article h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.8rem 0 0.6rem;
  color: var(--accent-dark);
}

article p {
  margin-bottom: 1.2rem;
}

article ul, article ol {
  margin: 0 0 1.2rem 1.5rem;
}

article li {
  margin-bottom: 0.4rem;
}

article li::marker {
  color: var(--accent-light);
}

article blockquote {
  border-left: 3px solid var(--accent-light);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, var(--sage-light), rgba(232, 239, 229, 0.3));
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text);
  position: relative;
}

article blockquote::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 12px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8BF97' stroke-width='1.5'%3E%3Cpath d='M4 6c0-1 1.5-3 4.5-3S12 4.5 12 6.5C12 10 7 12 4 14V6zm12 0c0-1 1.5-3 4.5-3S24 4.5 24 6.5C24 10 19 12 16 14V6z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}

article strong {
  font-weight: 600;
  color: var(--text);
}

article em {
  font-style: italic;
}

/* — Call to Action Box — */
.cta-box {
  background: linear-gradient(135deg, var(--sage-light), var(--warm-light));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2rem;
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none'%3E%3Ccircle cx='40' cy='40' r='35' stroke='%23A8BF97' stroke-width='1' opacity='0.3'/%3E%3Ccircle cx='40' cy='40' r='25' stroke='%23A8BF97' stroke-width='1' opacity='0.2'/%3E%3Ccircle cx='40' cy='40' r='15' stroke='%23A8BF97' stroke-width='1' opacity='0.15'/%3E%3C/svg%3E");
  background-size: contain;
}

.cta-box .cta-icon {
  margin-bottom: 0.8rem;
}

.cta-box p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  position: relative;
}

.cta-box .coming-soon {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--accent-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

/* — Back Link — */
.back-link {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}

/* — Footer — */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-light);
}

.footer-leaf {
  margin-bottom: 0.5rem;
}

/* — About Page — */
.about-content {
  padding-top: 1rem;
}

.about-content h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
}

.about-content p {
  margin-bottom: 1.2rem;
}

/* — Responsive — */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .site-header {
    padding: 1rem;
  }

  .site-logo {
    width: 80px;
    height: 80px;
  }

  .site-name {
    font-size: 1.2rem;
  }

  .hero {
    padding: 1.5rem 0;
  }

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

  main {
    padding: 2rem 1rem 3rem;
  }

  article header h1 {
    font-size: 1.5rem;
  }

  .site-nav {
    gap: 1.2rem;
  }

  .post-list li {
    padding: 1.3rem;
  }
}
