:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-elevated: #0c1222;
  --bg-card: rgba(12, 18, 34, 0.88);
  --border: rgba(51, 245, 210, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.10);
  --text: #eef3ff;
  --text-muted: #a8b5d1;
  --primary: #33f5d2;
  --secondary: #b46cff;
  --gold: #ffca57;
  --pink: #ff4fd8;
  --radius-lg: 22px;
  --radius-md: 14px;
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(51, 245, 210, 0.13), transparent 40%),
    radial-gradient(circle at 88% 18%, rgba(180, 108, 255, 0.14), transparent 42%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 15, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-lockup:hover {
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
}

.brand-studio {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.site-nav a {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(51, 245, 210, 0.14);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  border: 1px solid rgba(51, 245, 210, 0.42);
  color: var(--primary);
}

.hero {
  padding: 3.25rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 340px);
  gap: 2.5rem;
  align-items: center;
}

.hero-app-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}

.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  border: 1px solid rgba(51, 245, 210, 0.4);
  box-shadow: 0 12px 32px rgba(51, 245, 210, 0.18);
  flex-shrink: 0;
}

.eyebrow {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 245, 210, 0.4);
  background: rgba(51, 245, 210, 0.10);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0.9rem 0 1.25rem;
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 56ch;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}

.pill-list li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--primary);
  color: #05070f;
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(51, 245, 210, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  text-decoration: none;
  border-color: rgba(51, 245, 210, 0.45);
}

.store-status-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.hero-shot {
  width: 100%;
  max-width: 330px;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(51, 245, 210, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: block;
}

.section-block {
  padding: 2.5rem 0;
}

.section-heading {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 1.6rem;
  color: var(--text-muted);
  max-width: 64ch;
}

.feature-banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: block;
  margin-bottom: 2rem;
}

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

.grove-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.grove-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.grove-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.badge-free {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(51, 245, 210, 0.16);
  color: var(--primary);
}

.badge-unlock {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(180, 108, 255, 0.16);
  color: #d6b4ff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-shot {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  display: block;
}

.prose-shell {
  padding: 2.75rem 0 3.5rem;
}

.prose-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.prose-meta {
  margin: 0.6rem 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.prose-card h2 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.2rem;
  color: var(--primary);
}

.prose-card p {
  margin: 0 0 0.85rem;
}

.prose-card ul,
.prose-card ol {
  margin: 0.4rem 0 1rem;
  padding-left: 1.35rem;
}

.prose-card li {
  margin-bottom: 0.45rem;
}

.prose-card code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.12rem 0.42rem;
  border-radius: 6px;
  font-size: 0.9em;
}

.support-callout {
  background: rgba(51, 245, 210, 0.08);
  border: 1px solid rgba(51, 245, 210, 0.30);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.75rem;
}

.support-callout p:last-child {
  margin-bottom: 0;
}

/* Native <details> FAQ Accordion (following modern-web-guidance accordion) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.accordion > details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
}

.accordion > details[open] {
  border-color: rgba(51, 245, 210, 0.36);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before {
  content: "";
  inline-size: 1em;
  block-size: 1em;
  flex-shrink: 0;
  background-color: var(--primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

.accordion .faq-body {
  padding-top: 0.7rem;
  padding-left: 1.65rem;
  color: var(--text-muted);
}

.accordion .faq-body p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s ease;
  }

  .accordion details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0 2.75rem;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

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

  .hero-device {
    order: -1;
  }

  .hero-shot {
    max-width: 280px;
  }

  .prose-card {
    padding: 1.5rem 1.2rem;
  }
}
