/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === Variables === */
:root {
  --bg: #07080c;
  --surface: #0c0e14;
  --border: #161a24;
  --border-hover: rgba(255,255,255,0.1);
  --text: #dde2ec;
  --muted: #464d5e;
  --faint: #1a1f2e;
  --font: "Geist", sans-serif;
  --font-mono: "Geist Mono", monospace;
}

/* === Base === */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === Decorative === */
.orbital {
  position: fixed;
  top: -420px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(232,245,200,0.04);
  pointer-events: none; z-index: 0;
}
.orbital::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: rgba(232,245,200,0.5);
  border-radius: 50%;
  box-shadow: 0 0 12px 4px rgba(232,245,200,0.15);
}
.orbital-2 {
  position: fixed;
  top: -540px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 1100px;
  border-radius: 50%;
  border: 1px solid rgba(232,245,200,0.02);
  pointer-events: none; z-index: 0;
}
.glow {
  position: fixed; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; height: 300px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(232,245,200,0.04) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* === Layout === */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative; z-index: 1;
}
.container--narrow { max-width: 720px; }
.divider { height: 1px; background: var(--border); }

/* === Nav === */
nav {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.logo-mark { width: 22px; height: 22px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text); letter-spacing: 0.02em;
}
.nav-contact {
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--muted);
  text-decoration: none; transition: color 0.15s;
}
.nav-contact:hover { color: var(--text); }
.nav-back {
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--muted);
  text-decoration: none; transition: color 0.15s;
}
.nav-back:hover { color: var(--text); }

/* === Footer === */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--muted); text-decoration: none; border-bottom: none; transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === Home: animated entrance === */
.page-home nav {
  opacity: 0;
  animation: fadeDown 0.5s ease 0.05s forwards;
}
.page-home footer {
  opacity: 0;
  animation: fadeUp 0.6s ease 0.35s forwards;
}

/* === Home: Hero === */
.hero {
  padding: 7rem 0 5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.15s forwards;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 1.75rem;
}
.hero h1 em { font-style: normal; font-weight: 600; color: #fff; }
.hero-heading { margin-bottom: 1.75rem; }
.hero-sub {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #6e7888;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  max-width: 520px;
}
.hero-sub em { font-style: normal; font-weight: 400; color: #9aa3b2; }
.hero-desc {
  font-size: 0.9rem; font-weight: 300;
  color: var(--muted); line-height: 1.8;
  max-width: 440px;
}

/* === Home: Section === */
.section {
  padding: 3.5rem 0;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.25s forwards;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem; color: var(--muted);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* === Home: App card === */
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 1.75rem;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1.25rem; align-items: center;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none; color: inherit;
}
.app-card:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.02);
}
.app-icon {
  width: 48px; height: 48px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-info h2 {
  font-size: 0.95rem; font-weight: 500;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em; color: #fff;
}
.app-info p {
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--muted); line-height: 1.6;
}
.app-arrow {
  color: var(--muted); font-size: 0.9rem;
  transition: color 0.2s, transform 0.2s;
}
.app-card:hover .app-arrow { color: var(--text); transform: translate(2px, -2px); }

/* === Privacy: Content === */
.content { padding: 4rem 0 6rem; }
.page-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.content h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: #fff;
}
.updated {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 3rem;
}
.content .divider { margin-bottom: 3rem; }
.content h2 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.75rem;
  margin-top: 2.5rem;
}
.content p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #6e7888;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.content ul {
  margin: 0.5rem 0 1rem 0;
  padding-left: 1.25rem;
}
.content ul li {
  font-size: 0.9rem;
  font-weight: 300;
  color: #6e7888;
  line-height: 1.8;
}
.content a { color: #9aa3b2; text-decoration: none; border-bottom: 1px solid var(--border); transition: color 0.15s; }
.content a:hover { color: var(--text); }
