* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #10161a;
  background: #f4f7f7;
}

.hidden { display: none !important; }

.hub { max-width: 900px; margin: 0 auto; padding: 20px 16px 48px; }

h1 { font-size: 22px; margin: 0 0 4px; }
h2.sectionTitle { font-size: 14px; margin: 26px 0 10px; color: #5f676e; }
.sub { margin: 0; font-size: 13px; color: #5f676e; }

.hubHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #00a79d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-right: 6px;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 9px 14px;
  background: #00a79d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
button:hover { background: #00776e; }
button.ghost { background: #e2e7ec; color: #10161a; }
button.ghost:hover { background: #d3dae0; }

/* Sign-in */
.card {
  background: #fff;
  border: 1px solid #e2e7ec;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(16, 22, 26, .06);
}
.signIn { max-width: 380px; margin: 48px auto; }
.signIn form { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.signIn input {
  padding: 11px 12px;
  border: 1px solid #d3dae0;
  border-radius: 6px;
  font-size: 16px; /* >=16px stops iOS zooming on focus */
}
.error {
  margin: 12px 0 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fdecea;
  color: #b3261e;
  font-size: 13px;
}

/* The featured action: deliberately much larger than everything else, so
   the primary job is one tap from landing rather than a menu hunt. */
.featured {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00776e, #00a79d);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 119, 110, .28);
}
.featured:hover { filter: brightness(1.06); }
.featuredIcon { font-size: 34px; line-height: 1; }
.featuredText { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.featuredText strong { font-size: 19px; }
.featuredText em { font-style: normal; font-size: 13px; opacity: .9; }
.featuredGo { font-size: 26px; opacity: .85; }

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

.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  min-height: 92px;
  background: #fff;
  border: 1px solid #e2e7ec;
  border-radius: 10px;
  text-decoration: none;
  color: #10161a;
  box-shadow: 0 2px 8px rgba(16, 22, 26, .05);
}
.tile:hover { border-color: #00a79d; box-shadow: 0 4px 14px rgba(0, 167, 157, .18); }
.tileIcon { font-size: 22px; line-height: 1; }
.tileName { font-weight: 700; font-size: 14px; }
.tileWhat { font-size: 12px; color: #5f676e; }

@media (max-width: 520px) {
  .hub { padding: 16px 12px 40px; }
  .featured { padding: 18px; }
  .featuredText strong { font-size: 17px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
