/*
Theme Name: Lumora
Theme URI: https://lumora.app
Author: Mladen
Author URI: https://lumora.app
Description: A calm, minimalistic WordPress theme for the Lumora breathing & sleep mobile app. Designed front page with quiet aesthetics, plus minimal subpage, blog list and detail templates for support, about, contact, privacy, and account deletion pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumora
Tags: one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/* ---------------------------------------------------------
   Root / tokens
--------------------------------------------------------- */
:root {
  --indigo:     #1A2B48;
  --indigo-2:   #243B5E;
  --indigo-dk:  #0F1E36;
  --alabaster:  #E8E2D6;
  --sage:       #9CAF88;
  --copper:     #C8A878;
  --blue-soft:  #7A96C0;

  --text:       var(--alabaster);
  --text-dim:   rgba(232, 226, 214, 0.7);
  --text-mute:  rgba(232, 226, 214, 0.5);
  --border:     rgba(232, 226, 214, 0.14);
  --border-str: rgba(232, 226, 214, 0.28);
  --surface:    rgba(36, 59, 94, 0.55);
  --surface-2:  rgba(36, 59, 94, 0.35);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --maxw:      1080px;
  --maxw-prose: 720px;
}

/* ---------------------------------------------------------
   Reset-ish
--------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--indigo);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--alabaster); }

::selection { background: var(--sage); color: var(--indigo); }

/* ---------------------------------------------------------
   Accessibility helpers
--------------------------------------------------------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--alabaster);
  color: var(--indigo);
  clip: auto !important;
  clip-path: none;
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 6px;
  line-height: 1;
  padding: 14px 22px;
  text-decoration: none;
  top: 6px;
  width: auto;
  z-index: 100000;
  border-radius: 8px;
}

/* ---------------------------------------------------------
   Ambient blobs
--------------------------------------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.20;
}
.blob-1 { width: 620px; height: 620px; background: var(--sage);     top: -220px; right: -180px; }
.blob-2 { width: 560px; height: 560px; background: var(--blue-soft); bottom: -200px; left: -220px; }
.blob-3 { width: 380px; height: 380px; background: var(--copper);    top: 40%; right: -150px; opacity: 0.15; }

/* Reduce blobs on subpages (less dominant) */
.is-subpage .blob { opacity: 0.10; }
.is-subpage .blob-3 { opacity: 0.07; }

/* ---------------------------------------------------------
   Site header (sticky nav)
--------------------------------------------------------- */
.nav-top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(26, 43, 72, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--alabaster);
}
.brand:hover { color: var(--alabaster); }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sage), var(--blue-soft));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--indigo);
  font-size: 14px;
}

/* Primary nav (subpage links) */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-menu a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--alabaster); }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--indigo);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(156,175,136,0.3);
  color: var(--indigo);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--alabaster);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ---------------------------------------------------------
   Container
--------------------------------------------------------- */
.container {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--prose {
  max-width: var(--maxw-prose);
}

/* ---------------------------------------------------------
   Hero (front page)
--------------------------------------------------------- */
.hero {
  text-align: center;
  padding: 72px 0 60px;
}
.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--sage), var(--blue-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 700;
  color: var(--indigo);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(232,226,214,0.08) inset;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(156, 175, 136, 0.16);
  color: var(--sage);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.hero h1 .accent { color: var(--sage); }
.subtitle {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-dim);
}

/* Store buttons */
.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--alabaster);
  color: var(--indigo);
  text-decoration: none;
  font-weight: 600;
  min-width: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
  color: var(--indigo);
}
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn .small { display: block; font-size: 11px; font-weight: 400; opacity: 0.7; letter-spacing: 0.04em; }
.store-btn .big   { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }

.trust-line {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
}
.trust-dot { color: var(--sage); margin: 0 6px; }

/* ---------------------------------------------------------
   Feature grid
--------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 40px 0 60px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(156,175,136,0.4); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(156,175,136,0.16);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ---------------------------------------------------------
   Generic section / steps / privacy / final CTA
--------------------------------------------------------- */
.section { padding: 40px 0; }
.section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 28px;
  text-align: center;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(156,175,136,0.18);
  color: var(--sage);
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p  { margin: 0; font-size: 14px; color: var(--text-dim); }

.privacy {
  margin: 20px 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.privacy h2 { text-align: center; margin-bottom: 12px; }
.privacy p  { margin: 0 auto; max-width: 560px; color: var(--text-dim); }

.final-cta { text-align: center; padding: 60px 0 40px; }
.final-cta h2 { margin-bottom: 12px; }
.final-cta .subtitle { margin-bottom: 28px; }

.disclaimer {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  padding: 24px 0;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   Subpage (page.php) — minimalistic
--------------------------------------------------------- */
.page-wrap {
  padding: 56px 0 72px;
}
.page-head {
  text-align: center;
  margin-bottom: 40px;
}
.page-head .eyebrow {
  margin-bottom: 14px;
}
.page-head h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.15;
}
.page-head .page-deck {
  margin: 14px auto 0;
  color: var(--text-dim);
  max-width: 560px;
}

.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--alabaster);
}
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  line-height: 1.25;
}
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; color: var(--sage); }
.prose h4 { font-size: 18px; }
.prose p  { color: var(--text); }
.prose a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--alabaster); }
.prose strong { color: var(--alabaster); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--sage); }
.prose blockquote {
  border-left: 3px solid var(--sage);
  padding: 0.2em 0 0.2em 1.2em;
  color: var(--text-dim);
  font-style: italic;
  margin-left: 0;
}
.prose code {
  background: rgba(0,0,0,0.25);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.prose pre {
  background: rgba(0,0,0,0.3);
  padding: 16px 18px;
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid var(--border);
}
.prose pre code { background: none; padding: 0; }
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.2em 0;
}
.prose img, .prose .wp-block-image {
  border-radius: 14px;
  margin: 1.6em 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.95em;
}
.prose th, .prose td {
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}
.prose th { color: var(--text-dim); font-weight: 600; }

/* WordPress contact form / comment form niceties */
.prose input[type="text"],
.prose input[type="email"],
.prose input[type="url"],
.prose input[type="tel"],
.prose input[type="search"],
.prose textarea,
.prose select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--alabaster);
  padding: 12px 14px;
  font: inherit;
  transition: border-color 0.2s ease;
}
.prose input:focus,
.prose textarea:focus,
.prose select:focus {
  outline: none;
  border-color: var(--sage);
}
.prose button,
.prose input[type="submit"],
.wp-block-button__link {
  background: var(--sage);
  color: var(--indigo);
  border: 0;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prose button:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(156,175,136,0.3);
  color: var(--indigo);
}

/* ---------------------------------------------------------
   Blog — archive & single
--------------------------------------------------------- */
.archive-head {
  text-align: center;
  padding: 56px 0 24px;
}
.archive-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.archive-head p { color: var(--text-dim); margin-top: 10px; }

.post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 20px 0 60px;
  max-width: var(--maxw-prose);
  margin: 0 auto;
}
.post-card {
  display: block;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--alabaster);
}
.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(156,175,136,0.4);
  color: var(--alabaster);
}
.post-card .post-meta {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.post-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.post-card p { margin: 0; color: var(--text-dim); font-size: 15px; }
.post-card .read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 500;
}

.post-single {
  padding: 56px 0 72px;
}
.post-single .post-meta {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.post-single .post-head {
  text-align: center;
  margin-bottom: 40px;
}
.post-single h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.15;
}
.post-single .featured-img {
  border-radius: var(--radius-lg);
  margin: 0 auto 36px;
  max-width: var(--maxw-prose);
  overflow: hidden;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-nav a { color: var(--text-dim); font-size: 14px; }
.post-nav a:hover { color: var(--sage); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 40px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
  min-width: 40px;
  text-align: center;
}
.pagination .page-numbers:hover { color: var(--alabaster); border-color: var(--border-str); }
.pagination .current {
  background: var(--sage);
  color: var(--indigo);
  border-color: var(--sage);
  font-weight: 600;
}

/* ---------------------------------------------------------
   404
--------------------------------------------------------- */
.error-404 {
  text-align: center;
  padding: 100px 0;
}
.error-404 .big {
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--sage);
  opacity: 0.5;
  margin: 0 0 20px;
}

/* ---------------------------------------------------------
   Comments
--------------------------------------------------------- */
.comments-area {
  max-width: var(--maxw-prose);
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.comments-area h2 { font-size: 22px; margin: 0 0 20px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { margin-bottom: 20px; padding: 16px; background: var(--surface-2); border-radius: 12px; }
.comment-meta { font-size: 13px; color: var(--text-mute); margin-bottom: 8px; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
footer.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 40px;
}
.footer-nav { margin-bottom: 10px; }
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-nav a {
  color: var(--alabaster);
  text-decoration: none;
  margin: 0 10px;
  opacity: 0.85;
}
.footer-nav a:hover { opacity: 1; color: var(--sage); }

/* ---------------------------------------------------------
   Motion
--------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: float 6s ease-in-out infinite; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
  }
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 720px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26, 43, 72, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .store-btn { min-width: 0; flex: 1; }
  .page-wrap { padding: 40px 0 60px; }
  .post-single { padding: 40px 0 60px; }
}

/* ---------------------------------------------------------
   WordPress admin bar spacing
--------------------------------------------------------- */
.admin-bar .nav-top { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .nav-top { top: 46px; }
}

/* ---------------------------------------------------------
   WP block editor alignment helpers
--------------------------------------------------------- */
.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-dim); text-align: center; margin-top: 8px; }
.sticky { display: block; }
.gallery-caption { display: block; }
.bypostauthor { display: block; }

	  /* Privacy truth-in-marketing bullet list */
.privacy-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  text-align: left;
  max-width: 680px;
  margin-inline: auto;
}
.privacy-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.85;
}
.privacy-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #9CAF88);
}
@media (max-width: 560px) {
  .privacy-points { grid-template-columns: 1fr; }
}

/* Languages strip */
.languages {
  text-align: center;
  padding: 48px 20px;
}
.languages .subtitle {
  max-width: 520px;
  margin: 8px auto 20px;
  opacity: 0.8;
}
.lang-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.lang-chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}