:root {
  --bg: #faf8f3;
  --bg-soft: #fffbf5;
  --surface: rgba(255, 251, 245, 0.92);
  --surface-strong: #f5f3ee;
  --text: #2d2d2d;
  --muted: #616161;
  --line: rgba(93, 64, 55, 0.12);
  --primary: #8d6e63;
  --primary-strong: #5d4037;
  --health: #2e7d32;
  --finance: #6366f1;
  --soft-gold: #efe3cf;
  --shadow: 0 16px 40px rgba(45, 45, 45, 0.08);
  --shadow-hover: 0 24px 55px rgba(45, 45, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(141, 110, 99, 0.12), transparent 0 32%),
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 0 28%),
    linear-gradient(180deg, #faf8f3 0%, #fffdf9 100%);
  color: var(--text);
}

img {
  max-width: 100%;
}

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

.page-shell {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(250, 248, 243, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav-wrap,
.footer-wrap,
.hero-grid,
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.nav-wrap {
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(17, 17, 17, 0.1));
}

.hero-wordmark {
  width: min(340px, 82%);
  display: block;
  margin: 0 0 1rem;
  filter: drop-shadow(0 8px 18px rgba(17, 17, 17, 0.08));
}

.nav-links {
  display: inline-flex;
  gap: 1rem;
  color: var(--muted);
}

.nav-links a:hover,
.text-link:hover {
  color: var(--primary-strong);
}

.hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
}

.eyebrow,
.mini-label,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.mini-label {
  color: var(--primary);
}

.hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.hero-copy {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(93, 64, 55, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

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

.hero-points {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-card,
.card,
.cta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-card:hover,
.card:hover,
.cta-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(141, 110, 99, 0.2);
}

.hero-card {
  padding: 1.2rem;
}

.hero-card-featured {
  position: relative;
  overflow: hidden;
  align-self: start;
  display: grid;
  gap: 0.55rem;
}



.review-carousel {
  position: relative;
  min-height: 112px;
  margin-top: 0.2rem;
}

.panel-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-divider::before,
.panel-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.review-item {
  display: none;
  gap: 0.45rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.review-item.is-active {
  display: grid;
}

.review-item span,
.update-item span {
  color: var(--muted);
  line-height: 1.65;
}

.updates-feed {
  display: grid;
  gap: 0.75rem;
  max-height: 220px;
  overflow-y: auto;
  margin-top: 0.15rem;
  padding-right: 0.35rem;
}

.update-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0.1rem;
  border-bottom: 1px solid var(--line);
}

.update-item:last-child {
  border-bottom: 0;
}

.section {
  padding: 3rem 0 4.5rem;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-copy {
  max-width: 50rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.showcase-carousel {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 34%);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  margin: 0;
  padding: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  scroll-snap-align: start;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.carousel-slide figcaption {
  padding-top: 0.7rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.product-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-carousel .product-card {
  margin: 0;
  min-height: 100%;
  scroll-snap-align: start;
  border-top: 1px solid var(--line);
}

.carousel-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-card .pill {
  background: rgba(239, 227, 207, 0.72);
  color: var(--primary-strong);
}

.card {
  padding: 1.35rem;
}

.product-card h3,
.card h3 {
  margin-bottom: 0.65rem;
}

.product-card p,
.card p,
.cta-box p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.product-card ul {
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.pill {
  margin-bottom: 0.7rem;
  color: var(--primary-strong);
  background: var(--soft-gold);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.18s ease, color 0.18s ease;
}

.text-link:hover {
  transform: translateX(2px);
}

.accent-health {
  border-top: 3px solid var(--health);
}

.accent-finance {
  border-top: 3px solid var(--finance);
}

.accent-generic {
  border-top: 3px solid var(--primary);
}

.muted-section {
  background: linear-gradient(180deg, transparent, rgba(93, 64, 55, 0.03));
}

.cta-box {
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(239, 227, 207, 0.65), rgba(255, 251, 245, 0.95));
}

.site-footer {
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--line);
}

.product-hero {
  padding: 4rem 0 2rem;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.mini-shot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.mini-shot-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.screenshot-section {
  padding-top: 1.5rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.screenshot-card {
  margin: 0;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 0.85rem;
  display: block;
}

.screenshot-card figcaption {
  padding-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .product-grid,
  .feature-grid,
  .cta-box,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-links {
    flex-wrap: wrap;
  }

  .carousel-track {
    grid-auto-columns: 88%;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .brand-logo {
    width: 2.6rem;
    height: 2.6rem;
  }

  .mini-shot-row {
    grid-template-columns: 1fr;
  }
}
