:root {
  --bg-dark: #0f1210;
  --text: #f7f6f2;
  --text-muted: rgba(247, 246, 242, 0.78);
  --primary: #315c49;
  --primary-deep: #243d32;
  --accent: #a3d968;
  --accent-hover: #b5e67a;
  --nav-bg: rgba(12, 14, 12, 0.62);
  --nav-border: rgba(255, 255, 255, 0.1);
  --radius-pill: 999px;
  --radius-card: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hero-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?auto=format&fit=crop&w=2400&q=80');
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.25rem;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem 0.6rem 1.2rem;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
}

.nav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  background: var(--accent);
  color: #1e2e18;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.apple {
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='black' d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-43.1-18.6-63.4-18.6C80.6 142 0 214.3 0 286.3c0 87 70.5 171.7 128.3 171.7 18.5 0 31.5-12.5 53.9-12.5 21.8 0 33.9 12.5 57.2 12.5 58.5 0 102.7-99.6 102.7-168.1-.1-4.4-.4-8.7-1.1-13.1zM192.1 98.2c26.7-32 24.4-61 23.7-71.2-23.1 1.3-50.1 15.4-66.2 32.8-18.2 19.5-28.6 43.4-26.4 68.8 27.9 2.2 56.4-12.7 68.9-30.4z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='black' d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-43.1-18.6-63.4-18.6C80.6 142 0 214.3 0 286.3c0 87 70.5 171.7 128.3 171.7 18.5 0 31.5-12.5 53.9-12.5 21.8 0 33.9 12.5 57.2 12.5 58.5 0 102.7-99.6 102.7-168.1-.1-4.4-.4-8.7-1.1-13.1zM192.1 98.2c26.7-32 24.4-61 23.7-71.2-23.1 1.3-50.1 15.4-66.2 32.8-18.2 19.5-28.6 43.4-26.4 68.8 27.9 2.2 56.4-12.7 68.9-30.4z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background-image:
    linear-gradient(180deg, rgba(8, 10, 9, 0.55) 0%, rgba(8, 10, 9, 0.82) 100%), var(--hero-image);
  background-size: cover;
  background-position: center 40%;
}

.hero-slides {
  position: relative;
  max-width: 680px;
  min-height: 200px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero h1 {
  margin: 0 0 1.125rem;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-lead {
  margin: 0 auto;
  max-width: 34rem;
  font-size: clamp(1rem, 2.1vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #1e2e18;
  box-shadow: 0 2px 12px rgba(163, 217, 104, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 0.9375rem;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 2.75rem;
}

.dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.section {
  padding: 4.25rem 1.5rem;
  background: #f7f6f2;
  color: #20231f;
}

.section-dark {
  background: #161a17;
  color: var(--text);
}

.section-muted {
  background: #e8e6e0;
}

.section-cta {
  background: var(--primary-deep);
  color: var(--text);
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 600px;
}

.section-inner.center {
  text-align: center;
}

.section-label {
  margin: 0 0 1.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-grid li {
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
}

.feature-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.section:not(.section-dark) .feature-grid p {
  color: #5a5f58;
}

.steps {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #3d423c;
}

.steps strong {
  font-weight: 600;
  color: #20231f;
}

.pricing-lead {
  color: #4a4f48;
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.6;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.pricing-card {
  background: #faf9f6;
  border-radius: var(--radius-card);
  padding: 1.2rem 1.25rem;
  border: 1px solid #d8d6cf;
}

.pricing-card.highlight {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 2px 16px rgba(49, 92, 73, 0.1);
}

.pricing-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.pricing-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5a5f58;
}

.section-cta .section-label {
  color: var(--text);
}

.section-cta p {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-ghost-on-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.btn-ghost-on-dark:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.toast {
  margin: 1rem auto 0;
  max-width: 22rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(247, 246, 242, 0.9);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

.section-cta .fine {
  margin-top: 1.35rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.88;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(247, 246, 242, 0.75);
}

.site-footer {
  padding: 2.25rem 1.5rem;
  background: #0a0c0b;
  font-size: 0.875rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.brand-footer {
  font-weight: 600;
  display: block;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
}

.footer-links a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}

.page-help-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f6f2 0%, #eef0eb 45%, #f7f6f2 100%);
  color: #20231f;
}

.help-top {
  padding: 1.25rem 1.5rem 0;
  max-width: 640px;
  margin: 0 auto;
}

.help-back {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem;
}

.page-help {
  padding: 1.5rem 1.5rem 3rem;
  max-width: 640px;
  margin: 0 auto;
}

.faq-page-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: #1a1f1c;
}

.faq-page-lead {
  margin: 0 0 2rem;
  text-align: center;
  color: #5a5f58;
  font-size: 1rem;
  line-height: 1.5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e5de;
  border-radius: 16px;
  padding: 0 1rem;
  box-shadow: 0 1px 6px rgba(20, 24, 20, 0.04);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  color: #20231f;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  flex: 1;
  padding: 0.75rem 0;
}

.faq-chevron {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #eeede8;
  position: relative;
}

.faq-chevron::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #72776f;
  border-bottom: 2px solid #72776f;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron::after {
  top: 55%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.faq-answer {
  margin: 0 0 1rem;
  padding-right: 2.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5a5f58;
}

.faq-see-all {
  display: block;
  margin: 1.25rem auto 0;
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: #20231f;
  background: #fff;
  border: 1px solid #e0ded6;
  border-radius: 999px;
  cursor: pointer;
}

.faq-see-all:hover {
  border-color: #c8c6be;
}

.faq-see-all[hidden] {
  display: none;
}

.faq-contact {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5de;
}

.faq-contact-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.faq-contact p {
  margin: 0;
  line-height: 1.6;
  color: #5a5f58;
  font-size: 0.9375rem;
}

.faq-contact a {
  color: var(--primary);
  font-weight: 600;
}

.page-legal {
  padding: 6rem 1.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
  color: #20231f;
  background: #f7f6f2;
  min-height: 100vh;
}

.page-legal h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-legal .back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 600;
}

.page-legal h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 2rem;
}

.page-legal p,
.page-legal li {
  line-height: 1.6;
  color: #4a4f48;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .nav-inner {
    padding-right: 0.75rem;
  }

  .nav-cta span:not(.apple) {
    display: none;
  }

  .nav-cta {
    padding: 0.5rem 0.75rem;
  }
}
