:root {
  --bg: #f3efe7;
  --surface: #fff9f1;
  --surface-strong: #18242c;
  --text: #16212a;
  --muted: #5a6773;
  --line: rgba(22, 33, 42, 0.12);
  --accent: #ef6a2f;
  --accent-deep: #c84d16;
  --mint: #76c9b8;
  --shadow: 0 18px 50px rgba(22, 33, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(239, 106, 47, 0.18), transparent 24%),
    radial-gradient(circle at left center, rgba(118, 201, 184, 0.16), transparent 22%),
    var(--bg);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 231, 0.82);
  border-bottom: 1px solid rgba(22, 33, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff9465);
  box-shadow: 0 12px 28px rgba(239, 106, 47, 0.28);
}

.brand-text {
  font-size: 1.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.card-link:hover,
.card-link:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 33, 42, 0.08);
}

.menu-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hero {
  padding: 4.5rem 0 2rem;
}

.hero-grid,
.trust-grid,
.app-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-kicker,
.panel-label,
.featured-type,
.app-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.hero h1,
.section-head h2,
.app-hero h1,
.app-section h3,
.app-details h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
  line-height: 0.96;
  margin: 0.4rem 0 1rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  max-width: 11ch;
}

.app-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.hero-text,
.category-card p,
.featured-card p,
.site-footer p,
.app-hero-text,
.app-details p,
.app-section p,
.bullet-list li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 800;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #ff8a55);
  color: #fff;
  box-shadow: 0 16px 32px rgba(239, 106, 47, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(22, 33, 42, 0.08);
}

.hero-points,
.bullet-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.bullet-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--text);
  font-weight: 700;
}

.hero-points li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint), #a0eadc);
}

.hero-panel,
.app-sections {
  display: grid;
  gap: 1rem;
}

.panel-card,
.category-card,
.featured-card,
.app-panel,
.app-section,
.app-details,
.app-name-link {
  background: rgba(255, 249, 241, 0.9);
  border: 1px solid rgba(22, 33, 42, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.panel-card,
.category-card,
.featured-card,
.app-panel,
.app-section,
.app-details {
  padding: 1.4rem;
}

.panel-featured {
  background:
    linear-gradient(135deg, rgba(239, 106, 47, 0.95), rgba(255, 148, 101, 0.94)),
    #ef6a2f;
  color: #fff;
}

.panel-featured .panel-label {
  color: rgba(255, 255, 255, 0.76);
}

.panel-featured h2 {
  margin: 0.4rem 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-row span {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  font-weight: 700;
}

.panel-stats,
.app-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.panel-stats strong,
.metric-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.panel-stats span,
.metric-label {
  color: var(--muted);
}

.metric {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(22, 33, 42, 0.04);
}

.app-links-section,
.categories,
.featured,
.app-page {
  padding: 2rem 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
}

.app-links-grid,
.category-grid,
.featured-grid,
.app-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-name-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.app-name-link:hover,
.app-name-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(239, 106, 47, 0.35);
}

.app-name-index {
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.app-name-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.category-card h3,
.featured-card h3 {
  margin: 0.4rem 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.card-index {
  color: var(--mint);
  font-weight: 800;
}

.category-card-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 215, 198, 0.54));
}

.card-link,
.app-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.featured-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 215, 198, 0.5));
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-wrap {
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 33, 42, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-links a,
.breadcrumb,
.site-nav a {
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a {
  color: var(--accent-deep);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero-grid,
  .app-grid,
  .app-links-grid,
  .category-grid,
  .featured-grid,
  .app-sections,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    display: grid;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 82px 1rem auto 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(255, 249, 241, 0.98);
    border: 1px solid rgba(22, 33, 42, 0.08);
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.6rem);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 0.75rem;
    border-radius: 0.8rem;
    background: rgba(22, 33, 42, 0.03);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .panel-stats,
  .app-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .hero h1,
  .app-hero h1,
  .app-name-title {
    font-size: 2.2rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }
}
