/* EasyFilm — shared styles. Plain CSS, no build step. */

:root {
  --bg: #0b0c0e;
  --surface: #16181c;
  --surface-2: #1e2126;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f1ea;
  --text-muted: #9a978f;
  --text-faint: #6b6960;
  --accent: #d9a441;
  --accent-strong: #e8b654;
  --accent-soft: rgba(217, 164, 65, 0.13);
  --radius: 14px;
  --radius-sm: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --container: 1080px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 12, 14, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

header.site .bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(155deg, var(--accent-strong), #a8722a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: #17130a;
  flex-shrink: 0;
}

nav.main {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

nav.main a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

nav.main a:hover { color: var(--text); }
nav.main a.current { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn.primary {
  background: var(--accent);
  color: #1a1508;
}
.btn.primary:hover { background: var(--accent-strong); }

.btn.secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn.secondary:hover { background: var(--surface); }

.btn.small { padding: 8px 16px; font-size: 13.5px; }

.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1, h1.page-title {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-weight: 700;
}

.hero h1 em, h1.page-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-strong);
}

.hero p.lede, p.lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero .actions, .app-hero .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section { padding: 56px 0; }
section.tight { padding: 32px 0; }
section.divider { border-top: 1px solid var(--border); }

h2.section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  font-weight: 700;
}

p.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 36px;
  max-width: 560px;
}

/* ---------- App grid (home) ---------- */

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

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.app-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.app-card img.icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.app-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-card p.tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
  flex-grow: 1;
}

.app-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-faint);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.app-card .price { color: var(--accent); font-weight: 700; }

.badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  width: fit-content;
}

.badge.muted {
  background: var(--surface-2);
  color: var(--text-muted);
}

/* ---------- App page hero ---------- */

.app-hero {
  padding: 72px 0 48px;
  text-align: center;
}

.app-hero img.icon {
  width: 92px;
  height: 92px;
  border-radius: 21px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  margin: 0 auto 22px;
}

.app-hero .subtitle {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0 0 28px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.price-row .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.requires {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ---------- Feature list ---------- */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px 32px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-list .dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}

.feature-list strong { display: block; font-size: 15.5px; margin-bottom: 3px; }
.feature-list span.desc { color: var(--text-muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- Screenshot strip ---------- */

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.shots img {
  scroll-snap-align: start;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  max-height: 420px;
  width: auto;
  flex-shrink: 0;
}

/* ---------- Prose (about, privacy) ---------- */

.prose {
  max-width: 680px;
  margin: 0 auto;
}

.prose h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.prose p strong { color: var(--text); }
.prose ul { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

/* ---------- Callout / coming soon ---------- */

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
}

.callout p { color: var(--text-muted); font-size: 15px; margin: 10px 0 0; }

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  margin-top: 48px;
}

footer.site .cols {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

footer.site .about {
  max-width: 320px;
  color: var(--text-faint);
  font-size: 14px;
  line-height: 1.6;
}

footer.site .brand { margin-bottom: 10px; }

footer.site .linkcol h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 14px;
}

footer.site .linkcol a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 10px;
}

footer.site .linkcol a:hover { color: var(--text); }

footer.site .legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  header.site .bar { padding: 14px 20px; }
  nav.main { gap: 16px; }
  nav.main a { font-size: 13.5px; }
  .hero { padding: 56px 0 40px; }
  section { padding: 40px 0; }
  footer.site .cols { flex-direction: column; gap: 28px; }
}
