/* DAM Studio — Motive site */
:root {
  --bg-dark: #111111;
  --bg-light: #EDEDE8;
  --accent: #C8FF00;
  --text-dark: #111111;
  --text-light: #FFFFFF;
  --muted: #666666;
  --muted-on-dark: #9A9A9A;
  --radius: 24px;
  --radius-lg: 32px;
  --max: 720px;
  --max-wide: 960px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  color: var(--text-light);
  background: var(--bg-dark);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { opacity: 0.85; }

.theme-dark {
  color: var(--text-light);
  background: var(--bg-dark);
}
.theme-light {
  color: var(--text-dark);
  background: var(--bg-light);
}
.theme-light a:not(.btn) { color: var(--text-dark); text-decoration-thickness: 1px; }
.theme-light a:not(.btn):hover { color: #000; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap-wide {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

/* Header */
.site-header {
  padding: 1.25rem 0 0.5rem;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a { text-decoration: none; color: var(--muted-on-dark); }
.theme-light .nav a { color: var(--muted); }
.nav a:hover { color: inherit; opacity: 1; }

/* Hero / home */
.hero {
  padding: 3.5rem 0 2.5rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hero p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 1.1rem;
  max-width: 36ch;
}

.section {
  padding: 1.5rem 0 3.5rem;
}
.section-label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* App card */
.app-card {
  display: block;
  text-decoration: none;
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.app-card:hover {
  transform: translateY(-2px);
  background: #1f1f1f;
  opacity: 1;
}
.app-card-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--text-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.app-card h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
.app-card p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 0.98rem;
}
.app-card .chip {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Motive page */
.page-hero {
  padding: 2.5rem 0 1.5rem;
}
.page-hero h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.page-hero .lede {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 1.1rem;
  max-width: 42ch;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.22);
}
.theme-light .btn-ghost {
  color: var(--text-dark);
  box-shadow: inset 0 0 0 1.5px rgba(17,17,17,0.18);
}

.features {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0;
}
.feature {
  background: #1a1a1a;
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.feature h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.feature p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 2rem;
  font-size: 0.95rem;
}
.links-row a { color: var(--accent); text-decoration: none; font-weight: 560; }

/* Legal / support (light) */
.legal {
  padding: 1.5rem 0 4rem;
}
.legal h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-weight: 800;
}
.legal .meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.legal h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.legal h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.05rem;
}
.legal p, .legal li {
  color: #333;
}
.legal ul, .legal ol {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}
.legal li { margin: 0.35rem 0; }
.legal p { margin: 0.55rem 0; }
.legal .note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  background: #e3e3dc;
  border-radius: 20px;
  font-size: 0.92rem;
  color: #333;
}

.faq details {
  background: #e3e3dc;
  border-radius: 20px;
  padding: 1rem 1.15rem;
  margin: 0.65rem 0;
}
.faq summary {
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0.75rem 0 0.15rem;
  color: #333;
}

/* 404 */
.not-found {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}
.not-found h1 {
  margin: 0;
  font-size: clamp(4rem, 18vw, 7rem);
  letter-spacing: -0.06em;
  color: var(--accent);
  line-height: 1;
}
.not-found p {
  color: var(--muted-on-dark);
  margin: 0.75rem 0 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted-on-dark);
  font-size: 0.88rem;
}
.theme-light .site-footer {
  border-top-color: rgba(17,17,17,0.08);
  color: var(--muted);
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer a { text-decoration: none; color: inherit; }
.site-footer a:hover { color: inherit; opacity: 1; text-decoration: underline; }

@media (max-width: 640px) {
  .nav { gap: 0.9rem; font-size: 0.88rem; }
  .app-icon { width: 64px; height: 64px; border-radius: 18px; }
}
