:root {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --surface: #ffffff;
  --page: #f4f6fb;
  --border: #dde2ea;
  --text-primary: #1f2430;
  --text-muted: #596173;
  --pill-blue: #2185d0;
  --pill-purple: #6c63ff;
  --pill-green: #2ea043;
  --pill-yellow: #f2c744;
  --pill-orange: #f2843d;
  --shadow-soft: 0 18px 45px rgba(15, 29, 71, 0.15);
  color: var(--text-primary);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  background-image: radial-gradient(circle at top, rgba(33, 133, 208, 0.12), transparent 50%);
  display: flex;
  justify-content: center;
  padding: 48px 16px 64px;
  color: var(--text-primary);
}

.page-shell {
  width: min(1120px, 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card,
.tiles-card {
  background: var(--surface);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  padding: 40px 32px 36px;
}

.logo-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.logo-word {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wordmark {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0c0c0c;
}

.logo-cloud {
  width: 42px;
  height: 24px;
  fill: none;
  stroke: #0c0c0c;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
}

.hero-copy p {
  margin: 0.6rem auto 0;
  color: var(--text-muted);
  max-width: 720px;
  text-align: center;
}

.tiles-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.tile {
  text-decoration: none;
  background: linear-gradient(145deg, #ffffff, #f8faff);
  border: 1px solid rgba(221, 226, 234, 0.9);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: inherit;
  box-shadow: 0 8px 18px rgba(22, 48, 97, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(15, 29, 71, 0.18);
}

.tile-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2f5de6, #56a9ff);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.tile-body h3 {
  margin: 8px 0 6px;
  font-size: 1.1rem;
}

.tile-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tile-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.pill-blue {
  background: var(--pill-blue);
}
.pill-purple {
  background: var(--pill-purple);
}
.pill-green {
  background: var(--pill-green);
}
.pill-yellow {
  background: var(--pill-yellow);
  color: #5b4505;
}
.pill-orange {
  background: var(--pill-orange);
}
.pill-neutral {
  background: #cbd5f5;
  color: #1b2a54;
}

.site-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.site-footer a {
  color: var(--pill-blue);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .hero-card {
    padding: 32px 24px;
  }

  .tiles-card {
    padding: 24px;
  }
}
