:root {
  color-scheme: light;
  --sky-top: #2f6df5;
  --sky-bottom: #79c9ff;
  --grass-1: #22c55e;
  --grass-2: #16a34a;
  --soil: #8b5a3c;
  --sunflower: #facc15;
  --sunflower-deep: #f59e0b;
  --ink: #10343e;
  --text: #0f2f39;
  --text-soft: #295261;
  --panel: rgba(255, 255, 255, 0.86);
  --line: #b4e4cf;
  --shadow: 0 18px 40px rgba(5, 57, 92, 0.2);
}

body.dark-mode {
  color-scheme: dark;
  --sky-top: #0f3a66;
  --sky-bottom: #0d6ba8;
  --grass-1: #14532d;
  --grass-2: #166534;
  --soil: #6b4a35;
  --sunflower: #facc15;
  --sunflower-deep: #d97706;
  --ink: #d4f2ff;
  --text: #dff5ff;
  --text-soft: #bde6f5;
  --panel: rgba(9, 35, 48, 0.88);
  --line: rgba(94, 234, 212, 0.35);
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.55), transparent 35%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 32%, #8fd58f 32.5%, #7dcc79 100%);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  padding: 0.55rem 0.9rem;
  background: var(--sunflower);
  color: #1f2937;
  border-radius: 999px;
  text-decoration: none;
  z-index: 2000;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1080px, calc(100% - 2.6rem));
  margin: 0 auto;
}

.cursor-pointer {
  cursor: pointer;
}

.min-touch {
  min-width: 44px;
  min-height: 44px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: background-color 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  background: rgba(14, 79, 123, 0.55);
  backdrop-filter: blur(10px);
}

.header-shell {
  width: min(1080px, calc(100% - 2.6rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.54rem 0.95rem;
  background: rgba(255, 255, 255, 0.24);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #155e2a;
  border: 2px solid #fef08a;
  background: linear-gradient(160deg, #fef9c3, #fde047);
  box-shadow: 0 5px 14px rgba(250, 204, 21, 0.45);
}

.brand-name {
  font-family: "Fredoka", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.desktop-nav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.56);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
}

.theme-toggle,
.menu-toggle {
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  color: var(--ink);
  width: 42px;
  height: 42px;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover,
.menu-toggle:hover,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(255, 255, 255, 0.9);
}

.menu-toggle {
  display: none;
}

.btn {
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  padding: 0.68rem 1.16rem;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-cta {
  color: #78350f;
  background: linear-gradient(180deg, #fde047, #f59e0b);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.35);
}

.btn-cta:hover,
.btn-cta:focus-visible {
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.45);
}

.btn-store {
  color: #0f2f39;
  background: #f0fdf4;
  border: 2px solid #86efac;
}

.btn-store-alt {
  background: #ecfeff;
  border-color: #7dd3fc;
}

.btn-outline {
  color: var(--ink);
  border: 2px solid #fef08a;
  background: rgba(255, 255, 255, 0.32);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.58);
}

.btn-block {
  width: 100%;
}

.mobile-nav {
  width: min(1080px, calc(100% - 2.6rem));
  margin: 0.6rem auto 0;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  background: var(--panel);
  padding: 0.8rem;
  display: grid;
  gap: 0.54rem;
}

.mobile-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 0.42rem;
  border-radius: 10px;
}

.mobile-link:hover,
.mobile-link:focus-visible {
  background: rgba(34, 197, 94, 0.16);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 3.4rem 0 3rem;
}

.sky-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  filter: blur(1px);
}

.cloud-a {
  width: 180px;
  height: 52px;
  top: 8%;
  left: -20px;
}

.cloud-b {
  width: 230px;
  height: 58px;
  top: 16%;
  right: -34px;
}

.cloud-c {
  width: 140px;
  height: 44px;
  top: 32%;
  left: 38%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2.7rem;
  align-items: center;
}

.hero-badge {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-weight: 800;
  display: inline-flex;
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  background: rgba(13, 148, 136, 0.64);
  border: 2px solid rgba(255, 255, 255, 0.58);
}

h1,
h2,
h3,
h4 {
  font-family: "Fredoka", Arial, sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  margin-bottom: 0.82rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #fffef8;
  text-shadow: 0 3px 0 rgba(12, 74, 110, 0.46);
}

.hero-desc {
  margin: 0;
  max-width: 56ch;
  color: #f0fcff;
  font-size: 1.03rem;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.hero-meta {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-meta li {
  color: #10403e;
  border: 2px solid #bbf7d0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.35rem 0.62rem;
  font-size: 0.85rem;
  font-weight: 700;
}

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

.phone-frame {
  width: min(350px, 100%);
  border-radius: 40px;
  padding: 0.5rem;
  border: 4px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, #d9f99d, #86efac);
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  display: block;
  border-radius: 31px;
  height: auto;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 999px;
  border: 2px solid #fef08a;
  background: #fffef0;
  color: #1f3d2e;
  padding: 0.34rem 0.68rem;
  box-shadow: 0 8px 16px rgba(22, 101, 52, 0.18);
}

.chip-left {
  left: -0.8rem;
  top: 18%;
}

.chip-right {
  right: -0.8rem;
  bottom: 18%;
}

.features-section,
.download-section {
  padding: 5.4rem 0;
}

.more-screens-section {
  padding: 5.2rem 0 2.2rem;
}

.features-section {
  background:
    linear-gradient(180deg, rgba(220, 252, 231, 0.88), rgba(187, 247, 208, 0.88)),
    linear-gradient(90deg, var(--grass-1), var(--grass-2));
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.section-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-kicker {
  margin: 0 0 0.3rem;
  color: #14532d;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  color: #0f3d2f;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.feature-card {
  border-radius: 18px;
  border: 2px solid #bbf7d0;
  background: var(--panel);
  padding: 1.38rem;
  box-shadow: 0 12px 24px rgba(21, 128, 61, 0.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #166534;
  background: linear-gradient(180deg, #fef9c3, #fde68a);
  border: 2px solid #fef08a;
}

.feature-card h3 {
  margin: 0.75rem 0 0.42rem;
  font-size: 1.05rem;
  color: #14532d;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
}

.feature-subgrid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.95rem;
}

.subpanel {
  border-radius: 18px;
  border: 2px solid #bbf7d0;
  background: var(--panel);
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(21, 128, 61, 0.08);
}

.subpanel h3 {
  margin-bottom: 0.65rem;
  color: #14532d;
}

.voice-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.voice-list li + li {
  margin-top: 0.55rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 2px solid #bbf7d0;
}

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

.more-screens-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 2px solid #bbf7d0;
  background: var(--panel);
}

.faq-list {
  display: grid;
  gap: 0.62rem;
}

.faq-list article {
  border-radius: 12px;
  border: 2px solid #dcfce7;
  background: rgba(255, 255, 255, 0.58);
  padding: 0.62rem;
}

.faq-list h4 {
  margin: 0 0 0.28rem;
  font-size: 0.98rem;
  color: #14532d;
}

.faq-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.download-card {
  text-align: center;
  border-radius: 28px;
  border: 3px solid #fef08a;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(145deg, rgba(13, 148, 136, 0.92), rgba(21, 128, 61, 0.92));
  padding: 2.7rem 1.4rem;
  color: #effff7;
  box-shadow: var(--shadow);
}

.download-card .section-kicker {
  color: #fef08a;
}

.download-card h2 {
  margin-bottom: 0.45rem;
}

.download-card p {
  margin: 0 auto;
  max-width: 58ch;
}

.download-actions {
  margin-top: 1.45rem;
  display: flex;
  justify-content: center;
  gap: 0.92rem;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(9, 77, 53, 0.25);
  margin-top: 2.2rem;
  padding: 1.3rem 0 1.6rem;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-layout p {
  margin: 0;
  color: #f0fdfa;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  text-decoration: none;
  color: #ecfeff;
  font-weight: 700;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fef08a;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1200;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100% - 2rem));
  border-radius: 18px;
  background: #f0fdf4;
  border: 3px solid #86efac;
  color: #14532d;
  text-align: center;
  z-index: 1210;
  padding: 1.5rem 1rem 1rem;
}

body.dark-mode .modal {
  background: #0a3d2b;
  color: #dcfce7;
}

.modal h2 {
  margin-bottom: 0.3rem;
}

.modal p {
  margin: 0 0 1rem;
}

.modal-close {
  position: absolute;
  right: 0.58rem;
  top: 0.58rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid #bbf7d0;
  background: transparent;
  color: inherit;
}

:focus-visible {
  outline: 2px solid #fef08a;
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-layout,
  .feature-grid,
  .feature-subgrid,
  .more-screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-subgrid #faq {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding-top: 0.74rem;
  }

  .header-shell {
    border-radius: 18px;
    padding: 0.62rem 0.7rem;
  }

  .header-actions .btn-cta {
    display: none;
  }

  .hero-layout,
  .feature-grid,
  .feature-subgrid,
  .gallery-grid,
  .more-screens-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .chip-left {
    left: 0;
  }

  .chip-right {
    right: 0;
  }

  .features-section,
  .more-screens-section,
  .download-section {
    padding: 4.2rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
