:root {
  --bg: #060606;
  --bg-soft: #101010;
  --bg-soft-2: #141414;
  --card: rgba(255, 255, 255, 0.045);
  --card-strong: rgba(255, 255, 255, 0.065);
  --card-hover: rgba(255, 255, 255, 0.075);
  --text: #f7f7f7;
  --muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255,255,255,0.09), transparent 28%),
    linear-gradient(180deg, #161616 0%, #0a0a0a 42%, #050505 100%);
}
img { max-width: 100%; }
a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a:hover { opacity: 0.9; }
.site-shell { min-height: 100vh; }
.hero { padding: 72px 20px 26px; }
.hero-home { padding-bottom: 34px; }
.hero-subpage { padding-bottom: 18px; }
.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.hero-inner-left { text-align: left; }
.narrow { max-width: 860px; }
.brand-logo {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  margin: 0 auto 20px;
}
.eyebrow,
.section-label,
.back-link {
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}
.eyebrow { margin: 0 0 12px; }
.back-link {
  display: inline-block;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--text); opacity: 1; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero-copy {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.72;
}
.hero-inner-left .hero-copy,
.hero-inner-left .eyebrow { margin-left: 0; }
.content { padding: 10px 20px 84px; }
.content-tight { padding-top: 0; }
.section {
  max-width: 1080px;
  margin: 0 auto;
}
.section-heading { margin-bottom: 24px; }
.section-label { margin: 0 0 8px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.app-card,
.info-card,
.mini-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}
.app-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 242px;
  padding: 24px;
  border-radius: 28px;
  backdrop-filter: blur(10px);
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--card-hover);
}
.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.app-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0,0,0,0.34);
}
.app-meta h3 {
  margin: 3px 0 8px;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.app-meta p,
.body-copy,
.info-card p,
.mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}
.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.app-links a,
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  font-size: 0.95rem;
}
.app-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.07);
}
.coming-soon-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  color: var(--muted);
  font-size: 2rem;
}
.coming-soon-badge {
  align-self: flex-start;
  margin-top: 28px;
  color: var(--muted);
}
.info-card {
  border-radius: 28px;
  padding: 28px;
}
.stack-gap > * + * { margin-top: 24px; }
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mini-card {
  border-radius: 22px;
  padding: 20px;
}
.mini-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.legal-card p + p { margin-top: 14px; }
.footer { padding: 0 20px 36px; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-nav a:hover { color: var(--text); opacity: 1; }

@media (max-width: 820px) {
  .apps-grid,
  .grid-two { grid-template-columns: 1fr; }
  .app-card { min-height: unset; }
}

@media (max-width: 560px) {
  .hero { padding-top: 56px; }
  .brand-logo { width: min(180px, 56vw); margin-bottom: 16px; }
  .app-card,
  .info-card { padding: 20px; border-radius: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
