:root {
  --color-mint: #c8f4de;
  --color-peach: #ffd8c2;
  --color-blue: #bcd9ff;
  --color-cream: #fff6ec;
  --color-text: #2c3a3f;
  --color-muted: #637d84;
  --color-white: #ffffff;
  --color-dark: #1f2a2d;
  --shadow-soft: 0 16px 40px rgba(64, 84, 93, 0.12);
  --shadow-card: 0 18px 36px rgba(63, 82, 91, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s ease-in-out;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-cream) 0%, #f4fbf8 60%, #f9f2ff 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.section {
  padding: 80px 0;
}

.section.alt-bg {
  background: rgba(255, 255, 255, 0.6);
}

.section h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.section-lead {
  max-width: 640px;
  margin-bottom: 48px;
  color: var(--color-muted);
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 24px rgba(35, 53, 61, 0.08);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-dark);
  letter-spacing: 0.6px;
}

.toggle-nav {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(45deg, var(--color-mint), var(--color-blue));
  cursor: pointer;
  transition: var(--transition);
}

.toggle-nav span {
  width: 20px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  margin: 0 auto;
}

.toggle-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  font-weight: 500;
  color: var(--color-muted);
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

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

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-mint), var(--color-peach));
  border-radius: 999px;
  bottom: -10px;
  left: 0;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-mint), var(--color-blue));
  color: var(--color-dark);
  box-shadow: var(--shadow-soft);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 20px 0;
  line-height: 1.15;
}

.badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-mint), var(--color-peach));
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 28px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-mint), var(--color-blue));
  color: var(--color-dark);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-peach), var(--color-mint));
  color: var(--color-dark);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.btn-ghost {
  border: 1px solid rgba(44, 58, 63, 0.2);
  background: transparent;
  color: var(--color-dark);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn.full-width {
  width: 100%;
}

.soft-gradient {
  background: linear-gradient(135deg, rgba(200, 244, 222, 0.9), rgba(188, 217, 255, 0.9));
  border-radius: var(--radius-md);
  height: 120px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-title {
  font-weight: 600;
  color: var(--color-muted);
}

.metric-graph {
  height: 84px;
  background: rgba(188, 217, 255, 0.45);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.metric-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(180deg, rgba(200, 244, 222, 0.9), rgba(255, 216, 194, 0.9));
  border-radius: var(--radius-md);
}

.metric-value {
  font-weight: 600;
  color: var(--color-dark);
}

.feature-card,
.benefit-card,
.tool-card,
.planner-card,
.habit-card,
.technique-card,
.blog-card {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.feature-card:hover,
.benefit-card:hover,
.tool-card:hover,
.planner-card:hover,
.habit-card:hover,
.technique-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-mint), rgba(255, 216, 194, 0.8));
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.section.callout {
  padding: 70px 0;
  background: rgba(255, 255, 255, 0.6);
}

.callout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.callout-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.micro-copy {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section.features {
  background: rgba(255, 255, 255, 0.7);
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.benefit-list li::before {
  content: "▹";
  color: var(--color-muted);
  margin-right: 8px;
}

.sub-hero {
  padding: 100px 0 60px;
  background: rgba(255, 255, 255, 0.7);
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.sub-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sub-hero-tags span {
  padding: 8px 18px;
  background: rgba(188, 217, 255, 0.3);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
}

.timeline {
  display: grid;
  gap: 36px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, var(--color-mint), var(--color-blue));
  top: 0;
  bottom: 0;
  left: 22px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 26px;
  position: relative;
}

.timeline-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-mint), var(--color-peach));
  box-shadow: var(--shadow-soft);
  z-index: 1;
  margin-top: 10px;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--color-dark);
}

.timeline-content ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--color-muted);
}

.techniques-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.technique-card h3 {
  margin-top: 0;
}

.progress-visual {
  height: 10px;
  border-radius: 999px;
  background: rgba(188, 217, 255, 0.4);
  overflow: hidden;
  margin-top: 18px;
}

.progress-visual span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-mint), var(--color-peach));
}

.planner-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.planner-card h3 {
  margin-top: 0;
}

.planner-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 216, 194, 0.5);
  color: var(--color-dark);
  font-weight: 500;
  font-size: 0.82rem;
}

.habit-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.habit-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
}

.habit-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.habit-card label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.habit-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-mint);
  border-radius: 6px;
}

.download-list {
  display: grid;
  gap: 32px;
}

.download-card {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.download-card img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.tools {
  background: rgba(255, 255, 255, 0.7);
}

.tool-card h3 {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-dark);
  font-weight: 600;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-mint), var(--color-peach));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.text-link:hover::after {
  transform: scaleX(1);
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-card img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
}

.badge-soft {
  background: rgba(188, 217, 255, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  display: inline-flex;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.tips-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tip-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.tip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.newsletter-form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0 12px;
}

.newsletter-form input {
  flex: 1 1 280px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(99, 125, 132, 0.3);
  font-size: 1rem;
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-mint);
  box-shadow: 0 0 0 4px rgba(200, 244, 222, 0.4);
}

.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-form,
.support-info {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 125, 132, 0.3);
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(188, 217, 255, 0.4);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

.support-card {
  border-radius: var(--radius-lg);
  background: rgba(188, 217, 255, 0.2);
  padding: 24px;
}

.support-card a {
  margin-top: 16px;
}

.support-card-wide {
  background: rgba(255, 255, 255, 0.78);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  cursor: pointer;
}

.faq-list details + details {
  margin-top: 16px;
}

.faq-list details summary {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-dark);
  list-style: none;
}

.faq-list details[open] {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.legal-content {
  background: rgba(255, 255, 255, 0.78);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 24px;
}

.legal-content h2 {
  margin-bottom: 8px;
}

.site-footer {
  background: rgba(28, 42, 45, 0.92);
  color: var(--color-cream);
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 40px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--color-white);
}

.brand-footer {
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 12px;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 28px;
  width: min(420px, 90vw);
  transition: var(--transition);
  z-index: 998;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: grid;
  gap: 16px;
  color: var(--color-dark);
  text-align: center;
}

.cookie-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.not-found {
  padding: 120px 0;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(4rem, 8vw, 6rem);
  margin: 0;
}

.not-found-illustration {
  margin-top: 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .sub-hero-grid,
  .contact-grid,
  .callout-grid,
  .download-card {
    grid-template-columns: 1fr;
  }

  .callout-grid {
    text-align: center;
  }

  .callout-action {
    align-items: center;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bar {
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .site-nav ul {
    position: fixed;
    inset: 90px 24px auto 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .site-nav ul.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .toggle-nav {
    display: flex;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 100px 0 60px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .cookie-actions {
    flex-direction: column;
  }

  .metric-card {
    padding: 16px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}