/*
 * Top page (index.html) — landing for the brand-setup prototype gallery.
 * Reuses tokens from modal.css (--color-bg-page, --color-bg-chrome, etc.)
 * and DS tokens.css for typography.
 */

body {
  font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: var(--color-bg-page);
  color: #ffffff;
  margin: 0;
  min-height: 100dvh;
  font-variation-settings: 'wdth' 100;
}

.gallery {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.gallery-header {
  margin-bottom: 56px;
}
.gallery-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.gallery-lede {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 640px;
}

.app-section {
  margin-bottom: 48px;
}
.app-section:last-child { margin-bottom: 0; }

.app-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface-overlay-soft);
}
.app-section-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}
.app-section-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.proto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 24px;
}

.proto-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-chrome);
  border: 1px solid var(--surface-overlay-1);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.proto-card:hover {
  transform: translateY(-2px);
  border-color: var(--surface-overlay-2);
}

.proto-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(121, 221, 232, 0.12), rgba(121, 221, 232, 0));
  border-bottom: 1px solid var(--surface-overlay-soft);
  overflow: hidden;
}
.proto-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proto-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proto-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}
.proto-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.proto-card-coming {
  pointer-events: none;
  opacity: 0.55;
}
.proto-card-coming .proto-card-thumb {
  background: var(--surface-overlay-soft);
}
.proto-card-coming .proto-card-thumb::after {
  content: 'Coming soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
