﻿:root {
  --cream: #fbf8f2;
  --mint: #eaf7ef;
  --sage: #52b788;
  --deep: #184633;
  --stone: #7e9488;
  --card: #ffffff;
  --shadow: 0 18px 35px rgba(24, 70, 51, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--deep);
  background-color: #f8f5ef;
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

main {
  background-color: transparent;
  background-image: image-set(
    url('assets/site_bg_1920.webp') type('image/webp'),
    url('assets/site_bg_1920.jpg') type('image/jpeg')
  );
  background-repeat: no-repeat;
  background-position: center -72px;
  background-size: 100% auto;
}

.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: 80px 0; }
.section-soft { background: linear-gradient(180deg, #f7fcf8 0%, #edf8f1 100%); }

.bg-blur {
  position: fixed;
  pointer-events: none;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.45;
  z-index: -1;
}
.bg-blur-a { top: -70px; left: -70px; background: #d2f1e2; }
.bg-blur-b { right: -90px; bottom: 10vh; background: #fcefcf; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(251, 248, 242, 0.75);
  border-bottom: 1px solid rgba(24, 70, 51, 0.06);
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--deep); text-decoration: none; font-weight: 800; font-size: 1.25rem; font-family: 'Baloo 2', cursive; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }

.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--deep); font-weight: 700; }
.nav-links .pill-link { background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.4rem; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 30px; padding: 72px 0 44px; }
.kicker { margin: 0 0 8px; color: #359f78; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; font-size: 0.76rem; }
.hero h1 { margin: 0; font-size: clamp(2rem, 4.7vw, 3.7rem); line-height: 1.08; font-family: 'Baloo 2', cursive; }
.hero h1 span { color: #2d9f72; }
.hero-sub { margin: 16px 0 0; color: #3d5a4a; max-width: 560px; font-size: 1.06rem; }
.hero-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.tiny-proof { margin-top: 16px; display: flex; gap: 14px; color: #547261; font-weight: 700; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; border-radius: 999px; padding: 12px 18px; font-weight: 800; }
.btn-primary { background: var(--deep); color: #fff; box-shadow: var(--shadow); }
.btn-soft { background: #fff; color: var(--deep); border: 1.5px solid #dbe9df; }

/* 3D interaction for all buttons/CTA controls */
button,
.btn,
.pill-link,
.download-actions .btn,
.legal-back {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  transform: translateY(0);
  will-change: transform, box-shadow;
}

button,
.btn,
.pill-link {
  box-shadow:
    0 8px 0 rgba(17, 61, 44, 0.14),
    0 12px 24px rgba(24, 70, 51, 0.16);
}

button:hover,
.btn:hover,
.pill-link:hover,
.legal-back:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 0 rgba(17, 61, 44, 0.16),
    0 18px 30px rgba(24, 70, 51, 0.18);
  filter: saturate(1.03);
}

button:active,
.btn:active,
.pill-link:active,
.legal-back:active {
  transform: translateY(2px) scale(0.985);
  box-shadow:
    0 3px 0 rgba(17, 61, 44, 0.16),
    0 8px 16px rgba(24, 70, 51, 0.12);
}

button:focus-visible,
.btn:focus-visible,
.pill-link:focus-visible,
.legal-back:focus-visible {
  outline: 3px solid rgba(82, 183, 136, 0.35);
  outline-offset: 2px;
}

.hero-phone { display: flex; justify-content: center; }
.phone-card {
  width: min(390px, 100%);
  background: linear-gradient(170deg, #ffffff 0%, #f4fbf6 100%);
  border-radius: 28px;
  border: 1px solid #dfede4;
  box-shadow: var(--shadow);
  padding: 22px;
}
.phone-top { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--sage); }
.phone-top img { width: 32px; height: 32px; }
.phone-card h3 { margin: 10px 0 14px; font-family: 'Baloo 2', cursive; font-size: 1.6rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { background: #eaf7ef; color: #2d6048; padding: 6px 10px; border-radius: 999px; font-size: 0.83rem; font-weight: 800; }
.task-list { margin-top: 14px; display: grid; gap: 8px; }
.task-list div { background: #fff; border: 1px solid #e6efe9; border-radius: 12px; padding: 9px 12px; }
.task-list b { color: var(--sage); }

.section-head { margin-bottom: 22px; }
.section-head h2 { margin: 0; font-family: 'Baloo 2', cursive; font-size: clamp(1.7rem, 2.9vw, 2.5rem); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid #e2ece5; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.feature-icon-frame {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: #f2f8f4;
  border: 1px solid #e2ece5;
  display: grid;
  place-items: center;
}
.card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}
.emoji-feature-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.card h3 { margin: 10px 0 6px; font-size: 1.15rem; font-family: 'Baloo 2', cursive; }
.card p { margin: 0; color: #4c6758; }

.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.steps { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li { background: #fff; border: 1px solid #deebe2; border-radius: 14px; padding: 12px; display: flex; align-items: center; gap: 10px; }
.steps span { width: 28px; height: 28px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-weight: 800; color: var(--sage); }

.preview-stack { display: grid; gap: 12px; }
.preview-card { background: #fff; border: 1px solid #dce9e0; border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.preview-card.mid { transform: translateX(14px); }
.preview-card h4 { margin: 0; font-size: 1rem; }
.preview-card p { margin: 6px 0 0; color: #4c6758; }

.download-box {
  background: linear-gradient(120deg, #163e2f, #255540);
  border-radius: 26px;
  color: #fff;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.download-box .kicker { color: #9fe8c9; }
.download-box h2 { margin: 0; font-family: 'Baloo 2', cursive; }
.download-box p { margin: 8px 0 0; color: #d4ecde; }
.download-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.download-actions .btn-primary { background: #fff; color: var(--deep); }
.download-actions .btn-soft { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: transparent; }

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid #e2ece5; border-radius: 14px; padding: 12px 14px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 8px 0 0; color: #4c6758; }

.site-footer { padding: 26px 0 40px; border-top: 1px solid #e2ece5; }
.footer-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand strong { font-weight: 800; font-family: 'Baloo 2', cursive; font-size: 1.8rem; line-height: 1; }
.footer-brand p { margin: 2px 0 0; color: #617c6d; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--deep); text-decoration: none; font-weight: 700; }
.footer-social {
  margin: 0;
  color: #5f7a6b;
  font-size: 0.94rem;
}
.footer-social a {
  color: var(--deep);
  text-decoration: none;
  font-weight: 700;
}
.footer-credit {
  margin: 0;
  color: #5f7a6b;
  font-weight: 700;
}
.footer-credit a {
  color: var(--deep);
  text-decoration: none;
}

.legal-page {
  padding: 56px 0 80px;
}
.legal-wrap {
  width: min(900px, 92vw);
  margin: 0 auto;
}
.legal-card {
  background: #fff;
  border: 1px solid #e2ece5;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.legal-card h1 {
  margin: 0 0 8px;
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}
.legal-meta {
  margin: 0 0 22px;
  color: var(--stone);
  font-weight: 700;
}
.legal-card h2 {
  margin: 20px 0 8px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.35rem;
}
.legal-card p,
.legal-card li {
  color: #355845;
}
.legal-card ul {
  margin: 8px 0 12px 20px;
  padding: 0;
}
.legal-back {
  display: inline-flex;
  margin-top: 16px;
}

.early-access-card {
  max-width: 760px;
  margin: 0 auto;
}

.subscribe-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.subscribe-form label {
  font-weight: 700;
  color: #355845;
}

.subscribe-form input,
.subscribe-form textarea {
  width: 100%;
  border: 1px solid #d9e8dd;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--deep);
  background: #fff;
}

.subscribe-form input:focus,
.subscribe-form textarea:focus {
  outline: 2px solid rgba(82, 183, 136, 0.35);
  border-color: #52b788;
}

.footer-subscribe {
  margin: 0;
  min-width: 320px;
  max-width: 460px;
}

.footer-subscribe label {
  font-weight: 800;
}

.footer-subscribe-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-subscribe-row input {
  flex: 1;
  min-width: 0;
}

.footer-subscribe-row .btn {
  white-space: nowrap;
  padding-inline: 16px;
}

.early-note {
  margin-top: 12px;
  color: #5b7567;
}

.early-note a {
  color: var(--deep);
  font-weight: 700;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.cozu-subscribe-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  width: min(420px, 92vw);
}

.cozu-subscribe-toast-card {
  background: #d9eadb;
  border: 1px solid #c5dfc9;
  border-radius: 20px;
  box-shadow: 0 18px 32px rgba(24, 70, 51, 0.2);
  padding: 16px 18px 18px;
  position: relative;
}

.cozu-subscribe-toast-kicker {
  margin: 0;
  color: #359f78;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.35px;
}

.cozu-subscribe-toast h3 {
  margin: 6px 0 8px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.45rem;
  color: #184633;
}

.cozu-subscribe-toast p {
  margin: 0;
  color: #355845;
}

.cozu-subscribe-toast-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #3c6752;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.developer-main {
  padding: 56px 0 72px;
  background:
    radial-gradient(460px 260px at 12% 12%, rgba(183, 227, 206, 0.42) 0%, transparent 72%),
    radial-gradient(520px 300px at 88% 8%, rgba(194, 238, 217, 0.4) 0%, transparent 74%),
    linear-gradient(180deg, #edf7f1 0%, #f8f5ef 72%);
}

.developer-card {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 22px;
  background: #ffffff;
  border: 1px solid #deebe2;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.developer-card::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 214, 177, 0.3) 0%, rgba(135, 214, 177, 0.04) 70%);
  pointer-events: none;
}

.developer-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #deebe2;
  background: #eef7f1;
  aspect-ratio: 1 / 1;
}

.developer-photo-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.developer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.developer-copy h1 {
  margin: 4px 0 12px;
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.developer-copy p {
  color: #355845;
  font-size: 1.05rem;
  line-height: 1.7;
}

.developer-note {
  margin-top: 12px;
  background: #f0f8f3;
  border: 1px solid #d6e9dc;
  border-radius: 14px;
  padding: 12px 14px;
}

.developer-note strong {
  display: block;
  margin-bottom: 4px;
  color: #184633;
}

.developer-note p {
  margin: 0;
  font-size: 0.98rem;
}

.developer-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  main {
    background-image: image-set(
      url('assets/site_bg_1280.webp') type('image/webp'),
      url('assets/site_bg_1280.jpg') type('image/jpeg')
    );
    background-size: 1300px auto;
  }
  .hero, .how-grid, .feature-grid { grid-template-columns: 1fr; }
  .developer-card { grid-template-columns: 1fr; }
  .download-box { flex-direction: column; align-items: flex-start; }
  .preview-card.mid { transform: none; }
  .section { padding: 64px 0; }
}

@media (max-width: 760px) {
  main {
    background-image: image-set(
      url('assets/site_bg_900.webp') type('image/webp'),
      url('assets/site_bg_900.jpg') type('image/jpeg')
    );
    background-size: 1550px auto;
    background-position: center -72px;
  }
  .nav { padding: 12px 0; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 30px; height: 30px; }
  .nav-toggle {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.2rem;
    color: var(--deep);
    background: #fff;
    border: 1px solid #e2ece5;
  }
  .nav-links {
    position: absolute;
    right: 4vw;
    top: 64px;
    background: #fff;
    border: 1px solid #e2ece5;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 12px;
    width: min(240px, 78vw);
    flex-direction: column;
    align-items: stretch;
    display: none;
  }
  .nav-links.open { display: flex; }
  .hero { padding-top: 44px; }
  .hero-sub { font-size: 1rem; }
  .phone-card h3 { font-size: 1.35rem; }
  .section { padding: 56px 0; }
  .download-box { border-radius: 20px; padding: 20px; }
}

@media (max-width: 480px) {
  main { background-size: 1700px auto; background-position: center -72px; }
  .wrap { width: min(1120px, 94vw); }
  .hero h1 { font-size: clamp(1.8rem, 8.2vw, 2.2rem); }
  .tiny-proof { gap: 8px; font-size: 0.88rem; }
  .btn { width: 100%; text-align: center; }
  .hero-cta { width: 100%; }
  .card { padding: 16px; border-radius: 16px; }
  .feature-icon-frame { width: 58px; height: 58px; }
  .card img { width: 36px; height: 36px; }
  .download-actions { width: 100%; }
  .download-actions .btn { width: 100%; }
  .footer-subscribe {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .footer-subscribe-row {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-subscribe-row .btn {
    width: 100%;
  }
  .footer-links { width: 100%; gap: 10px; }
}

/* Full-page plant loader */
.cozu-page-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  background: #1B4332;
  display: grid;
  place-items: center;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.cozu-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.cozu-page-loader-plant {
  width: 160px;
  height: 160px;
  position: relative;
}

.cozu-loader-canvas {
  display: block;
  width: 160px;
  height: 160px;
}
