/* Captivate — sleek Mac/iOS-style showcase
   Plain CSS, no build step. */

:root {
  --bg: #fbfbfd;
  --bg-elevated: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --hairline: rgba(0, 0, 0, 0.08);
  --accent: #e8821e;
  --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --max-width: 980px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elevated: #1c1c1e;
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --hairline: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--hairline);
}

.site-header .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.site-header nav a {
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 22px 56px;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero p {
  margin-top: 18px;
  font-size: clamp(18px, 2.6vw, 23px);
  color: var(--text-secondary);
  font-weight: 400;
}

/* ---------- Apps grid ---------- */
.apps {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 22px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  width: 100%;
}

.app-card {
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 40px 34px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
}

.app-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  display: block;
  margin: 0 auto 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.app-name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.app-platform {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 980px;
  background: color-mix(in srgb, var(--text-secondary) 14%, transparent);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app-tagline {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
}

.app-desc {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-secondary);
}

/* ---------- Privacy / content page ---------- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 22px 64px;
  width: 100%;
}

.page h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 40px;
}

.page p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text);
}

.page .lead {
  margin-top: 24px;
  font-size: 21px;
  color: var(--text);
}

.fine-print {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding: 28px 22px;
}

.site-footer .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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