@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-dark: #0a0b0e;
  --bg: #0f1115;
  --bg-light: #141820;
  --text: #f4f7fa;
  --muted: #9aa4b2;
  --border: #1e2430;
  --border-muted: #151a20;
  --primary: #39ff88;
  --secondary: #9e72ff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  
  /* Design Tokens */
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 10px;
  --max-w: 1180px;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(
      1000px 600px at 80% -10%,
      rgba(63, 216, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      1000px 600px at -10% 110%,
      rgba(158, 114, 255, 0.1),
      transparent 60%
    ),
    var(--bg-dark);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global link styling */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 16px 64px;
  position: relative;
}

/* =========================================
   Header
   ========================================= */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: block;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 150ms ease;
}

.nav a:hover {
  color: var(--text);
  border-color: var(--border);
  background: #0e1320cc;
  text-decoration: none;
}

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

.hero {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(20, 24, 32, 0.7),
    rgba(20, 24, 32, 0.9)
  );
  border: 1px solid rgba(30, 36, 48, 0.8);
  border-radius: var(--radius-lg);
  padding: 40px 40px 44px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    padding: 28px 22px 30px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 38px;
  max-width: 38rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #0e132099;
  width: fit-content;
}

.kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

h1 {
  font-size: clamp(30px, 4.8vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.subtitle {
  color: var(--muted);
  font-size: 16px;
  max-width: 40rem;
  line-height: 1.5;
}

.subtitle br {
  display: block;
  margin-top: 4px;
}

.bullets {
  display: grid;
  gap: 24px;
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 680px) {
  .bullets {
    grid-template-columns: 1fr;
  }
}

.bullets li {
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

.bullets li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(57, 255, 136, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #04120a;
  font-weight: 900;
  font-size: 12px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 36px;
}

.btn-ios {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  padding: 22px 42px;
  color: #04120a;
  background: radial-gradient(
    120% 120% at 0% 0%,
    #f5fff9 0%,
    #e7ffe0 60%,
    #f6fff9 100%
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(57, 255, 136, 0.35) inset;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
  font-size: 20px;
  line-height: 1.1;
}

.btn-ios span.logo {
  font-size: 28px;
  line-height: 1;
}

.btn-ios:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(57, 255, 136, 0.45) inset;
}

.btn-ios:active {
  transform: translateY(0);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(57, 255, 136, 0.45) inset;
}

.cta-note {
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-screen {
  position: relative;
  background: #0f131adc;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 16px 18px 20px;
  text-align: center;
  color: var(--muted);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
  max-width: 330px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-screen-badge {
  align-self: flex-start;
  background: #101520;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-screen img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

/* =========================================
   Screens Row (Timer, Library, Analytics)
   ========================================= */

.screens-section {
  margin-top: 44px;
}

.screens-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.screens-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 900px) {
  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .screens-grid {
    grid-template-columns: 1fr;
  }
}

.screen-card {
  background: #0f131aee;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-pill {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: #101520;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
}

.screen-image {
  border-radius: 18px;
  overflow: hidden;
  background: #05070b;
}

.screen-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.screen-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 15px;
}

.screen-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Page-level mini footer sections */

.mini {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.mini a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}

.mini a:hover {
  color: var(--text);
  border-bottom-color: var(--border);
  text-decoration: none;
}

/* Glow ring accent behind hero */

.ring {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.9;
  filter: blur(60px);
  background: radial-gradient(
      600px 600px at 100% 0%,
      rgba(57, 255, 136, 0.14),
      transparent 60%
    ),
    radial-gradient(
      700px 700px at 0% 100%,
      rgba(158, 114, 255, 0.12),
      transparent 60%
    );
  z-index: 0;
}

/* Sticky CTA (mobile only) */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: #0b0c11f2;
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  display: none;
  z-index: 20;
}

.sticky-row {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sticky-title {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 740px) {
  .sticky-cta {
    display: block;
  }
}

/* =========================================
   Unified Content Container 
   Replaces duplicated styles for blog, legal, support, etc.
   ========================================= */

.content-container {
  margin-top: 18px;
  background: linear-gradient(
    180deg,
    rgba(20, 24, 32, 0.7),
    rgba(20, 24, 32, 0.9)
  );
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 36, 48, 0.8);
  padding: 32px 22px 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

@media (min-width: 880px) {
  .content-container {
    padding: 44px 40px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Shared Typography Defaults */
.content-container h1 {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.content-container h2 {
  font-size: 20px;
  margin-top: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.content-container h3 {
  font-size: 17px;
  margin-top: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.content-container p {
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 10px;
}

.content-container ul, 
.content-container ol {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.content-container li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 4px;
}

.content-container .subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.content-container a {
  color: var(--primary);
  text-decoration: none;
}

.content-container a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================
   Specific Page Overrides 
   ========================================= */

/* Blog */
.content-blog .subtitle {
  margin-bottom: 32px;
}

/* How-To Guide */
.content-howto h1 {
  font-size: clamp(30px, 4.2vw, 40px);
  line-height: 1.06;
  margin-bottom: 8px;
}
.content-howto .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.content-howto .meta span + span::before {
  content: "•";
  margin: 0 6px;
  opacity: 0.6;
}

/* Support */
@media (min-width: 860px) {
  .support-content {
    padding: 44px 40px;
  }
}
.support-content h1 {
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.06;
  margin-bottom: 6px;
}

/* Legal Pages */
@media (min-width: 880px) {
  .legal-content, .legal-content-terms {
    max-width: 860px;
  }
}
.legal-content h1, .legal-content-terms h1 {
  font-size: 1.9rem;
  margin: 6px 0 4px;
}
.legal-content h2, .legal-content-terms h2 {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

/* About */
@media (min-width: 880px) {
  .content-about {
    max-width: 980px;
  }
}

/* Article */
@media (min-width: 880px) {
  .content-article {
    max-width: 980px;
  }
}

/* Why Built */
@media (min-width: 880px) {
  .content-why {
    max-width: 860px;
  }
}

/* =========================================
   Components
   ========================================= */

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  background: linear-gradient(
    180deg,
    rgba(15, 17, 21, 0.6),
    rgba(15, 17, 21, 0.9)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: 150ms ease;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 255, 136, 0.1);
  text-decoration: none;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--muted);
}

.blog-tag {
  background: rgba(57, 255, 136, 0.1);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.blog-date {
  color: var(--muted);
}

.blog-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--text);
}

.blog-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Table of Contents */
.toc {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #0f131aee;
  padding: 14px 16px;
  margin-bottom: 26px;
}

.toc-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.toc ul, .toc ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc li {
  margin: 4px 0;
  font-size: 14px;
}

.toc a {
  color: var(--text);
}

.toc a:hover {
  text-decoration: underline;
}

/* QA Label */
.qa-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

/* Checklists / Callouts */
.checklist li::marker {
  color: var(--primary);
}

.callout {
  margin-top: 22px;
  margin-bottom: 14px;
  padding: 14px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #101520;
  font-size: 14px;
  color: var(--muted);
}

/* Scripts */
.script-steps, .guided-meditation-script {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #0f131aee;
  padding: 14px 16px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.script-steps h3 {
  margin-top: 0;
}
.guided-meditation-script p {
  margin-bottom: 6px;
  font-size: 14px;
}

/* FAQ */
.faq-section {
  margin-top: 26px;
  border-top: 1px solid var(--border-muted);
  padding-top: 22px;
}

.faq-item + .faq-item {
  margin-top: 14px;
}

.faq-q {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--text);
}

.faq-a {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* Author Block */
.author-block {
  margin-top: 28px;
  padding: 16px 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #101520;
  font-size: 14px;
  color: var(--muted);
}

.author-block h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--text);
}

.author-block p {
  margin-bottom: 6px;
}

/* Footer CTA */
.footer-cta {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-muted);
}

.footer-cta h2 {
  margin-top: 0;
  margin-bottom: 6px;
}

.footer-cta p {
  margin-bottom: 14px;
}

/* Support Page */
.support-section {
  background: #0f131aee;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.support-section h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.support-section p, .support-section li {
  color: var(--muted);
  line-height: 1.55;
}

.support-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101520;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.support-hr {
  height: 1px;
  background: var(--border);
  opacity: 0.5;
  margin: 22px 0;
}

/* Insights Page */
.key-box {
  background: #0f131aee;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 16px 16px 14px;
  margin-bottom: 14px;
}

.metric-group {
  margin-top: 10px;
  margin-bottom: 10px;
}

.metric-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}

/* Tables */
.comparison-table {
  margin: 12px 0 14px;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 8px 10px;
  border: 1px solid var(--border);
}

.comparison-table th {
  background: #101520;
  text-align: left;
  color: var(--text);
}

.comparison-table td {
  color: var(--muted);
}

/* Privacy / Terms */
.privacy-card-note {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  margin: 12px 0 18px;
}
.privacy-card-note p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.privacy-footer-links, .terms-footer-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.privacy-footer-links a, .terms-footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 8px;
}

.privacy-footer-links a:hover, .terms-footer-links a:hover {
  text-decoration: underline;
}

/* Blockquote */
blockquote {
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 3px solid var(--border);
  background: #101520;
  border-radius: 8px;
  color: var(--muted);
  font-style: italic;
}

/* =========================================
   Global Footer
   ========================================= */

.site-footer {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.site-footer-copy a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}

.site-footer-copy a:hover {
  color: var(--text);
  border-bottom-color: var(--border);
  text-decoration: none;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.site-footer-nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}

.site-footer-nav a:hover {
  color: var(--text);
  border-bottom-color: var(--border);
  text-decoration: none;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .btn-ios {
    transition: none;
  }
}