/* iMedia landing pages — plain, dark, editorial. Matches the app, not a SaaS template. */

:root {
  color-scheme: dark;
  --bg: #000;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.56);
  --faint: rgba(255, 255, 255, 0.38);
  --rule: rgba(255, 255, 255, 0.12);
  --accent: #4a90e2;
  --accent-hover: #5da2f2;
  --measure: 680px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.site-header,
main,
.site-footer {
  width: min(var(--measure), calc(100% - 44px));
  margin-inline: auto;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand img {
  width: 64px;
  height: auto;
}

.top-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 60px 0 8px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 16px 0 0;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin: 20px 0 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Sections — one narrow column, hairline rules for rhythm */
.section {
  padding: 44px 0;
  border-top: 1px solid var(--rule);
}

h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.section-intro {
  margin: 14px 0 0;
  color: var(--muted);
}

.grid {
  margin-top: 12px;
}

.card {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}

.card:first-child {
  border-top: 0;
  padding-top: 22px;
}

.card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 13px 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

.feature-list li:first-child {
  border-top: 0;
}

.faq {
  margin-top: 12px;
}

.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}

.faq-item:first-child {
  border-top: 0;
}

.faq-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

main a {
  color: var(--accent-hover);
}

/* Screenshots */
.shot {
  margin: 34px 0 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--faint);
}

.section .shot:first-child {
  margin-top: 24px;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 0 52px;
  border-top: 1px solid var(--rule);
  color: var(--faint);
  font-size: 13px;
}

.site-footer a {
  color: var(--faint);
}

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