/* NotApps – shared styles */
:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --text: #f0f0f0;
  --muted: #888;
  --accent: #e8a838;
  --accent-hover: #f0bc5c;
  --radius: 12px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
}

.site-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  vertical-align: middle;
}


.site-logo a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

/* Main content */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
}

/* Hero (home) */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero-brand-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.hero .promo-text {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 500;
  margin: 0 auto 0.5rem;
  letter-spacing: 0.01em;
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* App cards (home) */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.app-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.app-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #c9861e 100%);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.app-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* App page header */
.app-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
}

.app-header-text h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.25rem;
}

.app-header-text .subtitle {
  color: var(--muted);
  margin: 0;
}

/* Sections */
.section {
  margin-bottom: 2.5rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.section ul li {
  margin-bottom: 0.35rem;
}

/* Screenshots */
.screenshots {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.screenshots img {
  width: 160px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
}

/* Legal pages */
.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.legal-content h2 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-nav {
  margin-bottom: 2rem;
}

.legal-nav a {
  margin-right: 1rem;
}

/* Footer nav on app/legal pages */
.page-footer-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-footer-nav a {
  color: var(--muted);
}

/* CTA */
.cta {
  margin-top: 1.5rem;
  font-weight: 600;
}

/* Flow Merge promo block */
.promo-block {
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.12) 0%, rgba(201, 134, 30, 0.06) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.promo-block p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
}

.promo-block p + p {
  margin-top: 0.75rem;
}

@media (max-width: 600px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }
  .screenshots img {
    width: 140px;
  }
}
